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