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