]> Creatis software - gdcm.git/log
gdcm.git
19 years ago * Bug fix for the python part use
regrain [Wed, 12 Jan 2005 15:23:43 +0000 (15:23 +0000)]
   * Bug fix for the python part use
   -- BeNours

19 years ago2005-01-12 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
jpr [Wed, 12 Jan 2005 15:22:23 +0000 (15:22 +0000)]
2005-01-12 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
   * FIX : Old quick and dirty 'optimistic' heuristic to deal with
        Big Endian Transfer Syntax supposed the group following 0002
  begins alawys by element 0000 (element 0000 is *optional*)
  To avoid further troubles, let's be pessimistic, and use
  Document::HandleOutOfGroup0002() method

19 years ago * gdcmPython/gdcm.i : bug fix when compiling with MSCV
regrain [Wed, 12 Jan 2005 13:21:49 +0000 (13:21 +0000)]
   * gdcmPython/gdcm.i : bug fix when compiling with MSCV
   -- BeNours

19 years agoAdd verbosity
jpr [Wed, 12 Jan 2005 11:40:50 +0000 (11:40 +0000)]
Add verbosity

19 years agoEnhence some comments
jpr [Wed, 12 Jan 2005 11:33:39 +0000 (11:33 +0000)]
Enhence some comments

19 years agoTry to explain better what SwapCode means
jpr [Wed, 12 Jan 2005 10:47:44 +0000 (10:47 +0000)]
Try to explain better what SwapCode means

19 years agoBUG: Sorry I changed my mind it was getting worse...
malaterre [Tue, 11 Jan 2005 23:49:01 +0000 (23:49 +0000)]
BUG: Sorry I changed my mind it was getting worse...

19 years agoBUG: Ok I don't understand why but this allow me to read properly 012345.002.050...
malaterre [Tue, 11 Jan 2005 23:26:55 +0000 (23:26 +0000)]
BUG: Ok I don't understand why but this allow me to read properly 012345.002.050.dcm on a Big endian machine

19 years agoENH: Minor cleanup. Moved the cleanup of the transfer syntax directly within the...
malaterre [Tue, 11 Jan 2005 23:16:47 +0000 (23:16 +0000)]
ENH: Minor cleanup. Moved the cleanup of the transfer syntax directly within the gdcm::TS class

19 years agoENH: Since HandleOutOfGroup0002 need access to the transfer syntax move the method...
malaterre [Tue, 11 Jan 2005 23:06:35 +0000 (23:06 +0000)]
ENH: Since HandleOutOfGroup0002 need access to the transfer syntax move the method GetTransferSyntaxName from Header to Document

19 years agoBUG: Fix bug for Philips NTSCAN, this was fixed everywhere except the main tree...
malaterre [Tue, 11 Jan 2005 22:46:22 +0000 (22:46 +0000)]
BUG: Fix bug for  Philips NTSCAN, this was fixed everywhere except the main tree...

19 years agoBUG: Remove left over from LibIDO. SwapCode = 12 / 21 don t exist anymore. Also remov...
malaterre [Tue, 11 Jan 2005 22:40:31 +0000 (22:40 +0000)]
BUG: Remove left over from LibIDO. SwapCode = 12 / 21 don t exist anymore. Also remove SwapCode= 0 it doesnt mean anything replace by 1234

19 years agoSTYLE: print address in hex, for hexedit
malaterre [Tue, 11 Jan 2005 22:05:22 +0000 (22:05 +0000)]
STYLE: print address in hex, for hexedit

19 years agoSTYLE: minor cleanup
malaterre [Tue, 11 Jan 2005 21:49:23 +0000 (21:49 +0000)]
STYLE: minor cleanup

19 years agoBUG: This super duper HACK should solve the problem on the dashboard. This is a hack...
malaterre [Tue, 11 Jan 2005 20:49:44 +0000 (20:49 +0000)]
BUG: This super duper HACK should solve the problem on the dashboard. This is a hack and should hopefully desepear someday

19 years agoBUG: Solve the previous stoopid bug introduce while moving the transfer syntax out...
malaterre [Tue, 11 Jan 2005 19:03:00 +0000 (19:03 +0000)]
BUG: Solve the previous stoopid bug introduce while moving the transfer syntax out of gdcm::Document. Update changelog

19 years agoENH: Remap borland __FUNC__ to the c9x __FUNCTION__
malaterre [Tue, 11 Jan 2005 17:54:10 +0000 (17:54 +0000)]
ENH: Remap borland __FUNC__ to the c9x __FUNCTION__

19 years agoSTYLE: minor clean up
malaterre [Tue, 11 Jan 2005 17:19:38 +0000 (17:19 +0000)]
STYLE: minor clean up

19 years agoENH: Untangle the transfer syntax from the Document. The Document can only read a...
malaterre [Tue, 11 Jan 2005 16:44:42 +0000 (16:44 +0000)]
ENH: Untangle the transfer syntax from the Document. The Document can only read a string and can only ask gdcm::TS what are the property of the transfer syntax

19 years agoAdd verbosity
jpr [Tue, 11 Jan 2005 15:58:36 +0000 (15:58 +0000)]
Add verbosity

19 years agoSome more Doxygenation (for Doc/html.developper/annotated.html)
jpr [Tue, 11 Jan 2005 15:15:37 +0000 (15:15 +0000)]
Some more Doxygenation (for Doc/html.developper/annotated.html)

19 years agoSTYLE: minor
malaterre [Tue, 11 Jan 2005 14:39:03 +0000 (14:39 +0000)]
STYLE: minor

19 years agoBUG: Fix gdcm build on SunOS, where gethostname could not be resolved
malaterre [Tue, 11 Jan 2005 14:38:48 +0000 (14:38 +0000)]
BUG: Fix gdcm build on SunOS, where gethostname could not be resolved

19 years ago2005-01-11 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
jpr [Tue, 11 Jan 2005 11:37:12 +0000 (11:37 +0000)]
2005-01-11 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
   * Replace confusing name SwitchSwapToBigEndian name by SwitchByteSwapCode
   * Add the Document::HandleOutOfGroup0002(uint16_t group) method
    to swap the Swap Code, at parsing time, when we come out of group 0002
 and Transfer Syntax is Big Endian
 We should be able to read now 'true DICOM' Big Endian coded images
 * Add optional run time SetDebugOn (last param) for PrintHeader, PrintFile
 * Replace the french 'Transfert Syntax' by the english 'Transfer Syntax'

19 years agoENH: Adding 1.2.840.113619.5.2 .. test still doesn't work I don't understand why
malaterre [Tue, 11 Jan 2005 00:52:59 +0000 (00:52 +0000)]
ENH: Adding 1.2.840.113619.5.2 .. test still doesn't work I don't understand why

19 years agoENH: Adding a new method on TS: IsTransferSyntax. Where you pass in a string and...
malaterre [Tue, 11 Jan 2005 00:37:41 +0000 (00:37 +0000)]
ENH: Adding a new method on TS: IsTransferSyntax. Where you pass in a string and it return if this is a valid Transfer Syntax. So far gdcm is broken since 1.2.840.113619.5.2 is not handled

19 years agoSTYLE: Rework IsCurrentProcessorBigEndian to be smarter
malaterre [Tue, 11 Jan 2005 00:24:44 +0000 (00:24 +0000)]
STYLE: Rework IsCurrentProcessorBigEndian to be smarter

19 years agoSTYLE: minor clean up
malaterre [Tue, 11 Jan 2005 00:21:48 +0000 (00:21 +0000)]
STYLE: minor clean up

19 years agoBUG: Cannot include file within a namespace otherwise name gets mangled
malaterre [Mon, 10 Jan 2005 22:54:34 +0000 (22:54 +0000)]
BUG: Cannot include file within a namespace otherwise name gets mangled

19 years agoENH: Finally remove previous solution. Found a much better (and simplier approach...
malaterre [Mon, 10 Jan 2005 20:52:39 +0000 (20:52 +0000)]
ENH: Finally remove previous solution. Found a much better (and simplier approach) that -seems to- works in every configuration: Win32 static/shared and MacOSX (within ITK or not)

19 years agoENH: update changelog about Mac vs VS6 and static initialization
malaterre [Mon, 10 Jan 2005 19:25:02 +0000 (19:25 +0000)]
ENH: update changelog about Mac vs VS6 and static initialization

19 years agoBUG: Hopefully fix the bug on MacOSX and static global initialization. This is the...
malaterre [Mon, 10 Jan 2005 19:23:31 +0000 (19:23 +0000)]
BUG: Hopefully fix the bug on MacOSX and static global initialization. This is the only -minor- patch I found that both please MacOSX and VS6. Other patch would be to declare a const std::string & GDCM_UNFOUND() instead, but this would require a lot of change. Another approach wqould be that Global create those string and GDCM_UNFOUND becomes a pointer to a string (which gdcm::Global would destroy at exit).

19 years agoCOMP: Fix Win32 compilation
malaterre [Mon, 10 Jan 2005 18:09:07 +0000 (18:09 +0000)]
COMP: Fix Win32 compilation

19 years agoDoxygenation
jpr [Mon, 10 Jan 2005 17:17:52 +0000 (17:17 +0000)]
Doxygenation

19 years agoAdd some verbosity
jpr [Mon, 10 Jan 2005 17:09:49 +0000 (17:09 +0000)]
Add some verbosity

19 years agoENH: Add some verbosity
malaterre [Mon, 10 Jan 2005 03:09:07 +0000 (03:09 +0000)]
ENH: Add some verbosity

19 years agoBUG: Solve -hopefully- problem on MacOSX where gdcm seemed to stop working. More...
malaterre [Sun, 9 Jan 2005 00:13:26 +0000 (00:13 +0000)]
BUG: Solve -hopefully- problem on MacOSX where gdcm seemed to stop working. More detail in gdcmGlobal.cxx

19 years agoENH: Update for new sstream
malaterre [Sat, 8 Jan 2005 23:18:30 +0000 (23:18 +0000)]
ENH: Update for new sstream

19 years agoTwo things at once: start removing hack for old ostrstream which was really bad ...
malaterre [Sat, 8 Jan 2005 23:14:05 +0000 (23:14 +0000)]
Two things at once: start removing hack for old ostrstream which was really bad (and shouldn't work anyway). Plus attempt to fix problem with multithread on Mac where string object are not created properly.

19 years agoENH: Adding the FreeBSD version + doc
malaterre [Sat, 8 Jan 2005 23:00:23 +0000 (23:00 +0000)]
ENH: Adding the FreeBSD version + doc

19 years agoCOMP: Fix compile warnings on some system
malaterre [Sat, 8 Jan 2005 15:55:57 +0000 (15:55 +0000)]
COMP: Fix compile warnings on some system

19 years agoUpdate ChangeLog
jpr [Sat, 8 Jan 2005 15:06:59 +0000 (15:06 +0000)]
Update ChangeLog

19 years agoAccording to Benoit's suggestion, and without any objection from anybody
jpr [Sat, 8 Jan 2005 15:03:56 +0000 (15:03 +0000)]
According to Benoit's suggestion, and without any objection from anybody
- methods SetxxxByNumber and GetxxxByNumber renamed as Setxxx and Get xxx
- methods Dict::Print() and Dict::PrintByKey() merged into Dict::Print()
- method gdcmDicomDirObject::GetEntry() renamed as
         gdcmDicomDirObject::GetEntryHT() to avoid confusion (and compile error)

19 years agoCOMP: Need some special lib on apple
malaterre [Sat, 8 Jan 2005 00:16:25 +0000 (00:16 +0000)]
COMP: Need some special lib on apple

19 years agoCOMP: remove warnings
malaterre [Sat, 8 Jan 2005 00:03:10 +0000 (00:03 +0000)]
COMP: remove warnings

19 years agoENH: blind shot to fix problem
malaterre [Sat, 8 Jan 2005 00:01:35 +0000 (00:01 +0000)]
ENH: blind shot to fix problem

19 years agoENH: Addingh MACOSX version
malaterre [Fri, 7 Jan 2005 23:59:12 +0000 (23:59 +0000)]
ENH: Addingh MACOSX version

19 years agoCOMP: doh !
malaterre [Fri, 7 Jan 2005 23:44:46 +0000 (23:44 +0000)]
COMP: doh !

19 years agoENH: properly copy the mac address
malaterre [Fri, 7 Jan 2005 23:43:59 +0000 (23:43 +0000)]
ENH: properly copy the mac address

19 years agoBUG: assert was inversed
malaterre [Fri, 7 Jan 2005 23:10:10 +0000 (23:10 +0000)]
BUG: assert was inversed

19 years agoENH: minor style
malaterre [Fri, 7 Jan 2005 22:24:00 +0000 (22:24 +0000)]
ENH: minor style

19 years agoENH: minor style
malaterre [Fri, 7 Jan 2005 22:22:02 +0000 (22:22 +0000)]
ENH: minor style

19 years agoENH: Third pass for assert. Now uses the gdcmAssertMacro
malaterre [Fri, 7 Jan 2005 22:19:48 +0000 (22:19 +0000)]
ENH: Third pass for assert. Now uses the gdcmAssertMacro

19 years agoENH: Second pass at removing name of function from hardcoded string from gdcmErrorMacro.
malaterre [Fri, 7 Jan 2005 22:06:47 +0000 (22:06 +0000)]
ENH: Second pass at removing name of function from hardcoded string from gdcmErrorMacro.

19 years agoENH: First pass at removing name of function from hardcoded string from gdcmVerboseMa...
malaterre [Fri, 7 Jan 2005 22:03:30 +0000 (22:03 +0000)]
ENH: First pass at removing name of function from hardcoded string from gdcmVerboseMacro. There were a lot of them that were wrong anyway...

19 years agoENH: update for __FUNCTION__ stuff
malaterre [Fri, 7 Jan 2005 21:24:38 +0000 (21:24 +0000)]
ENH: update for __FUNCTION__ stuff

19 years agoENH: doh I forgot to commit this file
malaterre [Fri, 7 Jan 2005 21:14:31 +0000 (21:14 +0000)]
ENH: doh I forgot to commit this file

19 years agoENH: properly handle compiler that does not have __FUNCTION__
malaterre [Fri, 7 Jan 2005 21:09:42 +0000 (21:09 +0000)]
ENH: properly handle compiler that does not have __FUNCTION__

19 years agoENH: update comments. Rename variable with more complexe name to avoid collision.
malaterre [Fri, 7 Jan 2005 20:31:36 +0000 (20:31 +0000)]
ENH: update comments. Rename variable with more complexe name to avoid collision.

19 years agoENH: update about gdcmDebug macro, and future implementation to redirect to file
malaterre [Fri, 7 Jan 2005 19:22:52 +0000 (19:22 +0000)]
ENH: update about gdcmDebug macro, and future implementation to redirect to file

19 years agoENH: update gdcmDebug after Benoit comments
malaterre [Fri, 7 Jan 2005 19:20:37 +0000 (19:20 +0000)]
ENH: update gdcmDebug after Benoit comments

19 years agoUpdate ChangeLog
jpr [Fri, 7 Jan 2005 16:51:45 +0000 (16:51 +0000)]
Update ChangeLog

19 years ago * src/gdcmDocEntry.[h|cxx] : now the ReadLength is the length of the datas
regrain [Fri, 7 Jan 2005 16:45:51 +0000 (16:45 +0000)]
   * src/gdcmDocEntry.[h|cxx] : now the ReadLength is the length of the datas
     to read in the file... and only it ! Length is the efective length of the
     datas in the DocEntry structure
   -- BeNours

19 years agoCOMP: Fix VS6 compilation pb
malaterre [Fri, 7 Jan 2005 16:39:59 +0000 (16:39 +0000)]
COMP: Fix VS6 compilation pb

19 years agoRemoval of useless groupNameAbbreviations2004.dic
jpr [Fri, 7 Jan 2005 16:34:47 +0000 (16:34 +0000)]
Removal of useless groupNameAbbreviations2004.dic
Add dicomGroupNameAbbreviations.dic
should be used to write a method to replace the former
  Dict::GetDictEntryNamesByCategory()

19 years agoCOMP: oops forgot this one I guess...
malaterre [Fri, 7 Jan 2005 16:33:07 +0000 (16:33 +0000)]
COMP: oops forgot this one I guess...

19 years agoENH: update for the gdcmDebug changes
malaterre [Fri, 7 Jan 2005 16:29:02 +0000 (16:29 +0000)]
ENH: update for the gdcmDebug changes

19 years agoAdd a list of 'Dicom Attribute types', as found in
jpr [Fri, 7 Jan 2005 16:26:50 +0000 (16:26 +0000)]
Add a list of 'Dicom Attribute types', as found in
  http://medical.nema.org/dicom/2004/04_15PU.PDF
Unused till now...

19 years agoENH: Change the gdcmDebug approach. Remov the global static debug 'dbg'. And now...
malaterre [Fri, 7 Jan 2005 16:26:11 +0000 (16:26 +0000)]
ENH: Change the gdcmDebug approach. Remov the global static debug 'dbg'. And now use a static function call instead, with a global variable. This is much closer to the VTK approach. Hopefully should be bulletproof and easier to use...hopefully

19 years agoRemove now useless dicomTS2004.dic
jpr [Fri, 7 Jan 2005 16:22:49 +0000 (16:22 +0000)]
Remove now useless dicomTS2004.dic
Renamed as dicomTS.dic

19 years agoAdd VM related methods
jpr [Fri, 7 Jan 2005 16:14:58 +0000 (16:14 +0000)]
Add VM related methods

19 years agoAdd missing DictEntry::SetVM method
jpr [Fri, 7 Jan 2005 16:07:01 +0000 (16:07 +0000)]
Add missing DictEntry::SetVM method

19 years agoCOMP: Fix warning
malaterre [Fri, 7 Jan 2005 15:58:19 +0000 (15:58 +0000)]
COMP: Fix warning

19 years agoRemoval of now useless dicomV3VM2004.dic (renamed as dicomV3.dic)
jpr [Fri, 7 Jan 2005 15:45:59 +0000 (15:45 +0000)]
Removal of now useless dicomV3VM2004.dic (renamed as dicomV3.dic)

19 years agoAdd accesors on VM
jpr [Fri, 7 Jan 2005 12:42:54 +0000 (12:42 +0000)]
Add accesors on VM

19 years agoRemoval out of the Dicom Dictionary of non dicom 'fourth' field
jpr [Fri, 7 Jan 2005 12:29:17 +0000 (12:29 +0000)]
Removal out of the Dicom Dictionary of non dicom 'fourth' field
Add         to the Dicom Dictionaty of Dicom 'Value Multiplicity' field

Commenting out of probabely useless methods :
  Dict::GetDictEntryNames()
  Dict::GetDictEntryNamesByCategory()
  DictSet::GetPubDictEntryNames()
  DictSet::GetPubDictEntryNamesByCategory()

19 years agoNew Dicom Dictionnaty (with Value Multiplicity) is now used
jpr [Fri, 7 Jan 2005 11:12:38 +0000 (11:12 +0000)]
New Dicom Dictionnaty (with Value Multiplicity) is now used

19 years agoFix misstyping in Dicom V3 Dictinary (with VR)
jpr [Fri, 7 Jan 2005 10:25:34 +0000 (10:25 +0000)]
Fix misstyping in Dicom V3 Dictinary (with VR)

19 years agoRemoval of usless methods :
jpr [Fri, 7 Jan 2005 09:03:52 +0000 (09:03 +0000)]
Removal of usless methods :
PrintByName, GetDictEntryByName

19 years agoRemoval of useless and dangerous methods :
jpr [Fri, 7 Jan 2005 08:50:13 +0000 (08:50 +0000)]
Removal of useless and dangerous methods :
GetDocEntryByName, GetEntryByName, GetDictEntryByName

19 years agoRemoval of useless and dangerous methods :
jpr [Fri, 7 Jan 2005 08:46:17 +0000 (08:46 +0000)]
Removal of useless and dangerous methods :
 GetEntryByName, GetEntryVRByName, GetDocEntryByName, SetEntryByName

19 years agoCOMP: Fix compilation on Win32: c:\Dashboards\My Tests\gdcm\src\gdcmDicomDir.h(78...
malaterre [Thu, 6 Jan 2005 20:33:55 +0000 (20:33 +0000)]
COMP: Fix compilation on Win32: c:\Dashboards\My Tests\gdcm\src\gdcmDicomDir.h(78) : error C2086: 'm' : redefinition
c:\Dashboards\My Tests\gdcm\src\gdcmDicomDir.h(78) : fatal error C1903: unable to recover from previous error(s); stopping compilation

19 years agoCOMP: remove warning
malaterre [Thu, 6 Jan 2005 20:25:17 +0000 (20:25 +0000)]
COMP: remove warning

19 years agoCoding Style + Doxygenation
jpr [Thu, 6 Jan 2005 20:03:26 +0000 (20:03 +0000)]
Coding Style + Doxygenation

19 years agoCOMP: Adding some random lib to allow compilation
malaterre [Thu, 6 Jan 2005 19:40:09 +0000 (19:40 +0000)]
COMP: Adding some random lib to allow compilation

19 years agoCOMP: Some minor fix on Win32
malaterre [Thu, 6 Jan 2005 19:39:24 +0000 (19:39 +0000)]
COMP: Some minor fix on Win32

19 years agoCOMP: on win32 sintrgs.h does not exist
malaterre [Thu, 6 Jan 2005 19:20:23 +0000 (19:20 +0000)]
COMP: on win32 sintrgs.h does not exist

19 years agoENH: GetMacAddress in Util
malaterre [Thu, 6 Jan 2005 19:14:04 +0000 (19:14 +0000)]
ENH: GetMacAddress in Util

19 years agoENH: update test for tesing MAC adrress
malaterre [Thu, 6 Jan 2005 19:10:07 +0000 (19:10 +0000)]
ENH: update test for tesing MAC adrress

19 years agoENH: Found a Win32 version that seems to be working
malaterre [Thu, 6 Jan 2005 18:53:02 +0000 (18:53 +0000)]
ENH: Found a Win32 version that seems to be working

19 years agoENH: Saving temp code until I have time for Win32 version. This will return the MAC...
malaterre [Thu, 6 Jan 2005 18:46:02 +0000 (18:46 +0000)]
ENH: Saving temp code until I have time for Win32 version. This will return the MAC adress which is much more intelligent than returning the IP adress

19 years ago * src/gdcmDocEntrySet.[h|cxx] : Remove used methods
regrain [Thu, 6 Jan 2005 17:20:53 +0000 (17:20 +0000)]
   * src/gdcmDocEntrySet.[h|cxx] : Remove used methods
   -- BeNours

19 years ago * src/gdcmDocument.[h|cxx] : remove all copy of DocEntry when parsing a file
regrain [Thu, 6 Jan 2005 17:16:15 +0000 (17:16 +0000)]
   * src/gdcmDocument.[h|cxx] : remove all copy of DocEntry when parsing a file
   -- BeNours

19 years agoDoxygenation
jpr [Thu, 6 Jan 2005 17:08:05 +0000 (17:08 +0000)]
Doxygenation
+ modif Coding style :
According with Benoit (and Doxygen) we shall use, just like anybody :
T *foo
or
T &foo
and NOT
T* foo
or
T & foo
(that was gdcm-special)

19 years agoDoxygenation
jpr [Thu, 6 Jan 2005 16:29:22 +0000 (16:29 +0000)]
Doxygenation

19 years agoDoxygenation
jpr [Thu, 6 Jan 2005 16:05:06 +0000 (16:05 +0000)]
Doxygenation

19 years agoDoxygenation
jpr [Thu, 6 Jan 2005 15:41:28 +0000 (15:41 +0000)]
Doxygenation

19 years ago * src/gdcmDocEntrySet.[h|cxx], gdcmDocument.[h|cxx] : amelioration of
regrain [Thu, 6 Jan 2005 15:36:48 +0000 (15:36 +0000)]
   * src/gdcmDocEntrySet.[h|cxx], gdcmDocument.[h|cxx] : amelioration of
     ValEntry, BinEntry, SeqEntry creation or replace
   -- BeNours

19 years agoadd 1.2.840.113619.5.2 Implicit VR - Little Endian GE DLX xadc
jpr [Thu, 6 Jan 2005 15:09:53 +0000 (15:09 +0000)]
add 1.2.840.113619.5.2       Implicit VR - Little Endian GE DLX xadc

19 years agoDoxygenation
jpr [Thu, 6 Jan 2005 14:49:15 +0000 (14:49 +0000)]
Doxygenation