summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Updated .spec release to -7David Sommerseth2009-09-231-1/+1
| |
* | Fixed .spec file issues after review from the Fedora communityDavid Sommerseth2009-09-231-6/+4
|/ | | | | | | Details can be found here: https://bugzilla.redhat.com/show_bug.cgi?id=515230#c1 The comment regarding check against older Python versions is needed to be able to build RPMs on RHEL4 and RHEL5.
* Merge commit 'nima/xml'David Sommerseth2009-08-1155-6718/+13177
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: debian/changelog Had the same changelog entry in both xml and master branch, with a minor wording difference. Removed the duplicate and merged in the changelog entries from the XML branch src/dmidecode.c Merge process got confused by some functions which was not changed. Removed the code coming from the master branch and let the XML be the base. src/setup-dbg.py src/setup.py In the XML branch, the version of the python-dmidecode is now a function which retrieves the version number from src/version.h. Merged in this feature to master as well.
| * Merge commit 'dazo/xml' into xmlNima Talebi2009-08-111-1/+1
| |\
| | * Removed not needed lib/ directory from tarball ruleDavid Sommerseth2009-08-101-1/+1
| | |
| * | YaOFNima Talebi2009-08-081-2/+2
| | |
| * | Regarding Bug#540389Nima Talebi2009-08-081-0/+6
| | |
| * | Closes #540389 (Debian bug tracker)Nima Talebi2009-08-081-1/+1
| |/ | | | | | | Invalid homepage URI, reported by Jakub Wilk.
| * Moved a OS-specific library settings out to commonv3.10.6-rc1Nima Talebi2009-08-033-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.
| * spec file - Added needed %{?dist} tag in ReleaseDavid Sommerseth2009-07-281-1/+1
| |
| * Fixed python-dmidecode.spec to build properlyDavid Sommerseth2009-07-131-6/+24
| |
| * Completed python XML map for TypeMap 0x26David Sommerseth2009-07-021-2/+18
| |
| * Completed python XML map for TypeMap 0x21David Sommerseth2009-07-021-1/+17
| |
| * Completed python XML map for TypeMap 0x1EDavid Sommerseth2009-07-021-1/+13
| |
| * Completed python XML map for TypeMap 0x1CDavid Sommerseth2009-07-022-2/+25
| |
| * Completed python XML map for TypeMap 0x1BDavid Sommerseth2009-07-021-1/+11
| |
| * Completed python XML map for TypeMap 0x1ADavid Sommerseth2009-07-021-1/+24
| |
| * Completed python XML map for TypeMap 0x19David Sommerseth2009-07-021-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 0x18David Sommerseth2009-07-021-1/+16
| |
| * Completed python XML map for TypeMap 0x17David Sommerseth2009-07-021-1/+17
| |
| * Completed python XML map for TypeMap 0x16David Sommerseth2009-07-022-2/+23
| |
| * Completed python XML map for TypeMap 0x15David Sommerseth2009-07-021-0/+10
| |
| * Completed python XML map for TypeMap 0x14David Sommerseth2009-07-021-1/+18
| |
| * Completed python XML map for TypeMap 0x13David Sommerseth2009-07-021-1/+14
| |
| * Completed python XML map for TypeMap 0x12David Sommerseth2009-07-021-1/+18
| |
| * Completed python XML map for TypeMap 0x0CDavid Sommerseth2009-07-021-1/+11
| |
| * Completed python XML map for TypeMap 0x0BDavid Sommerseth2009-07-021-1/+11
| |
| * Completed python XML map for TypeMap 0x06David Sommerseth2009-07-022-3/+28
| |
| * Completed python XML map for TypeMap 0x05David Sommerseth2009-07-022-8/+39
| |
| * Undefine NDEBUG in normal compiles as well.David Sommerseth2009-07-011-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 valuesDavid Sommerseth2009-06-191-3/+5
| |
| * Fixed missing check which caused SEGV on Python2.3David Sommerseth2009-06-191-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 Sommerseth2009-06-181-1/+1
| | | | | | | | This caused an exception on Python2.3
| * Added dmidump utilityDavid Sommerseth2009-06-182-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 filesDavid Sommerseth2009-06-189-169/+320
| |
| * Commented in the Debian workaround for `xml2mod'Nima Talebi2009-06-172-0/+2
| |
| * Small cleanupNima Talebi2009-06-171-1/+0
| |
| * Revert "Make use of setup_common::get_version() in python-dmidecode.spec as ↵David Sommerseth2009-06-152-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 Sommerseth2009-06-153-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 foundDavid Sommerseth2009-06-151-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 conversionDavid Sommerseth2009-06-151-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 diskDavid Sommerseth2009-06-121-2/+4
| |
| * Fixed another XML formatting error in dmidecode.cDavid Sommerseth2009-06-121-1/+1
| |
| * Make use of setup_common::get_version() in python-dmidecode.spec as wellDavid Sommerseth2009-06-122-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 cleanupDavid Sommerseth2009-06-121-2/+3
| |
| * Moved and renamed redhat.specDavid Sommerseth2009-06-122-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 d0e32662845f2c86fd8090858a51a90408d39172David Sommerseth2009-06-121-2/+8
| |
| * CleanupNima Talebi2009-06-121-68/+10
| |
| * A nothing-changeNima Talebi2009-06-121-9/+9
| |
| * Fixed an XML formatting issue - dmispec attribute was duplicated in <OEMstrings>David Sommerseth2009-06-111-1/+0
| |