Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New upstream release v3.12.1v3.12.1 | David Sommerseth | 2013-07-08 | 1 | -9/+71 |
| | | | | | | | This includes a rebase against upstream dmidecode v2.12 and an update against the SMBIOS reference specification v2.8.0. Signed-off-by: David Sommerseth <davids@redhat.com> | ||||
* | Rebase against upstream dmidecode v2.11 | David Sommerseth | 2013-07-08 | 1 | -334/+630 |
| | | | | | | This includes an update against the SMBIOS reference specification v2.7.0 Signed-off-by: David Sommerseth <davids@redhat.com> | ||||
* | Fixed a missing break statement in a switch for DMI section 3.3.7.2 | David Sommerseth | 2013-06-20 | 1 | -0/+1 |
| | | | | | | | | This missing break could cause duplicated 'installed' attributes in <InstalledSize/> or <EnabledSize/> XML tags. This is only happening when dmi_memory_module_size() is called and only on some hardware. Signed-off-by: David Sommerseth <davids@redhat.com> | ||||
* | Do not add explictly 'dmispec' attributes inside switch() in dmi_decode() | David Sommerseth | 2013-04-05 | 1 | -2/+0 |
| | | | | | | | | | | The dmispec attribute is added outside the switch() call, and must not be duplicated. If this happens, an invalid XML file will be generated. (Un)fortunately, libxml2 is quite forgiving to this error. But xmllint will complain about it and other XML libraries (such as python-lxml) may reject such XML data. Signed-off-by: David Sommerseth <davids@redhat.com> | ||||
* | Harden dmi_string() calls with better NULL checks | David Sommerseth | 2011-01-06 | 1 | -7/+16 |
| | | | | | | | | This patch fixes more potential issues where dmi_string() results was not necessarily checked for NULL, which potentially could lead to SEGV issues. Signed-off-by: David Sommerseth <davids@redhat.com> | ||||
* | Make use of dmixml_AddDMIstring() where possible | David Sommerseth | 2011-01-06 | 1 | -65/+68 |
| | | | | | | | | This modifies the core DMI decoding to make use of the new dmixml_AddDMIstring() function instead of the older, more error prone approach of dmi_string() and dmixml_AddTextChild(). Signed-off-by: David Sommerseth <davids@redhat.com> | ||||
* | Fixed an issue causing SEGV on some hardware when dmi_processor_id() is called | David Sommerseth | 2010-05-26 | 1 | -2/+1 |
| | | | | | The dmi_processor_id() function did not check the char *version pointer if it was NULL before doing strcmp(). On some hardware, *version will be NULL. | ||||
* | Add a little hint where decoding got aborted | David Sommerseth | 2010-04-20 | 1 | -2/+2 |
| | |||||
* | Improved DMIerror message tag when decoding is not possible | David Sommerseth | 2010-02-05 | 1 | -6/+16 |
| | | | | Plus some minor code style clean up | ||||
* | Removed not needed \n from log_append() entries | David Sommerseth | 2010-02-05 | 1 | -3/+3 |
| | |||||
* | Added logging flag to log_append() to change log behaviour | David Sommerseth | 2010-02-05 | 1 | -5/+6 |
| | | | | | | | | | | | | | | Valid flags are: * LOGFL_NORMAL Log all messages to the log context, and send log message to stderr on errors * LOGFL_NODUPS Log only unique messages. Duplicated messages will be removed * LOGFL_NOSTDERR Don't write to stderr, even if errors occur | ||||
* | More fprintf() -> log_append() porting | David Sommerseth | 2010-01-08 | 1 | -12/+12 |
| | |||||
* | Spelling fixes | Nima Talebi | 2009-12-14 | 1 | -1/+1 |
| | | | | Thanks Lintian! You're a champ! | ||||
* | Completed python XML map for TypeMap 0x1C | David Sommerseth | 2009-07-02 | 1 | -1/+1 |
| | |||||
* | Completed python XML map for TypeMap 0x16 | David Sommerseth | 2009-07-02 | 1 | -1/+1 |
| | |||||
* | Completed python XML map for TypeMap 0x06 | David Sommerseth | 2009-07-02 | 1 | -2/+2 |
| | |||||
* | Completed python XML map for TypeMap 0x05 | David Sommerseth | 2009-07-02 | 1 | -7/+8 |
| | |||||
* | Splitted out SMBIOS/DMI dump functions from dmidecode.c to separate files | David Sommerseth | 2009-06-18 | 1 | -162/+2 |
| | |||||
* | 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 |
| | |||||
* | Renamed <description> to <DMIdescription> to avoid confusion with the ↵ | David Sommerseth | 2009-06-11 | 1 | -1/+1 |
| | | | | <Description> tag | ||||
* | Fixed crashes and unexpected behaviour on unknown DMI/SMBIOS types | David Sommerseth | 2009-06-11 | 1 | -18/+47 |
| | | | | | 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 |
| | |||||
* | Big rewrite again, simplified the usage of opt->type | David Sommerseth | 2009-06-09 | 1 | -5/+6 |
| | | | | | | Instead of building up an u8 array with 255 cells where we only use one cell at the time now, just pass the type id value as an int the whole way through. | ||||
* | More cleanup | David Sommerseth | 2009-06-04 | 1 | -17/+0 |
| | |||||
* | Fixed compiling issues after commit 2cf4f28f6fc671478003b31c03b93e070eee9942 | David Sommerseth | 2009-06-04 | 1 | -3/+1 |
| | | | | Also cleaned up a little bit more, removed more unneeded stuff. | ||||
* | Further removal of deprecated functions | Nima Talebi | 2009-06-05 | 1 | -59/+6 |
| | | | | | | | Removed the `dmi_table_string' function, and `const struct string_keyword *string' from the `options' struct. Also modified the function calls that are now free of this, namely, `legacy_decode' and `smbios_decode'. | ||||
* | Avoid passing the option struct to dmidecode.c functions | David Sommerseth | 2009-06-04 | 1 | -18/+24 |
| | |||||
* | Removal of more deprecated/unused code. | Nima Talebi | 2009-06-04 | 1 | -1/+0 |
| | |||||
* | Rewrote bigger parts to avoid global variables as much as possible | David Sommerseth | 2009-06-03 | 1 | -23/+23 |
| | |||||
* | Removed some dead code | David Sommerseth | 2009-06-03 | 1 | -1/+0 |
| | |||||
* | Renamed *_set_version() functions to a more proper *_get_version() function ↵ | David Sommerseth | 2009-06-03 | 1 | -2/+2 |
| | | | | | | | | names Also changed dmiMAP_ParseMappingXML(...) to dmiMAP_ParseMappingXML_GroupName(...). In the dmidecode_get(...) function. This is just a quick fix for making it compile. It's also needed to implement usage of dmiMAP_ParseMappingXML_TypeID(...) as well. | ||||
* | More cleanup | Nima Talebi | 2009-05-23 | 1 | -0/+6 |
| | | | | | | | | | Don't write to stdout unless in debug mode (with respect to writing to memory devices. Added the xml datafile to setup (distutils). Updated test case (incorporating color and cleaning up tests). | ||||
* | Fixed minor bug which prevented debug builds | Nima Talebi | 2009-05-23 | 1 | -2/+2 |
| | |||||
* | Reversioned, relicensed, and rejigged | Nima Talebi | 2009-05-22 | 1 | -34/+42 |
| | | | | | | | | | | | 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. | ||||
* | Update copyright notice | Nima Talebi | 2009-05-22 | 1 | -6/+3 |
| | |||||
* | Changed the node content of /dmidecode/ProcessorInfo/CPUCore/cpu_flags/flag ↵ | David Sommerseth | 2009-05-20 | 1 | -30/+30 |
| | | | | | | | 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. | ||||
* | Use correct index value for ↵ | David Sommerseth | 2009-05-20 | 1 | -1/+1 |
| | | | | /dmidecode/SystemSlots/SlotCharacteristics/Characteristic/@index | ||||
* | Fixed some errors in the XML layout on CacheInfo | David Sommerseth | 2009-05-20 | 1 | -3/+3 |
| | |||||
* | Fixed some ugly, unattractive and unhealthy code | Nima Talebi | 2009-05-20 | 1 | -12/+0 |
| | | | | | These hangover lines must have crept in at the early stages of the initial conversion of dmidecode to python-dmidecode. Fixed. | ||||
* | Reorganised attributes in SystemSlots tag | David Sommerseth | 2009-05-15 | 1 | -6/+43 |
| | | | | | | 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. | ||||
* | Fixed some errors in decoding "3.3.5.9 Processor Characteristics" | David Sommerseth | 2009-05-15 | 1 | -2/+1 |
| | | | | Fixes regression in parsing introduced when rewriting dmidecode to use libxml2 | ||||
* | Remove 'ns' from the speed_ns attribute in memory section | David Sommerseth | 2009-05-14 | 1 | -1/+1 |
| | |||||
* | Mark CPU as Populated = 'No' when not present | David Sommerseth | 2009-05-13 | 1 | -1/+1 |
| | |||||
* | Add all CPU flags, and mark them as available or not | David Sommerseth | 2009-05-13 | 1 | -2/+4 |
| | | | | This is to preserve backwards compatibility | ||||
* | Corrected minor errors in ProcessorInfo XML tags | David Sommerseth | 2009-05-13 | 1 | -2/+3 |
| | |||||
* | Began completing the rewrite of needed dmidecodemodule changes | David Sommerseth | 2009-04-30 | 1 | -25/+30 |
| | |||||
* | dmidecode: Moved ROMsize size unit into tag attribute | David Sommerseth | 2009-04-29 | 1 | -1/+3 |
| | |||||
* | More XML cleanup | David Sommerseth | 2009-04-29 | 1 | -11/+9 |
| | |||||
* | Cleaned up the XML data | David Sommerseth | 2009-04-29 | 1 | -329/+32 |
| |