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