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