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