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