]> Creatis software - gdcm.git/blob - ChangeLog
f6c785a748e23d58f0f33d13e6eccea860747d14
[gdcm.git] / ChangeLog
1 2003-07-29 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
2       * src/gdcmHeader.h : add std:: prefix for stl elements... like others in
3         the file
4       * src/gdcmFile.cxx : bug fix in affectation type
5       * src/jpeg/libijpeg12/jmorecfg12.h : export for windows modified... like
6         in src/jpeg/libijpeg8/jmorecfg8.h (JPR : copy/paste exists !!!)
7       * Modifs of MVSC projects to compile them. Not concerning 2 identic
8         symbols... futur problem ?
9 2003-07-29  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
10       * src/win32/libgdcmijpeg12.dsp was missing
11       * modified gdcm.dsw accordingly
12 2003-07-28  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
13       * src/gdcmHeader.cxx : misplaced return 0.; for ACR/NEMA
14 2003-07-24 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
15       * src/jpeg/libijg12/.cvsignore, jconfig.* : ommited files while last
16         commit of JPR (before his hollidays to facilitate our work).
17       * setup.py : bug fix in code. Modifications made while the last commit
18         of JPR. The code hasn't been tested before the commit... it's so
19         useless to make that (for best programmer that is JPR) !!!
20 2003-07-08  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
21       * tagged the current version as Version0_3 (i.e. version 0.3)
22 2003-07-08  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
23       * vtk/testvtkGdcmReader.cxx : remove a symbol that is unused
24       * src/jpeg/libijg8/jmorecfg.h : adding export symbol for windows
25       * *.dsp : modifications to use new libgdcmijpeg8 library
26       * setup.py : bug fix on VTKPATH variable
27       * PACKAGER : adding all concerning windows
28 2003-07-07  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
29       * src/gdcmElValSet.cxx, gdcmFile.cxx: JPR bug fix, removal of
30         garbage debug code.
31       * TODO, vtk/vtkGdcmReader.cxx: upcoming fixes comments.
32       * gdcmPython/testSuite.py: JPR bug fix, brutal erasement of
33         test suite reported error.
34       * PACKAGER file added (describes what a packager must do when
35         packaging a new release).
36       * MANIFEST.in, now declares jconfig.linux and jconfig.vc
37       * configure.in: upgraded version number to 0.3.0
38       * fixing build of rpm (through rpm -ta):
39         - Doc/Makefile.am exports proper doxygen files
40         - src/jpeg/libijg8/Makefile.am exports the include files.
41 2003-07-07  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
42       * vtk/vtkGdcmReader.cxx : bug fix when loading only 1 file.
43       * src/gdcmHeader.h : formatting code
44 2003-07-07  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
45       * vtk/vtkGdcmReader.[cxx|h] : bug fix when loading only one file.
46         We were obtaining error message from vtk. Now, creation of file list
47         is made in an internal list to prevent this problem.
48         Bug fix when output is empty.
49         Bug fix in update of progress value. Previous commit for this was a bad
50         correction.
51       * vtk/vtkGdcmReader.h : adding comments for InternalFileNaleList variable
52 2003-07-04  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
53       * src/gdcmHeader.h : added method to get the file name
54       * vtk/vtkGdcmReader.[cxx|h] : bug fix concerning loading of bad dicom
55         files. Added method to remove all files on the input
56         Added FIXME comment concerning the bad parsing of header made by
57         ExecuteInformation method (in ExecuteData method)
58 2003-07-03  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
59       * vtk/Makefile.am: vtkGdcmReader.h should now be cleany installed
60         when using make instal.
61       * src/gdcmFile.cxx : bug fix under Window after JPR commit
62         RQ : the JPR doesn't appear in the ChangeLog... normal for him
63 2003-07-03  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
64       * setup.py : adding include dir of jpeg lib to compile all sources
65       * */Win32/*.dsp : JPR fix for windows compilation
66 2003-07-02  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
67       * src/jpeg/libijg8/jconfig.* : JPR bug fix : now compile on both
68         linux and WINDOWS !
69       * src/gdcmJpeg.cxx : JPR bug fix : erroneous include
70       * src/win32/gdcmdll.dsp : JPR fix for windows compilation
71 2003-07-02  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
72       * setup.py is again effective on un*x (takes into account the
73         addon of the jpeg library)
74       * Doc/DoxyDevelInstal.txt added (developper's raw documentation)
75       * Doc/Doxy* updated (includes above enhancements)
76       * INSTALL now points to web documentation
77 2003-07-01  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
78       * src/gdcmHeader.h doesn't make unnecessary reference to
79         gdcmUtil.h anymore.
80       * gdcmPython/Makefile.am now avoids calling the wrappers for the
81         clean target.
82       * src/gdcm*.[cxx|h] :
83         - to allow compilation with gcc 3.x
84           -- clean up of STL usage (added explicit usage of std::)
85           -- small fixes on exceptions.
86           Note: linking not tested !
87         - clean of doxygen comments to avoid warnings at documentation
88           building stage.
89       * vtk/vtkGdcmReader.cxx: g++ warning message clean up (platform
90         dependent convertion).
91 2003-06-20  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
92       * Clean up of previous JPR garbage commit (not even commented in the
93         Changelog):
94         - Test/Makefile.am removed the reference to unexisting testTS.cxx
95         - moved all jpeg related files from src to src/jpeg/libijg8, with
96           addition/modification of Makefile.am and configure.in.
97         - the testSuite is still brain damage (not guilty).
98 2003-06-02  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
99       * WrapVTK.py : modifications to get correctly vtk source files to 
100         compile
101       * vtk/vtkGdcmReader.cxx : modification for an already existing name
102         (FileName -> Filename)
103 2003-06-11  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
104       * vtk/vtkGdcmReader.[cxx/h]:
105         - UpdateProgress method should now be effective
106         - removed the limitation on having only images loaded (as opposed
107           to volumes),
108         - when building a stack of images/volume, a lesser number of
109           gdcmHeader and gdcmFile instances should be used (hopefully
110           accelerating things).
111         - when building a stack of images/volumes, files which are not
112           loadable (wrong path-filename, wrong permissions on existing file,
113           or file not parsable by gdcm) are replaced with a black image
114           in the stack (for the caller to notice the problem).
115 2003-06-03  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
116       * vtk/vtkGdcmReader.cxx: hopefully corrected Z extent.
117 2003-06-02  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
118       * vtk/vtkGdcmReader[cxx|h] : makes correct code to remove conflicts 
119         between standard library (std) and vtk library (problems are found
120         under Windows... thanks Windows !)
121 2003-05-30  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
122       * vtk/vtkGdcmReader[cxx|h] should now be volume aware (read ready for
123         debug stage).
124       * gdcmPython/demo/vtkGdcmReader.py: commented lines for volume test
125 2003-05-29  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
126       * vtk/vtkGdcmReader[cxx|h] preparation addons for loading volumes.
127 2003-05-28  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
128       * When compiling with distutils (see setup.py) the C++ compiler is
129         called with different flags than the default ones (with automake).
130         In order to fix all those warning, I compiled gdcm with the command
131            make 'CXXFLAGS=-Wall -Wstrict-prototypes -D__STDC_LIMIT_MACROS'
132         and went for warning fixes:
133         - src/gdcmHeader.cxx, Test/dcm2acr.cxx, pourFindTaggs.cxx cleaned
134           up from unused variables.
135         - vtk/vtkGdcmReader.cxx: potential bug fix.
136       * src/gdcmHeader.h: Doxygen warning cleanup
137 2003-05-27  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
138       * gdcmPython/gdcm.i:
139         - typemaps correction to take into account the systematic replacement
140           of "using namespace std" with std:: prefix e.g. std::list,
141           std::string... (cf changes of 2003-05-21).
142         - gdcmGlob global variable of type gdcmGlobal (defined in
143           src/gdcmUtil.cxx and declared in gdcmPython/gdcm.i) is now
144           exported to Python a as cvar.
145       * gdcmPython/__init__.py now defines two functions GetPubDictTagNames()
146         and GetPubDictTagNamesByCategory() as a replacement for deprecated
147         gdcmDictSet.GetPubDictTagNames() and
148         gdcmDictSet.GetPubDictTagNamesByCategory() class functions (i.e.
149         C++ static methods).
150       * gdcmPython/demo/printGroupedPublicDict.py is operational again,
151         with the above changes.
152 2003-05-22  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
153       * setup.py, manifest.in : bug fix under linux
154 2003-05-22  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
155       * Modification of setup.py to compile vtk part too. Then, we have 2
156         wrappers which must work with same distutils. For that, we have a
157         generic distutils in distusiltsWrapping.py ; with :
158          - build_extWrap class to wrap generically all extensions,
159          - ExtensionWrap base class for all wrapping extension that contains
160            a wrapper
161          - Wrapper interface which wrap sources
162         + In WrapSwig.py  we have extension and wrapper for Swig
163         + In WrapVTK.py  we have extension and wrapper for VTK
164       * MANIFEST.in : modifications to consider vtk directory and new python
165         files for compilation
166 2003-05-21  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with Benoit Regrain
167       * Added python wrappers of vtkGdcmReader vtk class (see the
168         source in vtk/vtkGdcmReader.cxx) :
169         - vtk/Makefile.am now builds a library
170         - gdcmPython/Makefile.am now builds vtkgdcmPython a second import
171           python library (as opposed to _gdcm.so wich are the python
172           wrappers of gdcm). vtkgdcmPython.so uses the vtk python wrappers
173           (vtkWrapPython and vtkWrapPythonInit utility) to build vtkgdcmPython
174           import library.
175         - configure.in has an additional flag --enable-vtk that needs
176           to be set to enable compilation of vtk related code, that is:
177           + vtk/vtkGdcmReader.so and
178           + vtk/testvtkGdcmReader C++ demo of vtk wrappers of gdcm)
179           + gdcmPython/vtkgdcmPython.so (see above)
180         - gdcmPython/demo/vtkGdcmDemo.py corrected (some images cannot
181           be read when compressed or when HighBit + 1 != BitsStored),
182         - gdcmPython/demo/vtkGdcmReader.py added. This demo illustrates
183           the usage of the python wrapper of vtkGdcmReader vtk class.
184       * vtk/vtkGdcmReader.cxx: bug fixed (thanks to Benoit Regrain).
185       * src/*.[h] all occurences of stl classes are now prefixed with
186         std::, and all occurences of "using namespace std;" where removed.
187         This is to avoid pollution of global namespace in included files.
188         Apparently vtk does not avoid this pitfall: when using both
189         gdcm and vtk (as in vtk/vtkGdcmReader.cxx) this ended up in a
190         collision of various stl members (principally cout...).
191       * gdcmPython/testSuite.py now cleanly removes temprory generated
192         file.
193       * gdcmPython/gdcm.i now declares a typemap for std::string (to
194          comply with above changes)
195 2003-05-12  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
196       * src/gdcmHeader>[h/cxx] added gdcmHeader::GetPixelSize()
197       * vtk/vtkGdcmReader.cxx now properly inports the image in the
198         vtk data structure (an image Flip was required).
199       * vtk/testvtkGdcmReader.cxx refers to gdcmData subdir instead of Data.
200       * cosmetic changes in documentation.
201 2003-05-7  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
202       * src/gdcmHeader.cxx: the constructor no longer exits when an
203         unexisting file is given as argument.
204       * The subdirectory Data (containing all the images used for the
205         test suite) is not part of this repository anymore. A new module
206         containing those images is now available at 
207           :pserver:xxx@cvs.creatis.insa-lyon.fr:2402/cvs/public
208         with the name gdcmData.
209         All the python scripts (including the package initialisation file
210         gdcmPython/__init__.py) were adapated to take this change into
211         account (basically GDCM_DATA_PATH is now GDCM_TEST_DATA_PATH).
212 2003-05-5  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
213       * vtk subdir added. Contains vtkGdcmReader.[cxx|h] a vtk class
214         inherinting from vtkImageReader and testvtkGdcmReader.cxx a small
215         demo of the usage of this class.
216         Compilation of this vtk part is only done when using the --enable-vtk
217         at configure (or autogen.sh) stage.
218 2003-04-16  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
219       * More memmory link related corrections and documentation fixes.
220         Notes on valgrind:
221           - maximum info is obtained with a command of the form:
222             valgrind --leak-check=yes --leak-resolution=high --num-callers=40
223                    --show-reachable=yes PrintHeader
224           - the remaining reachable blocks seem to come from the STL
225             allocation scheme through the usage of map and list. It looks 
226             like this memory cannot be freed but it is not a memory leak
227             (in fact further invocation to the STL would recollect the
228              unused memory allthough it cannot explicitely be freed).
229       * gdcmPython/demo/vtkGdcmDemo.py added: this is a small demo
230         of displaying an image parsed with gdcm and displayed with VTK.
231         Note: some images don't seem to work e.g.
232             python vtkGdcmDemo.py  ../../Data/US-RGB-8-esopecho.dcm
233       * src/gdcmHeader.x: dicom_vr and Dicts are not class members anymore.
234         Allthough this weakens the semantics, it is a ditch attempt to
235         make gdcm more thread friendly.
236 2003-04-15  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
237       * Memory link hunt (by using valgrind through the command
238           valgrind --show-reachable=yes --leak-check=yes PrintHeader).
239         - added src/gdcmVR.cxx gdcmVR.h that objectify the previous
240           gdcmHeader::_dicom_vr.
241         - gdcmHeader::InitVRDict transfered as gdcmVR::gdcmVR().
242         - gdcmHeader::dicom_vr is now of type gdcmVR* as opposed to
243           VRHT*.
244         - gdcmGlobal global object contained class added (see src/gdcmUtil.x)
245 2003-04-9  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
246       * src/Makefile.am now exports all the necessary include files at
247         make install stage.
248 2003-04-9 JPR
249       * UpdateGroupLength replaced by new one
250 2003-04-7 JPR
251       * UpdateGroupLength re-written using H-Table
252         (named UpdateGroupLengthNew untill checks are over)
253       
254 2003-04-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
255       * Data/im_00001 renamed to gdcm-MR-PHILIPS-16-Multi-Seq.dcm
256       * gdcmPython/testSuite.py now include a test of gdcmFile::Write.
257       * src:
258         - gdcmHeader::GetPubElValSet removed.
259         - gdcmElValSet::WriteDcm, WriteAcr, WriteExplVR, revamped to
260           UpdateGroupLength, WriteElements, Write.
261         - gdcmHeader::FileType moved to gdcmCommon.h. The enum FileType
262           doesn't contain TrueDicom anymore since ExplicitVR and ImplicitVR
263           carried the same semantics.
264           - src/gdcmHeaderIdo.cxx changed accordingly.
265         - gdcmFile::WriteBase now regroups all the codes from previous
266           versions of WriteDcm, WriteDcmImplVR, and WriteACR.
267         - enum FileType moved to gdcmCommon.h
268       * src/gdcmHeader.cxx AddDefault trashed
269       * gdcmGetXSize added
270       * getimageDataSize now calls gdcmGetXSize
271       * Test/*.cxx changed to agree with above changes
272 2003-03-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
273       * src/gdcmHeader.h: LoadElements() is not a public method anymore
274         (to avoid double call by end user).
275       * Test/*.cxx LoadElements() doesn't need to be called explicitely
276         by end user, since gdcmHeader::gdcmHeader now handles it.
277 2003-03-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
278       * gdcm/Doc many doxygen changes:
279         - Doxyfile now has two different versions, DoxyfileUsers that generates
280           the html.users end users oriented documentation and
281           DoxyfileDeveloppers that generates the html.developper developper
282           oriented documentation.
283         - README changed accordingly
284         - requirement.txt removed (old design info moved to TODO).
285         - Additional files DoxyInstallation.txt, DoxyIntroduction.txt,
286           DoxyMainPage.txt, DoxyPython.txt provide more information.
287         - Note: the website http://www.creatis.insa-lyon.fr/Public/Gdcm/ can now
288           be updated by simply regenerating the docs with doxygen and copying 
289           html.developper and html.users to tux:/home/httpd/html/Public/Gdcm
290       * src/gdcmElValSet.cxx: stl <map>.count() can only return 0 or 1. Hence
291         all the tests in the form "if (<map>.count() >1)" were removed.
292       * src/gdcmFile.cxx: cosmetic changes to avoid messages of doxygen about
293         ill-formed documentation sections.
294       * src/gdcmHeader.cxx: ditto
295 2003-03-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
296       * setup.py fixed for un*x (needed macro for stdint.h)
297       * Test/test.cxx renamed to PrintHeader.cxx to avoid collision on
298         un*ces with sh-utils test utility.
299       * gdcmPython/demo/test.py renamed to PrintHeader.py
300       * gdcmPython/demo/ReorganiseFiles.py new demo script added.
301       * gdcmPython/win32/gdcmpycomplet.dsp renamed to gdcmpyembedded.dsp.
302       * gdcmPython/win32/gdcmpy.dsp trashed away (brain damaged).
303       * src/gdcm*.cxx JPR's bad inclusion fixed.
304 2003-03-26 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
305       * src/gdcmHeader[h, cxx] gdcmHeader now has an IsReadable predicate.
306       * gdcmPython/demo/test.py changed accordingly.
307 2003-03-25 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
308       * gdcmPython/Makefile.am fixed linking against libstdc++
309       * gdcmPython/_gdcm.so symbolic link to gdcmPython/.libs/pygdcm.so added.
310       * Swig subdir (historical tests of swig version 1.3.17++) removed
311       * Test/testChangeEntete.cxx some lines commented out in order to make
312         compilation work.
313       * src/gdcmHeader.cxx cleaned up wild JPR's dirty kludge.
314       * src/gdcmElValSet.cxx cleaned up frog's forgotten debug message
315 2003-03-24 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
316       * src/gdcmHeader.cxx gdcmHeader::gdcmHeader now calls LoadElements(),
317         hence the user doesn't need this explicit call.
318         - gdcmPython/testSuite.py, gdcmPython/demo/*.py changed accordingly
319           i.e. LoadElements() call removed.
320       * src/gdcmCommon.h now defines UINT32_MAX (see stdint.h).
321         - src/Makefile.am declares the proper flag for g++.
322       * src/gdcmElValSet.h added gdcmElValSet::GenerateFreeTagKeyInGroup
323         for adding user defined new tags.
324         - src/gdcmHeader.cxx gdcmHeader::NewManualElValToPubDict added.
325         - src/gdcmHeader.cxx gdcmHeader::AddAndDefaultElements now
326           cleanly adds some gdcm added tags (like gdcmXSize, gdcmYSize...)
327 2003-03-17 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
328       * Makefile.am, acinclude.m4, configure.in, python.m4, Dicts/Makefile.am,
329    Doc/Makefile.am, Test/Makefile.am, gdcmPython/Makefile.am, 
330    src/Makefile.am : the project should properly compile and install
331    with the autotools, included the python wrappers part. 
332       * gdcm.spec.in : added a spec file for RPM packaging.
333 2003-03-14 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
334       * src/gdcmUtils.cxx : redifinition of defaults parameters in code
335 2003-03-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
336       * gdcmPython/__init__.py fix of GDCM_DICT_PATH which was not
337         to exported to the environement (see gdcmPython/testSuite.py
338         for usage).
339       * src/gdcmElValSet.[cxx/h], gdcmElValue.[cxx/h], gdcmFile.[cxx/h],
340         gdcmHeader.[cxx/h]: ElValSet class renamed to gdcmElValSet, and
341         ElValue class renamed to gdcmElValue for obvious consistency reasons.
342       * src/gdcmElValSet.cxx, src/gdcmUtil.[cxx-h] Tokenize utility function
343         moved away from gdcmElValSet.cxx to gdcmUtil.cxx.
344 2003-03-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
345       * gdcmPython/__init__.py doesn't crash anymore when running in
346         in InstallMode or PreInstallMode but with an environement given
347         value of GDCM_DICT_PATH.
348       * src/gdcmDictSet.[cxx/h] coding style.
349 2003-03-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
350       * src/gdcmHeader.h and gdcmHeader.cxx Coding style + doxigenation.
351       * src/gdcm.h general comments moved to TODO, and README
352       * src/gdcm.h should now be seen as a user commodity (including it
353         should suffice to fully use gdcm). It is nowhere including within
354         any of the kernel files src/*.cxx and src/*.h.
355 2003-03-05 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
356       * src/gdcm.h splitted in gdcmCommon.h, gdcmDict.h, gdcmDictEntry.h,
357         gdcmDictSet.h, gdcmElValSet.h, gdcmElValue.h, gdcmFile.h,
358         gdcmHeader.h
359       * src/gdcm*.cxx only include their corresponding include file
360         (as opposed to gdcm.h)
361       * gdcmPython/gdcm.i changed accordingly
362       * Test/Makefile.am corrected and added NEWS, AUTHORS in order for
363         the autogen.sh generated "make snapshot" command to work.
364       * autogen.sh removed history related references to crea package.
365 2003-03-04 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
366       * distutilsSwigCPlusPlus.py work around some swig portability
367         bug.
368 2003-03-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
369       * Eventually, python/gdcmPython was renamed to gdcmPython. This
370         was done in a last ditch attempt to get setup.py _really_
371         operationnal. The python/gdcmPython layaout add the advantage
372         of hidding away the python related distutils specific files
373         (MANIFEST.in, setup.py, distutils*.py...) from the main directory.
374         Alas, the src directory was out of scope (i.e. it's relative
375         position to setup.py was ../src) which made things impossible to
376         handle (see previous version of python/setup.py). Crossing fingers...
377 2003-02-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
378       * python/setup.py now works on Un*x. (harder than I thougth)
379       * python/distutilsSwigCPlusPlus.py can now have include files
380         among the list of sources.
381       
382 2003-02-20 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
383       * src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
384       * modifications in MSVC projects
385 2003-02-19 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
386       * As stated by the first lines of Test/ExceptionAndPython/README, it
387         looks like we can move back to original usage of exception within
388         src/gdcm* and hence remove the errno stuff that was introduced
389         as a quick and dirty fixture of this problem (added to the TODO).
390       * Doc/Doxyfile configuration file for Doxygen and corresponding
391         README file for usage added.
392       * Test/testWrite.cxx added. This new test comes from a split of
393         test.cxx that is now reverted to its original purpous i.e. 
394         testing the proper parsing of a Dicom related file.
395         testWrite.cxx concentrates on testing the IO part of gdcm.
396       * Test/bug1.cxx (containing a bug on WIn32) added.
397       * src/gdcm.h, gdcmHeader.cxx, gdcmDictSet.cxx: 
398         - gdcmHeader::GetPubTagNames and  gdcmHeader::GetPubTagNamesByCategory
399           whose purpose is to publish the content of the TagNames of the
400           Dicom public dictionnary were not accessible without an
401           instance of class gdcmHeader.
402         - those methods are now static methods of gdcmDictSet and hence
403           require no instances at all to be invocated.
404         - within gdcmDictSet this change required to change some method
405           to class methods (i.e. are now static) among which SetDictPath
406           (renamed to BuildDictPath) and LoadDefaultPubDict.
407       * python/gdcmPython/demo/printGroupedPublicDict.py changed to illustrate
408         the above changes by calling the new method classes of gdcmDictSet.
409       * python/gdcmPython/__init__.py now exposes gdcm.gdcmDictSet for
410         the above to be effective.
411       * python/gdcmPython: in order to wrap properly the above changes
412         for Python, swig version now needs to be > 1.3.17.
413       * python/gdcmPython/Makefile fixed to adapt itself to new 
414         configure/make shema introduced by Johan Montagnat (thanks for the
415         contribution). Alas this Makefile cannot be turned into a proper
416         Makefile.am without some heavy changes in the configure.in
417         (for python dectection).
418       * python/gdcmPython/gdcm.i: the out typemap map<string, list<string>>*
419         now avoids publishing the empty entries.
420 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
421       * python/setup.py : bug fix concerning install under windows
422         ExtraPath reused :-P
423       * gdcm.dsw : bug fix concerning path for libraries for python !!!
424 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
425       * Dicts/dicomV3.dic : remove double spaces !!!
426       * src/gdcmElValSet.cxx : bug fix concerning windows compiler
427       * python/gdcmPython/win32/gdcmpycomplet.dsp : bug fix concerning paths
428         and links
429 2003-01-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
430       * src/gdcmHeader.cxx added a post header parsing AddAndDefaultElements
431         method. Doxygenation.
432       * src/gdcm.h clean up of JPR spurious comments.
433 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
434       * python/distutilsSwigCPlusPlus.py now properly collects the
435         shadow classes generated by "swig -c++" (gdcm.py in our case)
436         when using "python setup.py install".
437       * python/gdcmPython/__init__.py imports gdcm.py and only manually
438         reexports the working classes.
439       * src/gdcmHeader.cxx all the try/catch/throw calls were replaced
440         by the classical C errno scheme. This is to prevent an obscure
441         behavior of the python wrappers when importing wxPython.wx prior
442         to gdcmPython (which ended up in an abort call). An illustration
443         of this oddity can be found in the Test/ExceptionAndPython
444         subdir (see the README file). This problem probably due to
445         an combination of g++ and dynamic loading.
446       * added Test/ExceptionAndPython (see above)
447 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
448       * Changed the layout of the python part to avoid bloating main
449         directory with setup.py, distutilsSwigCPlusPlus.py, MANIFEST.in
450         i.e. the distutils arsenal. All the python related stuff is
451         again in a python subdir, but the package itself is now in
452         python/gdcmPython.
453       * setup.py was cleaned up:
454         - pythonIncludePath removed
455         - python setup.py bdist target is now functional.
456       * gdcmPython/__init__.py doesn't export FileName any more (to avoid
457         collision with other packages). gdcmPython/demo/*.py changed
458         accordingly.
459 2003-01-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
460       * python subdir moved to gdcmPython (preparation of distutils packaging).
461       * gdcmPython/setup.py and distutilsSwigCPlusPlus.py added. The
462         distutils installer is operational.
463       * - gdcmPython/__init__.py now properly loads the swig generated
464           shadow classes (from gdcm.py).
465         - gdcmPython/demo/*.py changed to import the package gdcmPython
466           instead of gdcmPython/demo/load.py.
467         - gdcmPython/testSuite.py changed to import the package gdcmPython.
468         
469 2002-12-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
470       * src/gdcm.h, src/gdcmHeader.cxx: added GetPubTagNames() resp.
471         GetPubTagNamesByCategory() to gdcmHeader that return a list of the
472         entries within the associated public Dicom dictionary resp. the same
473         information but sorted by the fourth field (PAT, IMG, DIR) of the
474         dictionary.
475         - Dicts/dicomV3.dic Entries which had and unspecified fourth field
476           are now in the "???" group.
477         - python/gdcm.i changed accordingly,
478         - python/demo/printGroupedPublicDict.py added, that gives an example
479           of the above new functionalities in Python.
480 2002-12-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
481       * src/gdcm.h, gdcmHeader.cxx:
482         - historic references to glib's g_malloc and g_free (#defined)
483           were definitively removed.
484         - gdcm.h: cosmetic changes (part of comments moved to Doc/requirements)
485       * src/gdcmElValSet.cxx:
486         - GetElement(guint32, guint32) renamed to GetElementByNumber.
487         - GetElValue(guint32, guint32) renamed to GetElValueByNumber.
488         - GetElValue(string) renamed to GetElValueByName.
489         - Added GetElementByName(string).
490       * src/gdcmHeader.cxx: added
491         - GetPubElValRepByNumber(guint16, guint16)
492         - GetPubElValRepByName(string)
493         - GetShaElValRepByNumber(guint16, guint16)
494         - GetShaElValRepByName(string)
495         - GetShaElValByNumber(guint16, guint16)
496         - GetShaElValRepByName(string)
497         - GetElValRepByNumber(guint16, guint16)
498         - GetElValRepByName(string)
499         - GetElValByNumber(guint16, guint16)
500         - GetElValRepByName(string)
501       * Doc/requirements.txt added.
502 2002-12-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
503       * Test/Makefile building now depends on the one of libgdcm.so
504       * src/gdcmHeader.cxx and gdcm.h are now OB (undefined length encoded
505         pixel data) aware which enables finding the address (offset) of 
506         the pixel data of JPEG encoded DICOM files. This leaves only a single
507         file in the testSuite whose pixel data address (offset) is unknown.
508       * python/testSuite.py changed accordingly.
509 2002-12-6 Christophe Odet + Hugues Benoit-Cattin + Eric.Boix
510       * VC++ has some strong limitations when working with the STL, as stated
511         in http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP :
512              "Also note that some STL containers (map, set, queue, list, deque)
513               cannot be exported. [...]
514               Some STL classes contain nested classes. These classes can not
515               be exported. [...]
516               This is caused by a designed limitation that once a template
517               class is instantiated, it can not be re-instantiated and
518               exported."
519         Since our usage of map<> is ubiquitous in gdcm, this "designed
520         limitation" of VC++ is a pitfall.
521         Hence the Python wrappers of gdcm cannot be incrementally linked 
522         against the c++ dynamic library. The dirty but only workaround is
523         to forget about incremental link of dynamic libraries and to generate
524         the Python wrappers library with the inclusions of the underlying C++
525         library. 
526         The following modifications concern this matter on Win32/VC++:
527       - wrapping python correct with standalone wrapped dll (don't use separate
528          dll under windows !!!!)
529       - python21_d debug mode enabled (ask Frog how to use it :-)
530       - NO problem with having an STL member of class for example string in C++
531         WITH THE RESTRICTION OF FORGETING ABOUT INCREMENTAL LINK.
532       - Python test of dcmlib in Python is ok under windows on a large set 
533         (one) of image(s).
534       * removed glib references
535       * typedef's inserted in gdcm.i for correct swig type management
536 2002-11-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
537       * python/demo/*.py load.py extracted from test.py. Added explore.py
538         that only displays required tags and testAll.py that parses all
539         the files of the testsuite without using unittest.
540       * python/testSuite.py other additional test on new files added.
541       * Data/* new test files added accordingly to the testSuite.
542       * src/gdcmHeader.cxx avoid overwriting of the dictionary when
543         the vr in the file differs from the one of the dictionary.
544 2002-11-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
545       * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
546         values, but limits itself to values which are below a user specified
547         size (by default 1024 bytes).
548       * python/gdcm.i : elements not loaded (because their size is above the
549         user specified treshold) are exported with their TagKey as key of the
550         python dictionary. This enables the testsuite to make some checks
551         on the unloaded elements (since we have their offset and size).
552       * python/testSuite.py
553         - now tests for the existence and proper value of the pixel data
554         - two new examples added.
555       * Data/gdcm-MR-SIEMENS-16.acr[12] added.
556 2002-11-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
557       * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
558         aware. See the strategy comments in gdcmHeader::FindeLength().
559       * Test/test.cxx now accepts a filename as first argument.
560       * Data/US-PAL-8-10x-echo.dcm and US-RGB-8-epicard.dcm added.
561       * python/testSuite.py changed to integrate test on above files.
562 2002-11-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
563       * Dicts/dicomV3.dic removed all the trailing (RET) when the
564         the vr was also RET.
565       * python/testSuite.py more tests added.
566 2002-11-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
567       * python/testSuite.py unittest test suite added (uses Data)
568       * Data/* dcm and acr files for the test suite.
569       * glib dependance removed from un*x version. We now use ISO C99
570         7.18 Integer types (see stdint.h)
571         - python/Makefile, src/Makefile src/gdcm.h
572       * src/ when an explicit vr (like dicom files) suddenly poped an
573         implicit element we use to mark the underlying DictEntry of the
574         concerned ElValue with "Implicit". This strategy was damageable
575         too the public or provite dictionaries, since some of their vr
576         would be changed. Since Header::FindLength heavily relies on the
577         detection by Header::FindVR of falsely explicit elements, I
578         added an extra ImplicitVr member to ElValue (boolean).
579         The rest of the changes we the necessary adaptations.
580 2002-11-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
581       * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
582         VR files.
583       * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.
584 2002-11-8 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
585       * Adaptation for porting to VC++:
586         - src/gdcm.h
587           o forced to use std namespace (for string to be known)
588           o all class use __declspec export style on WIN32
589         - src/gdcmUtil.cxx new Exit method that wraps the exit call
590           (in stdlib.h on Win32 but in std:: for gcc)
591       * src/gdcmDictSet::SetDictPath adds a trailing / to environement
592         variable GDCM_DICT_PATH.
593       * src/gdcmHeader.cxx verbose comments made discrete.
594 2002-11-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
595       * python/gdcm.i: added a typemap that converts a C++ hashing table
596         to native Python dictionary.
597       * python/demo/test.py:
598         - now uses the native dictionary for exploration of gdcmHeader.
599         - takes an optional filename argument (the file to parse).
600       * src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
601         PubElVals hashing table. 
602       * Dicts/dicomV3.dic removed error prone trailing spaces.
603 2002-11-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
604       * Python wrapping process moved away from src/Makefile to
605         newly created python/Makefile (as well as gdcm.i)
606       * python/demo/test.py (that mirrors Test/test.cxx) is effective.
607       * src/gdcmHeader::FindLength only looks for current vr when necessary.
608       * src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
609         from the environement variable GDCM_DICT_PATH (when existing).
610       * src/gdcmDict::GetTag bug fix.
611 2002-10-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
612       * Straightforward temporary fixes for swig to build the python wrappers.
613         src/Makefile now has a python working entry [by working we mean
614         that we can import de shadow classes without errors].
615 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
616       * hashtest.cxx removed (since allready in Test)
617       * src/gdcmlib.h renamed to src/gdcm.h
618       * src/dcm.i renamed to src/gdcm.i
619       * src/Makefile prepared for python wrapping
620 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
621       * src/gdcmHeader.cxx :
622         - Parsing of header is now separated from loading of element values
623           (see gdcmHeader::LoadElements).
624         - general clean up of hopefully all file access (creation of
625           ReadInt16 and ReadInt32)
626 2002-10-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
627       * src/gdcmHeader.cxx :
628         - RecupLgr renamed to FindLength and cut off with new IsAnInteger
629           method.
630         - SetLgrElem renamed to SetLength
631         - GetLgrElem renamed to GetLength
632         - ~gdcmHeader() made virtual to pesky warning messages at compile.
633       * src/gdcmElValSet.cxx fixed both GetElValue methods
634       * Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
635         due to IdoDude was cleaned out.
636 2002-10-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
637       * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
638         concentrates on finding the value representation (when it exists).
639         RecupLgr now only finds the element value length, and it avoids
640         returning the unecessary skL (skipped length).
641         Also, offsetCourant was simply removed (with taille_fich) since
642         it was redundant with the File position internals (by using
643         ftell and fseek). This also made skL (see above in RecupLgr) usage
644         jajun.
645       * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
646         on the libido specificities which are handled through class 
647         inheritance.
648       * Test/implicit_vr.dcm dicom v3 in implicit value representation
649         added. 
650 2002-10-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
651       * Truckload of changes. Parsing of header is barely functional
652         (see Test/test) with the standard dictionary (see Dicts/dicomV3.dic).
653 2002-10-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
654       * src/gdcmHeader.cxx many addons of low level methods
655 2002-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
656       * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
657         and _IdDcmSWAP_LONG.
658 2002-09-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
659       * This corresponds to all the changes decided at the meeting of
660         May 23 2002. Needless to say we are running late...
661