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