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