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