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