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