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