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