]> Creatis software - gdcm.git/blob - ChangeLog
BUG: On recent debian system, the dirent structure is not fed properly. Furthermore...
[gdcm.git] / ChangeLog
1 2004-07-21 Jean-Pierre Roux
2   * FIX Now, Parsing and Printing a DICOMDIR do work!
3        ( troubles remain in makeDicomDir and BuildUpDicomDir :-(
4                  
5 2004-07-20 Jean-Pierre Roux
6   * FIX Some brain damaged headers have Zero-Lenght fields 
7         for 'Transfert Syntax UID', or 'Media Stored SOP Class UID'.
8
9 2004-07-19 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
10    * src/gdcmCommon.h, gdcmDict.cxx, gdcmTS.cxx : bug fix for msvc6 compilation
11    * src/gdcmDebug.[h|cxx] : bug fix for msvc6 compilation. Replace the dbg
12      variable (instance of gdcmDebug) by a definition macro, and the instance
13      is now in static in the gdcmDebug class
14    * src/gdcmSQItem.h : (FIXME) remove an undefined method
15    * Test/PrintAllDocument.cxx : bug fix in the result of the test
16
17 2004-07-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
18    * WARNING: ctest now depends more tightly on gdcmData. You should
19      check out gdcmData properly for things to run smoothly...
20    * src/gdcmDocument.cxx MAX_SIZE_LOAD_ELEMENT_VALUE is set back to 0xfff
21      (4096) for "ctest -R TestAllEntryVerify" to be able to run (i.e.
22      we need the pixels not be loaded in order to use the ValEntry
23      that displays position and size).
24    * Test/TestAllEntryVerify.cxx a new low level test now seems fair.
25      This is a C++ based equivalent of gdcmPython/testSuite.py that should
26      be deprecated. If you have any doubts about the advantages of a
27      modern scripting language (read Python) versus grass root C++ (i.e.
28      without lex + yacc, because of gdcm commitement to MS-VC++, sighhh),
29      I suggest you compare TestAllEntryVerify.cxx (639 lines, without the
30      reference file gdcmData/TestAllEntryVerifyReference.txt) and testSuite.py.
31         Anyhow, consider documenting the gdcmData images in 
32      gdcmData/TestAllEntryVerifyReference.txt (and please run ctest before
33      commiting changes).
34    * Test/CMakeLists.txt:
35       - now uses TestAllEntryVerify.cxx
36       - specific comments on oldACR00001.ima (now renamed in gdcmData
37         to SIEMENS_GBS_III-16-ACR_NEMA_1.acr) moved away to
38         gdcmData/TestAllEntryVerifyReference.txt
39    * TODO updated.
40
41 2004-07-02 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
42    * src/*.[h|cxx] : typedef clean up
43      - guint16 and guint32 removed. Use ISO C uint16_t, uint32_t instead.
44      - TagKey renamed to gdcmTagKey (for external usage)
45      - VRKey renamed to gdcmVRKey (for external usage)
46      - removal of typedef duplication.
47      - Removed all unecessary inline keyword from class inline definitions.
48      - Some method|function(void) declarations replaced with method|function().
49    * src/jpeg/libijg12/jdhuff12.c:
50       - printf polluting ctest removed.
51       - TAB removal for comminting
52    * Test:
53      - TestAllReadCompareDicom.cxx: added a test that compares all the
54        images in gdcmDataImages.h with corresponding images in 
55        gdcmData/BaselineDicom/. When baseline images are not present
56        this test creates them.
57        Note: we need to validate each reference image, but before that
58              I'd like to rename them with a more explicit name...
59      - CMakeLists.txt: changed accordingly.
60    * Example/*.cxx: examples now only include gdcm.h (as opposed to 
61      including each header needed).
62
63 2004-07-01 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
64    * Test/*.cxx and Example/*.cxx: moved some examples away from the
65      test suite to the Example directory. Are concerned:
66      - PrintHeader.cxx
67      - TestDcm2Acr.cxx
68      - TestFindTags.cxx
69      - TestWrite.cxx was
70      - TestWriteSimple.cxx
71    * Test/CMakeLists.txt: added some comments on reasons for black listing
72      image gdcmData/oldACR00001.ima
73
74 2004-06-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
75    * Test/CmakeList.txt: removed the following from black list (to be coherent
76      with removal from gdcmData):
77       - gdcm-MR-PHILIPS-16-Multi-Seq.fixed.dcm
78       - gdcm-MR-PHILIPS-16.dcm
79       - US.3405.1.dcm
80      Added the following because after last cvs update, they cause
81        ctest -R TestReadWriteReadCompare 
82      to segfault:
83       - gdcm-MR-SIEMENS-16-1.acr
84       - oldACR00001.ima
85    * Test/TestReadWriteReadCompare.cxx was properly written (with a call
86      to gdcmFile::SetImageData()) BUT since gdcmFile is brain damaged (see
87      new comments in this file) we temporarily (sigh) move to a weaker
88      form of test...
89    * Test/CmakeList.txt: with the change to Test/TestReadWriteReadCompare.cxx
90      we don't need to black list the following images anymore:
91       - 8BitsUncompressedColor.dcm
92       - OT-PAL-8-face.dcm
93       - US-PAL-8-10x-echo.dcm
94    * src/gdcmDocument.[h|cxx]: RE-Reverting to version 1.42 with the proper
95      fixes and the beautified code ;-)
96      This fixes the bug introduced in version 1.42 (when beautifying)
97      that made the parsing of 8BitsRunLengthColor.dcm unproper.
98      Note: ctest was blind to this bug (this means we need to still
99            improve the test suite). The bug could be detected by using
100            gdcmbin/bin/PrintDocument $GDCM_DATA/8BitsRunLengthColor.dcm
101            or by using
102            gdcmbin/bin/ReadWrite $GDCM_DATA/8BitsRunLengthColor.dcm
103            and by displaying the (garbage) produced file temp.XDCM...
104
105 2004-06-29 Jean-Pierre Roux
106    FIX : - remove Frog's beautified, but never checked 'Parse7FE0' code,
107          - replace by uggly but working old code :-(
108                 A lot of things should be OK again.
109         It's really urgent to have a test suite that *tests*, 
110         to prevent Frog's beautifying sessions to break all the stuff
111         (twice, withing a fortnigh ...)         
112
113 2004-06-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
114    * Test/TestWriteRead.cxx and TestReadWrite.cxx merged (because of
115      redundancy) to added Test/TestReadWriteReadCompare.cxx
116    * Test/CmakeList.txt: because the compare test of
117      Test/TestReadWriteReadCompare.cxx fails, the following images are
118      black listed: - 8BitsUncompressedColor.dcm
119                    - OT-PAL-8-face.dcm
120                    - US-PAL-8-10x-echo.dcm
121    * src/gdcmDocument.cxx: for broken (non DICOM V3 conformal) images
122      (e.g. gdcm-JPEG-LossLess3a.dcm see comments in
123      gdcm/gdcmPython/testSuite.py for details) ::FindDocLengthOB() had
124      and ad-hoc kludge. This kludge is now removed, and on encountering
125      such an image (OB field brain damaged) we set errno. Then in 
126      ::FindDocLength() we "fix" the length as being ALL what remains
127      in the file (until EOF). We then proceed, hoping for the best...
128      This fixes a SegFault in ShowDicom when trying to write such an
129      image.
130    * Test/CmakeList.txt: 8BitsRunLengthColor.dcm is now blacklisted
131      (because TestWriteRead breaks on it, after a non conformal commit?).
132      ctest now runs properly, except for MakeDicomDir (which was allways
133      broken) and the Python related stuff (still not fixed).
134    
135 2004-06-24 Jean-Pierre Roux
136   ADD : Examples/WriteRead, that acts like the former Test/TestWriteRead
137   FIX : Test/TestReadWrite now iterates on all the file names 
138                           (instead of infinite loop)
139   ENH : Test/TestWriteRead now iterates on all the file names 
140
141 2004-06-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
142    * Test/TestReadWrite.cxx: now uses all the images of gdcmData.
143
144 2004-06-24 Jean-Pierre Roux
145    FIX : - now Write drops LUT Descriptors and LUTs (if any)
146                     when SamplesPerPixel =3
147          - now Write is no longer confused by 
148                               'BitsAllocated = 12" and 'BitsStored=12"
149          - "UN" value representation Elements are now written correctly 
150                (their legth is stored on 4 bytes -just like OB, OW, and SQ-)                                                                    
151    ENH : - now gdcmHeader has its own Write methods 
152                     (in order to split the job that has not to be done 
153                                         for gdcmDicomDir)
154
155 2004-06-23 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
156    * Test/PrintAllDocument.cxx: looping on files is now effective. It used to
157      loop on the same image until memory went out. 
158      Note: this means we still have gobs of memory loss in PrintDocument
159    * src/gdcmDocument.cxx: fixes problem on parsing on file
160      gdcmData/16BitsJpegLosslessGrayScale.dcm.
161
162 2004-06-24 Jean-Pierre Roux
163    FIX : Write - All the Sequences and Sequence Item are now written 
164             as 'no length' stuff, and a Sequence Delimitor aor an Item Delimitor
165                                 is added a the end, when necessary.
166             - A lot of brain-damaged images, that were read correctly are 
167                       now written correctly
168                                 - length compatible BinEntry are now loaded correctly 
169                                 (even for odd groups) 
170         Note : only Explicit Value Representation was checked.
171                                 (question : is implicit VR really necessary for gdcm ?)
172
173 2004-06-23 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
174    * DEVELOPPER: added a proposition of coding style.
175    * src/gdcmDocEntry.h: removed every inline declaration (for test of 
176      coding style).
177
178 2004-06-23 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
179    * gdcmDocEntry::PrintCommonPart() and ::WriteCommonPart() removed.
180      Use the gdcmDocEntry::Print() and Write() instead.
181    * src/gdcmDocument.cxx: bug fix.
182
183 2004-06-22 Jean-Pierre Roux
184    FIX : gdcmDocument.cxx
185       - Now we do recognize the JpegLossLess format (there was a misstyping in
186         code 'beautyfication' :-(
187       - Now we automaticaticaly load the Luts, if any
188
189 2004-06-22 Jean-Pierre Roux
190    In order : to write Sequences, whatever their imbrication level, 
191                  : to allow user to create his own Sequences
192         a lot of modif where necessary (adding, moving, or virtualising methods)
193
194 WARNING : save your own sources *before* cvs up !
195         
196         - gdcmBinEntry
197           ADD virtual void Write(FILE *fp, FileType filetype);
198           
199    - gdcmDocEntry
200           ADD virtual void Write(FILE *fp, FileType filetype);
201           ADD void gdcmDocEntry::WriteCommonPart(FILE *fp, FileType filetype);
202           
203         - gdcmDocEntrySet
204           ADD virtual void Write (FILE *fp, FileType filetype)=0;
205           ADD   virtual gdcmDocEntry *GetDocEntryByNumber(guint16 group,guint16 element) = 0;
206      ADD gdcmDocEntry *GetDocEntryByName(std::string name);
207      ADD virtual std::string GetEntryByNumber(guint16 group,guint16 element) = 0;
208      ADD std::string GetEntryByName(TagName name);                       
209      ADD gdcmDictEntry *NewVirtualDictEntry(guint16 group, 
210                                             guint16 element,
211                                             std::string vr     = "unkn",
212                                             std::string fourth = "unkn",
213                                             std::string name   = "unkn"); 
214           ADD gdcmValEntry *NewValEntryByNumber(guint16 group, guint16 element);                                                                                                 
215      ADD gdcmBinEntry *NewBinEntryByNumber(guint16 group, guint16 element);     
216      ADD gdcmDocEntry *NewDocEntryByNumber(guint16 group, guint16 element); 
217      ADD gdcmDocEntry *NewDocEntryByName  (std::string Name);   
218      ADD gdcmDictEntry *GetDictEntryByName   (std::string Name);
219      ADD gdcmDictEntry *GetDictEntryByNumber(guint16, guint16);
220           REM virtual gdcmDocEntry *NewDocEntryByNumber(guint16 group, guint16 element)=0;
221      REM virtual gdcmDocEntry *NewDocEntryByName  (std::string Name)=0;
222           
223         - gdcmDocument
224      ADD virtual bool WriteF(FileType type); // New stuff, with recursive exploration           
225      ADD virtual std::string GetEntryByName    (TagName tagName);
226      ADD virtual std::string GetEntryVRByName  (TagName tagName);
227      REM virtual bool Write(FILE *, FileType);
228      REM virtual void WriteEntryTagVRLength(gdcmDocEntry *tag,
229                                         FILE *_fp, FileType type);
230      REM virtual void WriteEntryValue(gdcmDocEntry *tag,FILE *_fp,FileType type);
231      REM virtual bool WriteEntry(gdcmDocEntry *tag,FILE *_fp,FileType type);
232      REM virtual bool WriteEntries(FILE *_fp,FileType type);
233      REM virtual std::string GetEntryByName    (std::string tagName);
234      REM virtual std::string GetEntryVRByName  (std::string tagName);
235      REM gdcmDictEntry *GetDictEntryByName  (std::string Name);
236      REM gdcmDictEntry *GetDictEntryByNumber(guint16, guint16);
237      REM gdcmDictEntry *NewVirtualDictEntry(guint16 group, 
238                                             guint16 element,
239                                             std::string vr     = "unkn",
240                                             std::string fourth = "unkn",
241                                             std::string name   = "unkn");
242      REM gdcmDocEntry *NewDocEntryByNumber(guint16 group, guint16 element);
243      REM gdcmDocEntry *NewDocEntryByName  (std::string Name);
244      REM gdcmValEntry *NewValEntryByNumber(guint16 group, guint16 element); 
245      REM gdcmBinEntry *NewBinEntryByNumber(guint16 group, guint16 element); 
246                                                                                                                  
247         - gdcmElementSet
248           ADD virtual void Write(FILE *fp, FileType filetype);
249           
250    - gdcmSeqEntry
251           ADD virtual void Write(FILE *fp,FileType filetype);
252  
253    - gdcmSQItem
254      ADD virtual void Write(FILE *fp, FileType filetype);
255      ADD virtual std::string GetEntryByNumber(guint16 group, guint16 element);        
256      REM std::string GetEntryByNumber(guint16 group, guint16 element);
257      REM std::string GetEntryByName(TagName name);
258
259    - gdcmValEntry
260          ADD virtual void gdcmValEntry::Write(FILE *fp, FileType filetype); 
261                                   
262 2004-06-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
263     * Test/TestWriteSimple.cxx: fix to gdcmHeader-gdcmHeaderHelper revamping.
264       The default constructor invoked by the line
265          gdcmHeader *f1 = new gdcmHeader( header );
266       was gdcmHeader::gdcmHeader(bool) instead of the expected
267       gdcmHeader::gdcmHeader(std::string const &, bool = false, bool, bool).
268       Hence the parsing wasn't executed... See also below.
269     * src/gdcmHeader.h: the declaration of gdcmHeader::gdcmHeader(bool)
270       as explicit constructor didn't do the trick to fix the above problem.
271       Could anyone explain why ?
272     * src/gdcmBinEntry.cxx, gdcmValEntry.cxx: gdcmBinEntry::Print() now
273       properly calls gdcmValEntry::Print() (that was weed out from 
274       code related to gdcmBinEntry).
275
276 2004-06-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
277     * In order to fix memory leaks:
278      - Test/TestWriteSimple.cxx: added cleaning of free store through
279        some delete calls.
280      - src/gdcmBinEntry.cxx: fix to avoid SegFault.
281      - src/gdcmDicomDir.[cxx|h]: fixed initialisation in constructor
282        gdcmDicomDir::gdcmDicomDir(bool) [either the constructor itself
283        (through the call to ::AddDicomDirMeta()) or the destructor
284        would crash when deleting uninitialized ::metaElems].
285      - src/gdcmDictEntry.cxx: annotation of ununderstood memory leak.
286      - src/gdcmDocument.cxx:
287        -- ::~gdcmDocument() destructor now cleans up all dictionary entries
288           from dynamic stores.
289        -- ::ParseDES() misplaced deletion of temporary NewDocEntry
290           was causing memory leaks.
291      - src/gdcmSQItem.cxx:
292        -- ::~gdcmSQItem() dummy code cleaned (learned that deletion is
293           cleanly handled with polymophism: sorry but my milage is low).
294        -- ::SetEntryByNumber(string, guint16, guint16) now cleanly allocates
295           a gdcmValENtry, and makes no assumption on type (gdcmDocEntry,
296           gdcmSeqEntry vs gdcmValEntry) of existing entry (when present).
297           This avoids SegFaulting.
298      - src/gdcmSQItem.h: coding style.
299     * Conclusion:
300      - Test/TestWriteSimple still severely sucks. The output image content
301        (when $(GDCMDATA_HOME)/012345.002.050.dcm in input) is brain
302        damaged when displayed with vtkgdcmViewer.
303      - on memory leaks: TestWriteSimple leaks really less (see entry
304        of 2004-06-18 in Changelog file for the call to valgrind).
305      - on segfaults: ctest now passes all the tests but one (no more
306        segfaults).
307     * Erroneous leading white fix:
308      - src/gdcmDict.cxx: getline(from,xxx) doesn't remove the leading
309        white[s] (as opposed to from >> xxx, that removes it [them].
310      - src/gdcmTS.cxx: ditto.
311      - gdcmPython/testSuite.py: dirty related kludge removed.
312     * src/*: remaining references to gdcmParser removed.
313     * src/*[cxx|h]: added copy[way]left header.
314
315
316 2004-06-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
317     * In order to fix writing of dicom files:
318      - Test/TestWriteSimple.cxx: a simpler example of writing.
319      - Test/CMakeLists.txt changed accordingly.
320      - src/gdcmDocument.cxx:
321        -- The destructor now recursilvely removes potential sequences.
322        -- Bug fix in ::IsJPEG2000()
323        -- ::ReplaceOrCreateByNumber(std::string, guint16, guint16)
324           now handles promotion of gdcmDocEntry to gdcmValEntry in a cleaner
325           manner.
326        -- ::GetValEntryByNumber(guint16, guint16) now defined (as opposed
327           to only declared) and build on top of
328           ::GetDocEntryByNumber(guint16, guint16).
329        -- ::SetEntryByNumber() now uses GetValEntryByNumber(group, element)
330      - src/gdcmElementSet.[h|cxx]: added ::RemoveEntry(gdcmDocEntry *)
331        for usage in destructor and treatement of promotion in
332        ::ReplaceOrCreateByNumber().
333      - src/gdcmSQItem.cxx: destructor should better handle his job.
334       Test/TestWriteSimple now runs (or at least it DOES something).
335     * We can now start hutting memory links. A good starting point is:
336       valgrind -q --skin=memcheck --leak-check=yes --leak-resolution=high
337       --num-callers=100 --show-reachable=yes gdcmTests TestWriteSimple
338       $(GDCMDATA_HOME)/012345.002.050.dcm foo.dcm
339
340 2004-06-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
341     * Valgrind note: after Mathieu Malaterre teached me how to read
342       the valgrind FAQ ;-] (see http://valgrind.kde.org/faq.html), I
343       learned that:
344           Using gcc, you can force the STL to use malloc and to free memory as
345           soon as possible by globally disabling memory caching.
346           With 3.2.2 and later, you should export the environment variable
347           GLIBCPP_FORCE_NEW before running your program.
348       By setting GLIBCPP_FORCE_NEW, STL related memory leak messages of gdcm
349       simply vanish (it is still not clear to me, whether this means that
350       STL std::string leaks or if valgrind believes it leaks...).
351     * Fixing of SegFault of Test/makeDicomDir (as shown by ctest or by
352       running bin/gdcmTests makeDicomDir):
353       - src/gdcmDicomDir.cxx: dynamic casting used + clean up.
354       - Test/makeDicomDir.cxx now properly traps empty lists and returns
355         with 1.
356       NOW, makeDicomDir cleanly fails (in ctest terminology) instead of
357       SegFaulting (I drowned in DicomDir related code when trying to
358       understand why the list is empty...).
359     * src/gdcmDocument.h: first BSD license header try.
360     * Doc/License.txt added.
361
362 2004-06-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
363     * src/gdcmDocument.[h|cxx]:
364       - Clean up of the Transfer related predicates. They are now all based
365         on new method isGivenTransferSyntax, that (should) handle properly
366         the padding problem.
367       - general clean up, simplification, and coding style.
368       - Specific clean up of Parse7FE0() (umproperly named actually).
369     * gdcmPython/testSuite.py: an odd temporary kludge introduced.
370
371 2004-06-14 Jean-Pierre Roux             
372    *  gdcmSeqEntry.cxx
373            - fix the display of Sequence Delimitor (SQDepthLevel pb)
374                 - fix the display of SQItem ordinal number
375       - add the GetSQItemByOrdinalNumber method
376                 - remove some useless never written private methods     
377                 
378 2004-06-14 Jean-Pierre Roux
379    * gdcmBinEntry.cxx 
380       - adding a constructor taking a gdcmDocEntry as an input param
381            - ReplaceOrCreateByNumber now returns :
382               a gdcmBinEntry * if a Binary (void *) value is passed as a param
383                    a gdcmValEntry * if a string value is passed as a param
384    * dcmDocument.cxx
385       - SetEntryByNumber now allows setting gdcmValEntry or gdcmBinEntry, 
386               according to the param type (no longer sets a gdcmDocEntry)
387            - GetValEntryByNumber, GetBinEntryByNumber added
388       - NewValEntryByNumber and NewBinEntryByNumber added
389    * gdcmFile.cxx
390       - Pixel Data are now linked to the (7fe0,0010) elements, after reading
391    * gdcmSQItem.h
392       - GetSQItemNumber and SetSQItemNumber added, to provide 
393             a (relative) Item identier inside a given Sequence
394             \warning : some pb remaining around this number
395                                 will be solved asap
396       - AddEntry now takes the Item Number as a param   
397    * gdcmValEntry.cxx 
398       - adding a constructor taking a gdcmDocEntry as an input param    
399
400 2004-06-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
401     * Memory leak hunt with the following command:
402       valgrind --leak-check=yes --leak-resolution=high --num-callers=40
403                --show-reachable=yes gdcmTests PrintDocument
404       It looks like many (all?) leaks are due to the STL (or a bad usage
405       of the STL. The lines producing the leaks now have a comment with
406       a "MEMORY LEAK" tag: you can retrieve them with 
407           grep "MEMORY LEAK" src/*
408       Here are two typical examples which I can't help fixing:
409       -----
410           #include <string>
411           int main() {
412              std::string name;
413              char * test = "babo";
414              name = test;    //// <--- valgrind detects 960 bytes lost in
415                              ////   call to std::string::operator=(char const*)
416              name.clear();   //// Doesn't help !
417              return 0;
418           }
419       -----
420           #include <string>
421           #include <iostream>
422           int main() {
423              std::string line;
424              std::cout << "Type a bunch of characters followed by RETURN: ";
425              getline(std::cin, line);   //// <--- valgrind dectects a loss
426                                         //// of 1320 bytes in call to
427                                         /// std::basic_istream<>& std::getline<>
428             return 0;
429           }
430       -----
431
432
433 2004-06-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
434     * src/gdcmHeader.[cxx|h]:
435       - Predicates on the Transfer syntax (of the form Is[JPEG|RLE]*)
436         and related, moved away to gdcmDocument.
437       - Accessors (on the form [Get|Set]Entry*) set up to expose publicly
438         the corresponding protected accessors of inherited class
439         gdcmDocument, removed ! As a consequence gdcmFile had to be 
440         declared friend of class gdcmDocument (see below).
441       - operator< moved to gdcmDocument (in fact it belongs to gdcmDicomDir).
442       - Clean up of undefined or unused methods.
443     * src/gdcmFile.[cxx|h]: added SetEntryByNumber (in order to take into
444       account the changes to gdcmHeader.h).
445     * src/gdcmDocument.h:
446       - gdcmFile is now a friend class (in order to take into account the
447         changes to gdcmHeader.h).
448       - Predicates on the Transfer syntax (of the form Is[JPEG|RLE]*) added
449         (see changes to gdcmHeader.h).
450       - Accessors (reading on the form GetEntry*) are now public.
451       - Clean up of undefined or unused methods.
452     * src/gdcmDocument.cxx:
453       - adaptation to changes to gdcmDocument.h
454       - ::OpenFile now writes a verbose message when file cannot be opened.
455       - some std::string properly set to VRKey
456     * src/gdcmDicomDir.h: historical references to gdcmHeader changed to
457       references to gdcmDocument. 
458     * Test/TestFindTags.cxx: changed accordingly to above changes.
459     * gdcmPython/testSuite.py: adapted to renaming of acr files in 
460       cvs repository gdcmData.
461
462 2004-06-09 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
463     * src/gdcmValEntry.h: member voidArea type changed from char* to void*.
464     * src/gdcmBinEntry.h: member voidArea commented out, since it potentially
465       conflicts with gdcmValEntry::voidArea.
466     * src/gdcmValEntry.cxx: unmatching comment wiped out.
467     * src/gdcmVR.[h|cxx]: added two predicates that partition the possible
468       Value representation between StringRepresentable and BinaryRepresentable.
469     * src/gdcmDocument.cxx: 
470       - method ParseDES: proper indentation restored and usage of
471         gdcmVR::IsVROfGdcmStringRepresentable wired in.
472       - method LoadDocEntry: the fingerprint left in the SetValue() of
473         unloaded entries (length > MaxSizeLoadEntry) had curiously been
474         removed. Reverting to previous code segment with the proper
475         dynamic_cast< gdcmValEntry* >.
476         Note: this was (partially) breaking the python test suite
477               (gdcmPython/testSuite.py) that made usage of the above
478               fingerprint to check presence of "Pixel Data".
479     * src/gdcmDocEntry.h: coding style.
480     * gdcmPython/__init__.py: environement variable GDCM_DATA_PATH is
481       now taken into account.
482     * gdcmPython/gdcm.i: adaptation to the new internal representation
483       of gdcm (exit gdcmParser, hello gdcmDocument).
484     * gdcmPython/testSuite.py: quick and dirty fix for loading vtkgdcmPython
485       on posix.
486     * gdcmPython/demo/PrintHeader.py: doesn't use the gdcmDocument::Print()
487       anymore, but instead prints the loaded Python dictionary.
488     * .... alas, the python testSuite is still broken.
489
490 2004-05-18 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
491     * gdcmPython/gdcm.i : remove useless lines concerning the gdcmGlobal
492       gdcmGlob
493     * gdcmPython/setup.py : replace the use of cvar.gdcmGlob to gdcmGlobal
494     * src/gdcmUtil.h : export methods
495
496 2004-05-16  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
497     * Some more cleanup/enhancement in gdcmPython/CMakeLists.txt getting close
498       to right behavior
499     * Initial addition of automatic python testing
500     * Initial addition of automatic image comparison
501
502 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
503     * src/gdcmCommon.h, gdcmDicomDir.cxx, gdcmFile.cxx, gdcmHeaderHelper.h,
504       gdcmParser.cxx, gdcmParser.h : bug fix for the Microsoft .Net compilation
505
506 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
507      * src/gdcmFile.cxx, gdcmHeader.cxx : bug fix for the msvc compilation
508      * Test/ShowDicom.cxx : bug fix for msvc compilation
509      * vtk/vtkgdcmViewer.cxx : bug fix for msvc compilation
510
511 2004-05-04 Jean-Pierre Roux
512      * ADD Taking into account the 'Dicom Sequences' leads up to introduce
513        new concepts (and new classes) :
514        a 'gdcmDocument' is composed of a set of Doc Entries, that are
515         - elementary gdcmDocEntries (former gdcmHeaderEntries)
516         - Sequence Doc Entries (gdcmSeqEntries)
517        a Sequence is composed of Items.
518        Each item is a set of Doc Entries (this is recursive)
519        The non uniqueness of the 'Dicom tag' is due to this recursivity
520        (never taken into account)
521        Our unability to add a new 'entry' in the header
522        at the proper location (neither in the H-Table (map or multimap),
523        nor in the Chained List is also due to this recursivity.
524        Don't try, right now, to use/modify/compile these new sources :
525        nothing is finished.
526        We just commit all the stuff, 'as is', in order not to loose it.
527
528 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
529      * vtk/vtkGdcmReader.cxx : bug fix in the setting of file name
530      
531 2004-05-03 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
532      * vtk/vtkGdcmReader.cxx : bug fix when loading a list of files using the
533        file prefix (SetFilePrefix)
534
535 2004-05-02  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
536      * Add a new test: ShowDicom, for now this is just the c++ version of
537        checkRead.sh, later it will be able to compare the image read against a
538        baseline.
539      * Replace the DEBUG on the stack with a global entry in cmake interface:
540        GDCM_DEBUG, so you can turn verbosity ON/OFF for debug statement.
541
542 2004-04-30  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
543      * Add an example subdir, with a real example on how to read + write a 
544        dicom image
545
546 2004-04-30  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
547      * Doc/gdcmUML.xmi added raw UML class view (umbrello format)
548      * Doc/CMakeLists.txt: the main page is now properly differentiated
549        between the developper and user version.
550      * Doc/doxygen.config.in: dropped search related obsolete flags
551      * src/gdcmParser.h, gdcmHeader.h: doxygenation
552
553 2004-04-29  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
554      * DEVELOPPER: added some helpfull comments for compile/test/install
555        when using cmake.
556
557 2004-04-29  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
558      * ENH: 1. Remove remp solution of gdcmTests.cxx+ gdcmMain directly in 
559                src directory, now generated in the build dir.
560             2. Tests as mentionned smarter
561             3. Some clean up
562             4. Add a new method in gdcmDict that return the PubDict by name 
563           this is interesting for 3rd party lib like ITK, 
564           where we could set the institution name / patient name...
565
566        * ENH: 1. Now the test suite is working for real
567               2. All binaries are now output in the gdcm-bin directory 
568                  (this was not true before)
569
570 2004-04-28  Jean-Pierre Roux
571      * ENH add the provisional  gdcmHeader::SQDepthLevel to allow 
572            SeQuence indented printing of Dicom Header.
573      * ENH merge methods gdcmParser::Parse and gdcmParser::LoadHeaderEntries
574            into the single gdcmParser::LoadHeaderEntries for efficiency purpose.
575            Computation of SQDepthLevel is now part of gdcmHeader constructor
576      * ENH add self defined param 'new' to PrintHeader to 'show' the SeQuence
577            tree-like structure of a Dicom Header.
578      * FIX Test code cleaning     
579            
580 2004-04-25  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
581      * ENH: Adding automatic testing
582        1. Need a DartConfig.cmake to submit to public
583        2. Add a test driver gdcmTest.cxx
584        3. gdcmTestMain, an helper for the main test driver gdcmTest
585        4. Files in Test don't have a main anymore, this becomes interesting 
586           when we add more and more tests, thus dsw don't have to load 
587           too many projects
588      * ENH: Adding a GDCM_DATA_ROOT for testing
589      * ENH: Remove redundancie about GDCM_DICT stuff, now we only need to modify
590        one file instead of seven + some small cleanup
591
592 2004-04-22  Jean-Pierre Roux
593      * ENH Minor changes to the Print() methods.
594      * ADD gdcmParser::PrintEntryNiceSQ() to allow SQ-indented
595            Header printing. Example given with :
596            > PrintHeader fileName  2 new
597           (SQ based tree-like structure still to be done for the Header ...)
598            
599 2004-04-22  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
600      * ENH: Some cosmetic clean up for compilation with -W -Wall -Werror
601          1. I have added some unsigned where needed
602          2. Some function parameter not used -> (void)
603          3. In gdcmDicomDir.cxx, add GDCM_DICOMDIR_NONE case
604          4. g++ don't like character '\' in comment
605          5. #define jpeg_create_decompress  jCreaDecompress
606                     this really need to be fixed
607          6. virtualize destructor of gdcmObject ... leakage
608          7. sscanf(g->first.c_str(),"%x",&gr_bid); 
609                     this also really need to be fixed
610          8. gdcm/src/jpeg/libijg8/CMakeLists.txt, 
611                     remove compression file 
612                     (as we only do decompression, right ?)     
613      * ENH: Change malloc/calloc/free with c++ equivalent
614
615 2004-04-21  Jean-Pierre Roux
616      * FIX gdcmHeaderHelper::GetXSpacing
617            when a single value is found (bug ?), xpacing is now 
618            defaulted to yspacing
619            
620 2004-04-19  Jean-Pierre Roux
621      * ADD gdcmData/Wrist.pap (PAPYRUS 3.0 -single frame-) for checking purpose
622      * ENH add parameters :
623                bool  exception_on_error = false, 
624                bool  enable_sequences   = false,
625                bool  ignore_shadow      = false
626            to the gdcmFile constructors to be full gdcmParser compliant
627      * FIX vtk/vtkGdcmReader.cxx now uses  enable_sequences = true in gdcmFile
628            to allow reading of PAPYRUS 3.0 files 
629               
630 2004-04-06  Jean-Pierre Roux
631      * ADD gdcmData/E00001S03I0015.dcm for SQ checking purpose
632      
633 2004-04-02  Jean-Pierre Roux
634      * ADD : Test/checksequence.sh, for a general recap on SQ pb
635      * FIX : gdcmParser::WriteEntryTagVRLength emprovement of special treatement
636              for Philips spurious Tag fffe|0000 while rewritting Dicom files
637              
638 2004-03-30  Jean-Pierre Roux
639      * FIX gdcmParser::ReplaceOrCreateByNumber shouldn't seg fault any more 
640          for ACR file, written out as DICOM files (hope so...)
641
642 2004-03-30  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
643      * src/gdcmParser.[cxx|h] and gdcmHeader.[cxx.h]: gdcmHeader::Write split
644        in WriteEntryTagVRLength and WriteEntryValue. Those methods were
645        moved to base class gdcmParser and only the specialisation is kept
646        in gdcmHeader.
647      * src/gdcmParser.[cxx|h]: ReplaceOrCreateByNumber(char*, guint16, guint16)
648        trashed out (because ReplaceOrCreateByNumber(string, guint16, guint16)
649        already does the job.
650      * src/gdcmDicomDir.[cxx|h]: WriteDicomDirEntries renamed to WriteEntries
651        (to be consistent with gdcmParser::WriteEntries).
652
653 2004-03-30 Benoit Regrain
654      * vtk/vtkGdcmReader.[h|cxx] : fix the read of 3 gdcmHeader when making an
655        upate of the object's instance. It's passed to 2 in the unfavorable
656        case : one in the ExecuteInformation, one in the ExecuteData
657
658 2004-03-29  Jean-Pierre Roux
659      * ENH : Check on file type to be written moved
660              from gdcmParser::WriteEntry to gdcmParser::WriteEntries
661      * FIX : gdcmObject::ResetBoundaries now stops properly
662              when end-of-list is reached
663            : gdcmVersion modified (as Benoit Regrain asked)
664
665 2004-03-29  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
666      * src/gdcmParser.cxx: removal of all TAB character. Indentation fixed.
667      * src/gdcmUtil.cxx: added forgotten iostream include.
668      * src/gdcmCommon.h: FileType enum entry DICOMDIR removed (since
669        equivalent to ExplicitVR in existing code).
670
671 2004-03-27  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
672      * src/gdcmUtil.[cxx|h] split in two. Additional file gdcmGlobal.[cxx|h]
673        now contains all the gdcmGlobal related code.
674      * minor coding style and doxygenation changes.
675
676 2004-03-26  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
677      * src/gdcmUtil.[cxx|h] split in two. Additional file gdcmDebug.[cxx|h]
678        now contains all the Debug related code.
679      * minor clean-up of includes in src/*.cxx
680      * src/gdcmUtil.[cxx|h] _cleanString C style function (replaced with
681        CreateCleanString) removed.
682      * src/gdcmUtil.[cxx|h] _CreateCleanString renamed to CreateCleanString
683      * Doc/DoxyMainPageUser.txt added.
684      * Doc/Doc/DoxyfileUsers updated to version 1.3.4 of Doxygen.
685      * src/gdcmCommon.h now defines getcwd for Win32 (moved away from
686        src/gdcmDirList.cxx)
687
688 2004-03-24  Jean-Pierre Roux
689      * FIX a lot of little surface modifications to be doxygen 1.3.6 compliant
690
691 2004-03-23  Jean-Pierre Roux
692      * FIX Now gdcmFile::SwapZone doesn't seg faults any longer for
693            big endian made volumes
694      * ENH Now gdcmParser constructor and destructor are protected to forbid
695            end user to instanciate class gdcmParser
696           (only gdcmHeader and gdcmDicomDir are meaningfull)
697
698 2004-03-22 Benoit Regrain
699      * FIX : src/gdcmDicomDir.cxx : make windows compilable
700      * FIX : gdcmPython/gdcm.i : change gdcmStudy to gdcmDicomDirStudy and
701              gdcmSerie to gdcmDicomDirSerie
702
703 2004-03-19  Jean-Pierre Roux
704      * ENH Now the tree-like structure describing a DICOMDIR comming from
705            an already existing DICOMDIR file is consistent with
706            the home-made tree-like structure build ex-nihilo
707            or build from the files held (recursively) in a Directory
708            functions gdcmDicomDir::CheckBoundaries()
709            gdcmObject::SetBoundaries() added
710
711 2004-03-17  Jean-Pierre Roux
712      * REM (Eric Boix bug) : removal of meaningless
713                              gdcmDicomDirImage::NewImage function.
714      * FIX now file names and directory name are written properly in the
715            DICOMDIR
716      * FIX now gdcmDicomDir constructor may be call without any trick
717            about the name
718
719 2004-03-16  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
720      * FIX (JPR bug) : src/gdcmDicomDirImage.cxx added missing definition
721                        of gdcmDicomDirImage::NewImage as empty function.
722
723 2004-02-28  Jean-Pierre Roux
724      * ENH add gdcmDicomDir:NewPatient
725            add gdcmDicomDirPatient:NewStudy
726            add gdcmDicomDirStudy:NewSerie
727            add gdcmDicomDirSerie:NewImage
728            to allow making gdcDicomDir object.
729      * ADD PrintDicomDir executable that uses gdcmDicomDir tree-like structure
730           (as opposite to the gdcmHeader chained list)
731
732 2004-02-11 Benoit Regrain
733      * FIX : memory leaks and the set of ArgDelete methods in gdcmDicomDir
734              when using from python
735
736 2004-02-10 Benoit Regrain
737      * FIX : bug fix in the gdcmDirList for the recursivity in directories
738      * FIX : in gdcmDicomDir when the directory is empty
739      * ENH : add callback and methods to get the progression of dicomDir
740              directory parsing
741
742 2004-02-06 Jean-Pierre Roux
743      * ENH : - now gdcmDicomDir::CreateDicomDir() returns also the meta elements
744              - GDCM_META added to gdcmDicomDirType
745              - class gdcmMeta created
746      * ENH : - A brief summary is now displayed at the beginning of
747              'testDicomDir' to help disaster magnitude estimation
748      * REM : Now useless Test/explDICOMDIR.cxx
749
750 2004-02-05 Benoit Regrain
751      * ENH : add methods in gdcmObject to get the hash table or the list of
752              header entries
753      * FIX : wrapping python for ListPatient, ListStudy, ListSerie, ListImage
754      * FIX : wrapping python for TagHeaderEntryHT
755
756 2004-02-04 Benoit Regrain
757      * FIX : even length for some strings when writting the dicom dir
758      * FIX : sort the images in the dicom dir
759      * FIX : Bug fix for python use of dicom dir
760      * ADD : a python demo
761
762 2004-02-04 Jean-Pierre Roux
763      * FIX : Final solution (?) for icone embedded images
764      * FIX : dicomVR.dic Overlay group is not *only* 6000, but 60xxx
765              (see http://medical.nema.org/dicom/2003/03_06PU.PDF)
766              add groups 6002, 6004, 6006, to allow 'clean' parsing of
767              gdcmData/gdcm-MR-SIEMENS-16.acr1
768      * ENH add gdcmData/checkWriteExplicit.sh gdcmData/checkWriteImplicit.sh
769            to make full checking easier
770         
771 2004-02-04 Benoit Regrain
772      * FIX : WriteEntries : coding style & logic in parameters
773      * FIX : Set the elements to create the DicomDir in a dictionary file
774
775 2004-02-03 Benoit Regrain
776      * gdcmDirList : to parse a hard drive directory in recursive (or not)
777      * gdcmDicomDir : add the load of directory
778      * Bug fix and print add-on
779
780 2004-02-03 Jean-Pierre Roux
781      * ENH gdcmParser : allows "DICM" files, with NO group '0002'
782      * FIX handling 'non string elements' unsecure area (LUT, overlays, etc)
783      * FIX Dicts/dicomV3.dic : Add a few missing 'group length' Elements 
784      * FIX gdcmParser.cxx : 'group length' elements are now considered 
785            as integers, even for shadow groups, when file is Implicit VR
786         
787 2004-02-02 Jean-Pierre Roux
788      * FIX : gdcmWrite : equal_range() for multimap doesn't return a 'second' 
789              iterator on last
790              of the last synonym :-(
791      * FIX : gdcmWrite::WriteBase : method stops if Pixels not yet Read (except 
792              for DICOMDIR ;-)
793      * ENH gdcmData/checkWrite.sh :modif for full check of Explicit VR writting
794      * FIX taking into account the possible 7fe0,0010 multiplicity        
795      * FIX add GRPixel,NumPixel,countGrPixel (gdcmParser protected members)
796            to allow removal of references to 7fe0,0010, to deal with
797       ACR-NEMA images, when 0028,0200 is meaningfull
798
799 2004-01-31 Jean-Pierre Roux
800      * FIX gdcmParser::WriteEntries : when a VR is tagged as 'Unknown'
801            no longer writes 'Un' on disk
802      * FIX SQ elements with actual length are now dealt with corectly
803      * FIX gdcmFile::WriteBase make the difference, for color images, between
804            the length (for Palette expanded images)
805            and Raw Length (non expanded image + Palette)
806      * FIX Dicts/dicomV3.dic : removal of 'CTX' (context dependant) VR
807            (that broke Write). Replaced by UL.
808            Aware user will reload the field if he 
809            thinks it's necesssary
810              
811 2004-01-30 Jean-Pierre Roux
812      * gdcmParser::CheckSwap() now defaults the filetype to ACR 
813        when 'dirty Acr' is found, to be compliant with the new 
814        IsReadable() methods.
815        
816      * gdcmHeaderHelper :add Pixel Type 'FD', for dealing with 'double' images.
817       (no DOUBLE images in kosher DICOM, 
818       but so usefull for people that miss them ;-)
819       
820      * add Test/testDicomDir.cxx, Test/makeDicomDir.cxx , Test/explDICOMDIR.cxx
821        DICOMDIR related utilities (not checked as Windoze compliant)
822
823 2004-01-28 Jean-Pierre Roux
824      * upgrade GdcmHeaderEntry Print Method for DICOMDIR
825
826 2004-01-27 Jean-Pierre Roux
827      * gdcmParser constructor has a new boolean param,'ignore_shadow', 
828              to allow skipping the shadow elements, to save memory space.
829         The TRUE value for this param has to be used 
830         with a FALSE value for the 'enable_sequence' param.
831         ('public elements' may be embedded in 'shadow Sequences')
832      * gdcmHeader methods now deal with 'embedded icones images' in the header
833              (even when an 'icone image sequence' is announced by the 
834         element (0x0088,0x0200), but there is NO icone at all ...
835         
836      * gdcmHeader sometimes Image Location value doesn't follow  
837              the supposed processor endianity (see gdcmData/cr172241.dcm).
838              Fixed
839
840      * gdcmHeader add the method
841              IterHT  GetHeaderEntrySameNumber(grPixel,numPixel);
842         to get *all* the Header Entries with the same tag.
843         GetHeaderEntrySameName is probabely *useless* 
844         (no meaning : Name is *not* an identifier within the Dictionnary)
845
846 2004-01-26 Benoit Regrain
847      * Bug fix in the print of hexadecimal representations. Remove long fields 
848        in the print and add a third level of print to print them
849
850 2004-01-23 Benoit Regrain
851      * Bug fix on field having a VR = 'UI'. Assume that is a string field
852      * Bug fix on test suite after remove the strip made on not string fields
853      * Split the IsReadable method between gdcmParser which test that the file
854        is dicom and gdcmHeader which test that it's an image file
855
856 2004-01-22 Benoit Regrain
857      * DicomDir : clean code, add methods, set variables in protected or private
858      * gdcmUtil : bug fix for the clean string method
859
860 2004-01-19 Benoit Regrain
861      * Add the use of shadow dictionaries
862      * bug fix and coding style
863
864 2004-01-19 Benoit Regrain
865      * src/gdcmFile.cxx : bug fix concerning the close of file
866      * src/gdcmParser.[h|cxx] : remove obvious Pub informations
867      * Add the update of header entries using the shadow library
868
869 2004-01-19 Benoit Regrain
870      * removal of file gdcmHeader2.cxx
871      * split class gdcmHeader into gdcmParser and gdcmHeader, with gdcmHeader
872        inheriting from gdcmParser. This split is to prepare the integration
873        of dicom dir parsing
874      * bug fix under python
875
876 2004-01-16 Jean-Pierre Roux
877     * REM removal of class gdcmHeaderEntrySet
878     * REM removal of files gdcmHeaderEntrySet.cxx, gdcmHeaderEntrySet.h
879     * ADD add file gdcmHeader2.cxx 
880     * ADD add method gdcmHeader::SetPrintLevel (for PrintHeader)
881
882 2004-01-15 Benoit Regrain
883      * src/gdcmDicSet.[h|cxx] : add virtual entries to have a reference of
884        entries created while parsing the header. Thus, they will be destroyed
885        when the gdcmDictSet will be destroyed
886      * src/gdcmHeader.cxx, gdcmHeaderEntrySet.cxx : uses virtual entries of
887        gdcmDictSet
888
889 2004-01-15 Benoit Regrain
890      * vtk/vtkGdcmReader.cxx : bug fix : before, with python only, the program
891        made a fatal error because of the memory release at the end of program.
892        The problem was in vtkGdcmReader::ExecuteData where we were allocate
893        some memory and vtk seems to have some problems with that.
894      * src/gdcmHeaderEntrySet.cxx : bug fix for std lib and cout
895
896 2004-01-14 Benoit Regrain
897      * src/gdcmHeaderEntry.[h|cxx] : gdcmElValue -> gdcmHeaderEntry
898      * src/gdcmHeaderEntrySet.[h|cxx] : gdcmElValSet -> gdcmHeaderEntrySet
899      * src/*.[h|cxx] : make changes due to class name changes
900      * gdcmPython/demo/*.py : bug fix due to method names
901
902 2004-01-13 Benoit Regrain
903      * src/*.[h|cxx] : coding style
904      * vtk/*.[h|cxx] : coding style
905
906 2004-01-13 Benoit Regrain
907      * gdcmPython/testSuite.py : test the readable flag of file for tests
908      * src/gdcmDict.cxx, gdcmElValSet.cxx : bug fix under windows for prints.
909        It's lied to the stl compilation by MSVC (windows, always windows...)
910      * src/gdcmIdo.h, gdcmHeaderIdo.cxx : remove the Ido unused files
911
912 2004-01-12 Benoit Regrain
913      * src/*.h : add comments
914      * src/gdcmDictSet.h : set the method BuildDictPath in public
915      * src/gdcmTS.cxx, gdcmVR.cxx : use now a dictionnary file other than to be
916        directly setted in the source code
917      * Dicts/dicomTS.dic, dicomVR.dic : 2 new dictionnary files loaded by
918        gdcmTS and gdcmVR
919
920 2004-01-09 Benoit Regrain
921      * gdcmPython/gdcmVersion.py : add a gdcmVERSION variable information
922      * setup.py : use a reference to gdcmVERSION
923
924 2004-01-07 Benoit Regrain
925      * Modification to compile with the distutils.
926      * Bug fix in code
927
928 2003-12-10 Benoit Regrain
929      * gdcmHeader is now aggregating gdcmFile, and not derived into. Thus, we
930        can use a gdcmHeaderHelper to load datas
931      * gdcmPython/testSuite.py : make the testSuite compliant with modifications
932        made in the source code
933
934 2003-12-10 Benoit Regrain
935      * Update Windows projects and .cvsignore files
936
937 2003-11-12 Jean-Pierre Roux
938      * ENH gdcmHeader constructor has one more parameter (default value : false)
939            that allows the user to 'go inside' the SeQuences only
940            if he wants to.
941            gdcmElValSet:Print takes it into account
942
943 2003-11-12  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
944      * ENH: Update gdcmPython/CMakeLists
945      * FIX: (gdcmHeaderHelper) GetRescale and GetSlope
946      * FIX: (gdcmElValSet) char 'tag' was overiding private members (VC++)
947
948 2003-11-10 Jean-Pierre Roux
949       * FIX : gdcmHeader::LoadElements is now based
950              on the ListTag listElem member,
951              not longer on the TagElValueHT tagHt member
952       * ENH : PrintPubElVal shows (temporarily) both results,
953              with the tagHt member and the listElem member.
954              (it's easier to 'see' the problems when using Printheader)
955
956       * FIX : old private member LgrElem is now splitted into
957              ReadLength   : Length actually found on disk (updated only
958                             if bug fixing is necessary), for internal
959                             use only
960              UsableLength : Updated by FixFoundLength, to fix a bug
961                             or to allow Parser going on.
962              Will allow to re-write a kosher header when a SeQuence
963              with a length (not 0000) is found
964       Warning : gdcmFile::Write still uses the TagHt (not ListElem)
965                 because gdcmElValSet::Add does not update ListElem
966                 (to be written)
967
968 2003-11-07 Jean-Pierre Roux
969      * FIX misstyping in Transfert Syntax name table
970      * ENH gdcmHeader::FixFoundLength now allow to 'go inside' tge SeQuences
971           when they have an actual length (not 0000 nor FFFFF)
972      (Nobody should care of it, but DICOMDIR explorers)
973
974 2003-11-06  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
975      * ENH: vtkgdcmViewer now works with LUT dicom (OT-PAL-face ...)
976
977 2003-11-05  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
978      * ENH: vtkGdcmReader now supports LUT !
979           (vtkgdcmViewer for now is not able to use them though)
980
981 2003-11-05 Jean-Pierre Roux
982      * in testSuite.py : new files names for checking the package
983      * FIX : Forgot to commit gdcmFile::GetImageDataSizeRaw();
984              that returns the pixel area size to the *aware* (vtk) user
985              that DOESN'T want to turn the PALETTE COLOR image into an RGB image
986
987 2003-11-05 Benoit Regrain
988      * in testSuite.py : Modify the rules for checking the paths
989                        : Explicit error messages
990      * in __init__.py  : Related modif
991
992 2003-11-03 Jean-Pierre Roux
993      * add gdcmHeaderHelper::GetNumberOfScalarComponentsRaw()
994            to be used by aware (vtk) users that want to manage
995            LUT (and no to turn the PALETTE image into an RGB pixels one)
996      * GetPixelType now returns 8U for 24 Bits images
997                     (vtkGdcmReader compliant)           
998       
999 2003-10-31 Jean-Pierre Roux
1000      * Removal of *all* gdcmData images and add them again
1001        in order to loose the 'history' of un-anonymised images
1002        
1003 2003-10-31 Jean-Pierre Roux
1004      * RMV : removal of useless jBitsInJsample.h 
1005            for both 8 and 12 Bits JPEG Lossy Libraries
1006
1007 2003-10-31 Jean-Pierre Roux
1008      * ENH : Add the functions gdcmFile::GetImageDataRaw 
1009                                gdcmFile::GetImageDataIntoVectorRaw
1010              that act as GetImageData and GetImageDataIntoVector
1011              except the making of an RGB Plane from Gray Plane + LUT
1012              Intended to aware (vtk) users who know how to manage
1013              such an image :
1014              After gdcmHeader :
1015               GetLUTRGBA return a R,G,B,A LUT if any
1016               lgrTotaleRaw gives the 'Raw' length
1017               GetImageDataRaw returns the gray Plane
1018      * FIX : no more dirty trick for 'Segmented xxx Palette Color Lookup' images
1019              (They stay Grey, just like with other Dicom viewers :-(
1020
1021 2003-10-30 Jean-Pierre Roux
1022      * FIX : a VC++ intended syntax modif broke the 12/12 Bytes expanding
1023              
1024 2003-10-29  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1025      * ENH: Can be used like this '$vtkgdcmViewer *.dcm' with *.dcm 
1026            being coherents dicom files.
1027      
1028 2003-10-29  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1029      * FIX: DOH ! Forgot about windo$e users, they couldn't read lossless jpeg,
1030            from medcon lib !
1031      * ENH: Turn it into DOS file type to match libgdcmijpeg8.dsp file type 
1032      * ENH: Two steps is necessary to please VC++ compiler...
1033      * FIX: DOH ! libgdcmijpg8 -> libgdcmljpeg
1034      * ENH: Add include dir to medcon lib
1035      * FIX: only one function is being exported for now ! 
1036            You should use GLOBAL(return type) see ljpg/jpeg.h for more info
1037             
1038 2003-10-29 Jean-Pierre Roux
1039       * adding  gdcmHeader::GetLUTRGBA
1040         returns a 4 * 256 Bytes Reg/Green/Blue/Alpha vtk compliant LUT
1041           --> Mathieu, the modif u're waiting for is not yet committed
1042       * removal of now useless GetLUTRed,GetLUTGreen,GetLUTBlue,GetLUTRGB
1043
1044 2003-10-27 Jean-Pierre Roux
1045       * adding some xmedcon breaker files (courtesy of Loïc Boussel)
1046         00191113.dcm DermaColorLossLess.dcm
1047         MxTwinLossLess.dcm RadBWLossLess.dcm
1048       * ENH: For version prior to vtkImageViewer2 -r 1.19
1049       * FIX: avoid pb with xmedcon-breaker CT McTwin Elscint images
1050
1051 2003-10-27  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1052       * Removal of ido stuff in CMakeLists.txt
1053                                                
1054 2003-10-24  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1055       * ENH: vtkGdcmReader.cxx can now read multiframe dicom
1056       * FIX: remove a call to ->Modified ... see comments
1057       * FIX: vtkgdcmViewer.cxx was writting ASCII file...this is so slooooow !
1058       
1059 2003-10-23  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1060       * FIX: Problem with path for libvtkgdcmPython
1061       * ENH: Try adding a search script for python site-package
1062       * RMV: Remove some file from medcon lib that are not necessary
1063       * FIX: gdcm/Makefile.am fix for generating ljpg medcon
1064       * ENH: CMakeLists.txt now generate 'pygdcm.so' instead of 'libpygdcm.so'
1065       * FIX: More pragma disable fro VC++, 
1066              I don't think I break something as it is also disable in VTK/ITK.
1067         But it fasten debug compilation time.
1068             
1069 2003-10-23 Jean-Pierre Roux
1070       * gdcm now deals with 16 Bits Run Length Encoded images
1071         (they are compressed as 2 planes images, 
1072          one for the high Bytes, the other for low Bytes)
1073
1074 2003-10-22 Jean-Pierre Roux
1075       * Now CheckRead takes into account :
1076          - the bugged 'Leonardo' Siemens images
1077          - the XA images, sent thru the burning VPRO station
1078       * add I9000001.dcm, a GE dlx XA image, thru the VEPRO burning station
1079        (breaks DicomWorks)
1080
1081 2003-10-22  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1082       * FIX: When copying a Makefile.am to CMakeLists.txt 
1083              one should remove the '\'
1084         
1085 2003-10-22 Jean-Pierre Roux
1086       * in gdcmData adding a bugged 'Leonardo' Siemens image 
1087         (wrong lengths in header)
1088         OK with gdcm, KO with the other viewers :-)
1089       * add a GE dlx XA image, thru the VEPRO burning station
1090         (breaks DicomWorks)
1091
1092 2003-10-21 Jean-Pierre Roux
1093       * in gdcmData add the checkvtkgdcmViewer.sh shell script 
1094         for a brutal checking of vtkgdcmViewer compliance
1095
1096 2003-10-21 Jean-Pierre Roux
1097       * add the files for 'xmedcon' Jpeg Lossless library
1098       * call of 'xmedcom' Jpeg Lossles libray (instead of the old LibIDO one)
1099
1100 2003-10-21 Jean-Pierre Roux
1101       * 'Compacted Files' (12 Bits Allocate, 12 Bits Stored) are now dealt with
1102      
1103 2003-10-21 Jean-Pierre Roux
1104       * garbage Siemens 'Leonardo' images dealt with
1105         (the patch is easy to remove)
1106       * cosmetic changes to avoid warnings
1107       
1108 2003-10-20  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1109       * ENH: vtkgdcmViewer now autoscale color/window level on start-up, 
1110         no need to press 'r' now.
1111    
1112 2003-10-20  Jean-Pierre Roux
1113       * upgrade of checkRead.sh checkWrite.sh according
1114         to new Jpeg Lossless decompressor
1115       * add US.3405.1.dcm, a genuine RGB medical file ...
1116       * add gdcm-ACR-LibIDO.acr, unnormalized Rectangular LibIDO format image
1117       * add CLIP0001-Sequoia-U11.dcm, US 'Clip', from SEQUOIA machine,
1118                                                   UNIT 11, Hop Cardio              
1119 2003-10-15  Jean-Pierre Roux
1120       * general anonymisation in gdcmData
1121       * adding the 'color files' from
1122         http://www.leadtools.com/SDK/Medical/DICOM/ltdc19.htm
1123       * adding some well knowed bugged-header images
1124       * adding checkRead.sk, checkReadColor.sh, checkWrite.sh,
1125         waiting for their inclusion in Python testsuite
1126
1127 2003-10-15  Jean-Pierre Roux
1128     * gdcmHeader::gdcmHeader(const char *InFilename, bool exception_on_error)
1129       no longer seg faults when file is not found
1130
1131 2003-10-14  Jean-Pierre Roux
1132      * Emprovement of reading for Dicom encapsulated Jpeg LossLess 
1133        MultiFrame images
1134
1135 2003-10-14  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1136      * TODO: *.in file to genereate a UseGDCM later
1137
1138 2003-10-14  Jean-Pierre Roux
1139      * Some supposed-to-be Dicom Images have no preamble.
1140         OpenFile takes it into account
1141      * Jpeg LossLess 24 Bits images doesn't break any longer gdcm
1142      * Missing elements added in dicomV3.dic
1143       (just to be affraid : have a look at
1144        ftp://medical.nema.org/medical/dicom/2003/01v03dif/01v03_06.pdf
1145        and do it again next year ;->
1146
1147 2003-10-13  Jean-Pierre Roux
1148      * According to PS 3.3-2003 C.11.1.1.2 p 619, when each pixel of 
1149        a PALETTE COLOR is stored on 2 Bytes, theese 2 Bytes must be equal.
1150        But there are NOT. It's fixed !
1151        
1152 2003-10-13  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1153      * FIX: "jpeglib.h" was not found on VC++
1154      * FIX: vtkgdcm was not being installed 
1155          
1156 2003-10-10  Jean-Pierre Roux
1157      * ENH : OpenFile closes the file if it *really* doesn't look like
1158              an ACR-NEMA / DICOM one.
1159      * FIX : testWrite no longer writes an empty file if the source file     
1160              is not gdcm Readable
1161      * ENH : One more JPEG LossLess type "JPEG Baseline (Process 14)" 
1162              is now decoded.
1163         
1164 2003-10-10  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1165      * FIX: CMake generate now documentation
1166      * ENH: out of source doc build !
1167      * ENH: Generate both user and dev documentation
1168      * ENH: Should work on windows too
1169      * ENH: Only one doxygen config.in file is needed 
1170      * FIX: make install should be ok now on Ã¹nix plateform
1171      * FIX: PATH to dictionary was wrong (missing /)
1172      * ENH: OpenFile, return true if the file looks like an ACR or DICOM file 
1173                      
1174 2003-10-09  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1175      * vtkGdcmReader is now able to read rgb dicom file.
1176      * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
1177      * added a gdcmViewer to vtk test, use mouse to control 
1178         window level & window width
1179
1180 2003-10-09  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1181      * CMake-ification of gdcm, we have now two build system
1182      * FIX: on cygwin Wsock32 doesn't exist
1183      * FIX: force jpeg dir to the local one (gdcm/src/jpeg)
1184      
1185 2003-10-06  Emanuel Ollart
1186      * FIX : compilation process wad broken.
1187              Changed gdcmViewer_sources to vtkgdcmViewer_sources
1188         
1189 2003-10-06  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1190      * change gdcmViewer -> vtkgdcmViewer
1191      * change GetXSpacing and GetYSpacing "%f\\%" is parsed backward
1192      
1193 2003-10-06  Jean-Pierre Roux
1194      * FIX :A few nasty patches to allow the reading of a lot of nasty images
1195            ( e.g : well known GE images with a wrong elem length,
1196                  : Philips MRI Images with a wrong Huffman table)
1197       * still to be done : allow the reading of bugged LEONARDO Siemens images
1198
1199 2003-10-03 Jean-Pierre Roux
1200       * Odd length strings are padded with '\0' (not with spaces, 
1201         to remain compliant with already defined strings, 
1202         like Transfert Syntax UID and others)
1203
1204 2003-10-03 Jean-Pierre Roux
1205       * ENH :gdcmHeaderHelper::GetNumberOfScalarComponents() added, 
1206              to allow displaying RGB images (not only by affim ;-)
1207         
1208 2003-10-03  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1209       * vtkGdcmReader is now able to read rgb dicom file.
1210       * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
1211
1212 2003-10-03 Jean-Pierre Roux
1213       * A few nasty patches to allow the reading of a lot of nasty images
1214         ( e.g : well known GE images with a wrong elem length,
1215               : Philips MRI Images with a wrong Huffman table)
1216       * still to be done : allow the reading of bugged LEONARDO Siemens images
1217
1218 2003-10-03 Jean-Pierre Roux
1219       * One more JPEG LossLess type "JPEG Baseline (Process 14)" is now decoded.
1220
1221 2003-10-03 Jean-Pierre Roux
1222       * gdcmHeaderHelper::GetNumberOfScalarComponents() added, 
1223         to allow displaying RGB images (not only by affim ;-)
1224
1225 2003-10-03 Jean-Pierre Roux
1226       * gdcmFile::GetImageDataIntoVector now
1227          - deals with MultiFrames MultiFragments Run Length Encoded files
1228          - deals with YcBcR (YBR_FULL) files
1229          - deals with YBR_YBR_FULL_422 files (they work as RBG files ?!?)
1230           WARNING : nothing was checked for YBR_PARTIAL_422, YBR_ICT, 
1231                                             YBR_RCT files.
1232           (no sample found :-(
1233
1234 2003-10-02  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1235       * src/*.cxx removed pragma thingies to src/gdcmCommon.h
1236         Two reasons: - clear things
1237                      - third parties acces gdcm through header files, so won't
1238                        suffer anymore VC++ complains
1239
1240 2003-09-30  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1241       * add argv[1] in testvtkGdcmReader.cxx
1242       * removed leaks
1243
1244 2003-09-24 Jean-Pierre Roux
1245       * The lines are now eigthy characters long.for 
1246         gdcmHeader.cxx gdcmHeaderHelper.cxx gdcmParse.cxx 
1247
1248 2003-09-22  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1249       * src/gdcmUtil.[cxx|h] : change the _CreateCleanString return value from
1250         char* to std::string. Thus, the use of strdup becomes useless. (see
1251         previous commis of Malaterre)
1252       * src/gdcmElValSet.cxx : reuse commented call to _CreateCleanString like
1253         before the last Malaterre's commit.
1254
1255 2003-09-19  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1256       * This commit should fix the Debug building under VC++, the problem
1257         was mainly a mixture of debug and release lib being loaded at startup.
1258       * I also remove a depency to a specific C function: strdup. Because I had
1259         to force the link to msvcrtd (whereas strdup is in libc).
1260
1261 2003-09-16  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1262       * "gdcm::Unfound" string changed to a constant variable (GDCM_UNFOUND)
1263         located in the gdcmCommon.h file. All use of reference of tha has been
1264         changed to now use the variable GDCM_UNFOUND.
1265
1266 2003-09-16  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1267       * Cosmetic changes:
1268         - gdcmPython/testSuite.py adapted to the JPR updated Dicts/dicomV3.dic
1269           Dicom dictionary. The test suite can now be run again. Note:
1270           I'm note very happy with the " (RET)" changes. I believe this
1271           RETAINED comment should be dropped when parsing the dictionary.
1272         - PACKAGER corrected
1273         - DEVELOPPER added.
1274         - AUTHORS updated and now in alphabetical order
1275       * Makefile.am now exports gdcm.dsw for Windoze users.
1276
1277 2003-09-11  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1278       * cygwin complains about missing std:: in subdir Test/
1279
1280 2003-09-10  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1281       * remove some methods that are now in gdcmHeaderHelper
1282
1283 2003-09-10  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1284       * vtkGdcmReader set spacing and origin correctly
1285
1286 2003-09-09  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1287       * Fix a few delete/delete[] mismatch
1288
1289 2003-09-08  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1290       * src/gdcmHeaderHelper.[h cxx]: added new class that provide an
1291         interpretation to data given by gdcmHeader. For instance there are
1292         heuristics to get informations (look at different places).
1293       * it also include a specific class: gdcmSerieHeaderHelper devoted to
1294         sorting DICOM images based on different strategies.
1295       * modified Makefiles accordingly.
1296
1297 2003-09-05  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1298       * src/*.cxx : added pragma disable 4786/4251 to get rid of ~4300 warning
1299         when building in debug mode
1300       * vtk/win32/vtkgdcm.dsp : change /MT -> /MD and /MTd -> /MDd to match
1301         src/win32/gdcmdll.dsp
1302       * vtk/win32/vtkgdcm.dsp : added /nodefaultlib "mscvrt" for debug mode
1303
1304 2003-08-29  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1305       * Corrected a leak in vtkGdcmREader.cxx, the pSource was find thanks
1306             to valgrind.
1307
1308 2003-07-29  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1309       * src/win32/libgdcmjpeg12.dsp was not dos format
1310       * src/win32/libgdcmjpeg12.dsp : 
1311                   libgdcmijpeg12_EXPORTS -> LIBGDCMIJPEG12_EXPORTS
1312       * src/win32/gdcmdll.dsp: + /I "..\jpeg\libijg12"
1313
1314 2003-07-29 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1315       * src/gdcmHeader.h : add std:: prefix for stl elements... like others in
1316         the file
1317       * src/gdcmFile.cxx : bug fix in affectation type
1318       * src/jpeg/libijpeg12/jmorecfg12.h : export for windows modified... like
1319         in src/jpeg/libijpeg8/jmorecfg8.h (JPR : copy/paste exists !!!)
1320       * Modifs of MVSC projects to compile them. Not concerning 2 identic
1321         symbols... future problem ?
1322
1323 2003-07-29  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1324       * src/win32/libgdcmijpeg12.dsp was missing
1325       * modified gdcm.dsw accordingly
1326
1327 2003-07-28  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1328       * src/gdcmHeader.cxx : misplaced return 0.; for ACR/NEMA
1329
1330 2003-07-24 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1331       * src/jpeg/libijg12/.cvsignore, jconfig.* : ommited files while last
1332         commit of JPR (before his hollidays to facilitate our work).
1333       * setup.py : bug fix in code. Modifications made while the last commit
1334         of JPR. The code hasn't been tested before the commit... it's so
1335         useless to make that (for best programmer that is JPR) !!!
1336
1337 2003-07-08  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1338       * tagged the current version as Version0_3 (i.e. version 0.3)
1339
1340 2003-07-08  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1341       * vtk/testvtkGdcmReader.cxx : remove a symbol that is unused
1342       * src/jpeg/libijg8/jmorecfg.h : adding export symbol for windows
1343       * *.dsp : modifications to use new libgdcmijpeg8 library
1344       * setup.py : bug fix on VTKPATH variable
1345       * PACKAGER : adding all concerning windows
1346
1347 2003-07-07  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1348       * src/gdcmElValSet.cxx, gdcmFile.cxx: JPR bug fix, removal of
1349         garbage debug code.
1350       * TODO, vtk/vtkGdcmReader.cxx: upcoming fixes comments.
1351       * gdcmPython/testSuite.py: JPR bug fix, brutal erasement of
1352         test suite reported error.
1353       * PACKAGER file added (describes what a packager must do when
1354         packaging a new release).
1355       * MANIFEST.in, now declares jconfig.linux and jconfig.vc
1356       * configure.in: upgraded version number to 0.3.0
1357       * fixing build of rpm (through rpm -ta):
1358         - Doc/Makefile.am exports proper doxygen files
1359         - src/jpeg/libijg8/Makefile.am exports the include files.
1360
1361 2003-07-07  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1362       * vtk/vtkGdcmReader.cxx : bug fix when loading only 1 file.
1363       * src/gdcmHeader.h : formatting code
1364
1365 2003-07-07  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1366       * vtk/vtkGdcmReader.[cxx|h] : bug fix when loading only one file.
1367         We were obtaining error message from vtk. Now, creation of file list
1368         is made in an internal list to prevent this problem.
1369         Bug fix when output is empty.
1370         Bug fix in update of progress value. Previous commit for this was a bad
1371         correction.
1372       * vtk/vtkGdcmReader.h : adding comments for InternalFileNaleList variable
1373
1374 2003-07-04  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1375       * src/gdcmHeader.h : added method to get the file name
1376       * vtk/vtkGdcmReader.[cxx|h] : bug fix concerning loading of bad dicom
1377         files. Added method to remove all files on the input
1378         Added FIXME comment concerning the bad parsing of header made by
1379         ExecuteInformation method (in ExecuteData method)
1380
1381 2003-07-03  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1382       * vtk/Makefile.am: vtkGdcmReader.h should now be cleany installed
1383         when using make instal.
1384       * src/gdcmFile.cxx : bug fix under Window after JPR commit
1385         RQ : the JPR doesn't appear in the ChangeLog... normal for him
1386
1387 2003-07-03  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1388       * setup.py : adding include dir of jpeg lib to compile all sources
1389       * */Win32/*.dsp : JPR fix for windows compilation
1390
1391 2003-07-02  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1392       * src/jpeg/libijg8/jconfig.* : JPR bug fix : now compile on both
1393         linux and WINDOWS !
1394       * src/gdcmJpeg.cxx : JPR bug fix : erroneous include
1395       * src/win32/gdcmdll.dsp : JPR fix for windows compilation
1396
1397 2003-07-02  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1398       * setup.py is again effective on un*x (takes into account the
1399         addon of the jpeg library)
1400       * Doc/DoxyDevelInstal.txt added (developper's raw documentation)
1401       * Doc/Doxy* updated (includes above enhancements)
1402       * INSTALL now points to web documentation
1403
1404 2003-07-01  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1405       * src/gdcmHeader.h doesn't make unnecessary reference to
1406         gdcmUtil.h anymore.
1407       * gdcmPython/Makefile.am now avoids calling the wrappers for the
1408         clean target.
1409       * src/gdcm*.[cxx|h] :
1410         - to allow compilation with gcc 3.x
1411           -- clean up of STL usage (added explicit usage of std::)
1412           -- small fixes on exceptions.
1413           Note: linking not tested !
1414         - clean of doxygen comments to avoid warnings at documentation
1415           building stage.
1416       * vtk/vtkGdcmReader.cxx: g++ warning message clean up (platform
1417         dependent convertion).
1418
1419 2003-06-20  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1420       * Clean up of previous JPR garbage commit (not even commented in the
1421         Changelog):
1422         - Test/Makefile.am removed the reference to unexisting testTS.cxx
1423         - moved all jpeg related files from src to src/jpeg/libijg8, with
1424           addition/modification of Makefile.am and configure.in.
1425         - the testSuite is still brain damage (not guilty).
1426
1427 2003-06-02  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1428       * WrapVTK.py : modifications to get correctly vtk source files to
1429         compile
1430       * vtk/vtkGdcmReader.cxx : modification for an already existing name
1431         (FileName -> Filename)
1432
1433 2003-06-11  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1434       * vtk/vtkGdcmReader.[cxx/h]:
1435         - UpdateProgress method should now be effective
1436         - removed the limitation on having only images loaded (as opposed
1437           to volumes),
1438         - when building a stack of images/volume, a lesser number of
1439           gdcmHeader and gdcmFile instances should be used (hopefully
1440           accelerating things).
1441         - when building a stack of images/volumes, files which are not
1442           loadable (wrong path-filename, wrong permissions on existing file,
1443           or file not parsable by gdcm) are replaced with a black image
1444           in the stack (for the caller to notice the problem).
1445
1446 2003-06-03  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1447       * vtk/vtkGdcmReader.cxx: hopefully corrected Z extent.
1448
1449 2003-06-02  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1450       * vtk/vtkGdcmReader[cxx|h] : makes correct code to remove conflicts
1451         between standard library (std) and vtk library (problems are found
1452         under Windows... thanks Windows !)
1453
1454 2003-05-30  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1455       * vtk/vtkGdcmReader[cxx|h] should now be volume aware (read ready for
1456         debug stage).
1457       * gdcmPython/demo/vtkGdcmReader.py: commented lines for volume test
1458
1459 2003-05-29  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1460       * vtk/vtkGdcmReader[cxx|h] preparation addons for loading volumes.
1461
1462 2003-05-28  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1463       * When compiling with distutils (see setup.py) the C++ compiler is
1464         called with different flags than the default ones (with automake).
1465         In order to fix all those warning, I compiled gdcm with the command
1466            make 'CXXFLAGS=-Wall -Wstrict-prototypes -D__STDC_LIMIT_MACROS'
1467         and went for warning fixes:
1468         - src/gdcmHeader.cxx, Test/dcm2acr.cxx, pourFindTaggs.cxx cleaned
1469           up from unused variables.
1470         - vtk/vtkGdcmReader.cxx: potential bug fix.
1471       * src/gdcmHeader.h: Doxygen warning cleanup
1472
1473 2003-05-27  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1474       * gdcmPython/gdcm.i:
1475         - typemaps correction to take into account the systematic replacement
1476           of "using namespace std" with std:: prefix e.g. std::list,
1477           std::string... (cf changes of 2003-05-21).
1478         - gdcmGlob global variable of type gdcmGlobal (defined in
1479           src/gdcmUtil.cxx and declared in gdcmPython/gdcm.i) is now
1480           exported to Python a as cvar.
1481       * gdcmPython/__init__.py now defines two functions GetPubDictTagNames()
1482         and GetPubDictTagNamesByCategory() as a replacement for deprecated
1483         gdcmDictSet.GetPubDictTagNames() and
1484         gdcmDictSet.GetPubDictTagNamesByCategory() class functions (i.e.
1485         C++ static methods).
1486       * gdcmPython/demo/printGroupedPublicDict.py is operational again,
1487         with the above changes.
1488
1489 2003-05-22  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1490       * setup.py, manifest.in : bug fix under linux
1491
1492 2003-05-22  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1493       * Modification of setup.py to compile vtk part too. Then, we have 2
1494         wrappers which must work with same distutils. For that, we have a
1495         generic distutils in distusiltsWrapping.py ; with :
1496          - build_extWrap class to wrap generically all extensions,
1497          - ExtensionWrap base class for all wrapping extension that contains
1498            a wrapper
1499          - Wrapper interface which wrap sources
1500         + In WrapSwig.py  we have extension and wrapper for Swig
1501         + In WrapVTK.py  we have extension and wrapper for VTK
1502       * MANIFEST.in : modifications to consider vtk directory and new python
1503         files for compilation
1504
1505 2003-05-21  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with Benoit Regrain
1506       * Added python wrappers of vtkGdcmReader vtk class (see the
1507         source in vtk/vtkGdcmReader.cxx) :
1508         - vtk/Makefile.am now builds a library
1509         - gdcmPython/Makefile.am now builds vtkgdcmPython a second import
1510           python library (as opposed to _gdcm.so wich are the python
1511           wrappers of gdcm). vtkgdcmPython.so uses the vtk python wrappers
1512           (vtkWrapPython and vtkWrapPythonInit utility) to build vtkgdcmPython
1513           import library.
1514         - configure.in has an additional flag --enable-vtk that needs
1515           to be set to enable compilation of vtk related code, that is:
1516           + vtk/vtkGdcmReader.so and
1517           + vtk/testvtkGdcmReader C++ demo of vtk wrappers of gdcm)
1518           + gdcmPython/vtkgdcmPython.so (see above)
1519         - gdcmPython/demo/vtkGdcmDemo.py corrected (some images cannot
1520           be read when compressed or when HighBit + 1 != BitsStored),
1521         - gdcmPython/demo/vtkGdcmReader.py added. This demo illustrates
1522           the usage of the python wrapper of vtkGdcmReader vtk class.
1523       * vtk/vtkGdcmReader.cxx: bug fixed (thanks to Benoit Regrain).
1524       * src/*.[h] all occurences of stl classes are now prefixed with
1525         std::, and all occurences of "using namespace std;" where removed.
1526         This is to avoid pollution of global namespace in included files.
1527         Apparently vtk does not avoid this pitfall: when using both
1528         gdcm and vtk (as in vtk/vtkGdcmReader.cxx) this ended up in a
1529         collision of various stl members (principally cout...).
1530       * gdcmPython/testSuite.py now cleanly removes temprory generated
1531         file.
1532       * gdcmPython/gdcm.i now declares a typemap for std::string (to
1533         comply with above changes)
1534
1535 2003-05-12  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1536       * src/gdcmHeader>[h/cxx] added gdcmHeader::GetPixelSize()
1537       * vtk/vtkGdcmReader.cxx now properly inports the image in the
1538         vtk data structure (an image Flip was required).
1539       * vtk/testvtkGdcmReader.cxx refers to gdcmData subdir instead of Data.
1540       * cosmetic changes in documentation.
1541
1542 2003-05-7  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1543       * src/gdcmHeader.cxx: the constructor no longer exits when an
1544         unexisting file is given as argument.
1545       * The subdirectory Data (containing all the images used for the
1546         test suite) is not part of this repository anymore. A new module
1547         containing those images is now available at
1548           :pserver:xxx@cvs.creatis.insa-lyon.fr:2402/cvs/public
1549         with the name gdcmData.
1550         All the python scripts (including the package initialisation file
1551         gdcmPython/__init__.py) were adapated to take this change into
1552         account (basically GDCM_DATA_PATH is now GDCM_TEST_DATA_PATH).
1553
1554 2003-05-5  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1555       * vtk subdir added. Contains vtkGdcmReader.[cxx|h] a vtk class
1556         inherinting from vtkImageReader and testvtkGdcmReader.cxx a small
1557         demo of the usage of this class.
1558         Compilation of this vtk part is only done when using the --enable-vtk
1559         at configure (or autogen.sh) stage.
1560
1561 2003-04-16  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1562       * More memory link related corrections and documentation fixes.
1563         Notes on valgrind:
1564           - maximum info is obtained with a command of the form:
1565             valgrind --leak-check=yes --leak-resolution=high --num-callers=40
1566                      --show-reachable=yes PrintHeader
1567           - the remaining reachable blocks seem to come from the STL
1568             allocation scheme through the usage of map and list. It looks
1569             like this memory cannot be freed but it is not a memory leak
1570             (in fact further invocation to the STL would recollect the
1571              unused memory allthough it cannot explicitely be freed).
1572       * gdcmPython/demo/vtkGdcmDemo.py added: this is a small demo
1573         of displaying an image parsed with gdcm and displayed with VTK.
1574         Note: some images don't seem to work e.g.
1575             python vtkGdcmDemo.py  ../../Data/US-RGB-8-esopecho.dcm
1576       * src/gdcmHeader.x: dicom_vr and Dicts are not class members anymore.
1577         Allthough this weakens the semantics, it is a ditch attempt to
1578         make gdcm more thread friendly.
1579
1580 2003-04-15  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1581       * Memory link hunt (by using valgrind through the command
1582           valgrind --show-reachable=yes --leak-check=yes PrintHeader).
1583         - added src/gdcmVR.cxx gdcmVR.h that objectify the previous
1584           gdcmHeader::_dicom_vr.
1585         - gdcmHeader::InitVRDict transfered as gdcmVR::gdcmVR().
1586         - gdcmHeader::dicom_vr is now of type gdcmVR* as opposed to
1587           VRHT*.
1588         - gdcmGlobal global object contained class added (see src/gdcmUtil.x)
1589
1590 2003-04-9  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1591       * src/Makefile.am now exports all the necessary include files at
1592         make install stage.
1593
1594 2003-04-9 JPR
1595       * UpdateGroupLength replaced by new one
1596
1597 2003-04-7 JPR
1598       * UpdateGroupLength re-written using H-Table
1599         (named UpdateGroupLengthNew untill checks are over)
1600
1601 2003-04-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1602       * Data/im_00001 renamed to gdcm-MR-PHILIPS-16-Multi-Seq.dcm
1603       * gdcmPython/testSuite.py now include a test of gdcmFile::Write.
1604       * src:
1605         - gdcmHeader::GetPubElValSet removed.
1606         - gdcmElValSet::WriteDcm, WriteAcr, WriteExplVR, revamped to
1607           UpdateGroupLength, WriteElements, Write.
1608         - gdcmHeader::FileType moved to gdcmCommon.h. The enum FileType
1609           doesn't contain TrueDicom anymore since ExplicitVR and ImplicitVR
1610           carried the same semantics.
1611           - src/gdcmHeaderIdo.cxx changed accordingly.
1612         - gdcmFile::WriteBase now regroups all the codes from previous
1613           versions of WriteDcm, WriteDcmImplVR, and WriteACR.
1614         - enum FileType moved to gdcmCommon.h
1615       * src/gdcmHeader.cxx AddDefault trashed
1616       * gdcmGetXSize added
1617       * getimageDataSize now calls gdcmGetXSize
1618       * Test/*.cxx changed to agree with above changes
1619
1620 2003-03-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1621       * src/gdcmHeader.h: LoadElements() is not a public method anymore
1622         (to avoid double call by end user).
1623       * Test/*.cxx LoadElements() doesn't need to be called explicitely
1624         by end user, since gdcmHeader::gdcmHeader now handles it.
1625
1626 2003-03-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1627       * gdcm/Doc many doxygen changes:
1628         - Doxyfile now has two different versions, DoxyfileUsers that generates
1629           the html.users end users oriented documentation and
1630           DoxyfileDeveloppers that generates the html.developper developper
1631           oriented documentation.
1632         - README changed accordingly
1633         - requirement.txt removed (old design info moved to TODO).
1634         - Additional files DoxyInstallation.txt, DoxyIntroduction.txt,
1635           DoxyMainPage.txt, DoxyPython.txt provide more information.
1636         - Note: the website http://www.creatis.insa-lyon.fr/Public/Gdcm/ can now
1637           be updated by simply regenerating the docs with doxygen and copying
1638           html.developper and html.users to tux:/home/httpd/html/Public/Gdcm
1639       * src/gdcmElValSet.cxx: stl <map>.count() can only return 0 or 1. Hence
1640         all the tests in the form "if (<map>.count() >1)" were removed.
1641       * src/gdcmFile.cxx: cosmetic changes to avoid messages of doxygen about
1642         ill-formed documentation sections.
1643       * src/gdcmHeader.cxx: ditto
1644
1645 2003-03-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1646       * setup.py fixed for un*x (needed macro for stdint.h)
1647       * Test/test.cxx renamed to PrintHeader.cxx to avoid collision on
1648         un*ces with sh-utils test utility.
1649       * gdcmPython/demo/test.py renamed to PrintHeader.py
1650       * gdcmPython/demo/ReorganiseFiles.py new demo script added.
1651       * gdcmPython/win32/gdcmpycomplet.dsp renamed to gdcmpyembedded.dsp.
1652       * gdcmPython/win32/gdcmpy.dsp trashed away (brain damaged).
1653       * src/gdcm*.cxx JPR's bad inclusion fixed.
1654
1655 2003-03-26 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1656       * src/gdcmHeader[h, cxx] gdcmHeader now has an IsReadable predicate.
1657       * gdcmPython/demo/test.py changed accordingly.
1658
1659 2003-03-25 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1660       * gdcmPython/Makefile.am fixed linking against libstdc++
1661       * gdcmPython/_gdcm.so symbolic link to gdcmPython/.libs/pygdcm.so added.
1662       * Swig subdir (historical tests of swig version 1.3.17++) removed
1663       * Test/testChangeEntete.cxx some lines commented out in order to make
1664         compilation work.
1665       * src/gdcmHeader.cxx cleaned up wild JPR's dirty kludge.
1666       * src/gdcmElValSet.cxx cleaned up frog's forgotten debug message
1667
1668 2003-03-24 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1669       * src/gdcmHeader.cxx gdcmHeader::gdcmHeader now calls LoadElements(),
1670         hence the user doesn't need this explicit call.
1671         - gdcmPython/testSuite.py, gdcmPython/demo/*.py changed accordingly
1672           i.e. LoadElements() call removed.
1673       * src/gdcmCommon.h now defines UINT32_MAX (see stdint.h).
1674         - src/Makefile.am declares the proper flag for g++.
1675       * src/gdcmElValSet.h added gdcmElValSet::GenerateFreeTagKeyInGroup
1676         for adding user defined new tags.
1677         - src/gdcmHeader.cxx gdcmHeader::NewManualElValToPubDict added.
1678         - src/gdcmHeader.cxx gdcmHeader::AddAndDefaultElements now
1679           cleanly adds some gdcm added tags (like gdcmXSize, gdcmYSize...)
1680
1681 2003-03-17 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
1682       * Makefile.am, acinclude.m4, configure.in, python.m4, Dicts/Makefile.am,
1683         Doc/Makefile.am, Test/Makefile.am, gdcmPython/Makefile.am,
1684         src/Makefile.am : the project should properly compile and install
1685         with the autotools, included the python wrappers part.
1686       * gdcm.spec.in : added a spec file for RPM packaging.
1687
1688 2003-03-14 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1689       * src/gdcmUtils.cxx : redifinition of defaults parameters in code
1690
1691 2003-03-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1692       * gdcmPython/__init__.py fix of GDCM_DICT_PATH which was not
1693         to exported to the environement (see gdcmPython/testSuite.py
1694         for usage).
1695       * src/gdcmElValSet.[cxx/h], gdcmElValue.[cxx/h], gdcmFile.[cxx/h],
1696         gdcmHeader.[cxx/h]: ElValSet class renamed to gdcmElValSet, and
1697         ElValue class renamed to gdcmElValue for obvious consistency reasons.
1698       * src/gdcmElValSet.cxx, src/gdcmUtil.[cxx-h] Tokenize utility function
1699         moved away from gdcmElValSet.cxx to gdcmUtil.cxx.
1700
1701 2003-03-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1702       * gdcmPython/__init__.py doesn't crash anymore when running in
1703         in InstallMode or PreInstallMode but with an environement given
1704         value of GDCM_DICT_PATH.
1705       * src/gdcmDictSet.[cxx/h] coding style.
1706
1707 2003-03-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1708       * src/gdcmHeader.h and gdcmHeader.cxx Coding style + doxigenation.
1709       * src/gdcm.h general comments moved to TODO, and README
1710       * src/gdcm.h should now be seen as a user commodity (including it
1711         should suffice to fully use gdcm). It is nowhere including within
1712         any of the kernel files src/*.cxx and src/*.h.
1713
1714 2003-03-05 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1715       * src/gdcm.h splitted in gdcmCommon.h, gdcmDict.h, gdcmDictEntry.h,
1716         gdcmDictSet.h, gdcmElValSet.h, gdcmElValue.h, gdcmFile.h,
1717         gdcmHeader.h
1718       * src/gdcm*.cxx only include their corresponding include file
1719         (as opposed to gdcm.h)
1720       * gdcmPython/gdcm.i changed accordingly
1721       * Test/Makefile.am corrected and added NEWS, AUTHORS in order for
1722         the autogen.sh generated "make snapshot" command to work.
1723       * autogen.sh removed history related references to crea package.
1724
1725 2003-03-04 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1726       * distutilsSwigCPlusPlus.py work around some swig portability
1727         bug.
1728
1729 2003-03-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1730       * Eventually, python/gdcmPython was renamed to gdcmPython. This
1731         was done in a last ditch attempt to get setup.py _really_
1732         operationnal. The python/gdcmPython layaout add the advantage
1733         of hidding away the python related distutils specific files
1734         (MANIFEST.in, setup.py, distutils*.py...) from the main directory.
1735         Alas, the src directory was out of scope (i.e. it's relative
1736         position to setup.py was ../src) which made things impossible to
1737         handle (see previous version of python/setup.py). Crossing fingers...
1738
1739 2003-02-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1740       * python/setup.py now works on Un*x. (harder than I thougth)
1741       * python/distutilsSwigCPlusPlus.py can now have include files
1742         among the list of sources.
1743
1744 2003-02-20 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1745       * src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
1746       * modifications in MSVC projects
1747
1748 2003-02-19 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1749       * As stated by the first lines of Test/ExceptionAndPython/README, it
1750         looks like we can move back to original usage of exception within
1751         src/gdcm* and hence remove the errno stuff that was introduced
1752         as a quick and dirty fixture of this problem (added to the TODO).
1753       * Doc/Doxyfile configuration file for Doxygen and corresponding
1754         README file for usage added.
1755       * Test/testWrite.cxx added. This new test comes from a split of
1756         test.cxx that is now reverted to its original purpous i.e.
1757         testing the proper parsing of a Dicom related file.
1758         testWrite.cxx concentrates on testing the IO part of gdcm.
1759       * Test/bug1.cxx (containing a bug on WIn32) added.
1760       * src/gdcm.h, gdcmHeader.cxx, gdcmDictSet.cxx:
1761         - gdcmHeader::GetPubTagNames and  gdcmHeader::GetPubTagNamesByCategory
1762           whose purpose is to publish the content of the TagNames of the
1763           Dicom public dictionnary were not accessible without an
1764           instance of class gdcmHeader.
1765         - those methods are now static methods of gdcmDictSet and hence
1766           require no instances at all to be invocated.
1767         - within gdcmDictSet this change required to change some method
1768           to class methods (i.e. are now static) among which SetDictPath
1769           (renamed to BuildDictPath) and LoadDefaultPubDict.
1770       * python/gdcmPython/demo/printGroupedPublicDict.py changed to illustrate
1771         the above changes by calling the new method classes of gdcmDictSet.
1772       * python/gdcmPython/__init__.py now exposes gdcm.gdcmDictSet for
1773         the above to be effective.
1774       * python/gdcmPython: in order to wrap properly the above changes
1775         for Python, swig version now needs to be > 1.3.17.
1776       * python/gdcmPython/Makefile fixed to adapt itself to new
1777         configure/make shema introduced by Johan Montagnat (thanks for the
1778         contribution). Alas this Makefile cannot be turned into a proper
1779         Makefile.am without some heavy changes in the configure.in
1780         (for python dectection).
1781       * python/gdcmPython/gdcm.i: the out typemap map<string, list<string>>*
1782         now avoids publishing the empty entries.
1783
1784 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1785       * python/setup.py : bug fix concerning install under windows
1786         ExtraPath reused :-P
1787       * gdcm.dsw : bug fix concerning path for libraries for python !!!
1788
1789 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1790       * Dicts/dicomV3.dic : remove double spaces !!!
1791       * src/gdcmElValSet.cxx : bug fix concerning windows compiler
1792       * python/gdcmPython/win32/gdcmpycomplet.dsp : bug fix concerning paths
1793         and links
1794
1795 2003-01-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1796       * src/gdcmHeader.cxx added a post header parsing AddAndDefaultElements
1797         method. Doxygenation.
1798       * src/gdcm.h clean up of JPR spurious comments.
1799
1800 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1801       * python/distutilsSwigCPlusPlus.py now properly collects the
1802         shadow classes generated by "swig -c++" (gdcm.py in our case)
1803         when using "python setup.py install".
1804       * python/gdcmPython/__init__.py imports gdcm.py and only manually
1805         reexports the working classes.
1806       * src/gdcmHeader.cxx all the try/catch/throw calls were replaced
1807         by the classical C errno scheme. This is to prevent an obscure
1808         behavior of the python wrappers when importing wxPython.wx prior
1809         to gdcmPython (which ended up in an abort call). An illustration
1810         of this oddity can be found in the Test/ExceptionAndPython
1811         subdir (see the README file). This problem probably due to
1812         an combination of g++ and dynamic loading.
1813       * added Test/ExceptionAndPython (see above)
1814
1815 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1816       * Changed the layout of the python part to avoid bloating main
1817         directory with setup.py, distutilsSwigCPlusPlus.py, MANIFEST.in
1818         i.e. the distutils arsenal. All the python related stuff is
1819         again in a python subdir, but the package itself is now in
1820         python/gdcmPython.
1821       * setup.py was cleaned up:
1822         - pythonIncludePath removed
1823         - python setup.py bdist target is now functional.
1824       * gdcmPython/__init__.py doesn't export FileName any more (to avoid
1825         collision with other packages). gdcmPython/demo/*.py changed
1826         accordingly.
1827
1828 2003-01-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1829       * python subdir moved to gdcmPython (preparation of distutils packaging).
1830       * gdcmPython/setup.py and distutilsSwigCPlusPlus.py added. The
1831         distutils installer is operational.
1832       * - gdcmPython/__init__.py now properly loads the swig generated
1833           shadow classes (from gdcm.py).
1834         - gdcmPython/demo/*.py changed to import the package gdcmPython
1835           instead of gdcmPython/demo/load.py.
1836         - gdcmPython/testSuite.py changed to import the package gdcmPython.
1837
1838 2002-12-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1839       * src/gdcm.h, src/gdcmHeader.cxx: added GetPubTagNames() resp.
1840         GetPubTagNamesByCategory() to gdcmHeader that return a list of the
1841         entries within the associated public Dicom dictionary resp. the same
1842         information but sorted by the fourth field (PAT, IMG, DIR) of the
1843         dictionary.
1844         - Dicts/dicomV3.dic Entries which had and unspecified fourth field
1845           are now in the "???" group.
1846         - python/gdcm.i changed accordingly,
1847         - python/demo/printGroupedPublicDict.py added, that gives an example
1848           of the above new functionalities in Python.
1849
1850 2002-12-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1851       * src/gdcm.h, gdcmHeader.cxx:
1852         - historic references to glib's g_malloc and g_free (#defined)
1853           were definitively removed.
1854         - gdcm.h: cosmetic changes (part of comments moved to Doc/requirements)
1855       * src/gdcmElValSet.cxx:
1856         - GetElement(guint32, guint32) renamed to GetElementByNumber.
1857         - GetElValue(guint32, guint32) renamed to GetElValueByNumber.
1858         - GetElValue(string) renamed to GetElValueByName.
1859         - Added GetElementByName(string).
1860       * src/gdcmHeader.cxx: added
1861         - GetPubElValRepByNumber(guint16, guint16)
1862         - GetPubElValRepByName(string)
1863         - GetShaElValRepByNumber(guint16, guint16)
1864         - GetShaElValRepByName(string)
1865         - GetShaElValByNumber(guint16, guint16)
1866         - GetShaElValRepByName(string)
1867         - GetElValRepByNumber(guint16, guint16)
1868         - GetElValRepByName(string)
1869         - GetElValByNumber(guint16, guint16)
1870         - GetElValRepByName(string)
1871       * Doc/requirements.txt added.
1872
1873 2002-12-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1874       * Test/Makefile building now depends on the one of libgdcm.so
1875       * src/gdcmHeader.cxx and gdcm.h are now OB (undefined length encoded
1876         pixel data) aware which enables finding the address (offset) of
1877         the pixel data of JPEG encoded DICOM files. This leaves only a single
1878         file in the testSuite whose pixel data address (offset) is unknown.
1879       * python/testSuite.py changed accordingly.
1880
1881 2002-12-6 Christophe Odet + Hugues Benoit-Cattin + Eric.Boix
1882       * VC++ has some strong limitations when working with the STL, as stated
1883         in http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP :
1884              "Also note that some STL containers (map, set, queue, list, deque)
1885               cannot be exported. [...]
1886               Some STL classes contain nested classes. These classes can not
1887               be exported. [...]
1888               This is caused by a designed limitation that once a template
1889               class is instantiated, it can not be re-instantiated and
1890               exported."
1891         Since our usage of map<> is ubiquitous in gdcm, this "designed
1892         limitation" of VC++ is a pitfall.
1893         Hence the Python wrappers of gdcm cannot be incrementally linked
1894         against the c++ dynamic library. The dirty but only workaround is
1895         to forget about incremental link of dynamic libraries and to generate
1896         the Python wrappers library with the inclusions of the underlying C++
1897         library.
1898         The following modifications concern this matter on Win32/VC++:
1899       - wrapping python correct with standalone wrapped dll (don't use separate
1900          dll under windows !!!!)
1901       - python21_d debug mode enabled (ask Frog how to use it :-)
1902       - NO problem with having an STL member of class for example string in C++
1903         WITH THE RESTRICTION OF FORGETING ABOUT INCREMENTAL LINK.
1904       - Python test of dcmlib in Python is ok under windows on a large set
1905         (one) of image(s).
1906       * removed glib references
1907       * typedef's inserted in gdcm.i for correct swig type management
1908
1909 2002-11-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1910       * python/demo/*.py load.py extracted from test.py. Added explore.py
1911         that only displays required tags and testAll.py that parses all
1912         the files of the testsuite without using unittest.
1913       * python/testSuite.py other additional test on new files added.
1914       * Data/* new test files added accordingly to the testSuite.
1915       * src/gdcmHeader.cxx avoid overwriting of the dictionary when
1916         the vr in the file differs from the one of the dictionary.
1917
1918 2002-11-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1919       * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
1920         values, but limits itself to values which are below a user specified
1921         size (by default 1024 bytes).
1922       * python/gdcm.i : elements not loaded (because their size is above the
1923         user specified treshold) are exported with their TagKey as key of the
1924         python dictionary. This enables the testsuite to make some checks
1925         on the unloaded elements (since we have their offset and size).
1926       * python/testSuite.py
1927         - now tests for the existence and proper value of the pixel data
1928         - two new examples added.
1929       * Data/gdcm-MR-SIEMENS-16.acr[12] added.
1930
1931 2002-11-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1932       * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
1933         aware. See the strategy comments in gdcmHeader::FindeLength().
1934       * Test/test.cxx now accepts a filename as first argument.
1935       * Data/US-PAL-8-10x-echo.dcm and US-RGB-8-epicard.dcm added.
1936       * python/testSuite.py changed to integrate test on above files.
1937
1938 2002-11-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1939       * Dicts/dicomV3.dic removed all the trailing (RET) when the
1940         the vr was also RET.
1941       * python/testSuite.py more tests added.
1942
1943 2002-11-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1944       * python/testSuite.py unittest test suite added (uses Data)
1945       * Data/* dcm and acr files for the test suite.
1946       * glib dependance removed from un*x version. We now use ISO C99
1947         7.18 Integer types (see stdint.h)
1948         - python/Makefile, src/Makefile src/gdcm.h
1949       * src/ when an explicit vr (like dicom files) suddenly poped an
1950         implicit element we use to mark the underlying DictEntry of the
1951         concerned ElValue with "Implicit". This strategy was damageable
1952         too the public or provite dictionaries, since some of their vr
1953         would be changed. Since Header::FindLength heavily relies on the
1954         detection by Header::FindVR of falsely explicit elements, I
1955         added an extra ImplicitVr member to ElValue (boolean).
1956         The rest of the changes we the necessary adaptations.
1957
1958 2002-11-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1959       * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
1960         VR files.
1961       * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.
1962
1963 2002-11-8 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1964       * Adaptation for porting to VC++:
1965         - src/gdcm.h
1966           o forced to use std namespace (for string to be known)
1967           o all class use __declspec export style on WIN32
1968         - src/gdcmUtil.cxx new Exit method that wraps the exit call
1969           (in stdlib.h on Win32 but in std:: for gcc)
1970       * src/gdcmDictSet::SetDictPath adds a trailing / to environement
1971         variable GDCM_DICT_PATH.
1972       * src/gdcmHeader.cxx verbose comments made discrete.
1973
1974 2002-11-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1975       * python/gdcm.i: added a typemap that converts a C++ hashing table
1976         to native Python dictionary.
1977       * python/demo/test.py:
1978         - now uses the native dictionary for exploration of gdcmHeader.
1979         - takes an optional filename argument (the file to parse).
1980       * src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
1981         PubElVals hashing table.
1982       * Dicts/dicomV3.dic removed error prone trailing spaces.
1983
1984 2002-11-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1985       * Python wrapping process moved away from src/Makefile to
1986         newly created python/Makefile (as well as gdcm.i)
1987       * python/demo/test.py (that mirrors Test/test.cxx) is effective.
1988       * src/gdcmHeader::FindLength only looks for current vr when necessary.
1989       * src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
1990         from the environement variable GDCM_DICT_PATH (when existing).
1991       * src/gdcmDict::GetTag bug fix.
1992
1993 2002-10-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1994       * Straightforward temporary fixes for swig to build the python wrappers.
1995         src/Makefile now has a python working entry [by working we mean
1996         that we can import de shadow classes without errors].
1997
1998 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1999       * hashtest.cxx removed (since allready in Test)
2000       * src/gdcmlib.h renamed to src/gdcm.h
2001       * src/dcm.i renamed to src/gdcm.i
2002       * src/Makefile prepared for python wrapping
2003
2004 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2005       * src/gdcmHeader.cxx :
2006         - Parsing of header is now separated from loading of element values
2007           (see gdcmHeader::LoadElements).
2008         - general clean up of hopefully all file access (creation of
2009           ReadInt16 and ReadInt32)
2010
2011 2002-10-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2012       * src/gdcmHeader.cxx :
2013         - RecupLgr renamed to FindLength and cut off with new IsAnInteger
2014           method.
2015         - SetLgrElem renamed to SetLength
2016         - GetLgrElem renamed to GetLength
2017         - ~gdcmHeader() made virtual to pesky warning messages at compile.
2018       * src/gdcmElValSet.cxx fixed both GetElValue methods
2019       * Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
2020         due to IdoDude was cleaned out.
2021
2022 2002-10-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2023       * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
2024         concentrates on finding the value representation (when it exists).
2025         RecupLgr now only finds the element value length, and it avoids
2026         returning the unecessary skL (skipped length).
2027         Also, offsetCourant was simply removed (with taille_fich) since
2028         it was redundant with the File position internals (by using
2029         ftell and fseek). This also made skL (see above in RecupLgr) usage
2030         jajun.
2031       * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
2032         on the libido specificities which are handled through class
2033         inheritance.
2034       * Test/implicit_vr.dcm dicom v3 in implicit value representation
2035         added.
2036
2037 2002-10-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2038       * Truckload of changes. Parsing of header is barely functional
2039         (see Test/test) with the standard dictionary (see Dicts/dicomV3.dic).
2040
2041 2002-10-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2042       * src/gdcmHeader.cxx many addons of low level methods
2043
2044 2002-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2045       * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
2046         and _IdDcmSWAP_LONG.
2047
2048 2002-09-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2049       * This corresponds to all the changes decided at the meeting of
2050         May 23 2002. Needless to say we are running late...
2051