1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454
|
commit 1c598ad8847d5c506f783b145c734be161100ce9
Author: Nima Talebi <nima@autonomy.net.au>
Date: Sat May 23 13:27:01 2009 +1000
Added missing doc files
commit 3acedf5a988eab36f238979548cc79545bd7dced
Author: Nima Talebi <nima@autonomy.net.au>
Date: Sat May 23 13:24:02 2009 +1000
Final cleanup
commit 1bd60ee4c38615f2f1aac873d95cde0e6fae7b1e
Author: Nima Talebi <nima@autonomy.net.au>
Date: Sat May 23 13:14:42 2009 +1000
Fixed minor bug which prevented debug builds
commit 0de97ae9ab884efb0bd24bb0ea1f5770cc74ff89
Author: Nima Talebi <nima@autonomy.net.au>
Date: Sat May 23 13:14:34 2009 +1000
Update
commit 45d267577a107f7d148f9afe39369785dcd49044
Author: Nima Talebi <nima@autonomy.net.au>
Date: Sat May 23 12:58:00 2009 +1000
GPLv3 changed to GPLv2
Also preparing/cleaning-up example/test-case script.
commit d06d776adb0fef9504bd7662760e4cd0971fb748
Author: Nima Talebi <nima@autonomy.net.au>
Date: Fri May 22 23:49:55 2009 +1000
Reversioned, relicensed, and rejigged
The version is of now, v3.10.6. The version major field has been
upped due to the newly added XML functionality.
The version has been reverted to GPLv2.
Some headers have been cleaned up, copyright notices added etc.
Credits given where due.
commit cd387fa3d1929505299d1df733fae890aacc75bc
Author: Nima Talebi <nima@autonomy.net.au>
Date: Thu May 21 08:20:29 2009 +1000
Update copyright notice
commit df5ddd3f51a353d03f2bd6a27c5d9ce14f077f41
Author: Nima Talebi <nima@autonomy.net.au>
Date: Thu May 21 00:05:58 2009 +1000
Bringing setup files upto date
commit ceaf615744b2a1a9cd655abef25e0840de731d01
Author: Nima Talebi <nima@autonomy.net.au>
Date: Wed May 20 23:18:28 2009 +1000
Fixed a bug, and preparing to dupload to Debian
commit ff36dbbc2804858ad7229e1b6bda51fc2250133d
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 17:09:48 2009 +0200
Changed the node content of /dmidecode/ProcessorInfo/CPUCore/cpu_flags/flag to maintain backwards compatibility
The old python-dmidecode uses the format '{flag} ({description})'. This
format is now used is well as contents for the cpu_flags/flag text nodes.
commit eff9145436de625fdf0be489be95118c69ec3a2e
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 17:02:47 2009 +0200
Fixed the bios field mapping to use relative XPaths
commit 457723c74c011c9a60b6f16c4f089225b5df30c3
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 16:54:42 2009 +0200
Added field mapping for dmidecode.connectors()
commit 6e66a28fb04934a58286df8d3b84caf904ae2da7
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 16:41:16 2009 +0200
Added field mapping for dmidecode.slots()
commit 5900424cc4a3ba70b79a6f2c31cf2d738b4e0217
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 16:39:10 2009 +0200
Use correct index value for /dmidecode/SystemSlots/SlotCharacteristics/Characteristic/@index
commit 2ab1ede583c1dc2e9a81c20c80dc882964dde9a1
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 15:46:09 2009 +0200
Added field mapping for dmidecode.baseboard()
commit 15fd846d16312aae19d48bac080498a44a7c469c
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 15:36:23 2009 +0200
Added field mapping for the dmidecode.system() section
commit 599642f7370cb3f2fbf5c079c20269318d5a775f
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 15:29:56 2009 +0200
Added support for value type 'list:dict' for field mapping
This builds up a list of dicts. Syntax is:
<Map keytype="constant" key="TestData"
valuetype="list:dict" value="/xml/XPath/to/nodes">
<Map keytype="constant" key="field"
valuetype="string" key="ValueNode"/>
</Map>
The parser will iterate all nodes defined in the @value attribute
and the root path will of the nested mapping will be using the path
in @value as the root path for further parsing.
commit 52f936c82d9098b2a64986228ebc1e9109828ac9
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 12:53:34 2009 +0200
Added field python dict mapping for CacheInfo
commit 9f34b97089fe7fb14c6877cc426658c06f04cb9e
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 11:56:41 2009 +0200
Fixed some errors in the XML layout on CacheInfo
commit c5ad272970644cee25eefb2010061b751dd17519
Author: David Sommerseth <davids@redhat.com>
Date: Fri May 15 13:43:09 2009 +0200
Added a few missing comments
commit b20e017f0b09e6f8946db04b0acef69e62fcf114
Author: Nima Talebi <nima@autonomy.net.au>
Date: Wed May 20 22:19:23 2009 +1000
Fixed some ugly, unattractive and unhealthy code
These hangover lines must have crept in at the early stages of the
initial conversion of dmidecode to python-dmidecode. Fixed.
commit b694abeb522f93aa842d16720a3aa1f98ad2aa84
Author: David Sommerseth <davids@redhat.com>
Date: Fri May 15 11:55:25 2009 +0200
Reorganised attributes in SystemSlots tag
This part of the XML result was not valid due to duplicated tag attributes.
Moved some of this specifications from the SystemSlots tag to its own
SlotID tag, with even more details.
commit 88688ef91d816e4158fd388131c4060e22116c74
Author: David Sommerseth <davids@redhat.com>
Date: Fri May 15 11:28:56 2009 +0200
Completed mapping the memory section
commit a8d6f0ee846d03d10c188080af69c10567887b56
Author: David Sommerseth <davids@redhat.com>
Date: Fri May 15 11:20:07 2009 +0200
Fixed some errors in decoding "3.3.5.9 Processor Characteristics"
Fixes regression in parsing introduced when rewriting dmidecode to use libxml2
commit 72016cb607798e567ac2f2ce67cc50652b0daa32
Author: David Sommerseth <davids@redhat.com>
Date: Fri May 15 11:06:20 2009 +0200
Added 'emptyValue' attribute in the Map tag
This attribute defines a default value when XML source data
is empty
commit fff6c8a1cd328ebce904b7fab4bdc642596a8ef5
Author: David Sommerseth <davids@redhat.com>
Date: Thu May 14 17:11:55 2009 +0200
Remove 'ns' from the speed_ns attribute in memory section
commit 9d47720a88ee77ac4c0ab5f138a8eaf601c492d0
Author: David Sommerseth <davids@redhat.com>
Date: Thu May 14 17:06:18 2009 +0200
Added new Map attribute - emptyIsNone
If the emptyIsNone attribute is set to "1", the Python result
will be forced to Py_None if the referenced XML value is empty.
When checking if the value is empty, the XML value is right trimmed
to remove trailing spaces. Only spaces are are removed.
commit a92cc1236ca7c5abee27e4360284b67297e39c15
Author: David Sommerseth <davids@redhat.com>
Date: Thu May 14 16:31:34 2009 +0200
Support fixed size lists
When using one of the list types as valuetype, the Map tag now
also supports fixedsize and index_attr attributes.
- fixedsize : Defines a fixed size of the list
- index_attr : Defines an attribute name of the input XML data
which contains the list index for the value
commit eeb40ea2c5a47737f318a1631316416e6f1ab75a
Author: David Sommerseth <davids@redhat.com>
Date: Thu May 14 14:57:12 2009 +0200
Fixed another parser issue
When using rootpath, it did not parse all elements as expected. Also
restricted the rootpath to only work when valuetype="dict".
commit c07eb6b33813e41d98d4210dbca18e5de8c8fad6
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 18:30:58 2009 +0200
Avoid segfault if XPATH_NODESET do not contain any data
commit ce4d3eac5a50d25e2821a8aedf09f266b16988fe
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 18:11:50 2009 +0200
Added mapping for chassis information
commit f7ab4ee0a2d1bd0ba32f78dceb1c95b28e313fa6
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 17:42:11 2009 +0200
Added mapping for ProcessorInfo
commit 94e81cb43908f90ccdeca4d7d459172999d4ae90
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 17:39:33 2009 +0200
Big rewrite of xmlpythonizer
- Supports relative XPaths now by using the rootpath attribute in the
Map tag. This path is then set for all elements inside this Map tag.
- Rewrote the parser to recurse correctly. The former version did not
recurse well on the very outer (first) Map level.
commit 40cd1a7ac2f912eb8be659a0c9dbadf5a0b22f14
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 17:22:04 2009 +0200
Mark CPU as Populated = 'No' when not present
commit 03bdcc92ff93e58a9befa5c9439b0cd656e57ccc
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 11:44:15 2009 +0200
Add all CPU flags, and mark them as available or not
This is to preserve backwards compatibility
commit ff78802fb52fe6404d12cbde3037371b69d05c03
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 11:23:17 2009 +0200
Fixed segfault when processing XPATH_NODESET type and the nodeset is NULL
commit baf01ef0ad9635e506171d66c0e7ffa8c8c45ae1
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 11:22:47 2009 +0200
Corrected minor errors in ProcessorInfo XML tags
commit 1ccdf74b1e537c4bd747c079530a5d9ea904e138
Author: David Sommerseth <davids@redhat.com>
Date: Mon May 4 10:39:02 2009 +0200
Improved error handling when parsing mapping XML
commit aad6b79d7363ea4fa1c1ce67a39848b13bdd19f4
Author: David Sommerseth <davids@redhat.com>
Date: Mon May 4 09:32:19 2009 +0200
Fixed typo in config.h - error in pythonmap.xml filename
commit 1bf1da9fa4ad24148fe18c1c5baa9a4ec931402c
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 30 19:38:25 2009 +0200
Improved setting of pythonmap.xml
The default file is now set to /usr/share/python-dmidecode/pythonmap.xml
(defined in config.h) and can be overridden with the dmidecode.pythonmap()
function in Python.
commit 89d2c50a648e3affd81ceb24e332bbd60de2b75d
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 30 19:18:17 2009 +0200
Fixed a bug causing segv
When calling dmidecode_get_xml(...) several times could cause a crash
due to the opt.dmiversion_n pointer being freed by a mistake when the
generated dmixml_n got freed later on in the function.
Also fixed an assertion typo
commit 268687f5b525ce4bdb1becd5a5207bfc2ced8340
Author: Nima Talebi <nima@autonomy.net.au>
Date: Tue Apr 28 00:55:28 2009 +1000
Version number fix
commit 27b3d2281f4b7677e908ef2505bd649305b5ac78
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 30 18:24:49 2009 +0200
Began completing the rewrite of needed dmidecodemodule changes
commit cea1270777d0a5bd42284011307fe183a67f8ada
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 30 16:07:43 2009 +0200
Rewritten dmixml_GetXPathContent(...) and _get_key_value(...)
This rewrite was to handle XPATH_NUMBER more correctly. Now these
functions needs an preallocated memory buffer for the result.
commit 6453a1131547b71c4a21a978fd9588d67d056233
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 18:42:12 2009 +0200
Completed mapping the bios section
commit 2aaa3c0822bff7204167f73b62035bc10f620881
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 18:32:57 2009 +0200
Reimplemented the XPath integration
Now the XPath expressions can include XPath functions as well. The
previous implementation only supported XPATH_NODESET results from
XPath queries. Now XPATH_STRING and XPATH_NUMBER results are
supported as well. XPATH_BOOLEAN might be needed later on.
commit d64ab66e4fbf8d6dfceed628aef21f01063c3d66
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 18:29:50 2009 +0200
Added function for retrieving values from XPath objects
Reverted commit 75aaf67d43cf4a28fe8d3e07111dab75a0c4396d in addition
commit a3047723df9b66b6a56bcc72a469a129bbaf4d54
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 18:28:02 2009 +0200
dmidecode: Moved ROMsize size unit into tag attribute
commit 6a89cde8f253cb9826da4287007a869de99709a6
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 13:09:07 2009 +0200
Filter out BIOS characteristics with XPath expressions
commit 7cf8017a95f04d6207ae3bbf923c8be5d873f6a1
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 13:07:16 2009 +0200
Revert "Added filter and filtervalue attributes to xmlpythonizer's <Map> tags"
This reverts commit 4b925a1433b65c217e787804df3cf349d6b387aa.
Discovered that XPath got the needed power for filtering, no need for
this extra feature
commit c6baf0a8f50cc19f319ad13ceeb2c40ace0b4d7e
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 11:18:57 2009 +0200
Exported ptzmap_Free()
commit e013d57e504c4e989c0503e62b63369bb16ebdaf
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 28 19:12:25 2009 +0200
Added pythonmap.xml - default XML -> Python mapping setup
Only added mapping for the 'bios' section.
commit 4b925a1433b65c217e787804df3cf349d6b387aa
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 28 19:10:45 2009 +0200
Added filter and filtervalue attributes to xmlpythonizer's <Map> tags
Using these attributes, only XML data (from the given XPath in 'filter')
which matches the value in 'filtervalue' will be added to the Python
data.
commit 11691f4b5e5786878cca1d30b183103477d5311f
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 28 16:58:33 2009 +0200
Updated xmlpythonizer to support boolean type and dynamic XPath keys
* Added support boolean and list:boolean value types
* Traversing child nodes and having dynamic keys
Now it is possible to do the following:
** test.xml **
<?xml version="1.0" encoding="UTF-8"?>
<testdata>
<list>
<value enabled="1">Option 1</value>
<value enabled="0">Option 2</value>
<value enabled="1">Option 3</value>
</list>
</testdata>
** mapping.xml **
<?xml version="1.0" encoding="UTF-8"?>
<dmidecode_fieldmap version="1">
<Mapping name="example">
<Map keytype="string" key="/testdata/list/value"
valuetype="boolean" value="/testdata/list/value/@enabled"/>
</Mapping>
</dmidecode_fieldmap>
Which should result in:
{'Option 1': True, 'Option 2': False, 'Option 3': True'}
commit c7be629d44d4e2be6c8116796714e0042a977885
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 28 11:12:58 2009 +0200
Added generic XML -> Python parser
The xmlpythonizer module will convert any XML data (xmlNode
or xmlDoc) and format it as a Python object. The formatting is
defined in it's own XML file.
Basic format:
<dmidecode_fieldmap version="1">
<Mapping name="{name of mapping table}">
<Map keytype="{key type}" key="{key value}"
valuetype="{value type} value="{value}"/>
</Mapping>
</dmidecode_fieldmap>
The keytype and key attributes defines the key in the Python Dict. The
root element will always be a Python Dict structure. The valid key types
are:
* constant
Uses the value in {key} as the key value
* string, integer, float
Uses a string value from the data XML to be converted to Python. The
value set in the key attribute defines an XPath value which points to the
data to be used as a Python dict key.
Since Python only supports C strings in the C interface for Python dict
keys, integer and float will be treated as strings.
The valuetype and value attributes are similar to the keys, but with some more
features. Valid valuetypes are:
* constant
The value given in the value attribute will be used in the value in
the Python result.
* string, integer, float
The value given in the value attribute defines the XPath to the data XML,
of where to retrieve the value for the given key.
The valuetype defines if the data should be understood as a string, integer
or float in the Python result.
* list:string, list:integer, list:float
This does the same as the string, integer or float type, with a tweak. The
data will be put into a list. If the XPath given returns multiple nodes,
all of them will be added to this list.
* dict
The dict valuetype is more special. It should not contain any value
attribute. On the other hand, it should contain a sub-level of <Map> tags.
In this way, you can build up a multi dimensional Python dict.
Example:
** pythonmap.xml **
<?xml version="1.0" encoding="UTF-8"?>
<dmidecode_fieldmap version="1">
<Mapping name="example_map">
<Map keytype="constant" key="DemoCase" valuetype="constant" value="XML Pythonizing"/>
<Map keytype="constant" key="String1" valuetype="string" value="/example/string1"/>
<Map keytype="constant" key="AttribString1" valuetype="integer" value="/example/string1/@int_value"/>
<Map keytype="string" key="/example/keyset/@value" valuetype="dict">
<Map keytype="constant" key="Value1" valuetype="string" value="/example/keyset/value1"/>
<Map keytype="constant" key="ValueList" valuetype="list:string" value="/example/keyset/valuelist"/>
</Map>
</Mapping>
</dmidecode_fieldmap>
** exampledata.xml **
<?xml version="1.0" encoding="UTF-8"?>
<example>
<string1 int_value="1234">String value #1</string1>
<keyset value="TestData">
<value1>More test data</value1>
<valuelist>Value1 in list</valuelist>
<valuelist>Value2 in list</valuelist>
<valuelist>Value3 in list</valuelist>
</keyset>
</example>
** C code snippet **
void xmlpythonizer() {
xmlDoc *xmlmap = NULL;
xmlDoc *xmldata = NULL;
ptzMAP *mapping = NULL;
PyObject *pythondata = NULL;
// Read XML files
xmlmap = xmlReadFile("pythonmap.xml", NULL, 0);
xmldata = xmlReadFile("exampledata.xml", NULL, 0);
// Parse the mapping XML
mapping = dmiMAP_ParseMappingXML(xmlmap, "example_map");
// Parse the xmldata into a Python object
pythondata = pythonizeXMLdoc(mapping, xmldata);
// ..... the program continues to do something useful
}
The result stored inside the pythondata object should now be
something similar to:
{'DemoCase': 'XML Pythonizing',
'String1': 'String value #1',
'AttribString1: 1234,
'TestData': {'Value1': 'More test data',
'ValueList': ['Value1 in list','Value2 in list','Value3 in list']}
}
commit 70e35765fbb9be6ddd6aab6555916777a593e0aa
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 28 11:07:51 2009 +0200
Only consider XML nodes which is of XML_ELEMENT_NODE when finding a specific node
commit 75aaf67d43cf4a28fe8d3e07111dab75a0c4396d
Author: David Sommerseth <davids@redhat.com>
Date: Fri Apr 24 17:09:41 2009 +0200
Don't return NULL in dmixml_GetContent(...)
commit 0af6d685a83d7c060de52717859e00104bc7c4b8
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 14 14:22:09 2009 +0200
Fixed compiler error due to API changes
This fixes a regression from commit 7f0fa9b2e1afd6aecea0b34b62cf9ebdf075164d
commit 8c5015cfd169bbec89974e57b04da3985425e6cd
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 14 14:21:48 2009 +0200
More XML cleanup
commit 38c943db697b13e5f9be020a0729f58b7366e932
Author: David Sommerseth <davids@redhat.com>
Date: Fri Apr 10 13:52:47 2009 +0200
Cleaned up the XML data
commit 62f276eea2d8477854d7fe9b230a957a8df4102c
Author: David Sommerseth <davids@redhat.com>
Date: Fri Apr 10 13:51:01 2009 +0200
Do not add XML values if input is "(null)"
commit b8bcbc709a3bdb5ee1e59e22d5e54c59f391165f
Author: David Sommerseth <davids@redhat.com>
Date: Fri Apr 10 13:38:52 2009 +0200
Added right trim of xml data
commit 92ea3b07784853558d93391dbc364c69463cd61d
Author: David Sommerseth <davids@redhat.com>
Date: Fri Apr 10 11:28:41 2009 +0200
Fixed wrong string handling of DMI data, which caused SEGV
commit 46988f9abcec9eb072be5f5d52fc594de89478e8
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 9 15:13:23 2009 +0200
Added more XML functions
commit 8b2fe610dc309579f07787696f0814c359aa4de1
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 9 14:51:31 2009 +0200
Added missing copyright details
commit 95b156e3d8a6b82bddb5516735e82355f5dee50a
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 9 12:12:56 2009 +0200
Removed all Python dependencies in dmidecode.[ch]
commit 581b015c91a3b364b1c1324bed775bfd2ce99dbd
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 9 11:49:50 2009 +0200
Made it compile
commit 612445e94781f14af65490b52c898b9eaa5f5e85
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 8 19:02:03 2009 +0200
Ported most functions to XML interface
Still do not compile
commit 0cdb1cbffae8237635b991993ee4467e2753dafa
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 7 09:27:47 2009 +0200
Checked in a work in progress - Python dict -> XML
Does not compile yet
commit a35afd0190f6a6925aa134ac43d2653aaf018ff8
Author: David Sommerseth <davids@redhat.com>
Date: Fri Apr 3 14:50:02 2009 +0200
Fixed wrong xmlAttrNode type to xmlAttr
commit 2ed8a0e7cb6cbdeec1c1c49e7aedf03188e72017
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 2 19:27:30 2009 +0200
Modified setup.py to compile in dmixml.c and link against libxml2
commit 1da04aa097db78c7474877049334c2c07b33bda1
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 2 19:26:56 2009 +0200
Added dmixml.[ch] - helper function for generating XML nodes
commit 805dced32cbb2eef1f2b639100faef3bb0482e29
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 1 16:10:55 2009 +0200
Added indenting tool for C code and reindented *.[ch] files
commit 764717bd15eeaa0c6cbed39a8b674dad406e57f9
Author: Nima Talebi <nima@autonomy.net.au>
Date: Fri Apr 17 21:41:34 2009 +1000
Converting to pysupport from pycentral
commit d8aecc31dd70d0286258aeac3f5ca0adb51a9add
Author: Nima Talebi <nima@autonomy.net.au>
Date: Fri Apr 17 21:40:55 2009 +1000
Converting to pysupport from pycentral.
commit 69dfdaee01c89096e76fbd8db9531d759d43e7c2
Author: Nima Talebi <nima@autonomy.net.au>
Date: Fri Apr 17 20:34:04 2009 +1000
Testing git push
commit f6a5c9a497fe10ff61399e640973fa396aa0b425
Author: Nima Talebi <nima@epenguin1-3.appmgmt.det.nsw.edu.au>
Date: Fri Apr 17 10:36:21 2009 +1000
Wrapped long lines
commit 7788d30989f2bafca2aacda198947c1841e420a3
Author: Nima Talebi <nima@epenguin1-3.appmgmt.det.nsw.edu.au>
Date: Tue Apr 14 19:08:51 2009 +1000
Small cleanup change
commit 521af88003aef1af0118f2414c550e2762e4d94c
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Mar 31 11:42:58 2009 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@181 abc39116-655e-4be6-ad55-d661dc543056
commit d7200d96d5b90bcd0013c84ec1b053acbcca86c9
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Mar 31 11:42:38 2009 +0000
Reverting recent (pointless) change.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@180 abc39116-655e-4be6-ad55-d661dc543056
commit 37d1a8117cd212ee9e47bbd4225ba76dece7dad7
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Mar 31 11:37:58 2009 +0000
Preparing to migrate to GIT.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@179 abc39116-655e-4be6-ad55-d661dc543056
commit 17cfe3a41998c075991a54a6deace28ba7744ed6
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Mar 10 01:53:51 2009 +0000
Fixes.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@178 abc39116-655e-4be6-ad55-d661dc543056
commit f60a804e9d0bb4be0a2a7c37819f4deb64eb0535
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Mar 8 13:49:21 2009 +0000
Releasing v2.10.4.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@177 abc39116-655e-4be6-ad55-d661dc543056
commit f3cc6c86366af6df0c6320100b86bcdf404ba3ae
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Mar 8 11:32:42 2009 +0000
Adding spec file supplied by Clark Williams <williams at redhat.com>.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@176 abc39116-655e-4be6-ad55-d661dc543056
commit 72c61bede5e0279cd4ee3b60cc3f0d0947fc4977
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Mar 8 11:31:31 2009 +0000
Applied patch submitted by Clark Williams <williams at redhat.com>.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@175 abc39116-655e-4be6-ad55-d661dc543056
commit 78c26d98b13f3ee16d93f8950198376afb7589cb
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Feb 22 13:34:24 2009 +0000
Fixed bug reported by Ralf Treinen.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@174 abc39116-655e-4be6-ad55-d661dc543056
commit e203e56f9b06f7860f4f1f4c3dded6c7e2031c5b
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Feb 13 14:39:23 2009 +0000
Removing spec file from upstream.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@173 abc39116-655e-4be6-ad55-d661dc543056
commit 32bf7d52f21c1fc74583e3ae6d6978b879d4c650
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Feb 13 14:36:16 2009 +0000
Upped sub-version.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@172 abc39116-655e-4be6-ad55-d661dc543056
commit 8f278a3de968fca02762da08ec5e85810cb27107
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Feb 13 14:32:06 2009 +0000
Small changes - final touches for 2.10.1.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@171 abc39116-655e-4be6-ad55-d661dc543056
commit 83ad351950a3f7a587810801689b8f2e0fdbd72f
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Feb 13 14:30:37 2009 +0000
Versioning now chagned to reflect the version of the upstream (dmidecode)
version with which python-dmidecode is in sync with.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@170 abc39116-655e-4be6-ad55-d661dc543056
commit 28707fdf3241fabac3a5a379ae83770a0b3216bd
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Jan 13 12:48:28 2009 +0000
Fixed watch file.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@169 abc39116-655e-4be6-ad55-d661dc543056
commit f9134f3aca61ee5b1cec3f136cf99e37a90bb9f4
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Jan 12 13:06:34 2009 +0000
Debian changes completely separated from upstream.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@168 abc39116-655e-4be6-ad55-d661dc543056
commit 52f3744ec2b709791ad062e2668aea2fef5ae43e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Jan 12 13:04:52 2009 +0000
Removed Debian-specific targets from the makefile.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@167 abc39116-655e-4be6-ad55-d661dc543056
commit f5223b667e367a522949b320e76be96b56199b5c
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Dec 22 23:02:00 2008 +0000
Source file name change.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@166 abc39116-655e-4be6-ad55-d661dc543056
commit 67154ad0a8b84de61bb07335150117507e2b7eef
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Dec 22 23:01:22 2008 +0000
A more complete dmidecode example.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@165 abc39116-655e-4be6-ad55-d661dc543056
commit d866a378dbc4645d224f06dfd41c5ca793690e81
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Dec 22 22:40:51 2008 +0000
Applied the nice changes suggested by Piotr Ożarowsk.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@164 abc39116-655e-4be6-ad55-d661dc543056
commit 25f310ab03c3010d89b0cafa989aeab94bcda58f
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Dec 22 13:37:43 2008 +0000
Cleaned up the fix for type(127).
Added the second type of stuffed bios (upstream).
Integrated dmidecode the binary into the test case for a more objective result.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@163 abc39116-655e-4be6-ad55-d661dc543056
commit 915ed13f64903adda36446657d19e6bae02e3be2
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Dec 22 09:06:43 2008 +0000
Fixed the type(127) problem (at least on this machine) - again.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@162 abc39116-655e-4be6-ad55-d661dc543056
commit ffea5fcd1f1a50860e8f731e2afa8481a819e28b
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 12:52:51 2008 +0000
Removed unnecessay manpage.
Spell my own name correctly.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@161 abc39116-655e-4be6-ad55-d661dc543056
commit b89740eb95934cfa50815076a39a6948002f50ca
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 11:31:36 2008 +0000
Added an upload into src.autonomy.net.au after source build.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@160 abc39116-655e-4be6-ad55-d661dc543056
commit ddee60b9bad068405f520ddd772dffda2c742087
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 11:27:52 2008 +0000
Fixed sample.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@159 abc39116-655e-4be6-ad55-d661dc543056
commit ea7bb44fc527bfab6b418ad6fd0e5cf87341298e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 10:22:06 2008 +0000
Cleanup copyright.
Cleanup debian/rules.
Adding test.py to examples.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@158 abc39116-655e-4be6-ad55-d661dc543056
commit 66a38305dab867627657cd5f094d1d8bf2a51825
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 10:04:03 2008 +0000
Remove README.Debian - no point.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@157 abc39116-655e-4be6-ad55-d661dc543056
commit 8b39733bc2b67ba2b229cbe119d553a9247c77a2
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 07:57:49 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@156 abc39116-655e-4be6-ad55-d661dc543056
commit 0ff1b5b45facd7543529dab5711cf2812c47c218
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 07:53:54 2008 +0000
Handle cases where user does not have appropriate permission to access the
memory file or device.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@155 abc39116-655e-4be6-ad55-d661dc543056
commit 42617d59e66684bff7272c9c49c0cadd2e53c7f9
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 05:44:04 2008 +0000
Names.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@154 abc39116-655e-4be6-ad55-d661dc543056
commit c53e65f772d248194bc0d45bdcfec5374d0bee9f
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 05:43:06 2008 +0000
Better naming.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@153 abc39116-655e-4be6-ad55-d661dc543056
commit 20543ee1abb96ed63f4e6fa317954439b8a3057f
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 04:41:39 2008 +0000
Upped debhelper build-required version from 5 to 7.
Final cleanups.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@152 abc39116-655e-4be6-ad55-d661dc543056
commit 5337eca7114bec25f59910971c734d7aac416c2e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 02:55:19 2008 +0000
Cleaned up and Lintian-approved.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@151 abc39116-655e-4be6-ad55-d661dc543056
commit 39341f8c367a9de724047c7a980ca75fc60814c8
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 02:48:05 2008 +0000
Email address fixed.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@150 abc39116-655e-4be6-ad55-d661dc543056
commit b2e8392246743a46da312c9897c5b1225a7e3841
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 02:39:16 2008 +0000
Sigh.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@149 abc39116-655e-4be6-ad55-d661dc543056
commit b8ac8f18072dfaebaa5c3028017c7c37bd8e3853
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 02:38:35 2008 +0000
Changing to svn-buildpackage.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@148 abc39116-655e-4be6-ad55-d661dc543056
commit 0c05fe155d2c92451713dc36013f2d2a276a2a84
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 02:22:20 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@147 abc39116-655e-4be6-ad55-d661dc543056
commit 558f9ab291dbbb46e5228f5d87e3d27657cd15f3
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 02:07:56 2008 +0000
Source generation.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@146 abc39116-655e-4be6-ad55-d661dc543056
commit 0005d9f98cb72d01f081d6c4cbe4a588fd9d3926
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 01:41:57 2008 +0000
Fixed watchfile now that I've created a src (orig.tar.gz) repository.
Added more copyright/lisencing information.
More debianizing.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@145 abc39116-655e-4be6-ad55-d661dc543056
commit 3a79b7e48e1f19b520ee866ef36b07668020147c
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Dec 20 17:00:56 2008 +0000
Required for dh_installdocs.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@144 abc39116-655e-4be6-ad55-d661dc543056
commit 0a3f625c078d200d8867dfc15415b2c8c5534ccc
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Dec 20 16:54:32 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@143 abc39116-655e-4be6-ad55-d661dc543056
commit 3f492c5cb392aa7038d496b7c516dca95d225dee
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Dec 20 16:52:15 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@142 abc39116-655e-4be6-ad55-d661dc543056
commit 578bb67b183860861c9bc322fcf18c5d3f4b08a3
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Dec 20 16:49:40 2008 +0000
Removed out-of-place README.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@141 abc39116-655e-4be6-ad55-d661dc543056
commit 36124e46822d1e31f17d68dc4b10ec7b2e63c507
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Dec 20 16:47:18 2008 +0000
Hide private data from subversion.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@140 abc39116-655e-4be6-ad55-d661dc543056
commit 4c616b1753292d631212461093bec9b2fcc519f0
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Dec 20 16:46:37 2008 +0000
Remove private memory dumps.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@139 abc39116-655e-4be6-ad55-d661dc543056
commit 88614ec62615e420346a4fc4cc8a532ff14a5f08
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Dec 20 16:45:39 2008 +0000
Added missing info to copyright file.
Source creation target.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@138 abc39116-655e-4be6-ad55-d661dc543056
commit 181dbf623e793005c0293a769ee669eec06a3fad
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Dec 20 16:26:43 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@137 abc39116-655e-4be6-ad55-d661dc543056
commit fe4e406114752c7d61280f32b4af84cdc2504b4d
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Dec 20 15:49:18 2008 +0000
Handle cases where user asks for invalid types.
Updated test cases to test for this too.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@136 abc39116-655e-4be6-ad55-d661dc543056
commit 0e2598266442b8f1015c75833034ac0f26857820
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Dec 20 15:32:30 2008 +0000
Version information now set once during init().
Bettered test cases.
Case 127 magically fixed.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@135 abc39116-655e-4be6-ad55-d661dc543056
commit 6d5ebf5d39e419e2f83960223bf840275426dc87
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Dec 20 01:46:42 2008 +0000
Debian specific target.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@134 abc39116-655e-4be6-ad55-d661dc543056
commit 8626bbd2cfcb10109cfa85b8d7ef99898e6f7771
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Dec 20 01:44:55 2008 +0000
Removed "detected" from appearing in every single function call. TODO: An ivar
should be implemented to return this string, so further cleanup is still
required; as it stands, there is no access to this information anymore!
Updated test case.
Further general cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@133 abc39116-655e-4be6-ad55-d661dc543056
commit f5397d936f5dc85813d1d6d50cf5f7d6ba9716c8
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 23:55:53 2008 +0000
Further testing shows that the segfault does not occur when the device is
/dev/mem, but does so for all images (where requested type is 127), suggesting
that the problem could be with the image or surrounding processes.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@132 abc39116-655e-4be6-ad55-d661dc543056
commit 7433f78f76c509f7253fca4a44fb1867dbbb4092
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 23:46:46 2008 +0000
Oops - fixed.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@131 abc39116-655e-4be6-ad55-d661dc543056
commit ecc5f901bbb8c888ca3c9e89296a98442bbb0f9e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 23:45:55 2008 +0000
Test case is close to complete, type 127 results in a segfault - (test case
is serving its purpose).
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@130 abc39116-655e-4be6-ad55-d661dc543056
commit b23485083a007a0490d8ca3125d65bf239e4fae2
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 23:29:50 2008 +0000
Adding an image from parallel's desktop running Debian lenny, and another for
a physical server also running Debian. Both are intel 32 bit.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@129 abc39116-655e-4be6-ad55-d661dc543056
commit b23d9e08db459d72fa496b1c47979bf3311926ef
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 23:27:10 2008 +0000
More work on test case.
Updated setup.py to reflect new version.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@128 abc39116-655e-4be6-ad55-d661dc543056
commit ea6e33f5a11185286c464305f6ef408ff8ff8b93
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 13:49:19 2008 +0000
More testing and fixes.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@127 abc39116-655e-4be6-ad55-d661dc543056
commit ef62ae6dea3de725825a92e92bfab6cb9a581f93
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 13:42:10 2008 +0000
Improved test case.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@126 abc39116-655e-4be6-ad55-d661dc543056
commit bc5647310466c6f4409bc195e5abf32710abedfa
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 13:32:35 2008 +0000
Removed a printf() comment.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@125 abc39116-655e-4be6-ad55-d661dc543056
commit 11ec71fe19b72a35612fa52cef5c25760e487d7d
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 13:21:24 2008 +0000
Check that the path given with set_dev() is writeable.
Don't crash when writing to a read-only file, return False instead.
Missing an INCREF in get_dev() fixed.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@124 abc39116-655e-4be6-ad55-d661dc543056
commit b007b775afdba38cdc3430ec9c909324d3522fb4
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 11:56:39 2008 +0000
Test for write permission prior to write attempts.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@123 abc39116-655e-4be6-ad55-d661dc543056
commit eaa8d27476769e2b65e92d6b0010356ca7cc4f2e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 09:02:52 2008 +0000
Fixed watch file.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@122 abc39116-655e-4be6-ad55-d661dc543056
commit 4b92dd269005ced52ff82061a65719e73162a2b3
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 05:05:38 2008 +0000
Received ITP auto-ack: #509169.
More debianizing cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@121 abc39116-655e-4be6-ad55-d661dc543056
commit 262375e89de043a6df588d87e6d87e69e28141cc
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 04:13:24 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@120 abc39116-655e-4be6-ad55-d661dc543056
commit 6249a27ea72b83726975bfa6771b226f325c1a95
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 04:07:06 2008 +0000
Further work in enforcing the Debian policy in package based on advice from
`POX' and the documentation.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@119 abc39116-655e-4be6-ad55-d661dc543056
commit e620d0a9d88875c425741ad2d40579e61cdd15b0
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Dec 19 02:23:32 2008 +0000
Removed junk and doing more debianizing - WIP.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@118 abc39116-655e-4be6-ad55-d661dc543056
commit c19f68cb27021c0fd5e0ad1962ff9547bd616e23
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Dec 18 13:49:57 2008 +0000
Updated.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@117 abc39116-655e-4be6-ad55-d661dc543056
commit 4b189e807e77894dde0df32cefae8ab5f530ce16
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Dec 18 13:48:52 2008 +0000
The dmidecode.type() call not takes ints, not strings.
Adding an example directory.
Adding test case.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@116 abc39116-655e-4be6-ad55-d661dc543056
commit 2343c69ba224db0f6c7cca4be5496ce1f3382baf
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Dec 18 13:45:37 2008 +0000
The dmidecode.type() call not takes ints, not strings.
Adding an example directory.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@115 abc39116-655e-4be6-ad55-d661dc543056
commit 8a49e58086274526d2526edade1d53ee02af2820
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Dec 18 01:12:50 2008 +0000
More upstream changes implemented, see CHANGELOG by Jean Delvare from the
period 2008-02-16 to 2008-11-23.
These changes have been made, but not yet fully tested.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@114 abc39116-655e-4be6-ad55-d661dc543056
commit f22d0e6e9604c15c7e9f75545cee9fa429acb5aa
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Dec 17 13:26:57 2008 +0000
Claim to support revision 32 of Intel AP-485 (CPUID). No relevant change since
revision 31.
Update reference to AMD CPUID document.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@113 abc39116-655e-4be6-ad55-d661dc543056
commit a08bb2a9c602a130471b3408fcf88745bc68a53d
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Dec 17 13:11:35 2008 +0000
Handle chassis information records of size 19 (DMI type 3).
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@112 abc39116-655e-4be6-ad55-d661dc543056
commit 78c7237b805620d0b8275377fefa9b3ba8ff1954
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Dec 17 13:00:12 2008 +0000
And the debian subfolder itself...
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@111 abc39116-655e-4be6-ad55-d661dc543056
commit 46632c536288d4159d7c78cab921dc2ab2d08dc4
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Dec 17 12:59:32 2008 +0000
Debianizing dmidecode.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@110 abc39116-655e-4be6-ad55-d661dc543056
commit d4241f4f3203d11cf8ded804df36bc97053df333
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Dec 17 07:30:04 2008 +0000
Adding spec file written by Joel Heenan.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@109 abc39116-655e-4be6-ad55-d661dc543056
commit 39378ee26e0d1d2ab4c76eed22514c6f986c5495
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Dec 17 07:20:56 2008 +0000
Cleaning up source area, ready for debianizing, and rpm after that.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@108 abc39116-655e-4be6-ad55-d661dc543056
commit b0103d72736fdf47760049dbf880a859b52c88fa
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 14:45:34 2008 +0000
Changed default target of Makefile back to `setup.py' method of installation.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@107 abc39116-655e-4be6-ad55-d661dc543056
commit f173034b410e82cfd69d702ed862b4964beb4cd6
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 14:41:02 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@106 abc39116-655e-4be6-ad55-d661dc543056
commit 0bf883a82fdf4a8665c1a7832121418d3be8d201
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 14:33:03 2008 +0000
This commit closes #2 reported by Justin Cook, the ticket will remain open
until Justin confirms this however.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@105 abc39116-655e-4be6-ad55-d661dc543056
commit f120b5fa5933fef104c1f5e711581455e3980e2e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 14:07:22 2008 +0000
Implemented reading a dump to - this concludes syncing to the upstream release.
Next, exceptions should be thrown in certain places, more error checking in the
python side of things, and also in relation to setting and unsetting of the
alternate memory file.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@104 abc39116-655e-4be6-ad55-d661dc543056
commit e703746faad221f6c367e4fe5fd27ebd6b4aae54
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 13:42:35 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@103 abc39116-655e-4be6-ad55-d661dc543056
commit e812ea8f8576cd8dbbe8a956053c200a35362480
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 13:38:24 2008 +0000
Fixed dump. The `offset' problem was not really an offset problem - it was a
silly typo.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@102 abc39116-655e-4be6-ad55-d661dc543056
commit 8db7b4d856573841afc6de7e16bbb286b0269cbd
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 13:24:04 2008 +0000
Missed two lines.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@101 abc39116-655e-4be6-ad55-d661dc543056
commit 4b4afad325b8e11800f622fad2f6eacb22e3f2bb
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 13:19:50 2008 +0000
Dump-to-file is almost working, there seems to be a 4-byte misalignment in the
produced file though for now - needs to be fixed.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@100 abc39116-655e-4be6-ad55-d661dc543056
commit 56069e096f18a9538a8c0e86c96959b2fbef3dcf
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 11:43:15 2008 +0000
Removed junk comments.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@99 abc39116-655e-4be6-ad55-d661dc543056
commit 28ddefea64e27dbcbd928cae362527b2d63dcb5a
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 11:21:24 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@98 abc39116-655e-4be6-ad55-d661dc543056
commit 6f7a8bbe18e60f6691e7a7c566e28b2a5eda7c94
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 11:15:19 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@97 abc39116-655e-4be6-ad55-d661dc543056
commit 24f10bb094c9831f4133d488d0af90dc2a83590f
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 10:24:41 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@96 abc39116-655e-4be6-ad55-d661dc543056
commit 34ed409541219e8239a5826849ef36d8f4a05eb9
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 09:05:23 2008 +0000
Integration of required `dmiopt.h' bits.
Removed QUIETness code.
Other cleanups.
Added get/set methods for changinf the default /dev/mem device.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@95 abc39116-655e-4be6-ad55-d661dc543056
commit ddabe05f4eb607e35aaea36226227580af723745
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 09:02:21 2008 +0000
Removed traces of `_' and integrating required bits from dmiopt.h.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@94 abc39116-655e-4be6-ad55-d661dc543056
commit f81f2790ea8c0f592418fc2a6fc2c900866e18d4
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 09:01:41 2008 +0000
Removed traces of `_'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@93 abc39116-655e-4be6-ad55-d661dc543056
commit 3dd06d10c6b4465bb05203393ae192cb98d511d4
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 09:00:26 2008 +0000
Integrating the required bits from dmiopt into dmihelper.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@92 abc39116-655e-4be6-ad55-d661dc543056
commit 895dc84ff44587d7cd6832d68b4efd82f31cab7b
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 08:39:12 2008 +0000
Removed `_' buffer.
Removed use of `FLAGS_QUIET' as it makes no sense for a module.
Removed the `submain()' function.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@91 abc39116-655e-4be6-ad55-d661dc543056
commit c81c458bcffbb973d90c5902bb73d2bbd7ff843c
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 08:30:00 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@90 abc39116-655e-4be6-ad55-d661dc543056
commit fd945b4d3ecdb0e678d595896328ba200a552345
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 08:29:06 2008 +0000
Removed dependency on dmiopt.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@89 abc39116-655e-4be6-ad55-d661dc543056
commit 7953fe6ab9bf5c1e6a76a671e4a4895351a31559
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Oct 31 08:28:33 2008 +0000
Removed verbose printout.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@88 abc39116-655e-4be6-ad55-d661dc543056
commit 97c2bf5aa740ad9a7e2f39d95ba3095725567ad2
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Oct 30 10:14:24 2008 +0000
Removed final traces of the `_' buffer.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@87 abc39116-655e-4be6-ad55-d661dc543056
commit 6e5ae9b4399e847b365b00e03b8c619efdf3bba1
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Oct 30 02:11:56 2008 +0000
Implementing (incomplete) upstream changes.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@86 abc39116-655e-4be6-ad55-d661dc543056
commit 90f1ca30ef2d9ce324fc198ea7c3a128410d085a
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Oct 29 07:15:35 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@85 abc39116-655e-4be6-ad55-d661dc543056
commit 6c0e97f2159991f0de26f79d49fed4a4d3caa326
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Oct 29 07:13:49 2008 +0000
Adding man pages from upstream. Sooner or later, these will be removed, as will
all other work that's simply replicating the demidecode binary. All this
package should provide is the python module, and some py-module-specific man
pages.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@84 abc39116-655e-4be6-ad55-d661dc543056
commit 912c8ba257f0c0b05b3d5916da203bc8566c83af
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Oct 29 07:10:24 2008 +0000
Recoded the new work from upstream into these (main) files. The options to
dump the memory image onto file, and read back from it has not yet been
worked in, but the underlying work has been completed.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@83 abc39116-655e-4be6-ad55-d661dc543056
commit e308e170fc844c8b4454384873497f52f0d37ae7
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Oct 29 07:09:10 2008 +0000
Tested new dmidecode python module with this example file. A real test case
will be implemented sometime in future.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@82 abc39116-655e-4be6-ad55-d661dc543056
commit 8cbb9ffa69310c065247d3f76eac2e7ee9991af7
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Oct 29 07:07:56 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@81 abc39116-655e-4be6-ad55-d661dc543056
commit e855dac8a474342fb59317de682b9b9e87e0d79e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Oct 29 07:07:13 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@80 abc39116-655e-4be6-ad55-d661dc543056
commit 798528d678675f424d70a43785e4e77caaa25ebe
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Oct 29 07:06:47 2008 +0000
Using dmihelper now.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@79 abc39116-655e-4be6-ad55-d661dc543056
commit ad98794d4d92d173462c53714e3d9f2a0726ff68
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Oct 29 07:05:58 2008 +0000
Upstream.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@78 abc39116-655e-4be6-ad55-d661dc543056
commit a4a07b0955dfe6d77e046db346b69e48c7d29066
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Oct 29 07:04:19 2008 +0000
Upstream.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@77 abc39116-655e-4be6-ad55-d661dc543056
commit 3c78c1ef20182ab39bde47677ee615bbbd208837
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Oct 29 07:04:03 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@76 abc39116-655e-4be6-ad55-d661dc543056
commit 601a1baf86b023feb8cb6ca1754c225ebbbe371f
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Oct 29 06:36:23 2008 +0000
Renamed to a more appropriate name.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@75 abc39116-655e-4be6-ad55-d661dc543056
commit e2f610150c546645c4520cbb5f79c5fd0571ce53
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Oct 29 06:35:21 2008 +0000
Committing new dmidecode helper functions, and next, renaming it to a
meaningful name.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@74 abc39116-655e-4be6-ad55-d661dc543056
commit 4dbf349a3c8c623f08b9d20991461814888ab492
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Oct 29 06:27:31 2008 +0000
Synced to the latest from upstream, with a light modification required for the
module.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@73 abc39116-655e-4be6-ad55-d661dc543056
commit 8cb72b16a67bb1540763d654fe9d5f61ee7c83a3
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Oct 18 09:34:09 2008 +0000
Python does not have unsigned integers, hence %u and %lu in printf style
strings are taken to be literal strings, not space-holders. All occurences
of '%u' (78) have been amended to '%i', there was no '%lu'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@72 abc39116-655e-4be6-ad55-d661dc543056
commit 4c92ab9878eaff844316e8f416a3bb59c5c9df46
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Oct 18 09:28:46 2008 +0000
Fixed bug reported by by Justin Cook, where dmidecode.type() would segfault.
It turned out to be some code that was forgotten about during the conversion, or
at least very incomplete and wrong.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@71 abc39116-655e-4be6-ad55-d661dc543056
commit 259d4088f61379786d1889c2e5bc7df2687ea6c3
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Oct 16 15:52:48 2008 +0000
Remove efence.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@70 abc39116-655e-4be6-ad55-d661dc543056
commit c3078cd8c661c23b3ecc0928169a9a7b4613b6ee
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Sep 5 03:08:02 2008 +0000
Fixed a bug that crashed dmidecode.slot().
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@69 abc39116-655e-4be6-ad55-d661dc543056
commit e7369539f2ccab7db4fb91f6ae470d8a5a4d25fb
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Sep 4 06:09:55 2008 +0000
Cleaning up of the dmidecode module, mostly conversion of things that can be
Python `None's or `Int's but were `String'.
Replaced a meaningless int dictionary key to `data'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@68 abc39116-655e-4be6-ad55-d661dc543056
commit b3880a3305dcdd866638202b9da95cd99f06b085
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Sep 4 02:26:09 2008 +0000
Work on CPU details - seemed to been a bug with appending to a string rather
than rewriting it.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@67 abc39116-655e-4be6-ad55-d661dc543056
commit 1fea35ea0c1635e080028c914b88849c721764e6
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Aug 8 14:15:47 2008 +0000
Replaced `%X' with `%x'.
Logic cleanup - Put the `Handle' info back into the dictionary.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@66 abc39116-655e-4be6-ad55-d661dc543056
commit 663aaf5ee1150ea15f9314f11d5272eb23ab5901
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Aug 8 07:57:44 2008 +0000
Anoher bug fix, this time in baseboard.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@65 abc39116-655e-4be6-ad55-d661dc543056
commit bea781c97b383c90df7e201d27709017f680374b
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Aug 8 07:27:36 2008 +0000
Fixed many major bugs (all of which were expected based on the way we mass
converted all the `case' blocks.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@64 abc39116-655e-4be6-ad55-d661dc543056
commit e5ac5d6d7ca49e1280fe498c373d95843412419d
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Aug 7 12:32:39 2008 +0000
Cleaned up a little.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@63 abc39116-655e-4be6-ad55-d661dc543056
commit fe54050ef08fe0273ac4f244d62d1259f0787ab8
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Aug 7 01:34:15 2008 +0000
Fixed some conversion bits missed during last night.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@62 abc39116-655e-4be6-ad55-d661dc543056
commit 8cb2f6cb98436c17f23d3ab1f66418d221ac4d95
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 13:32:37 2008 +0000
Updated authors file with developers of the dmidecode python module.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@61 abc39116-655e-4be6-ad55-d661dc543056
commit 1e47ff265d8bd054717f7b935f4d920b94c372c9
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 13:27:26 2008 +0000
Changed to GNU GPL v3 License.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@60 abc39116-655e-4be6-ad55-d661dc543056
commit 6cb20ba1cabd295bdb5984edbec41e00670959f4
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 12:59:03 2008 +0000
Removed `sudo'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@59 abc39116-655e-4be6-ad55-d661dc543056
commit 6c0d824bea2f120deec404d8d0b549a4fa7022e3
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 12:52:46 2008 +0000
Completed `case 126', thought to have been completed in previous commit.
Some housekeeping elsewhere.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@58 abc39116-655e-4be6-ad55-d661dc543056
commit 6ec138d6b4df9c034e44803350ee00b5249db718
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 08:51:05 2008 +0000
Completed all conversions! Only problem now is of course finding all the memory
leaks and introduced logic errors which (confirmed) do exists - use valgrind and
see.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@57 abc39116-655e-4be6-ad55-d661dc543056
commit 1b20c68297ccbefb06d87b3080f357487090e289
Author: vwhitteron <vwhitteron@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 08:29:18 2008 +0000
Completed `Case 34' through `Case 39'
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@56 abc39116-655e-4be6-ad55-d661dc543056
commit 1ec75e6a426a35aafa9ef260bf766a85412fb2d8
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 08:12:43 2008 +0000
Almost there!
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@55 abc39116-655e-4be6-ad55-d661dc543056
commit 43f1a78747dd745221817550f2c5d2417c926162
Author: vwhitteron <vwhitteron@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 07:49:23 2008 +0000
Completed `Case 29' and `Case 32'
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@54 abc39116-655e-4be6-ad55-d661dc543056
commit 38759e9c012958de8227848ad3a45230d03e99c9
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 07:42:34 2008 +0000
Converted `case 30'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@53 abc39116-655e-4be6-ad55-d661dc543056
commit 7e04e6983fdb1cda3332a5d6b67123b806b3dca9
Author: vwhitteron <vwhitteron@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 07:40:42 2008 +0000
Completed `Case 26', `Case 27' and `Case 28'
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@52 abc39116-655e-4be6-ad55-d661dc543056
commit cf3ab83777f1b61e6f046d0fcc8cf2d4417a498a
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 07:30:41 2008 +0000
Added `PyObject *data;' to all remaining functions which will generate a warning
as to indicate these need to be converted.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@51 abc39116-655e-4be6-ad55-d661dc543056
commit e4c2636d13fd3465745f5d087fbbd5828aeaa16b
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 07:27:30 2008 +0000
Completed functions for `csae 28'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@50 abc39116-655e-4be6-ad55-d661dc543056
commit 8eb77f162256ae17a1ab1d36d32aa33f8d69647e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 07:23:35 2008 +0000
Completed functions for `case 27', and fixed error in last commit for `case 26'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@49 abc39116-655e-4be6-ad55-d661dc543056
commit ea79c3b4226de0671d67bc2a178a21c116ee9e99
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 07:19:27 2008 +0000
Completed functions for `case 26'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@48 abc39116-655e-4be6-ad55-d661dc543056
commit 4bf9a5a95007e5d75bdc47381150d590934c24cc
Author: vwhitteron <vwhitteron@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 07:09:11 2008 +0000
Completed `Case 23', `Case 24', `Case24' and `Case 25'
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@47 abc39116-655e-4be6-ad55-d661dc543056
commit 1e07aedaeb1d455cab5a9a4975284e59ee5003de
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 07:07:20 2008 +0000
Completed functions for `case 25'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@46 abc39116-655e-4be6-ad55-d661dc543056
commit 1f0c5e5936f3c0bb55419c6ee1f55e9ff3f0078d
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 07:00:41 2008 +0000
Converted function for `case 24'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@45 abc39116-655e-4be6-ad55-d661dc543056
commit 78f950bf54293a9afeb0e9aea46009a883eb5b5b
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 06:59:35 2008 +0000
More fixes on recent commits (by me), and more conversions on functions.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@44 abc39116-655e-4be6-ad55-d661dc543056
commit f3c71346a009f1b88a3acc29a66fa6a9c01b124d
Author: vwhitteron <vwhitteron@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 06:57:13 2008 +0000
Completed `Case 22'
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@43 abc39116-655e-4be6-ad55-d661dc543056
commit 0b91f0fc928b320e12e43e7ba004cbd61d4cfacc
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 06:53:24 2008 +0000
Oops. Fixed stupidity on last commit.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@42 abc39116-655e-4be6-ad55-d661dc543056
commit 62564b881ff2d443d662ddea931c467be1220dad
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 06:52:01 2008 +0000
Completed functions called by `case 21' and `case 22'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@41 abc39116-655e-4be6-ad55-d661dc543056
commit afc3d425009009cf65bb08cb69bc8054d7d61150
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 06:42:54 2008 +0000
Completed `case 21' functions.
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@40 abc39116-655e-4be6-ad55-d661dc543056
commit f503ee22561092a8169048a8005faaefd81f102d
Author: vwhitteron <vwhitteron@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 06:39:53 2008 +0000
Completed `case 19' and `case 20'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@39 abc39116-655e-4be6-ad55-d661dc543056
commit cfa3d0433906670cffa49bd645cdc3b99383f208
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 06:17:21 2008 +0000
Started on `case 19'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@38 abc39116-655e-4be6-ad55-d661dc543056
commit a1554740cea413d44314c861da9b95fd77ea0189
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 05:43:05 2008 +0000
Completed `case 18' and `case 19'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@37 abc39116-655e-4be6-ad55-d661dc543056
commit 6bf676ffe12c1e25f6b2224d69a5bd2f3b85f609
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 05:06:03 2008 +0000
Added `case 16' and `case 17'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@36 abc39116-655e-4be6-ad55-d661dc543056
commit 538d307f94bb761f6e56bbecfc2146bd1cf3fdc7
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 04:26:45 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@35 abc39116-655e-4be6-ad55-d661dc543056
commit c979fb48a97fd7a40cf024120ac8457405a937fd
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Aug 6 04:05:06 2008 +0000
Converted `case 5', `case 6', and `case 7'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@34 abc39116-655e-4be6-ad55-d661dc543056
commit f983c44c7ad77605dbccdb3029d0a9874ce19caa
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Aug 1 07:59:51 2008 +0000
Default case set to return python's `None'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@33 abc39116-655e-4be6-ad55-d661dc543056
commit 97aff8721825836c9d4b635fe2b1e16a888a2d03
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Aug 1 07:58:24 2008 +0000
Completed `case 15'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@32 abc39116-655e-4be6-ad55-d661dc543056
commit 3ee245f63459233914c63241783a11b96daafb2e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Jul 29 04:33:59 2008 +0000
Completed `case 9' and case `8'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@31 abc39116-655e-4be6-ad55-d661dc543056
commit e60c33b99aeb6293662c3c0cfe29311660a1561f
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Jul 29 01:31:21 2008 +0000
Completed `case 11'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@30 abc39116-655e-4be6-ad55-d661dc543056
commit 3db9a258855f62caf5b923e6ec6cbcdad00fda5b
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Jul 29 01:28:04 2008 +0000
Completed `case 12' and `case 14'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@29 abc39116-655e-4be6-ad55-d661dc543056
commit 968758dda5dfcb6b241e33453537b1d01adc185e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Jul 29 00:29:05 2008 +0000
Bug fix (removed unnecessary breakr).
Changed %i back to %u for now, even though it does not work with Python.
Better to do the change globally - later.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@28 abc39116-655e-4be6-ad55-d661dc543056
commit c4a6a91790a555db27956429ac74ca277988e24b
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Jul 28 10:14:38 2008 +0000
Try and determine python version dynamically.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@27 abc39116-655e-4be6-ad55-d661dc543056
commit f285118e5d4d62a9918a563c9fb1e7aba0299c9e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Jul 27 12:15:51 2008 +0000
Completed `case 4', which was thought to have been completed falsely before.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@26 abc39116-655e-4be6-ad55-d661dc543056
commit 65cca18ecfb4c72faf0cf77872f3db494aa80c35
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sat Jul 26 09:15:53 2008 +0000
Completed cases 1, 4, and 13. Also altered the main PyDict object such that
each case has a value of a list to which items are appended. Without this,
each object of the same type would overwrite the previous, for example, 8
processors would result in one single cpu with data pertaining to the last
cpu (7).
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@25 abc39116-655e-4be6-ad55-d661dc543056
commit 8671ea0ba8caa35428afeee68efa53671c839815
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Jul 25 23:35:30 2008 +0000
Completed `case 0'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@24 abc39116-655e-4be6-ad55-d661dc543056
commit 3ca138e7776d5356fa6ac1b58101d64b6f3c3fa0
Author: root <root@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Jul 25 13:17:24 2008 +0000
Added `case 3'.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@23 abc39116-655e-4be6-ad55-d661dc543056
commit d64493ba04c17b83b30aaae1e27850ade958252d
Author: root <root@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Jul 25 12:51:02 2008 +0000
No new moves, cleanup on last commit and better test file template.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@22 abc39116-655e-4be6-ad55-d661dc543056
commit 91a850b6d91e76c5450781b1e029c1611ef9f2e7
Author: root <root@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Jul 25 12:27:26 2008 +0000
Next phase is to start converting all pure C functions returning `char *' and
such to new Pythonized functions returning `PyObject *', to save from having
to `PyString_FromString()' and similar, and more importantly, some functions
return a long string that could better be represented by a PyDict, PyList etc.
This is the first commit of many more to come, converting a `case XX:' at a
time, making sure that each commit can actually compile and run.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@21 abc39116-655e-4be6-ad55-d661dc543056
commit dfcf0bfff41f31fd7f75df43e37e2ba7db70b362
Author: root <root@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Jul 25 01:13:13 2008 +0000
Cleanup (DECREF).
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@20 abc39116-655e-4be6-ad55-d661dc543056
commit 825f492e53776cbd5cb957a61b0299b3edf5ced2
Author: root <root@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Jul 25 01:12:46 2008 +0000
Add in electric fence for now.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@19 abc39116-655e-4be6-ad55-d661dc543056
commit b163757a47d525019cebae8e1ecb843a49a14196
Author: root <root@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Jul 25 01:11:39 2008 +0000
This was the culprit causing the `Abort' crash, valgrind showed that this file
is where the error lied. Stephen Darragh discovered this, and the fix has been
to use vsnprintf() and not vsprintf(), which should have been the case to begin
with really.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@18 abc39116-655e-4be6-ad55-d661dc543056
commit 9483c94352b0182580972e7cac2ba585022398d5
Author: root <root@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Jul 25 00:46:00 2008 +0000
Cleaner to not vsprintf() at all if `format' is NULL.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@17 abc39116-655e-4be6-ad55-d661dc543056
commit 49d89e73d077c399cd85dcbbd623e08c59547304
Author: root <root@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Jul 25 00:45:11 2008 +0000
The `biosdecode' is a program, nothing to do with the module, removed.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@16 abc39116-655e-4be6-ad55-d661dc543056
commit 8ae9e8165aa42f710ce9e65601f9cdea44a59462
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Jul 24 14:36:16 2008 +0000
Added my small role in AUTHORS so nobody bugs others for my code.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@15 abc39116-655e-4be6-ad55-d661dc543056
commit 24088a00c8ca6e9743ee6bba4ddf958fbe3149cb
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Jul 24 14:17:16 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@14 abc39116-655e-4be6-ad55-d661dc543056
commit c0c4e2446ffca88aed27726fd28f99470fb85d40
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Jul 24 12:02:12 2008 +0000
Some cleaning, crash in interactive mode on dmidecode.bios() still not fixed.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@13 abc39116-655e-4be6-ad55-d661dc543056
commit 4289505932068a0c071c7c9fb4655678394cb469
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Jul 24 10:48:01 2008 +0000
Now that code has been converted, work has started on "bios", and at the point
of proof-of-concept.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@12 abc39116-655e-4be6-ad55-d661dc543056
commit 2a92460699aa8a18bc0602d48afed1ebb408c16a
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Jul 4 15:24:22 2008 +0000
Removing printf() statements, instead adding to Python dictionary object,
untested.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@11 abc39116-655e-4be6-ad55-d661dc543056
commit 60eb9d480daa352d7af19ad67e410f384f0e9f74
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Thu Jul 3 15:59:08 2008 +0000
Major changes have been implemented, alas, untested, in hope to move towards
a new version of dmi decode where rather than having data just printed to
screen in functions, data is passed around, and some data structure is
constructed, which is then used to construct the Python list/dicitonary
objects.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@10 abc39116-655e-4be6-ad55-d661dc543056
commit 831e6bd3e28b85a87f68917bb928b1f3ce7601ce
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Jul 2 07:02:05 2008 +0000
WIP - Adding h->type value to catsprintf (as int major), later will add minor
too, and finally will replace the buffer with a linked list of structs, which
will be added to the python dictionary/list.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@9 abc39116-655e-4be6-ad55-d661dc543056
commit 0b6d2fb3e16489f5bc349e2fdc214636c478bba0
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Wed Jul 2 04:53:48 2008 +0000
Now the `Handle' hex codes are the key values in the python dictionaries
returned.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@8 abc39116-655e-4be6-ad55-d661dc543056
commit c10adcd728be238d8579bf98075a2468f0143cc2
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Jul 1 23:14:17 2008 +0000
Brought main() back into the python module and fixed malloc/free problems.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@7 abc39116-655e-4be6-ad55-d661dc543056
commit a7a5cb531b86a75265f106b91d7033e45d754612
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Jul 1 07:05:57 2008 +0000
Removed junk comments.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@6 abc39116-655e-4be6-ad55-d661dc543056
commit 2a070d8c8e3ea6ca24684a62016a46d928481eb7
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Jul 1 06:11:21 2008 +0000
Update for file renames.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@5 abc39116-655e-4be6-ad55-d661dc543056
commit 64bcd594dd652d58133ec69659ed89c700e8964c
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Jul 1 06:04:02 2008 +0000
Better named.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@4 abc39116-655e-4be6-ad55-d661dc543056
commit eb7958574ce98601433022d7d23343025c1e34b8
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Jul 1 06:01:21 2008 +0000
Project progressing along excellently. The python module is now functional and
has as many methods as the --type option takes.
Next is to expand and harness the code around the `--string' option.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@3 abc39116-655e-4be6-ad55-d661dc543056
commit 4f5bfc68e416a7d1e6264e43278fe9b9df684eed
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Jun 30 14:14:46 2008 +0000
Split out the module header into its own file.
Cleaned up Makefile a little.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@2 abc39116-655e-4be6-ad55-d661dc543056
commit e7d6d472c21aa80c28be01c0d6dcbfd250d57a25
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Jun 30 12:08:58 2008 +0000
First commit to SVN.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@1 abc39116-655e-4be6-ad55-d661dc543056
|