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