Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Completed python XML map for TypeMap 0x1A | David Sommerseth | 2009-07-02 | 1 | -1/+24 |
| | |||||
* | Completed python XML map for TypeMap 0x19 | David Sommerseth | 2009-07-02 | 1 | -1/+9 |
| | | | | | | | | | | Format has changed slightly. The original format in v2.10 was: {'Next Scheduled Power-on': [' *','-*',' 0',':0',':0']} The new format is: {'Next Scheduled Power-on': '*-* *:*:*'} The reason is that the formatting in the original list was rather half-done, containing separators in some of the elements. | ||||
* | Completed python XML map for TypeMap 0x18 | David Sommerseth | 2009-07-02 | 1 | -1/+16 |
| | |||||
* | Completed python XML map for TypeMap 0x17 | David Sommerseth | 2009-07-02 | 1 | -1/+17 |
| | |||||
* | Completed python XML map for TypeMap 0x16 | David Sommerseth | 2009-07-02 | 2 | -2/+23 |
| | |||||
* | Completed python XML map for TypeMap 0x15 | David Sommerseth | 2009-07-02 | 1 | -0/+10 |
| | |||||
* | Completed python XML map for TypeMap 0x14 | David Sommerseth | 2009-07-02 | 1 | -1/+18 |
| | |||||
* | Completed python XML map for TypeMap 0x13 | David Sommerseth | 2009-07-02 | 1 | -1/+14 |
| | |||||
* | Completed python XML map for TypeMap 0x12 | David Sommerseth | 2009-07-02 | 1 | -1/+18 |
| | |||||
* | Completed python XML map for TypeMap 0x0C | David Sommerseth | 2009-07-02 | 1 | -1/+11 |
| | |||||
* | Completed python XML map for TypeMap 0x0B | David Sommerseth | 2009-07-02 | 1 | -1/+11 |
| | |||||
* | Completed python XML map for TypeMap 0x06 | David Sommerseth | 2009-07-02 | 2 | -3/+28 |
| | |||||
* | Completed python XML map for TypeMap 0x05 | David Sommerseth | 2009-07-02 | 2 | -8/+39 |
| | |||||
* | Undefine NDEBUG in normal compiles as well. | David Sommerseth | 2009-07-01 | 1 | -1/+2 |
| | | | | | | Arguments for doing so is that asserts are important to catch unhandled error situations and will help debugging if it fails in a production environment. | ||||
* | Fixed incorrectly Py_DECREC() on Py_None values | David Sommerseth | 2009-06-19 | 1 | -3/+5 |
| | |||||
* | Fixed missing check which caused SEGV on Python2.3 | David Sommerseth | 2009-06-19 | 1 | -1/+1 |
| | | | | | Could also be related to an older libxml2 version as well, as this behaviour was found on RHEL4u4 | ||||
* | Fixed issue with unterminated list in dmidecode_xmlapi() | David Sommerseth | 2009-06-18 | 1 | -1/+1 |
| | | | | This caused an exception on Python2.3 | ||||
* | Added dmidump utility | David Sommerseth | 2009-06-18 | 2 | -2/+20 |
| | | | | | | | | | This is a simple utility which dumps DMI/SMBIOS data straight to a file, written i C and should not depend on anything extra. Useful to get DMI/SMBIOS data without installing python and/or python-dmidecode. The data dump can be parsed by python-dmidecode later on on a different box. | ||||
* | Splitted out SMBIOS/DMI dump functions from dmidecode.c to separate files | David Sommerseth | 2009-06-18 | 9 | -169/+320 |
| | |||||
* | Commented in the Debian workaround for `xml2mod' | Nima Talebi | 2009-06-17 | 2 | -0/+2 |
| | |||||
* | Small cleanup | Nima Talebi | 2009-06-17 | 1 | -1/+0 |
| | |||||
* | Revert "Make use of setup_common::get_version() in python-dmidecode.spec as ↵ | David Sommerseth | 2009-06-15 | 2 | -7/+6 |
| | | | | | | | | | well" This reverts commit b1db52e62be1a700517308877b08dbf8c5d9e1eb. This change broke rpmbuild --rebuild. So the version number cannot be set dynamically like this. Reverting back to manually updating it. | ||||
* | Added new function: dmixml_FindNodeByAttr_NoCase(...) | David Sommerseth | 2009-06-15 | 3 | -7/+46 |
| | | | | | | | | | | This function will ignore the case of the string of the value to be found. This improves the behaviour mentioned in commit 20030e42b4d3f7283f6143641cb009a8dbf1da24. At the moment, the immediate advantage is that the pymap.xml is not strictly bound to if the type IDs in hex are in upper and/or lower case. Both cases and mixed cases will now work. | ||||
* | Fixed wrong behavivour in pythonizeXMLnode() when no key value is found | David Sommerseth | 2009-06-15 | 1 | -23/+22 |
| | | | | | | | | | | | | | | | | | | | | | If the XPath expression for the key value points on a non-existing XML node, it would earlier abort pythonizing the XML data. Even though this could look like the correct behaviour, it will not work out well in reality. For sections like 'bios', it might be that the DMI/SMBIOS data do not describe or provide the BIOSLanguage section (type id 0x0D). Which means calling dmidecode.bios() would fail completely instead of reporting what it could find. This patch fixes this issue and it will normally ignore not found key values and just continue pythonizing the XML data and return what it managed to translate into a Python dictionary. If DEBUG is defined when compiling python-dmidecode, a warning message will be printed directly to stderr when a key value is not found. A warning is printed if dmidecode is compiled with DEBUG defined. | ||||
* | Fixed wrong int->hex string conversion | David Sommerseth | 2009-06-15 | 1 | -1/+1 |
| | | | | | Upper case hex string values is used in the pymap.xml file. This should be improved so that type id is case insensitive. | ||||
* | Fixed error in dumping DMI/SMBIOS data to disk | David Sommerseth | 2009-06-12 | 1 | -2/+4 |
| | |||||
* | Fixed another XML formatting error in dmidecode.c | David Sommerseth | 2009-06-12 | 1 | -1/+1 |
| | |||||
* | Make use of setup_common::get_version() in python-dmidecode.spec as well | David Sommerseth | 2009-06-12 | 2 | -6/+10 |
| | | | | | | Now you only need to change the src/version.h to set the correct version numbers. The utils/set_version script will still help you remember the important steps and make sure you don't do the wrong things. | ||||
* | More Makefile cleanup | David Sommerseth | 2009-06-12 | 1 | -2/+3 |
| | |||||
* | Moved and renamed redhat.spec | David Sommerseth | 2009-06-12 | 2 | -2/+2 |
| | | | | | This spec file do not contain anything Red Hat specific, so I gave it a more generic name | ||||
* | Fixed some issues after commit d0e32662845f2c86fd8090858a51a90408d39172 | David Sommerseth | 2009-06-12 | 1 | -2/+8 |
| | |||||
* | Cleanup | Nima Talebi | 2009-06-12 | 1 | -68/+10 |
| | |||||
* | A nothing-change | Nima Talebi | 2009-06-12 | 1 | -9/+9 |
| | |||||
* | Fixed an XML formatting issue - dmispec attribute was duplicated in <OEMstrings> | David Sommerseth | 2009-06-11 | 1 | -1/+0 |
| | |||||
* | Added utility to simply change the version number | David Sommerseth | 2009-06-11 | 1 | -0/+53 |
| | | | | This script will update all needed files at once | ||||
* | Use version info from version.h in Makefile | David Sommerseth | 2009-06-11 | 1 | -2/+5 |
| | | | | | Also cleaned up a little bit and added 'version' as a new target to show some version info | ||||
* | Pick the version info from version.h | David Sommerseth | 2009-06-11 | 2 | -2/+4 |
| | |||||
* | Make get_version() look for version.h one more place | David Sommerseth | 2009-06-11 | 1 | -1/+5 |
| | |||||
* | Corrected missing copyrights | David Sommerseth | 2009-06-11 | 1 | -1/+2 |
| | |||||
* | Improved setup.py/setup-dbg.py even more | David Sommerseth | 2009-06-11 | 4 | -11/+128 |
| | | | | | Get libxml2 compile time info from xml2-config. Retrieve version number from src/version.h | ||||
* | Updated setup-dbg.py to be in sync with setup.py | David Sommerseth | 2009-06-11 | 1 | -3/+9 |
| | | | | Also undefined the NDEBUG when building this package | ||||
* | Made sure copyright is in place and right people get their deserved credit | David Sommerseth | 2009-06-11 | 9 | -5/+292 |
| | |||||
* | Implemented new dmidecode function - QueryTypeId(...) | David Sommerseth | 2009-06-11 | 1 | -0/+4 |
| | | | | | | This function shadows the dmidecode.type() function. This is to clarify more what the function does and to unify the API against the dmidecodeXML API. | ||||
* | Implemented new dmidecode function - QuerySection(...) | David Sommerseth | 2009-06-11 | 1 | -0/+16 |
| | | | | | | | This is a more dynamic function than the static functions like dmidecode.bios(). The equivalent will be dmidecode.QuerySection('bios') This is to unify the dmidecode API and the dmidecodeXML API | ||||
* | Renamed <description> to <DMIdescription> to avoid confusion with the ↵ | David Sommerseth | 2009-06-11 | 1 | -1/+1 |
| | | | | <Description> tag | ||||
* | Added mapping to retrieve all DMI/SMBIOS types dmidecode can decode | David Sommerseth | 2009-06-11 | 1 | -0/+46 |
| | |||||
* | Fixed crashes and unexpected behaviour on unknown DMI/SMBIOS types | David Sommerseth | 2009-06-11 | 3 | -20/+48 |
| | | | | | Also provide more useful information, both on unsupported types and types not found on the hardware | ||||
* | Fixed error in XML data for dmi_temperature_probe_location(...) | David Sommerseth | 2009-06-11 | 1 | -1/+1 |
| | |||||
* | Removed no longer needed file | David Sommerseth | 2009-06-10 | 1 | -1/+0 |
| | |||||
* | Cleaned up and fetch libdir from Python settings instead | David Sommerseth | 2009-06-10 | 1 | -2/+5 |
| |