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