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