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