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