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