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