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