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