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