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