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