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