summaryrefslogtreecommitdiffstats
path: root/src/dmidecode.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a little hint where decoding got abortedDavid Sommerseth2010-04-201-2/+2
|
* Improved DMIerror message tag when decoding is not possibleDavid Sommerseth2010-02-051-6/+16
| | | | Plus some minor code style clean up
* Removed not needed \n from log_append() entriesDavid Sommerseth2010-02-051-3/+3
|
* Added logging flag to log_append() to change log behaviourDavid Sommerseth2010-02-051-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() portingDavid Sommerseth2010-01-081-12/+12
|
* Spelling fixesNima Talebi2009-12-141-1/+1
| | | | Thanks Lintian! You're a champ!
* Completed python XML map for TypeMap 0x1CDavid Sommerseth2009-07-021-1/+1
|
* Completed python XML map for TypeMap 0x16David Sommerseth2009-07-021-1/+1
|
* Completed python XML map for TypeMap 0x06David Sommerseth2009-07-021-2/+2
|
* Completed python XML map for TypeMap 0x05David Sommerseth2009-07-021-7/+8
|
* Splitted out SMBIOS/DMI dump functions from dmidecode.c to separate filesDavid Sommerseth2009-06-181-162/+2
|
* Fixed another XML formatting error in dmidecode.cDavid Sommerseth2009-06-121-1/+1
|
* Fixed an XML formatting issue - dmispec attribute was duplicated in <OEMstrings>David Sommerseth2009-06-111-1/+0
|
* Renamed <description> to <DMIdescription> to avoid confusion with the ↵David Sommerseth2009-06-111-1/+1
| | | | <Description> tag
* Fixed crashes and unexpected behaviour on unknown DMI/SMBIOS typesDavid Sommerseth2009-06-111-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 Sommerseth2009-06-111-1/+1
|
* Big rewrite again, simplified the usage of opt->typeDavid Sommerseth2009-06-091-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 cleanupDavid Sommerseth2009-06-041-17/+0
|
* Fixed compiling issues after commit 2cf4f28f6fc671478003b31c03b93e070eee9942David Sommerseth2009-06-041-3/+1
| | | | Also cleaned up a little bit more, removed more unneeded stuff.
* Further removal of deprecated functionsNima Talebi2009-06-051-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 functionsDavid Sommerseth2009-06-041-18/+24
|
* Removal of more deprecated/unused code.Nima Talebi2009-06-041-1/+0
|
* Rewrote bigger parts to avoid global variables as much as possibleDavid Sommerseth2009-06-031-23/+23
|
* Removed some dead codeDavid Sommerseth2009-06-031-1/+0
|
* Renamed *_set_version() functions to a more proper *_get_version() function ↵David Sommerseth2009-06-031-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 cleanupNima Talebi2009-05-231-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 buildsNima Talebi2009-05-231-2/+2
|
* Reversioned, relicensed, and rejiggedNima Talebi2009-05-221-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 noticeNima Talebi2009-05-221-6/+3
|
* Changed the node content of /dmidecode/ProcessorInfo/CPUCore/cpu_flags/flag ↵David Sommerseth2009-05-201-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 Sommerseth2009-05-201-1/+1
| | | | /dmidecode/SystemSlots/SlotCharacteristics/Characteristic/@index
* Fixed some errors in the XML layout on CacheInfoDavid Sommerseth2009-05-201-3/+3
|
* Fixed some ugly, unattractive and unhealthy codeNima Talebi2009-05-201-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 tagDavid Sommerseth2009-05-151-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 Sommerseth2009-05-151-2/+1
| | | | Fixes regression in parsing introduced when rewriting dmidecode to use libxml2
* Remove 'ns' from the speed_ns attribute in memory sectionDavid Sommerseth2009-05-141-1/+1
|
* Mark CPU as Populated = 'No' when not presentDavid Sommerseth2009-05-131-1/+1
|
* Add all CPU flags, and mark them as available or notDavid Sommerseth2009-05-131-2/+4
| | | | This is to preserve backwards compatibility
* Corrected minor errors in ProcessorInfo XML tagsDavid Sommerseth2009-05-131-2/+3
|
* Began completing the rewrite of needed dmidecodemodule changesDavid Sommerseth2009-04-301-25/+30
|
* dmidecode: Moved ROMsize size unit into tag attributeDavid Sommerseth2009-04-291-1/+3
|
* More XML cleanupDavid Sommerseth2009-04-291-11/+9
|
* Cleaned up the XML dataDavid Sommerseth2009-04-291-329/+32
|
* Fixed wrong string handling of DMI data, which caused SEGVDavid Sommerseth2009-04-291-4/+4
|
* Removed all Python dependencies in dmidecode.[ch]David Sommerseth2009-04-291-30/+29
|
* Made it compileDavid Sommerseth2009-04-291-9/+4
|
* Ported most functions to XML interfaceDavid Sommerseth2009-04-291-1275/+1313
| | | | Still do not compile
* Checked in a work in progress - Python dict -> XMLDavid Sommerseth2009-04-291-1120/+1244
| | | | Does not compile yet
* Added indenting tool for C code and reindented *.[ch] filesDavid Sommerseth2009-04-291-4206/+4801
|
* Reverting recent (pointless) change.nima2009-03-311-0/+4785
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@180 abc39116-655e-4be6-ad55-d661dc543056