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