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