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