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