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