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