1 2002-12-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2 * Test/Makefile building now depends on the one of libgdcm.so
3 * src/gdcmHeader.cxx and gdcm.h are now OB (undefined length encoded
4 pixel data) aware which enables finding the address (offset) of
5 the pixel data of JPEG encoded DICOM files. This leaves only a single
6 file in the testSuite whose pixel data address (offset) is unknown.
7 * python/testSuite.py changed accordingly.
9 2002-12-6 Christophe Odet + Hugues Benoit-Cattin + Eric.Boix
10 * VC++ has some strong limitations when working with the STL, as stated
11 in http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP :
12 "Also note that some STL containers (map, set, queue, list, deque)
13 cannot be exported. [...]
14 Some STL classes contain nested classes. These classes can not
16 This is caused by a designed limitation that once a template
17 class is instantiated, it can not be re-instantiated and
19 Since our usage of map<> is ubiquitous in gdcm, this "designed
20 limitation" of VC++ is a pitfall.
21 Hence the Python wrappers of gdcm cannot be incrementally linked
22 against the c++ dynamic library. The dirty but only workaround is
23 to forget about incremental link of dynamic libraries and to generate
24 the Python wrappers library with the inclusions of the underlying C++
26 The following modifications concern this matter on Win32/VC++:
27 - wrapping python correct with standalone wrapped dll (don't use separate
28 dll under windows !!!!)
29 - python21_d debug mode enabled (ask Frog how to use it :-)
30 - NO problem with having an STL member of class for example string in C++
31 WITH THE RESTRICTION OF FORGETING ABOUT INCREMENTAL LINK.
32 - Python test of dcmlib in Python is ok under windows on a large set
34 * removed glib references
35 * typedef's inserted in gdcm.i for correct swig type management
37 2002-11-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
38 * python/demo/*.py load.py extracted from test.py. Added explore.py
39 that only displays required tags and testAll.py that parses all
40 the files of the testsuite without using unittest.
41 * python/testSuite.py other additional test on new files added.
42 * Data/* new test files added accordingly to the testSuite.
43 * src/gdcmHeader.cxx avoid overwriting of the dictionary when
44 the vr in the file differs from the one of the dictionary.
46 2002-11-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
47 * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
48 values, but limits itself to values which are below a user specified
49 size (by default 1024 bytes).
50 * python/gdcm.i : elements not loaded (because their size is above the
51 user specified treshold) are exported with their TagKey as key of the
52 python dictionary. This enables the testsuite to make some checks
53 on the unloaded elements (since we have their offset and size).
55 - now tests for the existence and proper value of the pixel data
56 - two new examples added.
57 * Data/gdcm-MR-SIEMENS-16.acr[12] added.
59 2002-11-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
60 * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
61 aware. See the strategy comments in gdcmHeader::FindeLength().
62 * Test/test.cxx now accepts a filename as first argument.
63 * Data/US-PAL-8-10x-echo.dcm and US-RGB-8-epicard.dcm added.
64 * python/testSuite.py changed to integrate test on above files.
66 2002-11-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
67 * Dicts/dicomV3.dic removed all the trailing (RET) when the
69 * python/testSuite.py more tests added.
71 2002-11-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
72 * python/testSuite.py unittest test suite added (uses Data)
73 * Data/* dcm and acr files for the test suite.
74 * glib dependance removed from un*x version. We now use ISO C99
75 7.18 Integer types (see stdint.h)
76 - python/Makefile, src/Makefile src/gdcm.h
77 * src/ when an explicit vr (like dicom files) suddenly poped an
78 implicit element we use to mark the underlying DictEntry of the
79 concerned ElValue with "Implicit". This strategy was damageable
80 too the public or provite dictionaries, since some of their vr
81 would be changed. Since Header::FindLength heavily relies on the
82 detection by Header::FindVR of falsely explicit elements, I
83 added an extra ImplicitVr member to ElValue (boolean).
84 The rest of the changes we the necessary adaptations.
86 2002-11-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
87 * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
89 * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.
91 2002-11-8 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
92 * Adaptation for porting to VC++:
94 o forced to use std namespace (for string to be known)
95 o all class use __declspec export style on WIN32
96 - src/gdcmUtil.cxx new Exit method that wraps the exit call
97 (in stdlib.h on Win32 but in std:: for gcc)
98 * src/gdcmDictSet::SetDictPath adds a trailing / to environement
99 variable GDCM_DICT_PATH.
100 * src/gdcmHeader.cxx verbose comments made discrete.
102 2002-11-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
103 * python/gdcm.i: added a typemap that converts a C++ hashing table
104 to native Python dictionary.
105 * python/demo/test.py:
106 - now uses the native dictionary for exploration of gdcmHeader.
107 - takes an optional filename argument (the file to parse).
108 * src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
109 PubElVals hashing table.
110 * Dicts/dicomV3.dic removed error prone trailing spaces.
112 2002-11-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
113 * Python wrapping process moved away from src/Makefile to
114 newly created python/Makefile (as well as gdcm.i)
115 * python/demo/test.py (that mirrors Test/test.cxx) is effective.
116 * src/gdcmHeader::FindLength only looks for current vr when necessary.
117 * src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
118 from the environement variable GDCM_DICT_PATH (when existing).
119 * src/gdcmDict::GetTag bug fix.
121 2002-10-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
122 * Straightforward temporary fixes for swig to build the python wrappers.
123 src/Makefile now has a python working entry [by working we mean
124 that we can import de shadow classes without errors].
126 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
127 * hashtest.cxx removed (since allready in Test)
128 * src/gdcmlib.h renamed to src/gdcm.h
129 * src/dcm.i renamed to src/gdcm.i
130 * src/Makefile prepared for python wrapping
132 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
133 * src/gdcmHeader.cxx :
134 - Parsing of header is now separated from loading of element values
135 (see gdcmHeader::LoadElements).
136 - general clean up of hopefully all file access (creation of
137 ReadInt16 and ReadInt32)
139 2002-10-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
140 * src/gdcmHeader.cxx :
141 - RecupLgr renamed to FindLength and cut off with new IsAnInteger
143 - SetLgrElem renamed to SetLength
144 - GetLgrElem renamed to GetLength
145 - ~gdcmHeader() made virtual to pesky warning messages at compile.
146 * src/gdcmElValSet.cxx fixed both GetElValue methods
147 * Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
148 due to IdoDude was cleaned out.
150 2002-10-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
151 * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
152 concentrates on finding the value representation (when it exists).
153 RecupLgr now only finds the element value length, and it avoids
154 returning the unecessary skL (skipped length).
155 Also, offsetCourant was simply removed (with taille_fich) since
156 it was redundant with the File position internals (by using
157 ftell and fseek). This also made skL (see above in RecupLgr) usage
159 * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
160 on the libido specificities which are handled through class
162 * Test/implicit_vr.dcm dicom v3 in implicit value representation
165 2002-10-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
166 * Truckload of changes. Parsing of header is barely functional
167 (see Test/test) with the standard dictionary (see Dicts/dicomV3.dic).
169 2002-10-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
170 * src/gdcmHeader.cxx many addons of low level methods
172 2002-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
173 * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
176 2002-09-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
177 * This corresponds to all the changes decided at the meeting of
178 May 23 2002. Needless to say we are running late...