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