Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New upstream release (v3.10.15)v3.10.15 | David Sommerseth | 2013-07-03 | 2 | -2/+5 |
| | | | | 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> | ||||
* | New upstream release (v3.10.14)v3.10.14 | David Sommerseth | 2013-04-05 | 2 | -2/+5 |
| | | | | 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 | 3 | -10/+28 |
| | | | | | | | | 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> | ||||
* | Implemented dmixml_AddDMIstring() | David Sommerseth | 2011-01-06 | 2 | -0/+43 |
| | | | | | | | | | This function can be used instead of dmi_string() and dmixml_AddTextChild(). In those cases where dmi_string() returns NULL, this situation is handled more gracefully. In addition of also handling "not specified" situations better as well. Signed-off-by: David Sommerseth <davids@redhat.com> | ||||
* | Add SIGILL catcher in mem_chunk() | David Sommerseth | 2010-10-27 | 1 | -14/+53 |
| | | | | | | | | | | | | On some s390x systems under heavy memory load seems to trigger a SIGILL event when calling memcpy(). To avoid this issue, which basically leads to the complete script to core dump, a signal handler was implemented to add tackle such siutations more gracefully. The SIGILL event should now be logged as well, to be able to see that this happened. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> | ||||
* | Merge remote branch 'origin/master'v3.10.13 | Nima Talebi | 2010-06-03 | 0 | -0/+0 |
|\ | | | | | | | | | Conflicts: debian/changelog | ||||
| * | Added missing dependency | Nima Talebi | 2010-04-23 | 2 | -2/+9 |
| | | |||||
* | | New upstream release - v3.10.13 | Nima Talebi | 2010-06-03 | 3 | -2/+11 |
| | | |||||
* | | Added missing dependencyv3.10.12 | Nima Talebi | 2010-06-03 | 2 | -2/+9 |
| | | |||||
* | | 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. | ||||
* | v3.10.12 in light of recent bugfix release | Nima Talebi | 2010-03-12 | 4 | -2/+14 |
| | | | | Also, switch to dpkg-source 3.0 (quilt) format. | ||||
* | Merge branch 'master' of git.autonomy.net.au:python-dmidecode | Nima Talebi | 2010-04-20 | 0 | -0/+0 |
|\ | |||||
| * | Small fix to sample file based on report on mailing list | Nima Talebi | 2010-03-04 | 1 | -0/+6 |
| | | |||||
* | | Small fix to sample file based on report on mailing list | Nima Talebi | 2010-04-20 | 1 | -0/+6 |
| | | |||||
* | | Allow format strings to be NULL in dmixml_Add*() functions | David Sommerseth | 2010-04-20 | 1 | -5/+19 |
| | | | | | | | | | | | | | | | | | | | | | | This bug was reported by Jan HutaĆ <jhutar@redhat.com> [1] The implemented fix avoids assertions if the format strings to dmixml_AddAttribute(), dmixml_AddTextChild() and dmixml_AddTextContent() functions are NULL. In these cases, it will result in an empty value instead of returning NULL from these functions. [1] <https://bugzilla.redhat.com/show_bug.cgi?id=583867> | ||||
* | | Add a little hint where decoding got aborted | David Sommerseth | 2010-04-20 | 1 | -2/+2 |
| | | |||||
* | | Removed not needed duplication | David Sommerseth | 2010-03-04 | 1 | -4/+0 |
| | | |||||
* | | Clarify one comment, where API presence is tested. | David Sommerseth | 2010-03-04 | 1 | -1/+5 |
| | | |||||
* | | Use %{_prefix} instead of hard coding /usr in setup.py --prefix | David Sommerseth | 2010-03-04 | 1 | -1/+1 |
| | | |||||
* | | RPM spec: Install into /usr instead of /usr/local | Michael Brown | 2010-03-04 | 1 | -1/+1 |
|/ | | | | | | On OpenSuSE, the default 'setup.py install' installs to /usr/local Added --prefix=/usr to setup.py install command in the RPM spec so rpmbuild picks up the correct files. | ||||
* | Updated examples/dmidump.py to be more up-to-date against a lot of new features | David Sommerseth | 2010-03-02 | 1 | -39/+164 |
| | | | | | | | | Rewrote bigger parts to be more intelligent, checking for warnings on the way. Added more warnings if script is run as a non-root user, and made it work as non-root user if a dmidata.dump file exists (created when run as root). Added examples with the XML API as well. | ||||
* | Fix licensing problem, all now on GPLv2+ | Nima Talebi | 2010-02-26 | 2 | -5/+37 |
| | |||||
* | Preparing Debian release | Nima Talebi | 2010-02-16 | 1 | -1/+1 |
| | |||||
* | New feature release (log handling)v3.10.11 | Nima Talebi | 2010-02-16 | 3 | -2/+13 |
| | |||||
* | Merge branch 'master' of git.autonomy.net.au:python-dmidecode | Nima Talebi | 2010-02-16 | 0 | -0/+0 |
|\ | |||||
| * | New upstream release (v3.10.10)v3.10.10 | Nima Talebi | 2010-01-12 | 3 | -6/+16 |
| | | |||||
* | | New upstream release (v3.10.10) | Nima Talebi | 2010-02-16 | 3 | -6/+16 |
| | | |||||
* | | 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 | 6 | -14/+14 |
| | | |||||
* | | Added logging flag to log_append() to change log behaviour | David Sommerseth | 2010-02-05 | 8 | -65/+83 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | 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 | 2 | -6/+6 |
| | | | | | | | | | | | | 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 | 2 | -2/+5 |
| | | | | | (Despite dazo automating the process with a script, it was obviously still too difficult). | ||||
* | Added bug id | Nima Talebi | 2010-01-06 | 1 | -1/+1 |
| | |||||
* | New upstream release | Nima Talebi | 2010-01-06 | 1 | -0/+1 |
| | |||||
* | Applied patch from Scott Kitterman | Nima Talebi | 2010-01-06 | 3 | -3/+14 |
| | |||||
* | Closes Bug#561904 | Nima Talebi | 2010-01-06 | 2 | -1/+8 |
| | |||||
* | Changes necessary to keep Debian packages sane | Nima Talebi | 2010-01-06 | 2 | -2/+8 |
| | | | | | | | | 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. |