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