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.
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.
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
39 This is caused by a designed limitation that once a template
40 class is instantiated, it can not be re-instantiated and
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++
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
57 * removed glib references
58 * typedef's inserted in gdcm.i for correct swig type management
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.
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).
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.
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.
89 2002-11-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
90 * Dicts/dicomV3.dic removed all the trailing (RET) when the
92 * python/testSuite.py more tests added.
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.
109 2002-11-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
110 * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
112 * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.
114 2002-11-8 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
115 * Adaptation for porting to VC++:
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.
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.
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.
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].
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
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)
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
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.
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
182 * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
183 on the libido specificities which are handled through class
185 * Test/implicit_vr.dcm dicom v3 in implicit value representation
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).
192 2002-10-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
193 * src/gdcmHeader.cxx many addons of low level methods
195 2002-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
196 * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
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...