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