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