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