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