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