Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ported fprintf() -> log_append() on XML functions | David Sommerseth | 2010-01-08 | 5 | -63/+74 |
| | |||||
* | Update Python build rules | David Sommerseth | 2010-01-08 | 2 | -0/+2 |
| | |||||
* | Port dmidump to use the new log API | David Sommerseth | 2010-01-08 | 1 | -4/+4 |
| | | | | | | This port will not create a new log buffer (Log_t), but log_append() will print errors to stderr in this case, as the log buffer pointer is NULL. | ||||
* | More fprintf() -> log_append() porting | David Sommerseth | 2010-01-08 | 7 | -34/+36 |
| | |||||
* | Implement a global log buffer and start porting fprint() -> log_append() | David Sommerseth | 2010-01-08 | 2 | -24/+75 |
| | |||||
* | Don't print false error warning if logp == NULL | David Sommerseth | 2010-01-08 | 1 | -1/+7 |
| | |||||
* | Added a new log API | David Sommerseth | 2010-01-08 | 2 | -0/+266 |
| | |||||
* | Moved write_dump() over to dmidump.c, as this is the only user of this function | David Sommerseth | 2010-01-08 | 2 | -36/+38 |
| | |||||
* | Removed struct dmi_minor. It was not used anywhere. | David Sommerseth | 2010-01-08 | 1 | -8/+0 |
| | |||||
* | Make sure const char *filename is not a wild pointer | David Sommerseth | 2010-01-07 | 1 | -1/+1 |
| | |||||
* | Removed not needed information | David Sommerseth | 2010-01-07 | 1 | -1/+0 |
| | |||||
* | Forgot to update versioning informationv3.10.9 | Nima Talebi | 2010-01-07 | 1 | -1/+1 |
| | | | | | (Despite dazo automating the process with a script, it was obviously still too difficult). | ||||
* | Changes necessary to keep Debian packages sane | Nima Talebi | 2010-01-06 | 1 | -1/+1 |
| | | | | | | | | Both setup.py and setup-dbg.py install the same file, namely: /usr/share/pyshared/dmidecode.py This generated Bug#561904. This commit closes this bug. | ||||
* | Improved set_dev() function | David Sommerseth | 2009-12-17 | 1 | -5/+17 |
| | | | | | | | | | This function would often fail during the unit test. Most probably because the complete error checking was a bit odd. Rewritten the error checks to be a bit more sane. Also improved error situations, where it will now throw an exception with an error message instead of just returning False. | ||||
* | Take endinanness into consideration when compiling | David Sommerseth | 2009-12-14 | 3 | -2/+14 |
| | |||||
* | Spelling fixes | Nima Talebi | 2009-12-14 | 2 | -2/+2 |
| | | | | Thanks Lintian! You're a champ! | ||||
* | Changed version number to 3.10.8 | David Sommerseth | 2009-12-10 | 1 | -1/+1 |
| | |||||
* | New release (3.10.7) | Nima Talebi | 2009-09-23 | 1 | -1/+1 |
| | |||||
* | Moved a OS-specific library settings out to commonv3.10.6-rc1 | Nima Talebi | 2009-08-03 | 3 | -6/+8 |
| | | | | | The libxml2 path is now handled by `setup_common.py', so the actual setup files are clean from any OS-specific (Debian/RedHat) hacks. | ||||
* | Completed python XML map for TypeMap 0x26 | David Sommerseth | 2009-07-02 | 1 | -2/+18 |
| | |||||
* | Completed python XML map for TypeMap 0x21 | David Sommerseth | 2009-07-02 | 1 | -1/+17 |
| | |||||
* | Completed python XML map for TypeMap 0x1E | David Sommerseth | 2009-07-02 | 1 | -1/+13 |
| | |||||
* | Completed python XML map for TypeMap 0x1C | David Sommerseth | 2009-07-02 | 2 | -2/+25 |
| | |||||
* | Completed python XML map for TypeMap 0x1B | David Sommerseth | 2009-07-02 | 1 | -1/+11 |
| | |||||
* | 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 | 1 | -0/+13 |
| | | | | | | | | | 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 |
| | |||||
* | 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 |
| | |||||
* | Fixed an XML formatting issue - dmispec attribute was duplicated in <OEMstrings> | David Sommerseth | 2009-06-11 | 1 | -1/+0 |
| |