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