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