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