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