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