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