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