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