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