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