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