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