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