]> Creatis software - gdcm.git/blob - ChangeLog
* CLEANUP_ROUND (9) for gdcmPixelConvert
[gdcm.git] / ChangeLog
1 2004-10-08 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2   * src/gdcmCommon.h now declares int8_t for non stdint.h plateforms.
3   * CLEANUP_ROUND (7) for gdcmPixelConvert (lost at sea)
4     - src/gdcmFile.h gdcmPixelConvert.cxx gdcmPixelConvert.h gdcmRLE.cxx:
5       clean up of RLE related code. 
6   * CLEANUP_ROUND (8) for gdcmPixelConvert (end of RLE nigthmare)
7     - src/gdcmRLE.cxx removed
8     - src/gdcmPixelConvert.cxx all RLE code is now in PixelConvert::
9     - src/CMakeLists.txt gdcmFile.[cxx|h] changed accordingly
10     - src/gdcmRLEFrame*.h gdcmPixelConvert is now a friend class.
11   * CLEANUP_ROUND (9) for gdcmPixelConvert
12     - src/gdcmFile.[cxx|h} gdcmPixelConvert.[cxx|h], SwapZone(),
13       ConvertReorderEndianity(), ConvertDecmpres12BitsTo16Bits() moved
14       away from gdcmFile:: to gdcmPixelConvert::.
15       
16
17 2004-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
18   * CLEANUP_ROUND (5) for gdcmPixelConvert (Upshit creek without a paddle)
19     - src/gdcmDocument.[cxx|h] Parse7Fe0 renamed to ComputeRLEInfo.
20       This is because Parse7Fe0 used to parse the pixels to compute the
21       length. This task was passed over to FindDocEntryLengthOB() a long
22       time ago, EXCEPT I had forgotten the OW case...
23       Hence Parse7Fe0 was no longer necessary. When renaming to ComputeRLEInfo
24       we just recylce the code for parsing RLE fragments and computing
25       offsets.
26   * CLEANUP_ROUND (6) for gdcmPixelConvert (man, I need a paddle bad)
27     - src/gdcmRLE.cxx: is now much simpler and avoids code replication
28         with the retired Parse7Fe0().
29     - src/gdcmRLEFrame.h: type fix for properly computing OffSet[]
30     - src/gdcmDocument.cxx: segments offset are now correct + clean up.
31
32 2004-10-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
33   * CLEANUP_ROUND (3) for gdcmPixelConvert (nightmare stage)
34     - src/gdcmRLEFramesInfo.[cxx|h], gdcmRLEFrame.h added
35     - src/gdcmDocument.[cxx|h] ::Parse7FE0 now sets up the RLEInfo.
36     - src/CMakeLists.txt: alphabetic order reodering + new entries.
37   * CLEANUP_ROUND (4) for gdcmPixelConvert
38     - src/gdcmDocument.[cxx|h] ::ParseDES and ::ParseSQ no longer bother
39       to return an unused length.
40
41 2004-10-01 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
42   * Added documentation of vtkgdcmReader on Website:
43      - testvtkGdcmReader.cxx renamed to vtkGdcmDemo.cxx (to be compatible
44        with it's binary name).
45      - vtk/vtkGdcmDemo.cxx and vtkgdcmViewer.cxx: added comments for
46        the Website to be more complete.
47      - Doc/doxygen.config.in: vtk/vtkGdcmReader.cxx now appears on 
48        doxygenated documentation.
49      - Doc/DoxyVtkGdcmReaderExamples.txt added
50        (see http://www.creatis.insa-lyon.fr/Public/Gdcm/html.developper/
51                   DoxyVtkGdmReaderExamples.html )
52   * src/win32, vtk/win32 manually maintained .dsp and .dsw removed.
53   * CLEANUP_ROUND (3) for gdcmPixelConvert
54    - src/gdcmFile.cxx, gdcmFile.h splitting GetImageDataIntoVectorRaw
55
56 2004-09-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
57   * CLEANUP_ROUND (2) for gdcmPixelConvert
58    - src/gdcmFile.cxx, gdcmFile.h splitting GetImageDataIntoVectorRaw
59
60 2004-09-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
61   * CLEANUP_ROUND for gdcmPixelConvert:
62     - src/gdcmFile.cxx, gdcmFile.h, gdcmHeader.cxx, gdcmHeader.h clean up
63     - src/gdcmPixelStuff[h|cxx] removed
64     - src/gdcmPixelConvert[h|cxx] added. Preparatory work included.
65     - src/CMakeLists.txt changed accordingly
66   * GDCMHOME clean up:
67     - MANIFEST.in, WrapSwig.py, WrapVTK.py, distutilsWrapping.py and
68       gdcmVersion.py moved to newly created ATTIC related
69       gdcmPython/SetupOldies/ directory.
70   * Autotools clean up:
71     - */*/Makefile.am removed AT EXCEPTION of gdcmPython/Makefile.am
72     - autogen.sh configure.in acinclude.m4 python.m4 removed 
73
74 2004-09-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
75   * src/*.cxx *.h Reference to License.htm fixed to License.html.
76   * Doc/CMakeLists.txt, doxygen.config.in: fix.
77   * Doc/Website/ConformanceSummary.html, minimal conformance statement added.
78
79 2004-09-24 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
80   * TODO updated with Mathieu suggestions. I proposed a template for
81     describing TODO entries and used it for new entries.
82   * Added Doc/Website/CodingStyle.html, Developpers.html,
83     DeveloppersPython.html, GdcmDataCvs.html and
84     DownloadVersion0_1.html, DownloadVersion0_3.html.
85   * Some Doc/*.txt Doxygen files (which do not really concern the
86     documentation itself, but the website) moved to html and
87     placed in directory Doc/Website:
88     - Doc/DoxyDevelInstal.txt moved to Doc/Website/Developpers.html
89     - Doc/DoxyInstallation.txt moved to Doc/Website/Installation.html
90     - Doc/DoxyIntroduction.txt included in Doc/Website/Main.html
91   * Doc/DoxyfileDeveloppers, DoxyfileUsers, Makefile.am oldies removed.
92   * CMakeLists.txt changed accordingly.
93   * DEVELOPPER spread out in Doc/Website/Developpers.html, CodingStyle.html,
94     DeveloppersPython.html
95   * INSTALL nows refers to Doc/Website/Installation.html
96
97 2004-09-23 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
98   * Added Doc/Website directory, that contains a first raw version
99     of gdcm Web site.
100
101 2004-09-23 Jean-Pierre Roux
102   * FIX In order not to be poluted any longer by casting problems,
103     the member VoidArea of gdcmBinEntry is now uint8_t* (instead of void *)
104          we can now delete[] it safely  
105   * VoidArea is now called BinArea (less confusing name),
106     and all the methods called ...VoidArea... are now ... BinArea...
107   * class gdcmObject is now called gdcmDicomDirObject (less confusing name)
108
109 2004-09-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
110   * src/gdcmDocument.cxx: gdcmDocument::~gdcmDocument() doesn't clear (nor
111     clear) TagHT, which is an inherited member of gdcmElementSet. It is
112     up to the destructor of gdcmElementSet to clean up TagHt and it's
113     pointed content.
114
115 2004-09-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
116   * Test/CMakeLists.txt: update to follow gdcmData renamings.
117   * src/gdcmCommon.h, gdcmDocument.cxx: doxygen typos
118
119 2004-09-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
120   * ENH: added some utility method that builds a flat dictionnary
121     holding all the Dicom entries contained in the recursive structure
122     of a gdcmElementSet. Refer to add FlatHashTablePrint.cxx for 
123     an example of usage.
124     - src/gdcmDocument.[h|cxx] added BuildFlatHashTableRecurse() and
125       BuildFlatHashTable() that build a flat dictionary.
126     - src/gdcmElementSet.h: added a new private GetTag() accessor.
127       gdcmDocument is now a friend of gdcmElementSet.
128     - src/gdcmElementSet.cxx: clean up.
129     - Example/FlatHashTablePrint.cxx added.
130     - Example/CmakeLists.txt changed accordingly
131
132 2004-09-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
133   * gdcmDocEntrySet::SQDepthLevel and gdcmDocEntrySet::BaseTagKey attributes
134     moved away from gdcmDocEntrySet (since this class is an abstract class
135     acting like an interface). SQDepthLevel and BaseTagKey are now
136     in class 
137     - src/gdcmDocEntrySet.[h|cxx] removal of SQDepthLevel and BaseTagKey
138       and associated accessors. Doxygenation of the class.
139     - src/gdcmSQItem.[h|cxx] SQDepthLevel and BaseTagKey and associated
140       accessors added.
141     - src/gdcmSeqEntry.[h|cxx]: constructor doesn't handle depth anymore.
142       Use SQDepthLevel accessor instead. ::Print() adapted.
143     - src/gdcmElementSet.cxx changed according to changes in gdcmSeqEntry.
144     - src/gdcmDocument.cxx changed accordingly.
145
146 2004-09-13 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
147   * Preparation of writing a gdcmHeader iterator: generalisation of gdcmTagKey
148     - The following is the doxygen comment of the typedef declaration
149       of gdcmagKey in src/gdcmCommon.h:
150            gdcmTagKey is made to old an "universal" (as in URL, Universal
151            Ressource Locator)  key to a gdcmDocEntry i.e. a dicom tag.
152            A dicom tag allways has a group and an element, but a set of tags
153            embeded in various (optionally nested) sequences and sharing
154            the same group and element all share the same (group, element)
155            "identifier". Hence the (group, element) cannot be used as an
156            identifier (in gdcm we shall refer to a "TagKey") of a tag.
157            In order to construct a proper tag identifier (i.e. a key) we
158            consider the following definition of a TagKey:
159            - let Group, Element be the string representation of the
160              group and element dicom tag members,
161            - let ItemNumber be the string representation of the integer
162              index of the considered item number of a sequence,
163            Let the key of a tag embeded in a sequence, noted SeqTag, be
164            the form:
165               /ItemNumber#Group|Element
166            where "/", "#" and "|" are characters acting as separators.
167            Then the general form of a gdcmTagKey is given by:
168               Group|Element<SeqTag>
169            where <SeqTag> means NO or many instances of SeqTag.
170            Hence the gdcmTagKey of a tag not "leaving" in a sequence is the
171            string e.g.
172                0028|1201
173            but the gdcmTagKey of a tag "embeded" is the first item of
174            a sequence, itself nested in the third item of a sequence is the
175            string e.g.
176                0004|1220/2#0008|0082/0#0008|0090
177     - src/gdcmDocEntry.h: added a new Key (of type gdcmTagKey) member, in
178       order to hold the new sequence compatible key. Previously, the 
179       GetKey() method would look in the underlying gdcmDictEntry.
180     - src/gdcmDocEntry.cxx:
181       -- constructor now copies the underlying DictEntry key, in the local
182          Key member.
183       -- ::Print: displays the member Key, instead of the (group, element).
184     - src/gdcmCommon.h: added some comments on typedef gdcmTagKey.
185     - src/gdcmDocEntrySet.h:xi
186       -- ::ParseDES() now setups the gdcmTagKey of the sequence it is parsing.
187       -- now has a new BaseTagKey member.
188       -- STYLE.
189   * src/gdcmValEntry.[h|cxx], src/gdcmBinEntry.[h|cxx]: the member VoidArea,
190     previously a member of gdcmValEntry, moved to gdcmBinEntry were is
191     truly belongs.
192     This poses the problem with the semantics of the following lines
193        LoadEntryVoidArea(0x0028,0x1201);  // R    LUT
194        LoadEntryVoidArea(0x0028,0x1202);  // G    LUT
195        LoadEntryVoidArea(0x0028,0x1203);  // B    LUT
196     in gdcmDocument::gdcmDocument(std::string const & ). Please refer
197     to the long FIXME note for what the problem is. Nevertheless in
198     order to get things working the dicom dictionary was altered !
199     Please fix things urgently...
200   * Dicts/dicomV3.dic WRONGLY altered (this means we introduced a uncorrect
201     information), see above note on moving the member VoidArea. Nevertheless
202     the following entries previously correctly set as US are now inproperly
203     set to OW:
204       0028 1201 OW IMG Red Palette Color Lookup Table Data
205       0028 1202 OW IMG Green Palette Color Lookup Table Data
206       0028 1203 OW IMG Blue Palette Color Lookup Table Data
207   * src/gdcmDocEntry.[h|cxx], src/gdcmSeqEntry.h: SQDepthLevel member
208     of gdcmDocEntry moved to gdcmSeqEntry.
209   * src/gdcmSeqEntry.cxx: STYLE.
210
211 2004-08-04 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
212   * Test/TestAllEntryVerify.cxx minor fix and added comments.
213
214 2004-08-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
215   * gdcmPython/testSuite.py: all the test suite in python is now moved
216     to it's C++ version (see gdcmData/TestAllEntryVerifyReference.txt)
217   * Test/CMakeLists.txt adapted to renaming of files in gdcmData
218   * gdcm/TODO and src/gdcmDictSet.h cleaned up frow the "TODO Swig" oldies
219
220 2004-08-02 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
221   * gdcmPython/CMakeLists.txt: SWIG_FLAGS doesn't declare includeall
222     to avoid inclusion recursion until STL is reached.
223   * src/gdcmDocument.[h|cxx]: exceptions substituted to errno C-style
224     mecanism. errno.h is not included in gdcm anymore.
225   * src/gdcmException.h: introduced new gdcmFormatUnexpected class
226     (gdcmFormatError now inherits from gdcmFormatUnexpected).
227   * TODO updated
228   * gdcmPython/testSuite.py checks on CR-MONO1-10-chest.dcm moved to
229     gdcmData/TestAllEntryVerifyReference.txt
230   * Test/TestAllEntryVerify.cxx is now effective (used allways return true)
231   * src/gdcmDocument.[cxx|h]: constructors no longer use the bool
232     exception_on_error parameter.
233     - src/gdcmFile.[cxx|h], src/gdcmHeader.[cxx|h] changed accordingly,
234     - vtk/vtkGdcmReader.cxx changed accordingly,
235     - Example/*.cxx and Test/*.cxx changed accordingly.
236
237 2004-07-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
238   * src/gdcmDicomDir.cxx, gdcmDocEntrySet.cxx: removed inclusion of errno.h
239   * src/gdcmDocument.[h|cxx], gdcmFile.[h|cxx], gdcmHeader.[h|cxx]:
240     enable_sequences removed from gdcmHeader constructor and dependencies.
241   * Example/PrintHeader.cxx: fixed accordingly (enable_sequences removal).
242   * gdcmPython/demo/PrintHeader.py: dummy fix.
243   * src/gdcmDocument.[h|cxx], gdcmFile.[h|cxx], gdcmHeader.[h|cxx]:
244     skip_shadow removed from gdcmHeader constructor and dependencies.
245   * Example/*.cxx and Test/*.cxx changed accordingly.
246
247 2004-07-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
248   * Test/CMakeLists.txt: newly re-introduced SIEMENS_Sonata-12-MONO2-SQ.dcm
249     in gdcmData (previously known as E00001S03I0015.dcm) is blacklisted.
250
251 2004-07-21 Jean-Pierre Roux
252   * FIX Now, Parsing and Printing a DICOMDIR do work!
253        ( troubles remain in makeDicomDir and BuildUpDicomDir :-(
254                  
255 2004-07-20 Jean-Pierre Roux
256   * FIX Some brain damaged headers have Zero-Lenght fields 
257         for 'Transfert Syntax UID', or 'Media Stored SOP Class UID'.
258
259 2004-07-19 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
260    * src/gdcmCommon.h, gdcmDict.cxx, gdcmTS.cxx : bug fix for msvc6 compilation
261    * src/gdcmDebug.[h|cxx] : bug fix for msvc6 compilation. Replace the dbg
262      variable (instance of gdcmDebug) by a definition macro, and the instance
263      is now in static in the gdcmDebug class
264    * src/gdcmSQItem.h : (FIXME) remove an undefined method
265    * Test/PrintAllDocument.cxx : bug fix in the result of the test
266
267 2004-07-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
268    * WARNING: ctest now depends more tightly on gdcmData. You should
269      check out gdcmData properly for things to run smoothly...
270    * src/gdcmDocument.cxx MAX_SIZE_LOAD_ELEMENT_VALUE is set back to 0xfff
271      (4096) for "ctest -R TestAllEntryVerify" to be able to run (i.e.
272      we need the pixels not be loaded in order to use the ValEntry
273      that displays position and size).
274    * Test/TestAllEntryVerify.cxx a new low level test now seems fair.
275      This is a C++ based equivalent of gdcmPython/testSuite.py that should
276      be deprecated. If you have any doubts about the advantages of a
277      modern scripting language (read Python) versus grass root C++ (i.e.
278      without lex + yacc, because of gdcm commitement to MS-VC++, sighhh),
279      I suggest you compare TestAllEntryVerify.cxx (639 lines, without the
280      reference file gdcmData/TestAllEntryVerifyReference.txt) and testSuite.py.
281         Anyhow, consider documenting the gdcmData images in 
282      gdcmData/TestAllEntryVerifyReference.txt (and please run ctest before
283      commiting changes).
284    * Test/CMakeLists.txt:
285       - now uses TestAllEntryVerify.cxx
286       - specific comments on oldACR00001.ima (now renamed in gdcmData
287         to SIEMENS_GBS_III-16-ACR_NEMA_1.acr) moved away to
288         gdcmData/TestAllEntryVerifyReference.txt
289    * TODO updated.
290
291 2004-07-02 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
292    * src/*.[h|cxx] : typedef clean up
293      - guint16 and guint32 removed. Use ISO C uint16_t, uint32_t instead.
294      - TagKey renamed to gdcmTagKey (for external usage)
295      - VRKey renamed to gdcmVRKey (for external usage)
296      - removal of typedef duplication.
297      - Removed all unecessary inline keyword from class inline definitions.
298      - Some method|function(void) declarations replaced with method|function().
299    * src/jpeg/libijg12/jdhuff12.c:
300       - printf polluting ctest removed.
301       - TAB removal for comminting
302    * Test:
303      - TestAllReadCompareDicom.cxx: added a test that compares all the
304        images in gdcmDataImages.h with corresponding images in 
305        gdcmData/BaselineDicom/. When baseline images are not present
306        this test creates them.
307        Note: we need to validate each reference image, but before that
308              I'd like to rename them with a more explicit name...
309      - CMakeLists.txt: changed accordingly.
310    * Example/*.cxx: examples now only include gdcm.h (as opposed to 
311      including each header needed).
312
313 2004-07-01 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
314    * Test/*.cxx and Example/*.cxx: moved some examples away from the
315      test suite to the Example directory. Are concerned:
316      - PrintHeader.cxx
317      - TestDcm2Acr.cxx
318      - TestFindTags.cxx
319      - TestWrite.cxx was
320      - TestWriteSimple.cxx
321    * Test/CMakeLists.txt: added some comments on reasons for black listing
322      image gdcmData/oldACR00001.ima
323
324 2004-06-30 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
325    * Test/CmakeList.txt: removed the following from black list (to be coherent
326      with removal from gdcmData):
327       - gdcm-MR-PHILIPS-16-Multi-Seq.fixed.dcm
328       - gdcm-MR-PHILIPS-16.dcm
329       - US.3405.1.dcm
330      Added the following because after last cvs update, they cause
331        ctest -R TestReadWriteReadCompare 
332      to segfault:
333       - gdcm-MR-SIEMENS-16-1.acr
334       - oldACR00001.ima
335    * Test/TestReadWriteReadCompare.cxx was properly written (with a call
336      to gdcmFile::SetImageData()) BUT since gdcmFile is brain damaged (see
337      new comments in this file) we temporarily (sigh) move to a weaker
338      form of test...
339    * Test/CmakeList.txt: with the change to Test/TestReadWriteReadCompare.cxx
340      we don't need to black list the following images anymore:
341       - 8BitsUncompressedColor.dcm
342       - OT-PAL-8-face.dcm
343       - US-PAL-8-10x-echo.dcm
344    * src/gdcmDocument.[h|cxx]: RE-Reverting to version 1.42 with the proper
345      fixes and the beautified code ;-)
346      This fixes the bug introduced in version 1.42 (when beautifying)
347      that made the parsing of 8BitsRunLengthColor.dcm unproper.
348      Note: ctest was blind to this bug (this means we need to still
349            improve the test suite). The bug could be detected by using
350            gdcmbin/bin/PrintDocument $GDCM_DATA/8BitsRunLengthColor.dcm
351            or by using
352            gdcmbin/bin/ReadWrite $GDCM_DATA/8BitsRunLengthColor.dcm
353            and by displaying the (garbage) produced file temp.XDCM...
354
355 2004-06-29 Jean-Pierre Roux
356    FIX : - remove Frog's beautified, but never checked 'Parse7FE0' code,
357          - replace by uggly but working old code :-(
358                 A lot of things should be OK again.
359         It's really urgent to have a test suite that *tests*, 
360         to prevent Frog's beautifying sessions to break all the stuff
361         (twice, withing a fortnigh ...)         
362
363 2004-06-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
364    * Test/TestWriteRead.cxx and TestReadWrite.cxx merged (because of
365      redundancy) to added Test/TestReadWriteReadCompare.cxx
366    * Test/CmakeList.txt: because the compare test of
367      Test/TestReadWriteReadCompare.cxx fails, the following images are
368      black listed: - 8BitsUncompressedColor.dcm
369                    - OT-PAL-8-face.dcm
370                    - US-PAL-8-10x-echo.dcm
371    * src/gdcmDocument.cxx: for broken (non DICOM V3 conformal) images
372      (e.g. gdcm-JPEG-LossLess3a.dcm see comments in
373      gdcm/gdcmPython/testSuite.py for details) ::FindDocLengthOB() had
374      and ad-hoc kludge. This kludge is now removed, and on encountering
375      such an image (OB field brain damaged) we set errno. Then in 
376      ::FindDocLength() we "fix" the length as being ALL what remains
377      in the file (until EOF). We then proceed, hoping for the best...
378      This fixes a SegFault in ShowDicom when trying to write such an
379      image.
380    * Test/CmakeList.txt: 8BitsRunLengthColor.dcm is now blacklisted
381      (because TestWriteRead breaks on it, after a non conformal commit?).
382      ctest now runs properly, except for MakeDicomDir (which was allways
383      broken) and the Python related stuff (still not fixed).
384    
385 2004-06-24 Jean-Pierre Roux
386   ADD : Examples/WriteRead, that acts like the former Test/TestWriteRead
387   FIX : Test/TestReadWrite now iterates on all the file names 
388                           (instead of infinite loop)
389   ENH : Test/TestWriteRead now iterates on all the file names 
390
391 2004-06-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
392    * Test/TestReadWrite.cxx: now uses all the images of gdcmData.
393
394 2004-06-24 Jean-Pierre Roux
395    FIX : - now Write drops LUT Descriptors and LUTs (if any)
396                     when SamplesPerPixel =3
397          - now Write is no longer confused by 
398                               'BitsAllocated = 12" and 'BitsStored=12"
399          - "UN" value representation Elements are now written correctly 
400                (their legth is stored on 4 bytes -just like OB, OW, and SQ-)                                                                    
401    ENH : - now gdcmHeader has its own Write methods 
402                     (in order to split the job that has not to be done 
403                                         for gdcmDicomDir)
404
405 2004-06-23 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
406    * Test/PrintAllDocument.cxx: looping on files is now effective. It used to
407      loop on the same image until memory went out. 
408      Note: this means we still have gobs of memory loss in PrintDocument
409    * src/gdcmDocument.cxx: fixes problem on parsing on file
410      gdcmData/16BitsJpegLosslessGrayScale.dcm.
411
412 2004-06-24 Jean-Pierre Roux
413    FIX : Write - All the Sequences and Sequence Item are now written 
414             as 'no length' stuff, and a Sequence Delimitor aor an Item Delimitor
415                                 is added a the end, when necessary.
416             - A lot of brain-damaged images, that were read correctly are 
417                       now written correctly
418                                 - length compatible BinEntry are now loaded correctly 
419                                 (even for odd groups) 
420         Note : only Explicit Value Representation was checked.
421                                 (question : is implicit VR really necessary for gdcm ?)
422
423 2004-06-23 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
424    * DEVELOPPER: added a proposition of coding style.
425    * src/gdcmDocEntry.h: removed every inline declaration (for test of 
426      coding style).
427
428 2004-06-23 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
429    * gdcmDocEntry::PrintCommonPart() and ::WriteCommonPart() removed.
430      Use the gdcmDocEntry::Print() and Write() instead.
431    * src/gdcmDocument.cxx: bug fix.
432
433 2004-06-22 Jean-Pierre Roux
434    FIX : gdcmDocument.cxx
435       - Now we do recognize the JpegLossLess format (there was a misstyping in
436         code 'beautyfication' :-(
437       - Now we automaticaticaly load the Luts, if any
438
439 2004-06-22 Jean-Pierre Roux
440    In order : to write Sequences, whatever their imbrication level, 
441                  : to allow user to create his own Sequences
442         a lot of modif where necessary (adding, moving, or virtualising methods)
443
444 WARNING : save your own sources *before* cvs up !
445         
446         - gdcmBinEntry
447           ADD virtual void Write(FILE *fp, FileType filetype);
448           
449    - gdcmDocEntry
450           ADD virtual void Write(FILE *fp, FileType filetype);
451           ADD void gdcmDocEntry::WriteCommonPart(FILE *fp, FileType filetype);
452           
453         - gdcmDocEntrySet
454           ADD virtual void Write (FILE *fp, FileType filetype)=0;
455           ADD   virtual gdcmDocEntry *GetDocEntryByNumber(guint16 group,guint16 element) = 0;
456      ADD gdcmDocEntry *GetDocEntryByName(std::string name);
457      ADD virtual std::string GetEntryByNumber(guint16 group,guint16 element) = 0;
458      ADD std::string GetEntryByName(TagName name);                       
459      ADD gdcmDictEntry *NewVirtualDictEntry(guint16 group, 
460                                             guint16 element,
461                                             std::string vr     = "unkn",
462                                             std::string fourth = "unkn",
463                                             std::string name   = "unkn"); 
464           ADD gdcmValEntry *NewValEntryByNumber(guint16 group, guint16 element);                                                                                                 
465      ADD gdcmBinEntry *NewBinEntryByNumber(guint16 group, guint16 element);     
466      ADD gdcmDocEntry *NewDocEntryByNumber(guint16 group, guint16 element); 
467      ADD gdcmDocEntry *NewDocEntryByName  (std::string Name);   
468      ADD gdcmDictEntry *GetDictEntryByName   (std::string Name);
469      ADD gdcmDictEntry *GetDictEntryByNumber(guint16, guint16);
470           REM virtual gdcmDocEntry *NewDocEntryByNumber(guint16 group, guint16 element)=0;
471      REM virtual gdcmDocEntry *NewDocEntryByName  (std::string Name)=0;
472           
473         - gdcmDocument
474      ADD virtual bool WriteF(FileType type); // New stuff, with recursive exploration           
475      ADD virtual std::string GetEntryByName    (TagName tagName);
476      ADD virtual std::string GetEntryVRByName  (TagName tagName);
477      REM virtual bool Write(FILE *, FileType);
478      REM virtual void WriteEntryTagVRLength(gdcmDocEntry *tag,
479                                         FILE *_fp, FileType type);
480      REM virtual void WriteEntryValue(gdcmDocEntry *tag,FILE *_fp,FileType type);
481      REM virtual bool WriteEntry(gdcmDocEntry *tag,FILE *_fp,FileType type);
482      REM virtual bool WriteEntries(FILE *_fp,FileType type);
483      REM virtual std::string GetEntryByName    (std::string tagName);
484      REM virtual std::string GetEntryVRByName  (std::string tagName);
485      REM gdcmDictEntry *GetDictEntryByName  (std::string Name);
486      REM gdcmDictEntry *GetDictEntryByNumber(guint16, guint16);
487      REM gdcmDictEntry *NewVirtualDictEntry(guint16 group, 
488                                             guint16 element,
489                                             std::string vr     = "unkn",
490                                             std::string fourth = "unkn",
491                                             std::string name   = "unkn");
492      REM gdcmDocEntry *NewDocEntryByNumber(guint16 group, guint16 element);
493      REM gdcmDocEntry *NewDocEntryByName  (std::string Name);
494      REM gdcmValEntry *NewValEntryByNumber(guint16 group, guint16 element); 
495      REM gdcmBinEntry *NewBinEntryByNumber(guint16 group, guint16 element); 
496                                                                                                                  
497         - gdcmElementSet
498           ADD virtual void Write(FILE *fp, FileType filetype);
499           
500    - gdcmSeqEntry
501           ADD virtual void Write(FILE *fp,FileType filetype);
502  
503    - gdcmSQItem
504      ADD virtual void Write(FILE *fp, FileType filetype);
505      ADD virtual std::string GetEntryByNumber(guint16 group, guint16 element);        
506      REM std::string GetEntryByNumber(guint16 group, guint16 element);
507      REM std::string GetEntryByName(TagName name);
508
509    - gdcmValEntry
510          ADD virtual void gdcmValEntry::Write(FILE *fp, FileType filetype); 
511                                   
512 2004-06-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
513     * Test/TestWriteSimple.cxx: fix to gdcmHeader-gdcmHeaderHelper revamping.
514       The default constructor invoked by the line
515          gdcmHeader *f1 = new gdcmHeader( header );
516       was gdcmHeader::gdcmHeader(bool) instead of the expected
517       gdcmHeader::gdcmHeader(std::string const &, bool = false, bool, bool).
518       Hence the parsing wasn't executed... See also below.
519     * src/gdcmHeader.h: the declaration of gdcmHeader::gdcmHeader(bool)
520       as explicit constructor didn't do the trick to fix the above problem.
521       Could anyone explain why ?
522     * src/gdcmBinEntry.cxx, gdcmValEntry.cxx: gdcmBinEntry::Print() now
523       properly calls gdcmValEntry::Print() (that was weed out from 
524       code related to gdcmBinEntry).
525
526 2004-06-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
527     * In order to fix memory leaks:
528      - Test/TestWriteSimple.cxx: added cleaning of free store through
529        some delete calls.
530      - src/gdcmBinEntry.cxx: fix to avoid SegFault.
531      - src/gdcmDicomDir.[cxx|h]: fixed initialisation in constructor
532        gdcmDicomDir::gdcmDicomDir(bool) [either the constructor itself
533        (through the call to ::AddDicomDirMeta()) or the destructor
534        would crash when deleting uninitialized ::metaElems].
535      - src/gdcmDictEntry.cxx: annotation of ununderstood memory leak.
536      - src/gdcmDocument.cxx:
537        -- ::~gdcmDocument() destructor now cleans up all dictionary entries
538           from dynamic stores.
539        -- ::ParseDES() misplaced deletion of temporary NewDocEntry
540           was causing memory leaks.
541      - src/gdcmSQItem.cxx:
542        -- ::~gdcmSQItem() dummy code cleaned (learned that deletion is
543           cleanly handled with polymophism: sorry but my milage is low).
544        -- ::SetEntryByNumber(string, guint16, guint16) now cleanly allocates
545           a gdcmValENtry, and makes no assumption on type (gdcmDocEntry,
546           gdcmSeqEntry vs gdcmValEntry) of existing entry (when present).
547           This avoids SegFaulting.
548      - src/gdcmSQItem.h: coding style.
549     * Conclusion:
550      - Test/TestWriteSimple still severely sucks. The output image content
551        (when $(GDCMDATA_HOME)/012345.002.050.dcm in input) is brain
552        damaged when displayed with vtkgdcmViewer.
553      - on memory leaks: TestWriteSimple leaks really less (see entry
554        of 2004-06-18 in Changelog file for the call to valgrind).
555      - on segfaults: ctest now passes all the tests but one (no more
556        segfaults).
557     * Erroneous leading white fix:
558      - src/gdcmDict.cxx: getline(from,xxx) doesn't remove the leading
559        white[s] (as opposed to from >> xxx, that removes it [them].
560      - src/gdcmTS.cxx: ditto.
561      - gdcmPython/testSuite.py: dirty related kludge removed.
562     * src/*: remaining references to gdcmParser removed.
563     * src/*[cxx|h]: added copy[way]left header.
564
565
566 2004-06-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
567     * In order to fix writing of dicom files:
568      - Test/TestWriteSimple.cxx: a simpler example of writing.
569      - Test/CMakeLists.txt changed accordingly.
570      - src/gdcmDocument.cxx:
571        -- The destructor now recursilvely removes potential sequences.
572        -- Bug fix in ::IsJPEG2000()
573        -- ::ReplaceOrCreateByNumber(std::string, guint16, guint16)
574           now handles promotion of gdcmDocEntry to gdcmValEntry in a cleaner
575           manner.
576        -- ::GetValEntryByNumber(guint16, guint16) now defined (as opposed
577           to only declared) and build on top of
578           ::GetDocEntryByNumber(guint16, guint16).
579        -- ::SetEntryByNumber() now uses GetValEntryByNumber(group, element)
580      - src/gdcmElementSet.[h|cxx]: added ::RemoveEntry(gdcmDocEntry *)
581        for usage in destructor and treatement of promotion in
582        ::ReplaceOrCreateByNumber().
583      - src/gdcmSQItem.cxx: destructor should better handle his job.
584       Test/TestWriteSimple now runs (or at least it DOES something).
585     * We can now start hutting memory links. A good starting point is:
586       valgrind -q --skin=memcheck --leak-check=yes --leak-resolution=high
587       --num-callers=100 --show-reachable=yes gdcmTests TestWriteSimple
588       $(GDCMDATA_HOME)/012345.002.050.dcm foo.dcm
589
590 2004-06-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
591     * Valgrind note: after Mathieu Malaterre teached me how to read
592       the valgrind FAQ ;-] (see http://valgrind.kde.org/faq.html), I
593       learned that:
594           Using gcc, you can force the STL to use malloc and to free memory as
595           soon as possible by globally disabling memory caching.
596           With 3.2.2 and later, you should export the environment variable
597           GLIBCPP_FORCE_NEW before running your program.
598       By setting GLIBCPP_FORCE_NEW, STL related memory leak messages of gdcm
599       simply vanish (it is still not clear to me, whether this means that
600       STL std::string leaks or if valgrind believes it leaks...).
601     * Fixing of SegFault of Test/makeDicomDir (as shown by ctest or by
602       running bin/gdcmTests makeDicomDir):
603       - src/gdcmDicomDir.cxx: dynamic casting used + clean up.
604       - Test/makeDicomDir.cxx now properly traps empty lists and returns
605         with 1.
606       NOW, makeDicomDir cleanly fails (in ctest terminology) instead of
607       SegFaulting (I drowned in DicomDir related code when trying to
608       understand why the list is empty...).
609     * src/gdcmDocument.h: first BSD license header try.
610     * Doc/License.txt added.
611
612 2004-06-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
613     * src/gdcmDocument.[h|cxx]:
614       - Clean up of the Transfer related predicates. They are now all based
615         on new method isGivenTransferSyntax, that (should) handle properly
616         the padding problem.
617       - general clean up, simplification, and coding style.
618       - Specific clean up of Parse7FE0() (umproperly named actually).
619     * gdcmPython/testSuite.py: an odd temporary kludge introduced.
620
621 2004-06-14 Jean-Pierre Roux             
622    *  gdcmSeqEntry.cxx
623            - fix the display of Sequence Delimitor (SQDepthLevel pb)
624                 - fix the display of SQItem ordinal number
625       - add the GetSQItemByOrdinalNumber method
626                 - remove some useless never written private methods     
627                 
628 2004-06-14 Jean-Pierre Roux
629    * gdcmBinEntry.cxx 
630       - adding a constructor taking a gdcmDocEntry as an input param
631            - ReplaceOrCreateByNumber now returns :
632               a gdcmBinEntry * if a Binary (void *) value is passed as a param
633                    a gdcmValEntry * if a string value is passed as a param
634    * dcmDocument.cxx
635       - SetEntryByNumber now allows setting gdcmValEntry or gdcmBinEntry, 
636               according to the param type (no longer sets a gdcmDocEntry)
637            - GetValEntryByNumber, GetBinEntryByNumber added
638       - NewValEntryByNumber and NewBinEntryByNumber added
639    * gdcmFile.cxx
640       - Pixel Data are now linked to the (7fe0,0010) elements, after reading
641    * gdcmSQItem.h
642       - GetSQItemNumber and SetSQItemNumber added, to provide 
643             a (relative) Item identier inside a given Sequence
644             \warning : some pb remaining around this number
645                                 will be solved asap
646       - AddEntry now takes the Item Number as a param   
647    * gdcmValEntry.cxx 
648       - adding a constructor taking a gdcmDocEntry as an input param    
649
650 2004-06-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
651     * Memory leak hunt with the following command:
652       valgrind --leak-check=yes --leak-resolution=high --num-callers=40
653                --show-reachable=yes gdcmTests PrintDocument
654       It looks like many (all?) leaks are due to the STL (or a bad usage
655       of the STL. The lines producing the leaks now have a comment with
656       a "MEMORY LEAK" tag: you can retrieve them with 
657           grep "MEMORY LEAK" src/*
658       Here are two typical examples which I can't help fixing:
659       -----
660           #include <string>
661           int main() {
662              std::string name;
663              char * test = "babo";
664              name = test;    //// <--- valgrind detects 960 bytes lost in
665                              ////   call to std::string::operator=(char const*)
666              name.clear();   //// Doesn't help !
667              return 0;
668           }
669       -----
670           #include <string>
671           #include <iostream>
672           int main() {
673              std::string line;
674              std::cout << "Type a bunch of characters followed by RETURN: ";
675              getline(std::cin, line);   //// <--- valgrind dectects a loss
676                                         //// of 1320 bytes in call to
677                                         /// std::basic_istream<>& std::getline<>
678             return 0;
679           }
680       -----
681
682
683 2004-06-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
684     * src/gdcmHeader.[cxx|h]:
685       - Predicates on the Transfer syntax (of the form Is[JPEG|RLE]*)
686         and related, moved away to gdcmDocument.
687       - Accessors (on the form [Get|Set]Entry*) set up to expose publicly
688         the corresponding protected accessors of inherited class
689         gdcmDocument, removed ! As a consequence gdcmFile had to be 
690         declared friend of class gdcmDocument (see below).
691       - operator< moved to gdcmDocument (in fact it belongs to gdcmDicomDir).
692       - Clean up of undefined or unused methods.
693     * src/gdcmFile.[cxx|h]: added SetEntryByNumber (in order to take into
694       account the changes to gdcmHeader.h).
695     * src/gdcmDocument.h:
696       - gdcmFile is now a friend class (in order to take into account the
697         changes to gdcmHeader.h).
698       - Predicates on the Transfer syntax (of the form Is[JPEG|RLE]*) added
699         (see changes to gdcmHeader.h).
700       - Accessors (reading on the form GetEntry*) are now public.
701       - Clean up of undefined or unused methods.
702     * src/gdcmDocument.cxx:
703       - adaptation to changes to gdcmDocument.h
704       - ::OpenFile now writes a verbose message when file cannot be opened.
705       - some std::string properly set to VRKey
706     * src/gdcmDicomDir.h: historical references to gdcmHeader changed to
707       references to gdcmDocument. 
708     * Test/TestFindTags.cxx: changed accordingly to above changes.
709     * gdcmPython/testSuite.py: adapted to renaming of acr files in 
710       cvs repository gdcmData.
711
712 2004-06-09 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
713     * src/gdcmValEntry.h: member voidArea type changed from char* to void*.
714     * src/gdcmBinEntry.h: member voidArea commented out, since it potentially
715       conflicts with gdcmValEntry::voidArea.
716     * src/gdcmValEntry.cxx: unmatching comment wiped out.
717     * src/gdcmVR.[h|cxx]: added two predicates that partition the possible
718       Value representation between StringRepresentable and BinaryRepresentable.
719     * src/gdcmDocument.cxx: 
720       - method ParseDES: proper indentation restored and usage of
721         gdcmVR::IsVROfGdcmStringRepresentable wired in.
722       - method LoadDocEntry: the fingerprint left in the SetValue() of
723         unloaded entries (length > MaxSizeLoadEntry) had curiously been
724         removed. Reverting to previous code segment with the proper
725         dynamic_cast< gdcmValEntry* >.
726         Note: this was (partially) breaking the python test suite
727               (gdcmPython/testSuite.py) that made usage of the above
728               fingerprint to check presence of "Pixel Data".
729     * src/gdcmDocEntry.h: coding style.
730     * gdcmPython/__init__.py: environement variable GDCM_DATA_PATH is
731       now taken into account.
732     * gdcmPython/gdcm.i: adaptation to the new internal representation
733       of gdcm (exit gdcmParser, hello gdcmDocument).
734     * gdcmPython/testSuite.py: quick and dirty fix for loading vtkgdcmPython
735       on posix.
736     * gdcmPython/demo/PrintHeader.py: doesn't use the gdcmDocument::Print()
737       anymore, but instead prints the loaded Python dictionary.
738     * .... alas, the python testSuite is still broken.
739
740 2004-05-18 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
741     * gdcmPython/gdcm.i : remove useless lines concerning the gdcmGlobal
742       gdcmGlob
743     * gdcmPython/setup.py : replace the use of cvar.gdcmGlob to gdcmGlobal
744     * src/gdcmUtil.h : export methods
745
746 2004-05-16  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
747     * Some more cleanup/enhancement in gdcmPython/CMakeLists.txt getting close
748       to right behavior
749     * Initial addition of automatic python testing
750     * Initial addition of automatic image comparison
751
752 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
753     * src/gdcmCommon.h, gdcmDicomDir.cxx, gdcmFile.cxx, gdcmHeaderHelper.h,
754       gdcmParser.cxx, gdcmParser.h : bug fix for the Microsoft .Net compilation
755
756 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
757      * src/gdcmFile.cxx, gdcmHeader.cxx : bug fix for the msvc compilation
758      * Test/ShowDicom.cxx : bug fix for msvc compilation
759      * vtk/vtkgdcmViewer.cxx : bug fix for msvc compilation
760
761 2004-05-04 Jean-Pierre Roux
762      * ADD Taking into account the 'Dicom Sequences' leads up to introduce
763        new concepts (and new classes) :
764        a 'gdcmDocument' is composed of a set of Doc Entries, that are
765         - elementary gdcmDocEntries (former gdcmHeaderEntries)
766         - Sequence Doc Entries (gdcmSeqEntries)
767        a Sequence is composed of Items.
768        Each item is a set of Doc Entries (this is recursive)
769        The non uniqueness of the 'Dicom tag' is due to this recursivity
770        (never taken into account)
771        Our unability to add a new 'entry' in the header
772        at the proper location (neither in the H-Table (map or multimap),
773        nor in the Chained List is also due to this recursivity.
774        Don't try, right now, to use/modify/compile these new sources :
775        nothing is finished.
776        We just commit all the stuff, 'as is', in order not to loose it.
777
778 2004-05-04 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
779      * vtk/vtkGdcmReader.cxx : bug fix in the setting of file name
780      
781 2004-05-03 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
782      * vtk/vtkGdcmReader.cxx : bug fix when loading a list of files using the
783        file prefix (SetFilePrefix)
784
785 2004-05-02  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
786      * Add a new test: ShowDicom, for now this is just the c++ version of
787        checkRead.sh, later it will be able to compare the image read against a
788        baseline.
789      * Replace the DEBUG on the stack with a global entry in cmake interface:
790        GDCM_DEBUG, so you can turn verbosity ON/OFF for debug statement.
791
792 2004-04-30  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
793      * Add an example subdir, with a real example on how to read + write a 
794        dicom image
795
796 2004-04-30  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
797      * Doc/gdcmUML.xmi added raw UML class view (umbrello format)
798      * Doc/CMakeLists.txt: the main page is now properly differentiated
799        between the developper and user version.
800      * Doc/doxygen.config.in: dropped search related obsolete flags
801      * src/gdcmParser.h, gdcmHeader.h: doxygenation
802
803 2004-04-29  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
804      * DEVELOPPER: added some helpfull comments for compile/test/install
805        when using cmake.
806
807 2004-04-29  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
808      * ENH: 1. Remove remp solution of gdcmTests.cxx+ gdcmMain directly in 
809                src directory, now generated in the build dir.
810             2. Tests as mentionned smarter
811             3. Some clean up
812             4. Add a new method in gdcmDict that return the PubDict by name 
813           this is interesting for 3rd party lib like ITK, 
814           where we could set the institution name / patient name...
815
816        * ENH: 1. Now the test suite is working for real
817               2. All binaries are now output in the gdcm-bin directory 
818                  (this was not true before)
819
820 2004-04-28  Jean-Pierre Roux
821      * ENH add the provisional  gdcmHeader::SQDepthLevel to allow 
822            SeQuence indented printing of Dicom Header.
823      * ENH merge methods gdcmParser::Parse and gdcmParser::LoadHeaderEntries
824            into the single gdcmParser::LoadHeaderEntries for efficiency purpose.
825            Computation of SQDepthLevel is now part of gdcmHeader constructor
826      * ENH add self defined param 'new' to PrintHeader to 'show' the SeQuence
827            tree-like structure of a Dicom Header.
828      * FIX Test code cleaning     
829            
830 2004-04-25  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
831      * ENH: Adding automatic testing
832        1. Need a DartConfig.cmake to submit to public
833        2. Add a test driver gdcmTest.cxx
834        3. gdcmTestMain, an helper for the main test driver gdcmTest
835        4. Files in Test don't have a main anymore, this becomes interesting 
836           when we add more and more tests, thus dsw don't have to load 
837           too many projects
838      * ENH: Adding a GDCM_DATA_ROOT for testing
839      * ENH: Remove redundancie about GDCM_DICT stuff, now we only need to modify
840        one file instead of seven + some small cleanup
841
842 2004-04-22  Jean-Pierre Roux
843      * ENH Minor changes to the Print() methods.
844      * ADD gdcmParser::PrintEntryNiceSQ() to allow SQ-indented
845            Header printing. Example given with :
846            > PrintHeader fileName  2 new
847           (SQ based tree-like structure still to be done for the Header ...)
848            
849 2004-04-22  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
850      * ENH: Some cosmetic clean up for compilation with -W -Wall -Werror
851          1. I have added some unsigned where needed
852          2. Some function parameter not used -> (void)
853          3. In gdcmDicomDir.cxx, add GDCM_DICOMDIR_NONE case
854          4. g++ don't like character '\' in comment
855          5. #define jpeg_create_decompress  jCreaDecompress
856                     this really need to be fixed
857          6. virtualize destructor of gdcmObject ... leakage
858          7. sscanf(g->first.c_str(),"%x",&gr_bid); 
859                     this also really need to be fixed
860          8. gdcm/src/jpeg/libijg8/CMakeLists.txt, 
861                     remove compression file 
862                     (as we only do decompression, right ?)     
863      * ENH: Change malloc/calloc/free with c++ equivalent
864
865 2004-04-21  Jean-Pierre Roux
866      * FIX gdcmHeaderHelper::GetXSpacing
867            when a single value is found (bug ?), xpacing is now 
868            defaulted to yspacing
869            
870 2004-04-19  Jean-Pierre Roux
871      * ADD gdcmData/Wrist.pap (PAPYRUS 3.0 -single frame-) for checking purpose
872      * ENH add parameters :
873                bool  exception_on_error = false, 
874                bool  enable_sequences   = false,
875                bool  ignore_shadow      = false
876            to the gdcmFile constructors to be full gdcmParser compliant
877      * FIX vtk/vtkGdcmReader.cxx now uses  enable_sequences = true in gdcmFile
878            to allow reading of PAPYRUS 3.0 files 
879               
880 2004-04-06  Jean-Pierre Roux
881      * ADD gdcmData/E00001S03I0015.dcm for SQ checking purpose
882      
883 2004-04-02  Jean-Pierre Roux
884      * ADD : Test/checksequence.sh, for a general recap on SQ pb
885      * FIX : gdcmParser::WriteEntryTagVRLength emprovement of special treatement
886              for Philips spurious Tag fffe|0000 while rewritting Dicom files
887              
888 2004-03-30  Jean-Pierre Roux
889      * FIX gdcmParser::ReplaceOrCreateByNumber shouldn't seg fault any more 
890          for ACR file, written out as DICOM files (hope so...)
891
892 2004-03-30  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
893      * src/gdcmParser.[cxx|h] and gdcmHeader.[cxx.h]: gdcmHeader::Write split
894        in WriteEntryTagVRLength and WriteEntryValue. Those methods were
895        moved to base class gdcmParser and only the specialisation is kept
896        in gdcmHeader.
897      * src/gdcmParser.[cxx|h]: ReplaceOrCreateByNumber(char*, guint16, guint16)
898        trashed out (because ReplaceOrCreateByNumber(string, guint16, guint16)
899        already does the job.
900      * src/gdcmDicomDir.[cxx|h]: WriteDicomDirEntries renamed to WriteEntries
901        (to be consistent with gdcmParser::WriteEntries).
902
903 2004-03-30 Benoit Regrain
904      * vtk/vtkGdcmReader.[h|cxx] : fix the read of 3 gdcmHeader when making an
905        upate of the object's instance. It's passed to 2 in the unfavorable
906        case : one in the ExecuteInformation, one in the ExecuteData
907
908 2004-03-29  Jean-Pierre Roux
909      * ENH : Check on file type to be written moved
910              from gdcmParser::WriteEntry to gdcmParser::WriteEntries
911      * FIX : gdcmObject::ResetBoundaries now stops properly
912              when end-of-list is reached
913            : gdcmVersion modified (as Benoit Regrain asked)
914
915 2004-03-29  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
916      * src/gdcmParser.cxx: removal of all TAB character. Indentation fixed.
917      * src/gdcmUtil.cxx: added forgotten iostream include.
918      * src/gdcmCommon.h: FileType enum entry DICOMDIR removed (since
919        equivalent to ExplicitVR in existing code).
920
921 2004-03-27  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
922      * src/gdcmUtil.[cxx|h] split in two. Additional file gdcmGlobal.[cxx|h]
923        now contains all the gdcmGlobal related code.
924      * minor coding style and doxygenation changes.
925
926 2004-03-26  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
927      * src/gdcmUtil.[cxx|h] split in two. Additional file gdcmDebug.[cxx|h]
928        now contains all the Debug related code.
929      * minor clean-up of includes in src/*.cxx
930      * src/gdcmUtil.[cxx|h] _cleanString C style function (replaced with
931        CreateCleanString) removed.
932      * src/gdcmUtil.[cxx|h] _CreateCleanString renamed to CreateCleanString
933      * Doc/DoxyMainPageUser.txt added.
934      * Doc/Doc/DoxyfileUsers updated to version 1.3.4 of Doxygen.
935      * src/gdcmCommon.h now defines getcwd for Win32 (moved away from
936        src/gdcmDirList.cxx)
937
938 2004-03-24  Jean-Pierre Roux
939      * FIX a lot of little surface modifications to be doxygen 1.3.6 compliant
940
941 2004-03-23  Jean-Pierre Roux
942      * FIX Now gdcmFile::SwapZone doesn't seg faults any longer for
943            big endian made volumes
944      * ENH Now gdcmParser constructor and destructor are protected to forbid
945            end user to instanciate class gdcmParser
946           (only gdcmHeader and gdcmDicomDir are meaningfull)
947
948 2004-03-22 Benoit Regrain
949      * FIX : src/gdcmDicomDir.cxx : make windows compilable
950      * FIX : gdcmPython/gdcm.i : change gdcmStudy to gdcmDicomDirStudy and
951              gdcmSerie to gdcmDicomDirSerie
952
953 2004-03-19  Jean-Pierre Roux
954      * ENH Now the tree-like structure describing a DICOMDIR comming from
955            an already existing DICOMDIR file is consistent with
956            the home-made tree-like structure build ex-nihilo
957            or build from the files held (recursively) in a Directory
958            functions gdcmDicomDir::CheckBoundaries()
959            gdcmObject::SetBoundaries() added
960
961 2004-03-17  Jean-Pierre Roux
962      * REM (Eric Boix bug) : removal of meaningless
963                              gdcmDicomDirImage::NewImage function.
964      * FIX now file names and directory name are written properly in the
965            DICOMDIR
966      * FIX now gdcmDicomDir constructor may be call without any trick
967            about the name
968
969 2004-03-16  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
970      * FIX (JPR bug) : src/gdcmDicomDirImage.cxx added missing definition
971                        of gdcmDicomDirImage::NewImage as empty function.
972
973 2004-02-28  Jean-Pierre Roux
974      * ENH add gdcmDicomDir:NewPatient
975            add gdcmDicomDirPatient:NewStudy
976            add gdcmDicomDirStudy:NewSerie
977            add gdcmDicomDirSerie:NewImage
978            to allow making gdcDicomDir object.
979      * ADD PrintDicomDir executable that uses gdcmDicomDir tree-like structure
980           (as opposite to the gdcmHeader chained list)
981
982 2004-02-11 Benoit Regrain
983      * FIX : memory leaks and the set of ArgDelete methods in gdcmDicomDir
984              when using from python
985
986 2004-02-10 Benoit Regrain
987      * FIX : bug fix in the gdcmDirList for the recursivity in directories
988      * FIX : in gdcmDicomDir when the directory is empty
989      * ENH : add callback and methods to get the progression of dicomDir
990              directory parsing
991
992 2004-02-06 Jean-Pierre Roux
993      * ENH : - now gdcmDicomDir::CreateDicomDir() returns also the meta elements
994              - GDCM_META added to gdcmDicomDirType
995              - class gdcmMeta created
996      * ENH : - A brief summary is now displayed at the beginning of
997              'testDicomDir' to help disaster magnitude estimation
998      * REM : Now useless Test/explDICOMDIR.cxx
999
1000 2004-02-05 Benoit Regrain
1001      * ENH : add methods in gdcmObject to get the hash table or the list of
1002              header entries
1003      * FIX : wrapping python for ListPatient, ListStudy, ListSerie, ListImage
1004      * FIX : wrapping python for TagHeaderEntryHT
1005
1006 2004-02-04 Benoit Regrain
1007      * FIX : even length for some strings when writting the dicom dir
1008      * FIX : sort the images in the dicom dir
1009      * FIX : Bug fix for python use of dicom dir
1010      * ADD : a python demo
1011
1012 2004-02-04 Jean-Pierre Roux
1013      * FIX : Final solution (?) for icone embedded images
1014      * FIX : dicomVR.dic Overlay group is not *only* 6000, but 60xxx
1015              (see http://medical.nema.org/dicom/2003/03_06PU.PDF)
1016              add groups 6002, 6004, 6006, to allow 'clean' parsing of
1017              gdcmData/gdcm-MR-SIEMENS-16.acr1
1018      * ENH add gdcmData/checkWriteExplicit.sh gdcmData/checkWriteImplicit.sh
1019            to make full checking easier
1020         
1021 2004-02-04 Benoit Regrain
1022      * FIX : WriteEntries : coding style & logic in parameters
1023      * FIX : Set the elements to create the DicomDir in a dictionary file
1024
1025 2004-02-03 Benoit Regrain
1026      * gdcmDirList : to parse a hard drive directory in recursive (or not)
1027      * gdcmDicomDir : add the load of directory
1028      * Bug fix and print add-on
1029
1030 2004-02-03 Jean-Pierre Roux
1031      * ENH gdcmParser : allows "DICM" files, with NO group '0002'
1032      * FIX handling 'non string elements' unsecure area (LUT, overlays, etc)
1033      * FIX Dicts/dicomV3.dic : Add a few missing 'group length' Elements 
1034      * FIX gdcmParser.cxx : 'group length' elements are now considered 
1035            as integers, even for shadow groups, when file is Implicit VR
1036         
1037 2004-02-02 Jean-Pierre Roux
1038      * FIX : gdcmWrite : equal_range() for multimap doesn't return a 'second' 
1039              iterator on last
1040              of the last synonym :-(
1041      * FIX : gdcmWrite::WriteBase : method stops if Pixels not yet Read (except 
1042              for DICOMDIR ;-)
1043      * ENH gdcmData/checkWrite.sh :modif for full check of Explicit VR writting
1044      * FIX taking into account the possible 7fe0,0010 multiplicity        
1045      * FIX add GRPixel,NumPixel,countGrPixel (gdcmParser protected members)
1046            to allow removal of references to 7fe0,0010, to deal with
1047       ACR-NEMA images, when 0028,0200 is meaningfull
1048
1049 2004-01-31 Jean-Pierre Roux
1050      * FIX gdcmParser::WriteEntries : when a VR is tagged as 'Unknown'
1051            no longer writes 'Un' on disk
1052      * FIX SQ elements with actual length are now dealt with corectly
1053      * FIX gdcmFile::WriteBase make the difference, for color images, between
1054            the length (for Palette expanded images)
1055            and Raw Length (non expanded image + Palette)
1056      * FIX Dicts/dicomV3.dic : removal of 'CTX' (context dependant) VR
1057            (that broke Write). Replaced by UL.
1058            Aware user will reload the field if he 
1059            thinks it's necesssary
1060              
1061 2004-01-30 Jean-Pierre Roux
1062      * gdcmParser::CheckSwap() now defaults the filetype to ACR 
1063        when 'dirty Acr' is found, to be compliant with the new 
1064        IsReadable() methods.
1065        
1066      * gdcmHeaderHelper :add Pixel Type 'FD', for dealing with 'double' images.
1067       (no DOUBLE images in kosher DICOM, 
1068       but so usefull for people that miss them ;-)
1069       
1070      * add Test/testDicomDir.cxx, Test/makeDicomDir.cxx , Test/explDICOMDIR.cxx
1071        DICOMDIR related utilities (not checked as Windoze compliant)
1072
1073 2004-01-28 Jean-Pierre Roux
1074      * upgrade GdcmHeaderEntry Print Method for DICOMDIR
1075
1076 2004-01-27 Jean-Pierre Roux
1077      * gdcmParser constructor has a new boolean param,'ignore_shadow', 
1078              to allow skipping the shadow elements, to save memory space.
1079         The TRUE value for this param has to be used 
1080         with a FALSE value for the 'enable_sequence' param.
1081         ('public elements' may be embedded in 'shadow Sequences')
1082      * gdcmHeader methods now deal with 'embedded icones images' in the header
1083              (even when an 'icone image sequence' is announced by the 
1084         element (0x0088,0x0200), but there is NO icone at all ...
1085         
1086      * gdcmHeader sometimes Image Location value doesn't follow  
1087              the supposed processor endianity (see gdcmData/cr172241.dcm).
1088              Fixed
1089
1090      * gdcmHeader add the method
1091              IterHT  GetHeaderEntrySameNumber(grPixel,numPixel);
1092         to get *all* the Header Entries with the same tag.
1093         GetHeaderEntrySameName is probabely *useless* 
1094         (no meaning : Name is *not* an identifier within the Dictionnary)
1095
1096 2004-01-26 Benoit Regrain
1097      * Bug fix in the print of hexadecimal representations. Remove long fields 
1098        in the print and add a third level of print to print them
1099
1100 2004-01-23 Benoit Regrain
1101      * Bug fix on field having a VR = 'UI'. Assume that is a string field
1102      * Bug fix on test suite after remove the strip made on not string fields
1103      * Split the IsReadable method between gdcmParser which test that the file
1104        is dicom and gdcmHeader which test that it's an image file
1105
1106 2004-01-22 Benoit Regrain
1107      * DicomDir : clean code, add methods, set variables in protected or private
1108      * gdcmUtil : bug fix for the clean string method
1109
1110 2004-01-19 Benoit Regrain
1111      * Add the use of shadow dictionaries
1112      * bug fix and coding style
1113
1114 2004-01-19 Benoit Regrain
1115      * src/gdcmFile.cxx : bug fix concerning the close of file
1116      * src/gdcmParser.[h|cxx] : remove obvious Pub informations
1117      * Add the update of header entries using the shadow library
1118
1119 2004-01-19 Benoit Regrain
1120      * removal of file gdcmHeader2.cxx
1121      * split class gdcmHeader into gdcmParser and gdcmHeader, with gdcmHeader
1122        inheriting from gdcmParser. This split is to prepare the integration
1123        of dicom dir parsing
1124      * bug fix under python
1125
1126 2004-01-16 Jean-Pierre Roux
1127     * REM removal of class gdcmHeaderEntrySet
1128     * REM removal of files gdcmHeaderEntrySet.cxx, gdcmHeaderEntrySet.h
1129     * ADD add file gdcmHeader2.cxx 
1130     * ADD add method gdcmHeader::SetPrintLevel (for PrintHeader)
1131
1132 2004-01-15 Benoit Regrain
1133      * src/gdcmDicSet.[h|cxx] : add virtual entries to have a reference of
1134        entries created while parsing the header. Thus, they will be destroyed
1135        when the gdcmDictSet will be destroyed
1136      * src/gdcmHeader.cxx, gdcmHeaderEntrySet.cxx : uses virtual entries of
1137        gdcmDictSet
1138
1139 2004-01-15 Benoit Regrain
1140      * vtk/vtkGdcmReader.cxx : bug fix : before, with python only, the program
1141        made a fatal error because of the memory release at the end of program.
1142        The problem was in vtkGdcmReader::ExecuteData where we were allocate
1143        some memory and vtk seems to have some problems with that.
1144      * src/gdcmHeaderEntrySet.cxx : bug fix for std lib and cout
1145
1146 2004-01-14 Benoit Regrain
1147      * src/gdcmHeaderEntry.[h|cxx] : gdcmElValue -> gdcmHeaderEntry
1148      * src/gdcmHeaderEntrySet.[h|cxx] : gdcmElValSet -> gdcmHeaderEntrySet
1149      * src/*.[h|cxx] : make changes due to class name changes
1150      * gdcmPython/demo/*.py : bug fix due to method names
1151
1152 2004-01-13 Benoit Regrain
1153      * src/*.[h|cxx] : coding style
1154      * vtk/*.[h|cxx] : coding style
1155
1156 2004-01-13 Benoit Regrain
1157      * gdcmPython/testSuite.py : test the readable flag of file for tests
1158      * src/gdcmDict.cxx, gdcmElValSet.cxx : bug fix under windows for prints.
1159        It's lied to the stl compilation by MSVC (windows, always windows...)
1160      * src/gdcmIdo.h, gdcmHeaderIdo.cxx : remove the Ido unused files
1161
1162 2004-01-12 Benoit Regrain
1163      * src/*.h : add comments
1164      * src/gdcmDictSet.h : set the method BuildDictPath in public
1165      * src/gdcmTS.cxx, gdcmVR.cxx : use now a dictionnary file other than to be
1166        directly setted in the source code
1167      * Dicts/dicomTS.dic, dicomVR.dic : 2 new dictionnary files loaded by
1168        gdcmTS and gdcmVR
1169
1170 2004-01-09 Benoit Regrain
1171      * gdcmPython/gdcmVersion.py : add a gdcmVERSION variable information
1172      * setup.py : use a reference to gdcmVERSION
1173
1174 2004-01-07 Benoit Regrain
1175      * Modification to compile with the distutils.
1176      * Bug fix in code
1177
1178 2003-12-10 Benoit Regrain
1179      * gdcmHeader is now aggregating gdcmFile, and not derived into. Thus, we
1180        can use a gdcmHeaderHelper to load datas
1181      * gdcmPython/testSuite.py : make the testSuite compliant with modifications
1182        made in the source code
1183
1184 2003-12-10 Benoit Regrain
1185      * Update Windows projects and .cvsignore files
1186
1187 2003-11-12 Jean-Pierre Roux
1188      * ENH gdcmHeader constructor has one more parameter (default value : false)
1189            that allows the user to 'go inside' the SeQuences only
1190            if he wants to.
1191            gdcmElValSet:Print takes it into account
1192
1193 2003-11-12  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1194      * ENH: Update gdcmPython/CMakeLists
1195      * FIX: (gdcmHeaderHelper) GetRescale and GetSlope
1196      * FIX: (gdcmElValSet) char 'tag' was overiding private members (VC++)
1197
1198 2003-11-10 Jean-Pierre Roux
1199       * FIX : gdcmHeader::LoadElements is now based
1200              on the ListTag listElem member,
1201              not longer on the TagElValueHT tagHt member
1202       * ENH : PrintPubElVal shows (temporarily) both results,
1203              with the tagHt member and the listElem member.
1204              (it's easier to 'see' the problems when using Printheader)
1205
1206       * FIX : old private member LgrElem is now splitted into
1207              ReadLength   : Length actually found on disk (updated only
1208                             if bug fixing is necessary), for internal
1209                             use only
1210              UsableLength : Updated by FixFoundLength, to fix a bug
1211                             or to allow Parser going on.
1212              Will allow to re-write a kosher header when a SeQuence
1213              with a length (not 0000) is found
1214       Warning : gdcmFile::Write still uses the TagHt (not ListElem)
1215                 because gdcmElValSet::Add does not update ListElem
1216                 (to be written)
1217
1218 2003-11-07 Jean-Pierre Roux
1219      * FIX misstyping in Transfert Syntax name table
1220      * ENH gdcmHeader::FixFoundLength now allow to 'go inside' tge SeQuences
1221           when they have an actual length (not 0000 nor FFFFF)
1222      (Nobody should care of it, but DICOMDIR explorers)
1223
1224 2003-11-06  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1225      * ENH: vtkgdcmViewer now works with LUT dicom (OT-PAL-face ...)
1226
1227 2003-11-05  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1228      * ENH: vtkGdcmReader now supports LUT !
1229           (vtkgdcmViewer for now is not able to use them though)
1230
1231 2003-11-05 Jean-Pierre Roux
1232      * in testSuite.py : new files names for checking the package
1233      * FIX : Forgot to commit gdcmFile::GetImageDataSizeRaw();
1234              that returns the pixel area size to the *aware* (vtk) user
1235              that DOESN'T want to turn the PALETTE COLOR image into an RGB image
1236
1237 2003-11-05 Benoit Regrain
1238      * in testSuite.py : Modify the rules for checking the paths
1239                        : Explicit error messages
1240      * in __init__.py  : Related modif
1241
1242 2003-11-03 Jean-Pierre Roux
1243      * add gdcmHeaderHelper::GetNumberOfScalarComponentsRaw()
1244            to be used by aware (vtk) users that want to manage
1245            LUT (and no to turn the PALETTE image into an RGB pixels one)
1246      * GetPixelType now returns 8U for 24 Bits images
1247                     (vtkGdcmReader compliant)           
1248       
1249 2003-10-31 Jean-Pierre Roux
1250      * Removal of *all* gdcmData images and add them again
1251        in order to loose the 'history' of un-anonymised images
1252        
1253 2003-10-31 Jean-Pierre Roux
1254      * RMV : removal of useless jBitsInJsample.h 
1255            for both 8 and 12 Bits JPEG Lossy Libraries
1256
1257 2003-10-31 Jean-Pierre Roux
1258      * ENH : Add the functions gdcmFile::GetImageDataRaw 
1259                                gdcmFile::GetImageDataIntoVectorRaw
1260              that act as GetImageData and GetImageDataIntoVector
1261              except the making of an RGB Plane from Gray Plane + LUT
1262              Intended to aware (vtk) users who know how to manage
1263              such an image :
1264              After gdcmHeader :
1265               GetLUTRGBA return a R,G,B,A LUT if any
1266               lgrTotaleRaw gives the 'Raw' length
1267               GetImageDataRaw returns the gray Plane
1268      * FIX : no more dirty trick for 'Segmented xxx Palette Color Lookup' images
1269              (They stay Grey, just like with other Dicom viewers :-(
1270
1271 2003-10-30 Jean-Pierre Roux
1272      * FIX : a VC++ intended syntax modif broke the 12/12 Bytes expanding
1273              
1274 2003-10-29  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1275      * ENH: Can be used like this '$vtkgdcmViewer *.dcm' with *.dcm 
1276            being coherents dicom files.
1277      
1278 2003-10-29  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1279      * FIX: DOH ! Forgot about windo$e users, they couldn't read lossless jpeg,
1280            from medcon lib !
1281      * ENH: Turn it into DOS file type to match libgdcmijpeg8.dsp file type 
1282      * ENH: Two steps is necessary to please VC++ compiler...
1283      * FIX: DOH ! libgdcmijpg8 -> libgdcmljpeg
1284      * ENH: Add include dir to medcon lib
1285      * FIX: only one function is being exported for now ! 
1286            You should use GLOBAL(return type) see ljpg/jpeg.h for more info
1287             
1288 2003-10-29 Jean-Pierre Roux
1289       * adding  gdcmHeader::GetLUTRGBA
1290         returns a 4 * 256 Bytes Reg/Green/Blue/Alpha vtk compliant LUT
1291           --> Mathieu, the modif u're waiting for is not yet committed
1292       * removal of now useless GetLUTRed,GetLUTGreen,GetLUTBlue,GetLUTRGB
1293
1294 2003-10-27 Jean-Pierre Roux
1295       * adding some xmedcon breaker files (courtesy of Loïc Boussel)
1296         00191113.dcm DermaColorLossLess.dcm
1297         MxTwinLossLess.dcm RadBWLossLess.dcm
1298       * ENH: For version prior to vtkImageViewer2 -r 1.19
1299       * FIX: avoid pb with xmedcon-breaker CT McTwin Elscint images
1300
1301 2003-10-27  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1302       * Removal of ido stuff in CMakeLists.txt
1303                                                
1304 2003-10-24  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1305       * ENH: vtkGdcmReader.cxx can now read multiframe dicom
1306       * FIX: remove a call to ->Modified ... see comments
1307       * FIX: vtkgdcmViewer.cxx was writting ASCII file...this is so slooooow !
1308       
1309 2003-10-23  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1310       * FIX: Problem with path for libvtkgdcmPython
1311       * ENH: Try adding a search script for python site-package
1312       * RMV: Remove some file from medcon lib that are not necessary
1313       * FIX: gdcm/Makefile.am fix for generating ljpg medcon
1314       * ENH: CMakeLists.txt now generate 'pygdcm.so' instead of 'libpygdcm.so'
1315       * FIX: More pragma disable fro VC++, 
1316              I don't think I break something as it is also disable in VTK/ITK.
1317         But it fasten debug compilation time.
1318             
1319 2003-10-23 Jean-Pierre Roux
1320       * gdcm now deals with 16 Bits Run Length Encoded images
1321         (they are compressed as 2 planes images, 
1322          one for the high Bytes, the other for low Bytes)
1323
1324 2003-10-22 Jean-Pierre Roux
1325       * Now CheckRead takes into account :
1326          - the bugged 'Leonardo' Siemens images
1327          - the XA images, sent thru the burning VPRO station
1328       * add I9000001.dcm, a GE dlx XA image, thru the VEPRO burning station
1329        (breaks DicomWorks)
1330
1331 2003-10-22  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1332       * FIX: When copying a Makefile.am to CMakeLists.txt 
1333              one should remove the '\'
1334         
1335 2003-10-22 Jean-Pierre Roux
1336       * in gdcmData adding a bugged 'Leonardo' Siemens image 
1337         (wrong lengths in header)
1338         OK with gdcm, KO with the other viewers :-)
1339       * add a GE dlx XA image, thru the VEPRO burning station
1340         (breaks DicomWorks)
1341
1342 2003-10-21 Jean-Pierre Roux
1343       * in gdcmData add the checkvtkgdcmViewer.sh shell script 
1344         for a brutal checking of vtkgdcmViewer compliance
1345
1346 2003-10-21 Jean-Pierre Roux
1347       * add the files for 'xmedcon' Jpeg Lossless library
1348       * call of 'xmedcom' Jpeg Lossles libray (instead of the old LibIDO one)
1349
1350 2003-10-21 Jean-Pierre Roux
1351       * 'Compacted Files' (12 Bits Allocate, 12 Bits Stored) are now dealt with
1352      
1353 2003-10-21 Jean-Pierre Roux
1354       * garbage Siemens 'Leonardo' images dealt with
1355         (the patch is easy to remove)
1356       * cosmetic changes to avoid warnings
1357       
1358 2003-10-20  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1359       * ENH: vtkgdcmViewer now autoscale color/window level on start-up, 
1360         no need to press 'r' now.
1361    
1362 2003-10-20  Jean-Pierre Roux
1363       * upgrade of checkRead.sh checkWrite.sh according
1364         to new Jpeg Lossless decompressor
1365       * add US.3405.1.dcm, a genuine RGB medical file ...
1366       * add gdcm-ACR-LibIDO.acr, unnormalized Rectangular LibIDO format image
1367       * add CLIP0001-Sequoia-U11.dcm, US 'Clip', from SEQUOIA machine,
1368                                                   UNIT 11, Hop Cardio              
1369 2003-10-15  Jean-Pierre Roux
1370       * general anonymisation in gdcmData
1371       * adding the 'color files' from
1372         http://www.leadtools.com/SDK/Medical/DICOM/ltdc19.htm
1373       * adding some well knowed bugged-header images
1374       * adding checkRead.sk, checkReadColor.sh, checkWrite.sh,
1375         waiting for their inclusion in Python testsuite
1376
1377 2003-10-15  Jean-Pierre Roux
1378     * gdcmHeader::gdcmHeader(const char *InFilename, bool exception_on_error)
1379       no longer seg faults when file is not found
1380
1381 2003-10-14  Jean-Pierre Roux
1382      * Emprovement of reading for Dicom encapsulated Jpeg LossLess 
1383        MultiFrame images
1384
1385 2003-10-14  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1386      * TODO: *.in file to genereate a UseGDCM later
1387
1388 2003-10-14  Jean-Pierre Roux
1389      * Some supposed-to-be Dicom Images have no preamble.
1390         OpenFile takes it into account
1391      * Jpeg LossLess 24 Bits images doesn't break any longer gdcm
1392      * Missing elements added in dicomV3.dic
1393       (just to be affraid : have a look at
1394        ftp://medical.nema.org/medical/dicom/2003/01v03dif/01v03_06.pdf
1395        and do it again next year ;->
1396
1397 2003-10-13  Jean-Pierre Roux
1398      * According to PS 3.3-2003 C.11.1.1.2 p 619, when each pixel of 
1399        a PALETTE COLOR is stored on 2 Bytes, theese 2 Bytes must be equal.
1400        But there are NOT. It's fixed !
1401        
1402 2003-10-13  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1403      * FIX: "jpeglib.h" was not found on VC++
1404      * FIX: vtkgdcm was not being installed 
1405          
1406 2003-10-10  Jean-Pierre Roux
1407      * ENH : OpenFile closes the file if it *really* doesn't look like
1408              an ACR-NEMA / DICOM one.
1409      * FIX : testWrite no longer writes an empty file if the source file     
1410              is not gdcm Readable
1411      * ENH : One more JPEG LossLess type "JPEG Baseline (Process 14)" 
1412              is now decoded.
1413         
1414 2003-10-10  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1415      * FIX: CMake generate now documentation
1416      * ENH: out of source doc build !
1417      * ENH: Generate both user and dev documentation
1418      * ENH: Should work on windows too
1419      * ENH: Only one doxygen config.in file is needed 
1420      * FIX: make install should be ok now on Ã¹nix plateform
1421      * FIX: PATH to dictionary was wrong (missing /)
1422      * ENH: OpenFile, return true if the file looks like an ACR or DICOM file 
1423                      
1424 2003-10-09  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1425      * vtkGdcmReader is now able to read rgb dicom file.
1426      * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
1427      * added a gdcmViewer to vtk test, use mouse to control 
1428         window level & window width
1429
1430 2003-10-09  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1431      * CMake-ification of gdcm, we have now two build system
1432      * FIX: on cygwin Wsock32 doesn't exist
1433      * FIX: force jpeg dir to the local one (gdcm/src/jpeg)
1434      
1435 2003-10-06  Emanuel Ollart
1436      * FIX : compilation process wad broken.
1437              Changed gdcmViewer_sources to vtkgdcmViewer_sources
1438         
1439 2003-10-06  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1440      * change gdcmViewer -> vtkgdcmViewer
1441      * change GetXSpacing and GetYSpacing "%f\\%" is parsed backward
1442      
1443 2003-10-06  Jean-Pierre Roux
1444      * FIX :A few nasty patches to allow the reading of a lot of nasty images
1445            ( e.g : well known GE images with a wrong elem length,
1446                  : Philips MRI Images with a wrong Huffman table)
1447       * still to be done : allow the reading of bugged LEONARDO Siemens images
1448
1449 2003-10-03 Jean-Pierre Roux
1450       * Odd length strings are padded with '\0' (not with spaces, 
1451         to remain compliant with already defined strings, 
1452         like Transfert Syntax UID and others)
1453
1454 2003-10-03 Jean-Pierre Roux
1455       * ENH :gdcmHeaderHelper::GetNumberOfScalarComponents() added, 
1456              to allow displaying RGB images (not only by affim ;-)
1457         
1458 2003-10-03  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1459       * vtkGdcmReader is now able to read rgb dicom file.
1460       * src/gdcmHeaderHelper : GetNumberOfScalarComponents()
1461
1462 2003-10-03 Jean-Pierre Roux
1463       * A few nasty patches to allow the reading of a lot of nasty images
1464         ( e.g : well known GE images with a wrong elem length,
1465               : Philips MRI Images with a wrong Huffman table)
1466       * still to be done : allow the reading of bugged LEONARDO Siemens images
1467
1468 2003-10-03 Jean-Pierre Roux
1469       * One more JPEG LossLess type "JPEG Baseline (Process 14)" is now decoded.
1470
1471 2003-10-03 Jean-Pierre Roux
1472       * gdcmHeaderHelper::GetNumberOfScalarComponents() added, 
1473         to allow displaying RGB images (not only by affim ;-)
1474
1475 2003-10-03 Jean-Pierre Roux
1476       * gdcmFile::GetImageDataIntoVector now
1477          - deals with MultiFrames MultiFragments Run Length Encoded files
1478          - deals with YcBcR (YBR_FULL) files
1479          - deals with YBR_YBR_FULL_422 files (they work as RBG files ?!?)
1480           WARNING : nothing was checked for YBR_PARTIAL_422, YBR_ICT, 
1481                                             YBR_RCT files.
1482           (no sample found :-(
1483
1484 2003-10-02  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1485       * src/*.cxx removed pragma thingies to src/gdcmCommon.h
1486         Two reasons: - clear things
1487                      - third parties acces gdcm through header files, so won't
1488                        suffer anymore VC++ complains
1489
1490 2003-09-30  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1491       * add argv[1] in testvtkGdcmReader.cxx
1492       * removed leaks
1493
1494 2003-09-24 Jean-Pierre Roux
1495       * The lines are now eigthy characters long.for 
1496         gdcmHeader.cxx gdcmHeaderHelper.cxx gdcmParse.cxx 
1497
1498 2003-09-22  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1499       * src/gdcmUtil.[cxx|h] : change the _CreateCleanString return value from
1500         char* to std::string. Thus, the use of strdup becomes useless. (see
1501         previous commis of Malaterre)
1502       * src/gdcmElValSet.cxx : reuse commented call to _CreateCleanString like
1503         before the last Malaterre's commit.
1504
1505 2003-09-19  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1506       * This commit should fix the Debug building under VC++, the problem
1507         was mainly a mixture of debug and release lib being loaded at startup.
1508       * I also remove a depency to a specific C function: strdup. Because I had
1509         to force the link to msvcrtd (whereas strdup is in libc).
1510
1511 2003-09-16  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1512       * "gdcm::Unfound" string changed to a constant variable (GDCM_UNFOUND)
1513         located in the gdcmCommon.h file. All use of reference of tha has been
1514         changed to now use the variable GDCM_UNFOUND.
1515
1516 2003-09-16  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1517       * Cosmetic changes:
1518         - gdcmPython/testSuite.py adapted to the JPR updated Dicts/dicomV3.dic
1519           Dicom dictionary. The test suite can now be run again. Note:
1520           I'm note very happy with the " (RET)" changes. I believe this
1521           RETAINED comment should be dropped when parsing the dictionary.
1522         - PACKAGER corrected
1523         - DEVELOPPER added.
1524         - AUTHORS updated and now in alphabetical order
1525       * Makefile.am now exports gdcm.dsw for Windoze users.
1526
1527 2003-09-11  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1528       * cygwin complains about missing std:: in subdir Test/
1529
1530 2003-09-10  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1531       * remove some methods that are now in gdcmHeaderHelper
1532
1533 2003-09-10  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1534       * vtkGdcmReader set spacing and origin correctly
1535
1536 2003-09-09  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1537       * Fix a few delete/delete[] mismatch
1538
1539 2003-09-08  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1540       * src/gdcmHeaderHelper.[h cxx]: added new class that provide an
1541         interpretation to data given by gdcmHeader. For instance there are
1542         heuristics to get informations (look at different places).
1543       * it also include a specific class: gdcmSerieHeaderHelper devoted to
1544         sorting DICOM images based on different strategies.
1545       * modified Makefiles accordingly.
1546
1547 2003-09-05  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1548       * src/*.cxx : added pragma disable 4786/4251 to get rid of ~4300 warning
1549         when building in debug mode
1550       * vtk/win32/vtkgdcm.dsp : change /MT -> /MD and /MTd -> /MDd to match
1551         src/win32/gdcmdll.dsp
1552       * vtk/win32/vtkgdcm.dsp : added /nodefaultlib "mscvrt" for debug mode
1553
1554 2003-08-29  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1555       * Corrected a leak in vtkGdcmREader.cxx, the pSource was find thanks
1556             to valgrind.
1557
1558 2003-07-29  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1559       * src/win32/libgdcmjpeg12.dsp was not dos format
1560       * src/win32/libgdcmjpeg12.dsp : 
1561                   libgdcmijpeg12_EXPORTS -> LIBGDCMIJPEG12_EXPORTS
1562       * src/win32/gdcmdll.dsp: + /I "..\jpeg\libijg12"
1563
1564 2003-07-29 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1565       * src/gdcmHeader.h : add std:: prefix for stl elements... like others in
1566         the file
1567       * src/gdcmFile.cxx : bug fix in affectation type
1568       * src/jpeg/libijpeg12/jmorecfg12.h : export for windows modified... like
1569         in src/jpeg/libijpeg8/jmorecfg8.h (JPR : copy/paste exists !!!)
1570       * Modifs of MVSC projects to compile them. Not concerning 2 identic
1571         symbols... future problem ?
1572
1573 2003-07-29  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1574       * src/win32/libgdcmijpeg12.dsp was missing
1575       * modified gdcm.dsw accordingly
1576
1577 2003-07-28  Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
1578       * src/gdcmHeader.cxx : misplaced return 0.; for ACR/NEMA
1579
1580 2003-07-24 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1581       * src/jpeg/libijg12/.cvsignore, jconfig.* : ommited files while last
1582         commit of JPR (before his hollidays to facilitate our work).
1583       * setup.py : bug fix in code. Modifications made while the last commit
1584         of JPR. The code hasn't been tested before the commit... it's so
1585         useless to make that (for best programmer that is JPR) !!!
1586
1587 2003-07-08  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1588       * tagged the current version as Version0_3 (i.e. version 0.3)
1589
1590 2003-07-08  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1591       * vtk/testvtkGdcmReader.cxx : remove a symbol that is unused
1592       * src/jpeg/libijg8/jmorecfg.h : adding export symbol for windows
1593       * *.dsp : modifications to use new libgdcmijpeg8 library
1594       * setup.py : bug fix on VTKPATH variable
1595       * PACKAGER : adding all concerning windows
1596
1597 2003-07-07  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1598       * src/gdcmElValSet.cxx, gdcmFile.cxx: JPR bug fix, removal of
1599         garbage debug code.
1600       * TODO, vtk/vtkGdcmReader.cxx: upcoming fixes comments.
1601       * gdcmPython/testSuite.py: JPR bug fix, brutal erasement of
1602         test suite reported error.
1603       * PACKAGER file added (describes what a packager must do when
1604         packaging a new release).
1605       * MANIFEST.in, now declares jconfig.linux and jconfig.vc
1606       * configure.in: upgraded version number to 0.3.0
1607       * fixing build of rpm (through rpm -ta):
1608         - Doc/Makefile.am exports proper doxygen files
1609         - src/jpeg/libijg8/Makefile.am exports the include files.
1610
1611 2003-07-07  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1612       * vtk/vtkGdcmReader.cxx : bug fix when loading only 1 file.
1613       * src/gdcmHeader.h : formatting code
1614
1615 2003-07-07  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1616       * vtk/vtkGdcmReader.[cxx|h] : bug fix when loading only one file.
1617         We were obtaining error message from vtk. Now, creation of file list
1618         is made in an internal list to prevent this problem.
1619         Bug fix when output is empty.
1620         Bug fix in update of progress value. Previous commit for this was a bad
1621         correction.
1622       * vtk/vtkGdcmReader.h : adding comments for InternalFileNaleList variable
1623
1624 2003-07-04  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1625       * src/gdcmHeader.h : added method to get the file name
1626       * vtk/vtkGdcmReader.[cxx|h] : bug fix concerning loading of bad dicom
1627         files. Added method to remove all files on the input
1628         Added FIXME comment concerning the bad parsing of header made by
1629         ExecuteInformation method (in ExecuteData method)
1630
1631 2003-07-03  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1632       * vtk/Makefile.am: vtkGdcmReader.h should now be cleany installed
1633         when using make instal.
1634       * src/gdcmFile.cxx : bug fix under Window after JPR commit
1635         RQ : the JPR doesn't appear in the ChangeLog... normal for him
1636
1637 2003-07-03  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1638       * setup.py : adding include dir of jpeg lib to compile all sources
1639       * */Win32/*.dsp : JPR fix for windows compilation
1640
1641 2003-07-02  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1642       * src/jpeg/libijg8/jconfig.* : JPR bug fix : now compile on both
1643         linux and WINDOWS !
1644       * src/gdcmJpeg.cxx : JPR bug fix : erroneous include
1645       * src/win32/gdcmdll.dsp : JPR fix for windows compilation
1646
1647 2003-07-02  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1648       * setup.py is again effective on un*x (takes into account the
1649         addon of the jpeg library)
1650       * Doc/DoxyDevelInstal.txt added (developper's raw documentation)
1651       * Doc/Doxy* updated (includes above enhancements)
1652       * INSTALL now points to web documentation
1653
1654 2003-07-01  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1655       * src/gdcmHeader.h doesn't make unnecessary reference to
1656         gdcmUtil.h anymore.
1657       * gdcmPython/Makefile.am now avoids calling the wrappers for the
1658         clean target.
1659       * src/gdcm*.[cxx|h] :
1660         - to allow compilation with gcc 3.x
1661           -- clean up of STL usage (added explicit usage of std::)
1662           -- small fixes on exceptions.
1663           Note: linking not tested !
1664         - clean of doxygen comments to avoid warnings at documentation
1665           building stage.
1666       * vtk/vtkGdcmReader.cxx: g++ warning message clean up (platform
1667         dependent convertion).
1668
1669 2003-06-20  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1670       * Clean up of previous JPR garbage commit (not even commented in the
1671         Changelog):
1672         - Test/Makefile.am removed the reference to unexisting testTS.cxx
1673         - moved all jpeg related files from src to src/jpeg/libijg8, with
1674           addition/modification of Makefile.am and configure.in.
1675         - the testSuite is still brain damage (not guilty).
1676
1677 2003-06-02  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1678       * WrapVTK.py : modifications to get correctly vtk source files to
1679         compile
1680       * vtk/vtkGdcmReader.cxx : modification for an already existing name
1681         (FileName -> Filename)
1682
1683 2003-06-11  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1684       * vtk/vtkGdcmReader.[cxx/h]:
1685         - UpdateProgress method should now be effective
1686         - removed the limitation on having only images loaded (as opposed
1687           to volumes),
1688         - when building a stack of images/volume, a lesser number of
1689           gdcmHeader and gdcmFile instances should be used (hopefully
1690           accelerating things).
1691         - when building a stack of images/volumes, files which are not
1692           loadable (wrong path-filename, wrong permissions on existing file,
1693           or file not parsable by gdcm) are replaced with a black image
1694           in the stack (for the caller to notice the problem).
1695
1696 2003-06-03  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1697       * vtk/vtkGdcmReader.cxx: hopefully corrected Z extent.
1698
1699 2003-06-02  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1700       * vtk/vtkGdcmReader[cxx|h] : makes correct code to remove conflicts
1701         between standard library (std) and vtk library (problems are found
1702         under Windows... thanks Windows !)
1703
1704 2003-05-30  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1705       * vtk/vtkGdcmReader[cxx|h] should now be volume aware (read ready for
1706         debug stage).
1707       * gdcmPython/demo/vtkGdcmReader.py: commented lines for volume test
1708
1709 2003-05-29  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1710       * vtk/vtkGdcmReader[cxx|h] preparation addons for loading volumes.
1711
1712 2003-05-28  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1713       * When compiling with distutils (see setup.py) the C++ compiler is
1714         called with different flags than the default ones (with automake).
1715         In order to fix all those warning, I compiled gdcm with the command
1716            make 'CXXFLAGS=-Wall -Wstrict-prototypes -D__STDC_LIMIT_MACROS'
1717         and went for warning fixes:
1718         - src/gdcmHeader.cxx, Test/dcm2acr.cxx, pourFindTaggs.cxx cleaned
1719           up from unused variables.
1720         - vtk/vtkGdcmReader.cxx: potential bug fix.
1721       * src/gdcmHeader.h: Doxygen warning cleanup
1722
1723 2003-05-27  Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1724       * gdcmPython/gdcm.i:
1725         - typemaps correction to take into account the systematic replacement
1726           of "using namespace std" with std:: prefix e.g. std::list,
1727           std::string... (cf changes of 2003-05-21).
1728         - gdcmGlob global variable of type gdcmGlobal (defined in
1729           src/gdcmUtil.cxx and declared in gdcmPython/gdcm.i) is now
1730           exported to Python a as cvar.
1731       * gdcmPython/__init__.py now defines two functions GetPubDictTagNames()
1732         and GetPubDictTagNamesByCategory() as a replacement for deprecated
1733         gdcmDictSet.GetPubDictTagNames() and
1734         gdcmDictSet.GetPubDictTagNamesByCategory() class functions (i.e.
1735         C++ static methods).
1736       * gdcmPython/demo/printGroupedPublicDict.py is operational again,
1737         with the above changes.
1738
1739 2003-05-22  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1740       * setup.py, manifest.in : bug fix under linux
1741
1742 2003-05-22  Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1743       * Modification of setup.py to compile vtk part too. Then, we have 2
1744         wrappers which must work with same distutils. For that, we have a
1745         generic distutils in distusiltsWrapping.py ; with :
1746          - build_extWrap class to wrap generically all extensions,
1747          - ExtensionWrap base class for all wrapping extension that contains
1748            a wrapper
1749          - Wrapper interface which wrap sources
1750         + In WrapSwig.py  we have extension and wrapper for Swig
1751         + In WrapVTK.py  we have extension and wrapper for VTK
1752       * MANIFEST.in : modifications to consider vtk directory and new python
1753         files for compilation
1754
1755 2003-05-21  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with Benoit Regrain
1756       * Added python wrappers of vtkGdcmReader vtk class (see the
1757         source in vtk/vtkGdcmReader.cxx) :
1758         - vtk/Makefile.am now builds a library
1759         - gdcmPython/Makefile.am now builds vtkgdcmPython a second import
1760           python library (as opposed to _gdcm.so wich are the python
1761           wrappers of gdcm). vtkgdcmPython.so uses the vtk python wrappers
1762           (vtkWrapPython and vtkWrapPythonInit utility) to build vtkgdcmPython
1763           import library.
1764         - configure.in has an additional flag --enable-vtk that needs
1765           to be set to enable compilation of vtk related code, that is:
1766           + vtk/vtkGdcmReader.so and
1767           + vtk/testvtkGdcmReader C++ demo of vtk wrappers of gdcm)
1768           + gdcmPython/vtkgdcmPython.so (see above)
1769         - gdcmPython/demo/vtkGdcmDemo.py corrected (some images cannot
1770           be read when compressed or when HighBit + 1 != BitsStored),
1771         - gdcmPython/demo/vtkGdcmReader.py added. This demo illustrates
1772           the usage of the python wrapper of vtkGdcmReader vtk class.
1773       * vtk/vtkGdcmReader.cxx: bug fixed (thanks to Benoit Regrain).
1774       * src/*.[h] all occurences of stl classes are now prefixed with
1775         std::, and all occurences of "using namespace std;" where removed.
1776         This is to avoid pollution of global namespace in included files.
1777         Apparently vtk does not avoid this pitfall: when using both
1778         gdcm and vtk (as in vtk/vtkGdcmReader.cxx) this ended up in a
1779         collision of various stl members (principally cout...).
1780       * gdcmPython/testSuite.py now cleanly removes temprory generated
1781         file.
1782       * gdcmPython/gdcm.i now declares a typemap for std::string (to
1783         comply with above changes)
1784
1785 2003-05-12  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1786       * src/gdcmHeader>[h/cxx] added gdcmHeader::GetPixelSize()
1787       * vtk/vtkGdcmReader.cxx now properly inports the image in the
1788         vtk data structure (an image Flip was required).
1789       * vtk/testvtkGdcmReader.cxx refers to gdcmData subdir instead of Data.
1790       * cosmetic changes in documentation.
1791
1792 2003-05-7  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1793       * src/gdcmHeader.cxx: the constructor no longer exits when an
1794         unexisting file is given as argument.
1795       * The subdirectory Data (containing all the images used for the
1796         test suite) is not part of this repository anymore. A new module
1797         containing those images is now available at
1798           :pserver:xxx@cvs.creatis.insa-lyon.fr:2402/cvs/public
1799         with the name gdcmData.
1800         All the python scripts (including the package initialisation file
1801         gdcmPython/__init__.py) were adapated to take this change into
1802         account (basically GDCM_DATA_PATH is now GDCM_TEST_DATA_PATH).
1803
1804 2003-05-5  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1805       * vtk subdir added. Contains vtkGdcmReader.[cxx|h] a vtk class
1806         inherinting from vtkImageReader and testvtkGdcmReader.cxx a small
1807         demo of the usage of this class.
1808         Compilation of this vtk part is only done when using the --enable-vtk
1809         at configure (or autogen.sh) stage.
1810
1811 2003-04-16  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1812       * More memory link related corrections and documentation fixes.
1813         Notes on valgrind:
1814           - maximum info is obtained with a command of the form:
1815             valgrind --leak-check=yes --leak-resolution=high --num-callers=40
1816                      --show-reachable=yes PrintHeader
1817           - the remaining reachable blocks seem to come from the STL
1818             allocation scheme through the usage of map and list. It looks
1819             like this memory cannot be freed but it is not a memory leak
1820             (in fact further invocation to the STL would recollect the
1821              unused memory allthough it cannot explicitely be freed).
1822       * gdcmPython/demo/vtkGdcmDemo.py added: this is a small demo
1823         of displaying an image parsed with gdcm and displayed with VTK.
1824         Note: some images don't seem to work e.g.
1825             python vtkGdcmDemo.py  ../../Data/US-RGB-8-esopecho.dcm
1826       * src/gdcmHeader.x: dicom_vr and Dicts are not class members anymore.
1827         Allthough this weakens the semantics, it is a ditch attempt to
1828         make gdcm more thread friendly.
1829
1830 2003-04-15  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1831       * Memory link hunt (by using valgrind through the command
1832           valgrind --show-reachable=yes --leak-check=yes PrintHeader).
1833         - added src/gdcmVR.cxx gdcmVR.h that objectify the previous
1834           gdcmHeader::_dicom_vr.
1835         - gdcmHeader::InitVRDict transfered as gdcmVR::gdcmVR().
1836         - gdcmHeader::dicom_vr is now of type gdcmVR* as opposed to
1837           VRHT*.
1838         - gdcmGlobal global object contained class added (see src/gdcmUtil.x)
1839
1840 2003-04-9  Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1841       * src/Makefile.am now exports all the necessary include files at
1842         make install stage.
1843
1844 2003-04-9 JPR
1845       * UpdateGroupLength replaced by new one
1846
1847 2003-04-7 JPR
1848       * UpdateGroupLength re-written using H-Table
1849         (named UpdateGroupLengthNew untill checks are over)
1850
1851 2003-04-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> with JPR
1852       * Data/im_00001 renamed to gdcm-MR-PHILIPS-16-Multi-Seq.dcm
1853       * gdcmPython/testSuite.py now include a test of gdcmFile::Write.
1854       * src:
1855         - gdcmHeader::GetPubElValSet removed.
1856         - gdcmElValSet::WriteDcm, WriteAcr, WriteExplVR, revamped to
1857           UpdateGroupLength, WriteElements, Write.
1858         - gdcmHeader::FileType moved to gdcmCommon.h. The enum FileType
1859           doesn't contain TrueDicom anymore since ExplicitVR and ImplicitVR
1860           carried the same semantics.
1861           - src/gdcmHeaderIdo.cxx changed accordingly.
1862         - gdcmFile::WriteBase now regroups all the codes from previous
1863           versions of WriteDcm, WriteDcmImplVR, and WriteACR.
1864         - enum FileType moved to gdcmCommon.h
1865       * src/gdcmHeader.cxx AddDefault trashed
1866       * gdcmGetXSize added
1867       * getimageDataSize now calls gdcmGetXSize
1868       * Test/*.cxx changed to agree with above changes
1869
1870 2003-03-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1871       * src/gdcmHeader.h: LoadElements() is not a public method anymore
1872         (to avoid double call by end user).
1873       * Test/*.cxx LoadElements() doesn't need to be called explicitely
1874         by end user, since gdcmHeader::gdcmHeader now handles it.
1875
1876 2003-03-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1877       * gdcm/Doc many doxygen changes:
1878         - Doxyfile now has two different versions, DoxyfileUsers that generates
1879           the html.users end users oriented documentation and
1880           DoxyfileDeveloppers that generates the html.developper developper
1881           oriented documentation.
1882         - README changed accordingly
1883         - requirement.txt removed (old design info moved to TODO).
1884         - Additional files DoxyInstallation.txt, DoxyIntroduction.txt,
1885           DoxyMainPage.txt, DoxyPython.txt provide more information.
1886         - Note: the website http://www.creatis.insa-lyon.fr/Public/Gdcm/ can now
1887           be updated by simply regenerating the docs with doxygen and copying
1888           html.developper and html.users to tux:/home/httpd/html/Public/Gdcm
1889       * src/gdcmElValSet.cxx: stl <map>.count() can only return 0 or 1. Hence
1890         all the tests in the form "if (<map>.count() >1)" were removed.
1891       * src/gdcmFile.cxx: cosmetic changes to avoid messages of doxygen about
1892         ill-formed documentation sections.
1893       * src/gdcmHeader.cxx: ditto
1894
1895 2003-03-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1896       * setup.py fixed for un*x (needed macro for stdint.h)
1897       * Test/test.cxx renamed to PrintHeader.cxx to avoid collision on
1898         un*ces with sh-utils test utility.
1899       * gdcmPython/demo/test.py renamed to PrintHeader.py
1900       * gdcmPython/demo/ReorganiseFiles.py new demo script added.
1901       * gdcmPython/win32/gdcmpycomplet.dsp renamed to gdcmpyembedded.dsp.
1902       * gdcmPython/win32/gdcmpy.dsp trashed away (brain damaged).
1903       * src/gdcm*.cxx JPR's bad inclusion fixed.
1904
1905 2003-03-26 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1906       * src/gdcmHeader[h, cxx] gdcmHeader now has an IsReadable predicate.
1907       * gdcmPython/demo/test.py changed accordingly.
1908
1909 2003-03-25 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1910       * gdcmPython/Makefile.am fixed linking against libstdc++
1911       * gdcmPython/_gdcm.so symbolic link to gdcmPython/.libs/pygdcm.so added.
1912       * Swig subdir (historical tests of swig version 1.3.17++) removed
1913       * Test/testChangeEntete.cxx some lines commented out in order to make
1914         compilation work.
1915       * src/gdcmHeader.cxx cleaned up wild JPR's dirty kludge.
1916       * src/gdcmElValSet.cxx cleaned up frog's forgotten debug message
1917
1918 2003-03-24 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1919       * src/gdcmHeader.cxx gdcmHeader::gdcmHeader now calls LoadElements(),
1920         hence the user doesn't need this explicit call.
1921         - gdcmPython/testSuite.py, gdcmPython/demo/*.py changed accordingly
1922           i.e. LoadElements() call removed.
1923       * src/gdcmCommon.h now defines UINT32_MAX (see stdint.h).
1924         - src/Makefile.am declares the proper flag for g++.
1925       * src/gdcmElValSet.h added gdcmElValSet::GenerateFreeTagKeyInGroup
1926         for adding user defined new tags.
1927         - src/gdcmHeader.cxx gdcmHeader::NewManualElValToPubDict added.
1928         - src/gdcmHeader.cxx gdcmHeader::AddAndDefaultElements now
1929           cleanly adds some gdcm added tags (like gdcmXSize, gdcmYSize...)
1930
1931 2003-03-17 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
1932       * Makefile.am, acinclude.m4, configure.in, python.m4, Dicts/Makefile.am,
1933         Doc/Makefile.am, Test/Makefile.am, gdcmPython/Makefile.am,
1934         src/Makefile.am : the project should properly compile and install
1935         with the autotools, included the python wrappers part.
1936       * gdcm.spec.in : added a spec file for RPM packaging.
1937
1938 2003-03-14 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1939       * src/gdcmUtils.cxx : redifinition of defaults parameters in code
1940
1941 2003-03-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1942       * gdcmPython/__init__.py fix of GDCM_DICT_PATH which was not
1943         to exported to the environement (see gdcmPython/testSuite.py
1944         for usage).
1945       * src/gdcmElValSet.[cxx/h], gdcmElValue.[cxx/h], gdcmFile.[cxx/h],
1946         gdcmHeader.[cxx/h]: ElValSet class renamed to gdcmElValSet, and
1947         ElValue class renamed to gdcmElValue for obvious consistency reasons.
1948       * src/gdcmElValSet.cxx, src/gdcmUtil.[cxx-h] Tokenize utility function
1949         moved away from gdcmElValSet.cxx to gdcmUtil.cxx.
1950
1951 2003-03-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1952       * gdcmPython/__init__.py doesn't crash anymore when running in
1953         in InstallMode or PreInstallMode but with an environement given
1954         value of GDCM_DICT_PATH.
1955       * src/gdcmDictSet.[cxx/h] coding style.
1956
1957 2003-03-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1958       * src/gdcmHeader.h and gdcmHeader.cxx Coding style + doxigenation.
1959       * src/gdcm.h general comments moved to TODO, and README
1960       * src/gdcm.h should now be seen as a user commodity (including it
1961         should suffice to fully use gdcm). It is nowhere including within
1962         any of the kernel files src/*.cxx and src/*.h.
1963
1964 2003-03-05 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1965       * src/gdcm.h splitted in gdcmCommon.h, gdcmDict.h, gdcmDictEntry.h,
1966         gdcmDictSet.h, gdcmElValSet.h, gdcmElValue.h, gdcmFile.h,
1967         gdcmHeader.h
1968       * src/gdcm*.cxx only include their corresponding include file
1969         (as opposed to gdcm.h)
1970       * gdcmPython/gdcm.i changed accordingly
1971       * Test/Makefile.am corrected and added NEWS, AUTHORS in order for
1972         the autogen.sh generated "make snapshot" command to work.
1973       * autogen.sh removed history related references to crea package.
1974
1975 2003-03-04 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1976       * distutilsSwigCPlusPlus.py work around some swig portability
1977         bug.
1978
1979 2003-03-03 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1980       * Eventually, python/gdcmPython was renamed to gdcmPython. This
1981         was done in a last ditch attempt to get setup.py _really_
1982         operationnal. The python/gdcmPython layaout add the advantage
1983         of hidding away the python related distutils specific files
1984         (MANIFEST.in, setup.py, distutils*.py...) from the main directory.
1985         Alas, the src directory was out of scope (i.e. it's relative
1986         position to setup.py was ../src) which made things impossible to
1987         handle (see previous version of python/setup.py). Crossing fingers...
1988
1989 2003-02-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1990       * python/setup.py now works on Un*x. (harder than I thougth)
1991       * python/distutilsSwigCPlusPlus.py can now have include files
1992         among the list of sources.
1993
1994 2003-02-20 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
1995       * src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
1996       * modifications in MSVC projects
1997
1998 2003-02-19 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
1999       * As stated by the first lines of Test/ExceptionAndPython/README, it
2000         looks like we can move back to original usage of exception within
2001         src/gdcm* and hence remove the errno stuff that was introduced
2002         as a quick and dirty fixture of this problem (added to the TODO).
2003       * Doc/Doxyfile configuration file for Doxygen and corresponding
2004         README file for usage added.
2005       * Test/testWrite.cxx added. This new test comes from a split of
2006         test.cxx that is now reverted to its original purpous i.e.
2007         testing the proper parsing of a Dicom related file.
2008         testWrite.cxx concentrates on testing the IO part of gdcm.
2009       * Test/bug1.cxx (containing a bug on WIn32) added.
2010       * src/gdcm.h, gdcmHeader.cxx, gdcmDictSet.cxx:
2011         - gdcmHeader::GetPubTagNames and  gdcmHeader::GetPubTagNamesByCategory
2012           whose purpose is to publish the content of the TagNames of the
2013           Dicom public dictionnary were not accessible without an
2014           instance of class gdcmHeader.
2015         - those methods are now static methods of gdcmDictSet and hence
2016           require no instances at all to be invocated.
2017         - within gdcmDictSet this change required to change some method
2018           to class methods (i.e. are now static) among which SetDictPath
2019           (renamed to BuildDictPath) and LoadDefaultPubDict.
2020       * python/gdcmPython/demo/printGroupedPublicDict.py changed to illustrate
2021         the above changes by calling the new method classes of gdcmDictSet.
2022       * python/gdcmPython/__init__.py now exposes gdcm.gdcmDictSet for
2023         the above to be effective.
2024       * python/gdcmPython: in order to wrap properly the above changes
2025         for Python, swig version now needs to be > 1.3.17.
2026       * python/gdcmPython/Makefile fixed to adapt itself to new
2027         configure/make shema introduced by Johan Montagnat (thanks for the
2028         contribution). Alas this Makefile cannot be turned into a proper
2029         Makefile.am without some heavy changes in the configure.in
2030         (for python dectection).
2031       * python/gdcmPython/gdcm.i: the out typemap map<string, list<string>>*
2032         now avoids publishing the empty entries.
2033
2034 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
2035       * python/setup.py : bug fix concerning install under windows
2036         ExtraPath reused :-P
2037       * gdcm.dsw : bug fix concerning path for libraries for python !!!
2038
2039 2003-02-13 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
2040       * Dicts/dicomV3.dic : remove double spaces !!!
2041       * src/gdcmElValSet.cxx : bug fix concerning windows compiler
2042       * python/gdcmPython/win32/gdcmpycomplet.dsp : bug fix concerning paths
2043         and links
2044
2045 2003-01-28 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2046       * src/gdcmHeader.cxx added a post header parsing AddAndDefaultElements
2047         method. Doxygenation.
2048       * src/gdcm.h clean up of JPR spurious comments.
2049
2050 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2051       * python/distutilsSwigCPlusPlus.py now properly collects the
2052         shadow classes generated by "swig -c++" (gdcm.py in our case)
2053         when using "python setup.py install".
2054       * python/gdcmPython/__init__.py imports gdcm.py and only manually
2055         reexports the working classes.
2056       * src/gdcmHeader.cxx all the try/catch/throw calls were replaced
2057         by the classical C errno scheme. This is to prevent an obscure
2058         behavior of the python wrappers when importing wxPython.wx prior
2059         to gdcmPython (which ended up in an abort call). An illustration
2060         of this oddity can be found in the Test/ExceptionAndPython
2061         subdir (see the README file). This problem probably due to
2062         an combination of g++ and dynamic loading.
2063       * added Test/ExceptionAndPython (see above)
2064
2065 2003-01-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2066       * Changed the layout of the python part to avoid bloating main
2067         directory with setup.py, distutilsSwigCPlusPlus.py, MANIFEST.in
2068         i.e. the distutils arsenal. All the python related stuff is
2069         again in a python subdir, but the package itself is now in
2070         python/gdcmPython.
2071       * setup.py was cleaned up:
2072         - pythonIncludePath removed
2073         - python setup.py bdist target is now functional.
2074       * gdcmPython/__init__.py doesn't export FileName any more (to avoid
2075         collision with other packages). gdcmPython/demo/*.py changed
2076         accordingly.
2077
2078 2003-01-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2079       * python subdir moved to gdcmPython (preparation of distutils packaging).
2080       * gdcmPython/setup.py and distutilsSwigCPlusPlus.py added. The
2081         distutils installer is operational.
2082       * - gdcmPython/__init__.py now properly loads the swig generated
2083           shadow classes (from gdcm.py).
2084         - gdcmPython/demo/*.py changed to import the package gdcmPython
2085           instead of gdcmPython/demo/load.py.
2086         - gdcmPython/testSuite.py changed to import the package gdcmPython.
2087
2088 2002-12-16 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2089       * src/gdcm.h, src/gdcmHeader.cxx: added GetPubTagNames() resp.
2090         GetPubTagNamesByCategory() to gdcmHeader that return a list of the
2091         entries within the associated public Dicom dictionary resp. the same
2092         information but sorted by the fourth field (PAT, IMG, DIR) of the
2093         dictionary.
2094         - Dicts/dicomV3.dic Entries which had and unspecified fourth field
2095           are now in the "???" group.
2096         - python/gdcm.i changed accordingly,
2097         - python/demo/printGroupedPublicDict.py added, that gives an example
2098           of the above new functionalities in Python.
2099
2100 2002-12-11 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2101       * src/gdcm.h, gdcmHeader.cxx:
2102         - historic references to glib's g_malloc and g_free (#defined)
2103           were definitively removed.
2104         - gdcm.h: cosmetic changes (part of comments moved to Doc/requirements)
2105       * src/gdcmElValSet.cxx:
2106         - GetElement(guint32, guint32) renamed to GetElementByNumber.
2107         - GetElValue(guint32, guint32) renamed to GetElValueByNumber.
2108         - GetElValue(string) renamed to GetElValueByName.
2109         - Added GetElementByName(string).
2110       * src/gdcmHeader.cxx: added
2111         - GetPubElValRepByNumber(guint16, guint16)
2112         - GetPubElValRepByName(string)
2113         - GetShaElValRepByNumber(guint16, guint16)
2114         - GetShaElValRepByName(string)
2115         - GetShaElValByNumber(guint16, guint16)
2116         - GetShaElValRepByName(string)
2117         - GetElValRepByNumber(guint16, guint16)
2118         - GetElValRepByName(string)
2119         - GetElValByNumber(guint16, guint16)
2120         - GetElValRepByName(string)
2121       * Doc/requirements.txt added.
2122
2123 2002-12-9 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2124       * Test/Makefile building now depends on the one of libgdcm.so
2125       * src/gdcmHeader.cxx and gdcm.h are now OB (undefined length encoded
2126         pixel data) aware which enables finding the address (offset) of
2127         the pixel data of JPEG encoded DICOM files. This leaves only a single
2128         file in the testSuite whose pixel data address (offset) is unknown.
2129       * python/testSuite.py changed accordingly.
2130
2131 2002-12-6 Christophe Odet + Hugues Benoit-Cattin + Eric.Boix
2132       * VC++ has some strong limitations when working with the STL, as stated
2133         in http://support.microsoft.com/support/kb/articles/Q168/9/58.ASP :
2134              "Also note that some STL containers (map, set, queue, list, deque)
2135               cannot be exported. [...]
2136               Some STL classes contain nested classes. These classes can not
2137               be exported. [...]
2138               This is caused by a designed limitation that once a template
2139               class is instantiated, it can not be re-instantiated and
2140               exported."
2141         Since our usage of map<> is ubiquitous in gdcm, this "designed
2142         limitation" of VC++ is a pitfall.
2143         Hence the Python wrappers of gdcm cannot be incrementally linked
2144         against the c++ dynamic library. The dirty but only workaround is
2145         to forget about incremental link of dynamic libraries and to generate
2146         the Python wrappers library with the inclusions of the underlying C++
2147         library.
2148         The following modifications concern this matter on Win32/VC++:
2149       - wrapping python correct with standalone wrapped dll (don't use separate
2150          dll under windows !!!!)
2151       - python21_d debug mode enabled (ask Frog how to use it :-)
2152       - NO problem with having an STL member of class for example string in C++
2153         WITH THE RESTRICTION OF FORGETING ABOUT INCREMENTAL LINK.
2154       - Python test of dcmlib in Python is ok under windows on a large set
2155         (one) of image(s).
2156       * removed glib references
2157       * typedef's inserted in gdcm.i for correct swig type management
2158
2159 2002-11-27 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2160       * python/demo/*.py load.py extracted from test.py. Added explore.py
2161         that only displays required tags and testAll.py that parses all
2162         the files of the testsuite without using unittest.
2163       * python/testSuite.py other additional test on new files added.
2164       * Data/* new test files added accordingly to the testSuite.
2165       * src/gdcmHeader.cxx avoid overwriting of the dictionary when
2166         the vr in the file differs from the one of the dictionary.
2167
2168 2002-11-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2169       * src/gdcm.h and gdcmHeader.cxx gdcm no longer loads all the elements
2170         values, but limits itself to values which are below a user specified
2171         size (by default 1024 bytes).
2172       * python/gdcm.i : elements not loaded (because their size is above the
2173         user specified treshold) are exported with their TagKey as key of the
2174         python dictionary. This enables the testsuite to make some checks
2175         on the unloaded elements (since we have their offset and size).
2176       * python/testSuite.py
2177         - now tests for the existence and proper value of the pixel data
2178         - two new examples added.
2179       * Data/gdcm-MR-SIEMENS-16.acr[12] added.
2180
2181 2002-11-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2182       * src/gdcm.h and gdcmHeader.cxx are now "Big Endian transfer syntax"
2183         aware. See the strategy comments in gdcmHeader::FindeLength().
2184       * Test/test.cxx now accepts a filename as first argument.
2185       * Data/US-PAL-8-10x-echo.dcm and US-RGB-8-epicard.dcm added.
2186       * python/testSuite.py changed to integrate test on above files.
2187
2188 2002-11-15 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2189       * Dicts/dicomV3.dic removed all the trailing (RET) when the
2190         the vr was also RET.
2191       * python/testSuite.py more tests added.
2192
2193 2002-11-14 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2194       * python/testSuite.py unittest test suite added (uses Data)
2195       * Data/* dcm and acr files for the test suite.
2196       * glib dependance removed from un*x version. We now use ISO C99
2197         7.18 Integer types (see stdint.h)
2198         - python/Makefile, src/Makefile src/gdcm.h
2199       * src/ when an explicit vr (like dicom files) suddenly poped an
2200         implicit element we use to mark the underlying DictEntry of the
2201         concerned ElValue with "Implicit". This strategy was damageable
2202         too the public or provite dictionaries, since some of their vr
2203         would be changed. Since Header::FindLength heavily relies on the
2204         detection by Header::FindVR of falsely explicit elements, I
2205         added an extra ImplicitVr member to ElValue (boolean).
2206         The rest of the changes we the necessary adaptations.
2207
2208 2002-11-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2209       * src/gdcmHeader::FindLength bug fix when trapping falsely explicit
2210         VR files.
2211       * src/gdcmHeader::FindVR: hard way fix of falsely explicit vr files.
2212
2213 2002-11-8 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2214       * Adaptation for porting to VC++:
2215         - src/gdcm.h
2216           o forced to use std namespace (for string to be known)
2217           o all class use __declspec export style on WIN32
2218         - src/gdcmUtil.cxx new Exit method that wraps the exit call
2219           (in stdlib.h on Win32 but in std:: for gcc)
2220       * src/gdcmDictSet::SetDictPath adds a trailing / to environement
2221         variable GDCM_DICT_PATH.
2222       * src/gdcmHeader.cxx verbose comments made discrete.
2223
2224 2002-11-7 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2225       * python/gdcm.i: added a typemap that converts a C++ hashing table
2226         to native Python dictionary.
2227       * python/demo/test.py:
2228         - now uses the native dictionary for exploration of gdcmHeader.
2229         - takes an optional filename argument (the file to parse).
2230       * src/gdcm.h and gdcmHeader.cxx: gdcmHeader now has an accessor on
2231         PubElVals hashing table.
2232       * Dicts/dicomV3.dic removed error prone trailing spaces.
2233
2234 2002-11-6 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2235       * Python wrapping process moved away from src/Makefile to
2236         newly created python/Makefile (as well as gdcm.i)
2237       * python/demo/test.py (that mirrors Test/test.cxx) is effective.
2238       * src/gdcmHeader::FindLength only looks for current vr when necessary.
2239       * src/gdcmDictSet.cxx: the dictionnaries directory path is now imported
2240         from the environement variable GDCM_DICT_PATH (when existing).
2241       * src/gdcmDict::GetTag bug fix.
2242
2243 2002-10-31 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2244       * Straightforward temporary fixes for swig to build the python wrappers.
2245         src/Makefile now has a python working entry [by working we mean
2246         that we can import de shadow classes without errors].
2247
2248 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2249       * hashtest.cxx removed (since allready in Test)
2250       * src/gdcmlib.h renamed to src/gdcm.h
2251       * src/dcm.i renamed to src/gdcm.i
2252       * src/Makefile prepared for python wrapping
2253
2254 2002-10-29 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2255       * src/gdcmHeader.cxx :
2256         - Parsing of header is now separated from loading of element values
2257           (see gdcmHeader::LoadElements).
2258         - general clean up of hopefully all file access (creation of
2259           ReadInt16 and ReadInt32)
2260
2261 2002-10-22 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2262       * src/gdcmHeader.cxx :
2263         - RecupLgr renamed to FindLength and cut off with new IsAnInteger
2264           method.
2265         - SetLgrElem renamed to SetLength
2266         - GetLgrElem renamed to GetLength
2267         - ~gdcmHeader() made virtual to pesky warning messages at compile.
2268       * src/gdcmElValSet.cxx fixed both GetElValue methods
2269       * Dicts/dicomV3.dic falacious entry [7fe0 0010 OT PXL Pixel Data]
2270         due to IdoDude was cleaned out.
2271
2272 2002-10-21 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2273       * src/gdcmHeader.cxx RecupLgr split in FindVR and RecupLgr. FindVR
2274         concentrates on finding the value representation (when it exists).
2275         RecupLgr now only finds the element value length, and it avoids
2276         returning the unecessary skL (skipped length).
2277         Also, offsetCourant was simply removed (with taille_fich) since
2278         it was redundant with the File position internals (by using
2279         ftell and fseek). This also made skL (see above in RecupLgr) usage
2280         jajun.
2281       * src/gdcmHeaderIdo.cxx src/gdcmIdo.h added. Those files concentrate
2282         on the libido specificities which are handled through class
2283         inheritance.
2284       * Test/implicit_vr.dcm dicom v3 in implicit value representation
2285         added.
2286
2287 2002-10-17 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2288       * Truckload of changes. Parsing of header is barely functional
2289         (see Test/test) with the standard dictionary (see Dicts/dicomV3.dic).
2290
2291 2002-10-10 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2292       * src/gdcmHeader.cxx many addons of low level methods
2293
2294 2002-10-07 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2295       * src/gdcmHeader now contains_IdDcmCheckSwap, _IdDcmRecupLgr,
2296         and _IdDcmSWAP_LONG.
2297
2298 2002-09-12 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
2299       * This corresponds to all the changes decided at the meeting of
2300         May 23 2002. Needless to say we are running late...
2301