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