forked from nima/python-dmidecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupstream.changelog
More file actions
2454 lines (1484 loc) · 80.7 KB
/
Copy pathupstream.changelog
File metadata and controls
2454 lines (1484 loc) · 80.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
commit 1c598ad8847d5c506f783b145c734be161100ce9
Author: Nima Talebi <nima@autonomy.net.au>
Date: Sat May 23 13:27:01 2009 +1000
Added missing doc files
commit 3acedf5a988eab36f238979548cc79545bd7dced
Author: Nima Talebi <nima@autonomy.net.au>
Date: Sat May 23 13:24:02 2009 +1000
Final cleanup
commit 1bd60ee4c38615f2f1aac873d95cde0e6fae7b1e
Author: Nima Talebi <nima@autonomy.net.au>
Date: Sat May 23 13:14:42 2009 +1000
Fixed minor bug which prevented debug builds
commit 0de97ae9ab884efb0bd24bb0ea1f5770cc74ff89
Author: Nima Talebi <nima@autonomy.net.au>
Date: Sat May 23 13:14:34 2009 +1000
Update
commit 45d267577a107f7d148f9afe39369785dcd49044
Author: Nima Talebi <nima@autonomy.net.au>
Date: Sat May 23 12:58:00 2009 +1000
GPLv3 changed to GPLv2
Also preparing/cleaning-up example/test-case script.
commit d06d776adb0fef9504bd7662760e4cd0971fb748
Author: Nima Talebi <nima@autonomy.net.au>
Date: Fri May 22 23:49:55 2009 +1000
Reversioned, relicensed, and rejigged
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.
commit cd387fa3d1929505299d1df733fae890aacc75bc
Author: Nima Talebi <nima@autonomy.net.au>
Date: Thu May 21 08:20:29 2009 +1000
Update copyright notice
commit df5ddd3f51a353d03f2bd6a27c5d9ce14f077f41
Author: Nima Talebi <nima@autonomy.net.au>
Date: Thu May 21 00:05:58 2009 +1000
Bringing setup files upto date
commit ceaf615744b2a1a9cd655abef25e0840de731d01
Author: Nima Talebi <nima@autonomy.net.au>
Date: Wed May 20 23:18:28 2009 +1000
Fixed a bug, and preparing to dupload to Debian
commit ff36dbbc2804858ad7229e1b6bda51fc2250133d
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 17:09:48 2009 +0200
Changed the node content of /dmidecode/ProcessorInfo/CPUCore/cpu_flags/flag 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.
commit eff9145436de625fdf0be489be95118c69ec3a2e
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 17:02:47 2009 +0200
Fixed the bios field mapping to use relative XPaths
commit 457723c74c011c9a60b6f16c4f089225b5df30c3
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 16:54:42 2009 +0200
Added field mapping for dmidecode.connectors()
commit 6e66a28fb04934a58286df8d3b84caf904ae2da7
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 16:41:16 2009 +0200
Added field mapping for dmidecode.slots()
commit 5900424cc4a3ba70b79a6f2c31cf2d738b4e0217
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 16:39:10 2009 +0200
Use correct index value for /dmidecode/SystemSlots/SlotCharacteristics/Characteristic/@index
commit 2ab1ede583c1dc2e9a81c20c80dc882964dde9a1
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 15:46:09 2009 +0200
Added field mapping for dmidecode.baseboard()
commit 15fd846d16312aae19d48bac080498a44a7c469c
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 15:36:23 2009 +0200
Added field mapping for the dmidecode.system() section
commit 599642f7370cb3f2fbf5c079c20269318d5a775f
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 15:29:56 2009 +0200
Added support for value type 'list:dict' for field mapping
This builds up a list of dicts. Syntax is:
<Map keytype="constant" key="TestData"
valuetype="list:dict" value="/xml/XPath/to/nodes">
<Map keytype="constant" key="field"
valuetype="string" key="ValueNode"/>
</Map>
The parser will iterate all nodes defined in the @value attribute
and the root path will of the nested mapping will be using the path
in @value as the root path for further parsing.
commit 52f936c82d9098b2a64986228ebc1e9109828ac9
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 12:53:34 2009 +0200
Added field python dict mapping for CacheInfo
commit 9f34b97089fe7fb14c6877cc426658c06f04cb9e
Author: David Sommerseth <davids@redhat.com>
Date: Tue May 19 11:56:41 2009 +0200
Fixed some errors in the XML layout on CacheInfo
commit c5ad272970644cee25eefb2010061b751dd17519
Author: David Sommerseth <davids@redhat.com>
Date: Fri May 15 13:43:09 2009 +0200
Added a few missing comments
commit b20e017f0b09e6f8946db04b0acef69e62fcf114
Author: Nima Talebi <nima@autonomy.net.au>
Date: Wed May 20 22:19:23 2009 +1000
Fixed some ugly, unattractive and unhealthy code
These hangover lines must have crept in at the early stages of the
initial conversion of dmidecode to python-dmidecode. Fixed.
commit b694abeb522f93aa842d16720a3aa1f98ad2aa84
Author: David Sommerseth <davids@redhat.com>
Date: Fri May 15 11:55:25 2009 +0200
Reorganised attributes in SystemSlots tag
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.
commit 88688ef91d816e4158fd388131c4060e22116c74
Author: David Sommerseth <davids@redhat.com>
Date: Fri May 15 11:28:56 2009 +0200
Completed mapping the memory section
commit a8d6f0ee846d03d10c188080af69c10567887b56
Author: David Sommerseth <davids@redhat.com>
Date: Fri May 15 11:20:07 2009 +0200
Fixed some errors in decoding "3.3.5.9 Processor Characteristics"
Fixes regression in parsing introduced when rewriting dmidecode to use libxml2
commit 72016cb607798e567ac2f2ce67cc50652b0daa32
Author: David Sommerseth <davids@redhat.com>
Date: Fri May 15 11:06:20 2009 +0200
Added 'emptyValue' attribute in the Map tag
This attribute defines a default value when XML source data
is empty
commit fff6c8a1cd328ebce904b7fab4bdc642596a8ef5
Author: David Sommerseth <davids@redhat.com>
Date: Thu May 14 17:11:55 2009 +0200
Remove 'ns' from the speed_ns attribute in memory section
commit 9d47720a88ee77ac4c0ab5f138a8eaf601c492d0
Author: David Sommerseth <davids@redhat.com>
Date: Thu May 14 17:06:18 2009 +0200
Added new Map attribute - emptyIsNone
If the emptyIsNone attribute is set to "1", the Python result
will be forced to Py_None if the referenced XML value is empty.
When checking if the value is empty, the XML value is right trimmed
to remove trailing spaces. Only spaces are are removed.
commit a92cc1236ca7c5abee27e4360284b67297e39c15
Author: David Sommerseth <davids@redhat.com>
Date: Thu May 14 16:31:34 2009 +0200
Support fixed size lists
When using one of the list types as valuetype, the Map tag now
also supports fixedsize and index_attr attributes.
- fixedsize : Defines a fixed size of the list
- index_attr : Defines an attribute name of the input XML data
which contains the list index for the value
commit eeb40ea2c5a47737f318a1631316416e6f1ab75a
Author: David Sommerseth <davids@redhat.com>
Date: Thu May 14 14:57:12 2009 +0200
Fixed another parser issue
When using rootpath, it did not parse all elements as expected. Also
restricted the rootpath to only work when valuetype="dict".
commit c07eb6b33813e41d98d4210dbca18e5de8c8fad6
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 18:30:58 2009 +0200
Avoid segfault if XPATH_NODESET do not contain any data
commit ce4d3eac5a50d25e2821a8aedf09f266b16988fe
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 18:11:50 2009 +0200
Added mapping for chassis information
commit f7ab4ee0a2d1bd0ba32f78dceb1c95b28e313fa6
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 17:42:11 2009 +0200
Added mapping for ProcessorInfo
commit 94e81cb43908f90ccdeca4d7d459172999d4ae90
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 17:39:33 2009 +0200
Big rewrite of xmlpythonizer
- Supports relative XPaths now by using the rootpath attribute in the
Map tag. This path is then set for all elements inside this Map tag.
- Rewrote the parser to recurse correctly. The former version did not
recurse well on the very outer (first) Map level.
commit 40cd1a7ac2f912eb8be659a0c9dbadf5a0b22f14
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 17:22:04 2009 +0200
Mark CPU as Populated = 'No' when not present
commit 03bdcc92ff93e58a9befa5c9439b0cd656e57ccc
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 11:44:15 2009 +0200
Add all CPU flags, and mark them as available or not
This is to preserve backwards compatibility
commit ff78802fb52fe6404d12cbde3037371b69d05c03
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 11:23:17 2009 +0200
Fixed segfault when processing XPATH_NODESET type and the nodeset is NULL
commit baf01ef0ad9635e506171d66c0e7ffa8c8c45ae1
Author: David Sommerseth <davids@redhat.com>
Date: Wed May 13 11:22:47 2009 +0200
Corrected minor errors in ProcessorInfo XML tags
commit 1ccdf74b1e537c4bd747c079530a5d9ea904e138
Author: David Sommerseth <davids@redhat.com>
Date: Mon May 4 10:39:02 2009 +0200
Improved error handling when parsing mapping XML
commit aad6b79d7363ea4fa1c1ce67a39848b13bdd19f4
Author: David Sommerseth <davids@redhat.com>
Date: Mon May 4 09:32:19 2009 +0200
Fixed typo in config.h - error in pythonmap.xml filename
commit 1bf1da9fa4ad24148fe18c1c5baa9a4ec931402c
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 30 19:38:25 2009 +0200
Improved setting of pythonmap.xml
The default file is now set to /usr/share/python-dmidecode/pythonmap.xml
(defined in config.h) and can be overridden with the dmidecode.pythonmap()
function in Python.
commit 89d2c50a648e3affd81ceb24e332bbd60de2b75d
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 30 19:18:17 2009 +0200
Fixed a bug causing segv
When calling dmidecode_get_xml(...) several times could cause a crash
due to the opt.dmiversion_n pointer being freed by a mistake when the
generated dmixml_n got freed later on in the function.
Also fixed an assertion typo
commit 268687f5b525ce4bdb1becd5a5207bfc2ced8340
Author: Nima Talebi <nima@autonomy.net.au>
Date: Tue Apr 28 00:55:28 2009 +1000
Version number fix
commit 27b3d2281f4b7677e908ef2505bd649305b5ac78
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 30 18:24:49 2009 +0200
Began completing the rewrite of needed dmidecodemodule changes
commit cea1270777d0a5bd42284011307fe183a67f8ada
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 30 16:07:43 2009 +0200
Rewritten dmixml_GetXPathContent(...) and _get_key_value(...)
This rewrite was to handle XPATH_NUMBER more correctly. Now these
functions needs an preallocated memory buffer for the result.
commit 6453a1131547b71c4a21a978fd9588d67d056233
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 18:42:12 2009 +0200
Completed mapping the bios section
commit 2aaa3c0822bff7204167f73b62035bc10f620881
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 18:32:57 2009 +0200
Reimplemented the XPath integration
Now the XPath expressions can include XPath functions as well. The
previous implementation only supported XPATH_NODESET results from
XPath queries. Now XPATH_STRING and XPATH_NUMBER results are
supported as well. XPATH_BOOLEAN might be needed later on.
commit d64ab66e4fbf8d6dfceed628aef21f01063c3d66
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 18:29:50 2009 +0200
Added function for retrieving values from XPath objects
Reverted commit 75aaf67d43cf4a28fe8d3e07111dab75a0c4396d in addition
commit a3047723df9b66b6a56bcc72a469a129bbaf4d54
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 18:28:02 2009 +0200
dmidecode: Moved ROMsize size unit into tag attribute
commit 6a89cde8f253cb9826da4287007a869de99709a6
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 13:09:07 2009 +0200
Filter out BIOS characteristics with XPath expressions
commit 7cf8017a95f04d6207ae3bbf923c8be5d873f6a1
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 13:07:16 2009 +0200
Revert "Added filter and filtervalue attributes to xmlpythonizer's <Map> tags"
This reverts commit 4b925a1433b65c217e787804df3cf349d6b387aa.
Discovered that XPath got the needed power for filtering, no need for
this extra feature
commit c6baf0a8f50cc19f319ad13ceeb2c40ace0b4d7e
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 29 11:18:57 2009 +0200
Exported ptzmap_Free()
commit e013d57e504c4e989c0503e62b63369bb16ebdaf
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 28 19:12:25 2009 +0200
Added pythonmap.xml - default XML -> Python mapping setup
Only added mapping for the 'bios' section.
commit 4b925a1433b65c217e787804df3cf349d6b387aa
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 28 19:10:45 2009 +0200
Added filter and filtervalue attributes to xmlpythonizer's <Map> tags
Using these attributes, only XML data (from the given XPath in 'filter')
which matches the value in 'filtervalue' will be added to the Python
data.
commit 11691f4b5e5786878cca1d30b183103477d5311f
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 28 16:58:33 2009 +0200
Updated xmlpythonizer to support boolean type and dynamic XPath keys
* Added support boolean and list:boolean value types
* Traversing child nodes and having dynamic keys
Now it is possible to do the following:
** test.xml **
<?xml version="1.0" encoding="UTF-8"?>
<testdata>
<list>
<value enabled="1">Option 1</value>
<value enabled="0">Option 2</value>
<value enabled="1">Option 3</value>
</list>
</testdata>
** mapping.xml **
<?xml version="1.0" encoding="UTF-8"?>
<dmidecode_fieldmap version="1">
<Mapping name="example">
<Map keytype="string" key="/testdata/list/value"
valuetype="boolean" value="/testdata/list/value/@enabled"/>
</Mapping>
</dmidecode_fieldmap>
Which should result in:
{'Option 1': True, 'Option 2': False, 'Option 3': True'}
commit c7be629d44d4e2be6c8116796714e0042a977885
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 28 11:12:58 2009 +0200
Added generic XML -> Python parser
The xmlpythonizer module will convert any XML data (xmlNode
or xmlDoc) and format it as a Python object. The formatting is
defined in it's own XML file.
Basic format:
<dmidecode_fieldmap version="1">
<Mapping name="{name of mapping table}">
<Map keytype="{key type}" key="{key value}"
valuetype="{value type} value="{value}"/>
</Mapping>
</dmidecode_fieldmap>
The keytype and key attributes defines the key in the Python Dict. The
root element will always be a Python Dict structure. The valid key types
are:
* constant
Uses the value in {key} as the key value
* string, integer, float
Uses a string value from the data XML to be converted to Python. The
value set in the key attribute defines an XPath value which points to the
data to be used as a Python dict key.
Since Python only supports C strings in the C interface for Python dict
keys, integer and float will be treated as strings.
The valuetype and value attributes are similar to the keys, but with some more
features. Valid valuetypes are:
* constant
The value given in the value attribute will be used in the value in
the Python result.
* string, integer, float
The value given in the value attribute defines the XPath to the data XML,
of where to retrieve the value for the given key.
The valuetype defines if the data should be understood as a string, integer
or float in the Python result.
* list:string, list:integer, list:float
This does the same as the string, integer or float type, with a tweak. The
data will be put into a list. If the XPath given returns multiple nodes,
all of them will be added to this list.
* dict
The dict valuetype is more special. It should not contain any value
attribute. On the other hand, it should contain a sub-level of <Map> tags.
In this way, you can build up a multi dimensional Python dict.
Example:
** pythonmap.xml **
<?xml version="1.0" encoding="UTF-8"?>
<dmidecode_fieldmap version="1">
<Mapping name="example_map">
<Map keytype="constant" key="DemoCase" valuetype="constant" value="XML Pythonizing"/>
<Map keytype="constant" key="String1" valuetype="string" value="/example/string1"/>
<Map keytype="constant" key="AttribString1" valuetype="integer" value="/example/string1/@int_value"/>
<Map keytype="string" key="/example/keyset/@value" valuetype="dict">
<Map keytype="constant" key="Value1" valuetype="string" value="/example/keyset/value1"/>
<Map keytype="constant" key="ValueList" valuetype="list:string" value="/example/keyset/valuelist"/>
</Map>
</Mapping>
</dmidecode_fieldmap>
** exampledata.xml **
<?xml version="1.0" encoding="UTF-8"?>
<example>
<string1 int_value="1234">String value #1</string1>
<keyset value="TestData">
<value1>More test data</value1>
<valuelist>Value1 in list</valuelist>
<valuelist>Value2 in list</valuelist>
<valuelist>Value3 in list</valuelist>
</keyset>
</example>
** C code snippet **
void xmlpythonizer() {
xmlDoc *xmlmap = NULL;
xmlDoc *xmldata = NULL;
ptzMAP *mapping = NULL;
PyObject *pythondata = NULL;
// Read XML files
xmlmap = xmlReadFile("pythonmap.xml", NULL, 0);
xmldata = xmlReadFile("exampledata.xml", NULL, 0);
// Parse the mapping XML
mapping = dmiMAP_ParseMappingXML(xmlmap, "example_map");
// Parse the xmldata into a Python object
pythondata = pythonizeXMLdoc(mapping, xmldata);
// ..... the program continues to do something useful
}
The result stored inside the pythondata object should now be
something similar to:
{'DemoCase': 'XML Pythonizing',
'String1': 'String value #1',
'AttribString1: 1234,
'TestData': {'Value1': 'More test data',
'ValueList': ['Value1 in list','Value2 in list','Value3 in list']}
}
commit 70e35765fbb9be6ddd6aab6555916777a593e0aa
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 28 11:07:51 2009 +0200
Only consider XML nodes which is of XML_ELEMENT_NODE when finding a specific node
commit 75aaf67d43cf4a28fe8d3e07111dab75a0c4396d
Author: David Sommerseth <davids@redhat.com>
Date: Fri Apr 24 17:09:41 2009 +0200
Don't return NULL in dmixml_GetContent(...)
commit 0af6d685a83d7c060de52717859e00104bc7c4b8
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 14 14:22:09 2009 +0200
Fixed compiler error due to API changes
This fixes a regression from commit 7f0fa9b2e1afd6aecea0b34b62cf9ebdf075164d
commit 8c5015cfd169bbec89974e57b04da3985425e6cd
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 14 14:21:48 2009 +0200
More XML cleanup
commit 38c943db697b13e5f9be020a0729f58b7366e932
Author: David Sommerseth <davids@redhat.com>
Date: Fri Apr 10 13:52:47 2009 +0200
Cleaned up the XML data
commit 62f276eea2d8477854d7fe9b230a957a8df4102c
Author: David Sommerseth <davids@redhat.com>
Date: Fri Apr 10 13:51:01 2009 +0200
Do not add XML values if input is "(null)"
commit b8bcbc709a3bdb5ee1e59e22d5e54c59f391165f
Author: David Sommerseth <davids@redhat.com>
Date: Fri Apr 10 13:38:52 2009 +0200
Added right trim of xml data
commit 92ea3b07784853558d93391dbc364c69463cd61d
Author: David Sommerseth <davids@redhat.com>
Date: Fri Apr 10 11:28:41 2009 +0200
Fixed wrong string handling of DMI data, which caused SEGV
commit 46988f9abcec9eb072be5f5d52fc594de89478e8
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 9 15:13:23 2009 +0200
Added more XML functions
commit 8b2fe610dc309579f07787696f0814c359aa4de1
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 9 14:51:31 2009 +0200
Added missing copyright details
commit 95b156e3d8a6b82bddb5516735e82355f5dee50a
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 9 12:12:56 2009 +0200
Removed all Python dependencies in dmidecode.[ch]
commit 581b015c91a3b364b1c1324bed775bfd2ce99dbd
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 9 11:49:50 2009 +0200
Made it compile
commit 612445e94781f14af65490b52c898b9eaa5f5e85
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 8 19:02:03 2009 +0200
Ported most functions to XML interface
Still do not compile
commit 0cdb1cbffae8237635b991993ee4467e2753dafa
Author: David Sommerseth <davids@redhat.com>
Date: Tue Apr 7 09:27:47 2009 +0200
Checked in a work in progress - Python dict -> XML
Does not compile yet
commit a35afd0190f6a6925aa134ac43d2653aaf018ff8
Author: David Sommerseth <davids@redhat.com>
Date: Fri Apr 3 14:50:02 2009 +0200
Fixed wrong xmlAttrNode type to xmlAttr
commit 2ed8a0e7cb6cbdeec1c1c49e7aedf03188e72017
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 2 19:27:30 2009 +0200
Modified setup.py to compile in dmixml.c and link against libxml2
commit 1da04aa097db78c7474877049334c2c07b33bda1
Author: David Sommerseth <davids@redhat.com>
Date: Thu Apr 2 19:26:56 2009 +0200
Added dmixml.[ch] - helper function for generating XML nodes
commit 805dced32cbb2eef1f2b639100faef3bb0482e29
Author: David Sommerseth <davids@redhat.com>
Date: Wed Apr 1 16:10:55 2009 +0200
Added indenting tool for C code and reindented *.[ch] files
commit 764717bd15eeaa0c6cbed39a8b674dad406e57f9
Author: Nima Talebi <nima@autonomy.net.au>
Date: Fri Apr 17 21:41:34 2009 +1000
Converting to pysupport from pycentral
commit d8aecc31dd70d0286258aeac3f5ca0adb51a9add
Author: Nima Talebi <nima@autonomy.net.au>
Date: Fri Apr 17 21:40:55 2009 +1000
Converting to pysupport from pycentral.
commit 69dfdaee01c89096e76fbd8db9531d759d43e7c2
Author: Nima Talebi <nima@autonomy.net.au>
Date: Fri Apr 17 20:34:04 2009 +1000
Testing git push
commit f6a5c9a497fe10ff61399e640973fa396aa0b425
Author: Nima Talebi <nima@epenguin1-3.appmgmt.det.nsw.edu.au>
Date: Fri Apr 17 10:36:21 2009 +1000
Wrapped long lines
commit 7788d30989f2bafca2aacda198947c1841e420a3
Author: Nima Talebi <nima@epenguin1-3.appmgmt.det.nsw.edu.au>
Date: Tue Apr 14 19:08:51 2009 +1000
Small cleanup change
commit 521af88003aef1af0118f2414c550e2762e4d94c
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Mar 31 11:42:58 2009 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@181 abc39116-655e-4be6-ad55-d661dc543056
commit d7200d96d5b90bcd0013c84ec1b053acbcca86c9
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Mar 31 11:42:38 2009 +0000
Reverting recent (pointless) change.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@180 abc39116-655e-4be6-ad55-d661dc543056
commit 37d1a8117cd212ee9e47bbd4225ba76dece7dad7
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Mar 31 11:37:58 2009 +0000
Preparing to migrate to GIT.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@179 abc39116-655e-4be6-ad55-d661dc543056
commit 17cfe3a41998c075991a54a6deace28ba7744ed6
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Mar 10 01:53:51 2009 +0000
Fixes.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@178 abc39116-655e-4be6-ad55-d661dc543056
commit f60a804e9d0bb4be0a2a7c37819f4deb64eb0535
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Mar 8 13:49:21 2009 +0000
Releasing v2.10.4.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@177 abc39116-655e-4be6-ad55-d661dc543056
commit f3cc6c86366af6df0c6320100b86bcdf404ba3ae
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Mar 8 11:32:42 2009 +0000
Adding spec file supplied by Clark Williams <williams at redhat.com>.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@176 abc39116-655e-4be6-ad55-d661dc543056
commit 72c61bede5e0279cd4ee3b60cc3f0d0947fc4977
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Mar 8 11:31:31 2009 +0000
Applied patch submitted by Clark Williams <williams at redhat.com>.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@175 abc39116-655e-4be6-ad55-d661dc543056
commit 78c26d98b13f3ee16d93f8950198376afb7589cb
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Feb 22 13:34:24 2009 +0000
Fixed bug reported by Ralf Treinen.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@174 abc39116-655e-4be6-ad55-d661dc543056
commit e203e56f9b06f7860f4f1f4c3dded6c7e2031c5b
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Feb 13 14:39:23 2009 +0000
Removing spec file from upstream.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@173 abc39116-655e-4be6-ad55-d661dc543056
commit 32bf7d52f21c1fc74583e3ae6d6978b879d4c650
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Feb 13 14:36:16 2009 +0000
Upped sub-version.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@172 abc39116-655e-4be6-ad55-d661dc543056
commit 8f278a3de968fca02762da08ec5e85810cb27107
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Feb 13 14:32:06 2009 +0000
Small changes - final touches for 2.10.1.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@171 abc39116-655e-4be6-ad55-d661dc543056
commit 83ad351950a3f7a587810801689b8f2e0fdbd72f
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Fri Feb 13 14:30:37 2009 +0000
Versioning now chagned to reflect the version of the upstream (dmidecode)
version with which python-dmidecode is in sync with.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@170 abc39116-655e-4be6-ad55-d661dc543056
commit 28707fdf3241fabac3a5a379ae83770a0b3216bd
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Tue Jan 13 12:48:28 2009 +0000
Fixed watch file.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@169 abc39116-655e-4be6-ad55-d661dc543056
commit f9134f3aca61ee5b1cec3f136cf99e37a90bb9f4
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Jan 12 13:06:34 2009 +0000
Debian changes completely separated from upstream.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@168 abc39116-655e-4be6-ad55-d661dc543056
commit 52f3744ec2b709791ad062e2668aea2fef5ae43e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Jan 12 13:04:52 2009 +0000
Removed Debian-specific targets from the makefile.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@167 abc39116-655e-4be6-ad55-d661dc543056
commit f5223b667e367a522949b320e76be96b56199b5c
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Dec 22 23:02:00 2008 +0000
Source file name change.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@166 abc39116-655e-4be6-ad55-d661dc543056
commit 67154ad0a8b84de61bb07335150117507e2b7eef
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Dec 22 23:01:22 2008 +0000
A more complete dmidecode example.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@165 abc39116-655e-4be6-ad55-d661dc543056
commit d866a378dbc4645d224f06dfd41c5ca793690e81
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Dec 22 22:40:51 2008 +0000
Applied the nice changes suggested by Piotr Ożarowsk.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@164 abc39116-655e-4be6-ad55-d661dc543056
commit 25f310ab03c3010d89b0cafa989aeab94bcda58f
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Dec 22 13:37:43 2008 +0000
Cleaned up the fix for type(127).
Added the second type of stuffed bios (upstream).
Integrated dmidecode the binary into the test case for a more objective result.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@163 abc39116-655e-4be6-ad55-d661dc543056
commit 915ed13f64903adda36446657d19e6bae02e3be2
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Mon Dec 22 09:06:43 2008 +0000
Fixed the type(127) problem (at least on this machine) - again.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@162 abc39116-655e-4be6-ad55-d661dc543056
commit ffea5fcd1f1a50860e8f731e2afa8481a819e28b
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 12:52:51 2008 +0000
Removed unnecessay manpage.
Spell my own name correctly.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@161 abc39116-655e-4be6-ad55-d661dc543056
commit b89740eb95934cfa50815076a39a6948002f50ca
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 11:31:36 2008 +0000
Added an upload into src.autonomy.net.au after source build.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@160 abc39116-655e-4be6-ad55-d661dc543056
commit ddee60b9bad068405f520ddd772dffda2c742087
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 11:27:52 2008 +0000
Fixed sample.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@159 abc39116-655e-4be6-ad55-d661dc543056
commit ea7bb44fc527bfab6b418ad6fd0e5cf87341298e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 10:22:06 2008 +0000
Cleanup copyright.
Cleanup debian/rules.
Adding test.py to examples.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@158 abc39116-655e-4be6-ad55-d661dc543056
commit 66a38305dab867627657cd5f094d1d8bf2a51825
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 10:04:03 2008 +0000
Remove README.Debian - no point.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@157 abc39116-655e-4be6-ad55-d661dc543056
commit 8b39733bc2b67ba2b229cbe119d553a9247c77a2
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 07:57:49 2008 +0000
Cleanup.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@156 abc39116-655e-4be6-ad55-d661dc543056
commit 0ff1b5b45facd7543529dab5711cf2812c47c218
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 07:53:54 2008 +0000
Handle cases where user does not have appropriate permission to access the
memory file or device.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@155 abc39116-655e-4be6-ad55-d661dc543056
commit 42617d59e66684bff7272c9c49c0cadd2e53c7f9
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 05:44:04 2008 +0000
Names.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@154 abc39116-655e-4be6-ad55-d661dc543056
commit c53e65f772d248194bc0d45bdcfec5374d0bee9f
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 05:43:06 2008 +0000
Better naming.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@153 abc39116-655e-4be6-ad55-d661dc543056
commit 20543ee1abb96ed63f4e6fa317954439b8a3057f
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 04:41:39 2008 +0000
Upped debhelper build-required version from 5 to 7.
Final cleanups.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@152 abc39116-655e-4be6-ad55-d661dc543056
commit 5337eca7114bec25f59910971c734d7aac416c2e
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 02:55:19 2008 +0000
Cleaned up and Lintian-approved.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@151 abc39116-655e-4be6-ad55-d661dc543056
commit 39341f8c367a9de724047c7a980ca75fc60814c8
Author: nima <nima@abc39116-655e-4be6-ad55-d661dc543056>
Date: Sun Dec 21 02:48:05 2008 +0000