summaryrefslogtreecommitdiffstats
path: root/dmidecode.c
Commit message (Collapse)AuthorAgeFilesLines
* Cleaning up source area, ready for debianizing, and rpm after that.nima2008-12-171-4661/+0
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@108 abc39116-655e-4be6-ad55-d661dc543056
* This commit closes #2 reported by Justin Cook, the ticket will remain opennima2008-10-311-63/+10
| | | | | | | until Justin confirms this however. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@105 abc39116-655e-4be6-ad55-d661dc543056
* Cleanup.nima2008-10-311-34/+5
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@103 abc39116-655e-4be6-ad55-d661dc543056
* Fixed dump. The `offset' problem was not really an offset problem - it was anima2008-10-311-1/+1
| | | | | | | silly typo. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@102 abc39116-655e-4be6-ad55-d661dc543056
* Missed two lines.nima2008-10-311-2/+3
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@101 abc39116-655e-4be6-ad55-d661dc543056
* Dump-to-file is almost working, there seems to be a 4-byte misalignment in thenima2008-10-311-32/+105
| | | | | | | produced file though for now - needs to be fixed. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@100 abc39116-655e-4be6-ad55-d661dc543056
* Removed `_' buffer.nima2008-10-311-151/+138
| | | | | | | | Removed use of `FLAGS_QUIET' as it makes no sense for a module. Removed the `submain()' function. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@91 abc39116-655e-4be6-ad55-d661dc543056
* Removed final traces of the `_' buffer.nima2008-10-301-28/+27
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@87 abc39116-655e-4be6-ad55-d661dc543056
* Recoded the new work from upstream into these (main) files. The options tonima2008-10-291-374/+383
| | | | | | | | dump the memory image onto file, and read back from it has not yet been worked in, but the underlying work has been completed. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@83 abc39116-655e-4be6-ad55-d661dc543056
* Python does not have unsigned integers, hence %u and %lu in printf stylenima2008-10-181-59/+59
| | | | | | | | | strings are taken to be literal strings, not space-holders. All occurences of '%u' (78) have been amended to '%i', there was no '%lu'. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@72 abc39116-655e-4be6-ad55-d661dc543056
* Fixed a bug that crashed dmidecode.slot().nima2008-09-051-1/+1
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@69 abc39116-655e-4be6-ad55-d661dc543056
* Cleaning up of the dmidecode module, mostly conversion of things that can benima2008-09-041-15/+18
| | | | | | | | | Python `None's or `Int's but were `String'. Replaced a meaningless int dictionary key to `data'. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@68 abc39116-655e-4be6-ad55-d661dc543056
* Work on CPU details - seemed to been a bug with appending to a string rathernima2008-09-041-2/+2
| | | | | | | than rewriting it. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@67 abc39116-655e-4be6-ad55-d661dc543056
* Replaced `%X' with `%x'.nima2008-08-081-59/+59
| | | | | | | Logic cleanup - Put the `Handle' info back into the dictionary. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@66 abc39116-655e-4be6-ad55-d661dc543056
* Anoher bug fix, this time in baseboard.nima2008-08-081-5/+6
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@65 abc39116-655e-4be6-ad55-d661dc543056
* Fixed many major bugs (all of which were expected based on the way we massnima2008-08-081-121/+101
| | | | | | | converted all the `case' blocks. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@64 abc39116-655e-4be6-ad55-d661dc543056
* Fixed some conversion bits missed during last night.nima2008-08-071-28/+40
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@62 abc39116-655e-4be6-ad55-d661dc543056
* Completed `case 126', thought to have been completed in previous commit.nima2008-08-061-17/+22
| | | | | | | Some housekeeping elsewhere. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@58 abc39116-655e-4be6-ad55-d661dc543056
* Completed all conversions! Only problem now is of course finding all the memorynima2008-08-061-38/+35
| | | | | | | | leaks and introduced logic errors which (confirmed) do exists - use valgrind and see. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@57 abc39116-655e-4be6-ad55-d661dc543056
* Completed `Case 34' through `Case 39'vwhitteron2008-08-061-66/+242
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@56 abc39116-655e-4be6-ad55-d661dc543056
* Almost there!nima2008-08-061-38/+60
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@55 abc39116-655e-4be6-ad55-d661dc543056
* Completed `Case 29' and `Case 32'vwhitteron2008-08-061-13/+53
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@54 abc39116-655e-4be6-ad55-d661dc543056
* Converted `case 30'.nima2008-08-061-13/+22
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@53 abc39116-655e-4be6-ad55-d661dc543056
* Completed `Case 26', `Case 27' and `Case 28'vwhitteron2008-08-061-32/+117
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@52 abc39116-655e-4be6-ad55-d661dc543056
* Added `PyObject *data;' to all remaining functions which will generate a warningnima2008-08-061-0/+15
| | | | | | | as to indicate these need to be converted. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@51 abc39116-655e-4be6-ad55-d661dc543056
* Completed functions for `csae 28'.nima2008-08-061-12/+15
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@50 abc39116-655e-4be6-ad55-d661dc543056
* Completed functions for `case 27', and fixed error in last commit for `case 26'.nima2008-08-061-11/+12
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@49 abc39116-655e-4be6-ad55-d661dc543056
* Completed functions for `case 26'.nima2008-08-061-21/+26
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@48 abc39116-655e-4be6-ad55-d661dc543056
* Completed `Case 23', `Case 24', `Case24' and `Case 25'vwhitteron2008-08-061-16/+61
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@47 abc39116-655e-4be6-ad55-d661dc543056
* Completed functions for `case 25'.nima2008-08-061-13/+10
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@46 abc39116-655e-4be6-ad55-d661dc543056
* Converted function for `case 24'.nima2008-08-061-2/+2
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@45 abc39116-655e-4be6-ad55-d661dc543056
* More fixes on recent commits (by me), and more conversions on functions.nima2008-08-061-16/+19
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@44 abc39116-655e-4be6-ad55-d661dc543056
* Completed `Case 22'vwhitteron2008-08-061-24/+78
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@43 abc39116-655e-4be6-ad55-d661dc543056
* Oops. Fixed stupidity on last commit.nima2008-08-061-4/+4
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@42 abc39116-655e-4be6-ad55-d661dc543056
* Completed functions called by `case 21' and `case 22'.nima2008-08-061-14/+18
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@41 abc39116-655e-4be6-ad55-d661dc543056
* Completed `case 21' functions.nima2008-08-061-8/+12
| | | | | | | Cleanup. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@40 abc39116-655e-4be6-ad55-d661dc543056
* Completed `case 19' and `case 20'.vwhitteron2008-08-061-17/+57
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@39 abc39116-655e-4be6-ad55-d661dc543056
* Started on `case 19'.nima2008-08-061-27/+27
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@38 abc39116-655e-4be6-ad55-d661dc543056
* Completed `case 18' and `case 19'.nima2008-08-061-31/+65
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@37 abc39116-655e-4be6-ad55-d661dc543056
* Added `case 16' and `case 17'.nima2008-08-061-79/+155
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@36 abc39116-655e-4be6-ad55-d661dc543056
* Cleanup.nima2008-08-061-0/+3
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@35 abc39116-655e-4be6-ad55-d661dc543056
* Converted `case 5', `case 6', and `case 7'.nima2008-08-061-107/+216
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@34 abc39116-655e-4be6-ad55-d661dc543056
* Default case set to return python's `None'.nima2008-08-011-0/+2
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@33 abc39116-655e-4be6-ad55-d661dc543056
* Completed `case 15'.nima2008-08-011-31/+70
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@32 abc39116-655e-4be6-ad55-d661dc543056
* Completed `case 9' and case `8'.nima2008-07-291-49/+88
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@31 abc39116-655e-4be6-ad55-d661dc543056
* Completed `case 11'.nima2008-07-291-7/+18
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@30 abc39116-655e-4be6-ad55-d661dc543056
* Completed `case 12' and `case 14'.nima2008-07-291-15/+39
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@29 abc39116-655e-4be6-ad55-d661dc543056
* Bug fix (removed unnecessary breakr).nima2008-07-291-2/+2
| | | | | | | | | Changed %i back to %u for now, even though it does not work with Python. Better to do the change globally - later. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@28 abc39116-655e-4be6-ad55-d661dc543056
* Completed `case 4', which was thought to have been completed falsely before.nima2008-07-271-24/+57
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@26 abc39116-655e-4be6-ad55-d661dc543056
* Completed cases 1, 4, and 13. Also altered the main PyDict object such thatnima2008-07-261-77/+207
| | | | | | | | | | each case has a value of a list to which items are appended. Without this, each object of the same type would overwrite the previous, for example, 8 processors would result in one single cpu with data pertaining to the last cpu (7). git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@25 abc39116-655e-4be6-ad55-d661dc543056