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