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