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