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