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