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