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