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