]> granicus.if.org Git - libexpat/log
libexpat
19 years agoadd a note about the planned change in XML_ParserReset
Fred L. Drake, Jr. [Sat, 29 Jan 2005 03:24:21 +0000 (03:24 +0000)]
add a note about the planned change in XML_ParserReset

19 years agoadd news of the pre-release snapshot
Fred L. Drake, Jr. [Sat, 29 Jan 2005 03:18:02 +0000 (03:18 +0000)]
add news of the pre-release snapshot

19 years agoadd the C++ test harness
Fred L. Drake, Jr. [Sat, 29 Jan 2005 02:55:53 +0000 (02:55 +0000)]
add the C++ test harness

19 years agorename macros: "parsing" -> "ps_parsing", "finalBuffer" -> "ps_finalBuffer"
Fred L. Drake, Jr. [Sat, 29 Jan 2005 02:28:33 +0000 (02:28 +0000)]
rename macros: "parsing" -> "ps_parsing", "finalBuffer" -> "ps_finalBuffer"
(closes SF bug #1021776: Recursion in macro "parsing", HP 11.0)

19 years agomake errors reported display more like GCC error messages, so editors
Fred L. Drake, Jr. [Fri, 28 Jan 2005 16:16:14 +0000 (16:16 +0000)]
make errors reported display more like GCC error messages, so editors
like Emacs can provide functions like "go to next error", etc.

19 years agoimplement verbose mode in minicheck to make it easier to determine which
Fred L. Drake, Jr. [Fri, 28 Jan 2005 06:32:31 +0000 (06:32 +0000)]
implement verbose mode in minicheck to make it easier to determine which
tests failed

19 years agofix dependency information for C++ tests
Fred L. Drake, Jr. [Fri, 28 Jan 2005 05:46:46 +0000 (05:46 +0000)]
fix dependency information for C++ tests

19 years agomake all C strings ASCII (7-bits) to avoid editors from trying to
Fred L. Drake, Jr. [Fri, 28 Jan 2005 05:41:56 +0000 (05:41 +0000)]
make all C strings ASCII (7-bits) to avoid editors from trying to
re-encode the source text incorrectly; we really want the input data to
be exactly what it should be

19 years agotest using Expat from C++
Fred L. Drake, Jr. [Fri, 28 Jan 2005 05:19:53 +0000 (05:19 +0000)]
test using Expat from C++
(closes SF bug #1006708)

19 years agomake sure the -I options to the headers for the version being compiled
Fred L. Drake, Jr. [Fri, 28 Jan 2005 04:35:57 +0000 (04:35 +0000)]
make sure the -I options to the headers for the version being compiled
come before any additional -I options passed in via CPPFLAGS
(closes SF bug #693747)

19 years agoremove use of the check library; always use our own testing package
Fred L. Drake, Jr. [Thu, 27 Jan 2005 06:27:57 +0000 (06:27 +0000)]
remove use of the check library; always use our own testing package
(this reduces variables and simplifies the build process)

19 years agoNew link for OCaml Expat.
Karl Waclawek [Mon, 10 Jan 2005 14:17:02 +0000 (14:17 +0000)]
New link for OCaml Expat.

19 years ago"if (ns)" check in addBinding() is not necessary, since it is only
Karl Waclawek [Fri, 24 Dec 2004 18:25:32 +0000 (18:25 +0000)]
"if (ns)" check in addBinding() is not necessary, since it is only
called when namespace processing is turned on.

19 years agoFix for bug # 695407: Reserved prefixes and namespace names.
Karl Waclawek [Fri, 24 Dec 2004 18:00:28 +0000 (18:00 +0000)]
Fix for bug # 695407: Reserved prefixes and namespace names.
Contributed by Peter van der Beken.

19 years agoFix for bug # 1090885: Problem with Suspend/Resume mechanism.
Karl Waclawek [Fri, 24 Dec 2004 16:30:25 +0000 (16:30 +0000)]
Fix for bug # 1090885: Problem with Suspend/Resume mechanism.
The code path through XML_Parse() when XML_CONTEXT_BYTES
was not defined, did not take into account that XML_ResumParser()
uses bufferPtr and parseEndPtr as the pointers into the working buffer.

19 years agoImproved error message - see bug # 972802.
Karl Waclawek [Tue, 21 Dec 2004 18:30:52 +0000 (18:30 +0000)]
Improved error message - see bug # 972802.

19 years agoMade it consistent that in the case of namespace triplets, the namespace
Karl Waclawek [Mon, 20 Dec 2004 05:04:41 +0000 (05:04 +0000)]
Made it consistent that in the case of namespace triplets, the namespace
separator between local name and prefix is always present, even when
it is omitted between uri and local name.

19 years agoImproved and corrected namespace processing documentation.
Karl Waclawek [Mon, 20 Dec 2004 03:23:29 +0000 (03:23 +0000)]
Improved and corrected namespace processing documentation.

19 years agoFixed comment for XML_ParserCreateNS.
Karl Waclawek [Mon, 20 Dec 2004 03:19:09 +0000 (03:19 +0000)]
Fixed comment for XML_ParserCreateNS.

19 years agoApplied the DESTDIR patch provided by Enrico Weigelt.
Karl Waclawek [Fri, 17 Dec 2004 18:08:08 +0000 (18:08 +0000)]
Applied the DESTDIR patch provided by Enrico Weigelt.
This is a modified form of the patches included with Patch # 779334
and Bug # 985235.

19 years agoSmall link fix.
Karl Waclawek [Tue, 14 Dec 2004 17:26:18 +0000 (17:26 +0000)]
Small link fix.

19 years agoOfficial name of SAX.NET changed to SAX for .NET.
Karl Waclawek [Tue, 14 Dec 2004 17:24:15 +0000 (17:24 +0000)]
Official name of SAX.NET changed to SAX for .NET.

19 years agoadd links to LuaExpat and LuaSOAP
Fred L. Drake, Jr. [Mon, 29 Nov 2004 21:52:14 +0000 (21:52 +0000)]
add links to LuaExpat and LuaSOAP

19 years agoFix for bug #1065040. Improved const correctness.
Karl Waclawek [Fri, 26 Nov 2004 15:16:17 +0000 (15:16 +0000)]
Fix for bug #1065040. Improved const correctness.
Minor improvement of XML_GetFeatureList().

19 years agoFix for bug #1065042. Improved const correctness.
Karl Waclawek [Fri, 26 Nov 2004 15:00:38 +0000 (15:00 +0000)]
Fix for bug #1065042. Improved const correctness.

19 years agoFix for bug #1065047. Improved const correctness.
Karl Waclawek [Fri, 26 Nov 2004 14:58:24 +0000 (14:58 +0000)]
Fix for bug #1065047. Improved const correctness.

19 years agoFix for bug #1065044. Improved const correctness.
Karl Waclawek [Fri, 26 Nov 2004 14:56:52 +0000 (14:56 +0000)]
Fix for bug #1065044. Improved const correctness.

19 years agoAdded include guard to expat_external.h.
Karl Waclawek [Fri, 26 Nov 2004 00:20:21 +0000 (00:20 +0000)]
Added include guard to expat_external.h.
Renamed include guard for expat.h, to reflect the changed file name.

19 years agoAdded to documentation of XML_ParserReset().
Karl Waclawek [Fri, 26 Nov 2004 00:18:15 +0000 (00:18 +0000)]
Added to documentation of XML_ParserReset().

20 years agomake the headers for support code more C++ friendly
Fred L. Drake, Jr. [Thu, 30 Sep 2004 04:58:09 +0000 (04:58 +0000)]
make the headers for support code more C++ friendly

20 years agoconvert MSVC project and workspace files to binary files that must always
Fred L. Drake, Jr. [Thu, 30 Sep 2004 02:47:03 +0000 (02:47 +0000)]
convert MSVC project and workspace files to binary files that must always
use the DOS/Windows CR-LF line end convention

(closes SF bug #1007088)

20 years ago- avoided assumptions that glob patterns before a trailing slash will
Fred L. Drake, Jr. [Thu, 30 Sep 2004 02:34:48 +0000 (02:34 +0000)]
- avoided assumptions that glob patterns before a trailing slash will
  be expanded; this seems to be a problem in some non-bash shells
  (see SF bug #1033923)
- move counter updates to a shared function
- modified one of the output messages to be (hopefully) less confusing

20 years agoInstall expat_external.h properly on all platforms.
Fred L. Drake, Jr. [Fri, 24 Sep 2004 15:19:11 +0000 (15:19 +0000)]
Install expat_external.h properly on all platforms.

Closes SF bug #1000112.

20 years agoRemoved last comma in enum XML_Status declaration to improve
Karl Waclawek [Fri, 24 Sep 2004 13:06:29 +0000 (13:06 +0000)]
Removed last comma in enum XML_Status declaration to improve
compiler compatibility.

20 years agoreference to an old snapshot should no longer be a hyperlink
Fred L. Drake, Jr. [Tue, 24 Aug 2004 17:40:39 +0000 (17:40 +0000)]
reference to an old snapshot should no longer be a hyperlink

20 years agoAdded type casts necessary for compiling as C++ file (at least under VC++).
Karl Waclawek [Tue, 10 Aug 2004 18:18:25 +0000 (18:18 +0000)]
Added type casts necessary for compiling as C++ file (at least under VC++).

20 years agoAdded type cast necessary for compiling as C++ file (at least under VC++).
Karl Waclawek [Tue, 10 Aug 2004 18:06:29 +0000 (18:06 +0000)]
Added type cast necessary for compiling as C++ file (at least under VC++).

20 years agoFixed type error that came to light when compiling as C++ file.
Karl Waclawek [Tue, 10 Aug 2004 18:04:34 +0000 (18:04 +0000)]
Fixed type error that came to light when compiling as C++ file.

20 years agoFix for bug #1006708.
Karl Waclawek [Tue, 10 Aug 2004 17:34:19 +0000 (17:34 +0000)]
Fix for bug #1006708.

20 years agoadd news of the 1.95.8 release
Fred L. Drake, Jr. [Mon, 26 Jul 2004 14:53:39 +0000 (14:53 +0000)]
add news of the 1.95.8 release

20 years agofix busted %changelog entry R_1_95_8
Fred L. Drake, Jr. [Sat, 24 Jul 2004 05:26:48 +0000 (05:26 +0000)]
fix busted %changelog entry

20 years agoadd notes for 1.95.8 release
Fred L. Drake, Jr. [Fri, 23 Jul 2004 04:48:36 +0000 (04:48 +0000)]
add notes for 1.95.8 release

20 years ago- add some missing files
Fred L. Drake, Jr. [Fri, 23 Jul 2004 03:59:40 +0000 (03:59 +0000)]
- add some missing files
- re-arrange to make comparison with the actual list of files easier

20 years agowhen controlling the CVS client from a script, we should always
Fred L. Drake, Jr. [Fri, 23 Jul 2004 03:42:23 +0000 (03:42 +0000)]
when controlling the CVS client from a script, we should always
disable the personal CVS config file to avoid any unpredictable
behavior

20 years agoadded missing files
Fred L. Drake, Jr. [Fri, 23 Jul 2004 03:38:43 +0000 (03:38 +0000)]
added missing files

20 years agoAdd basic documentation for the suspend/resume feature.
Fred L. Drake, Jr. [Fri, 23 Jul 2004 03:28:09 +0000 (03:28 +0000)]
Add basic documentation for the suspend/resume feature.
Closes SF bug #880632.

20 years agoThe status argument to XML_GetParsingStatus() cannot be NULL.
Fred L. Drake, Jr. [Fri, 23 Jul 2004 02:02:41 +0000 (02:02 +0000)]
The status argument to XML_GetParsingStatus() cannot be NULL.

20 years agoadded more detail about XML_CONTEXT_BYTES
Fred L. Drake, Jr. [Fri, 16 Jul 2004 02:31:27 +0000 (02:31 +0000)]
added more detail about XML_CONTEXT_BYTES

20 years agoUpdate version number to 1.95.8 in preparation for release.
Fred L. Drake, Jr. [Fri, 16 Jul 2004 02:10:57 +0000 (02:10 +0000)]
Update version number to 1.95.8 in preparation for release.

20 years agoadd some comments about when various error codes were added
Fred L. Drake, Jr. [Fri, 16 Jul 2004 00:54:57 +0000 (00:54 +0000)]
add some comments about when various error codes were added

20 years ago- fix the description of the XML_DTD preprocessor symbol
Fred L. Drake, Jr. [Fri, 16 Jul 2004 00:13:05 +0000 (00:13 +0000)]
- fix the description of the XML_DTD preprocessor symbol
  (closes SF bug #916232)
- fix markup error (swapped end tags)

20 years agoupdate tests to reflect that a more specific error message is being generated
Fred L. Drake, Jr. [Thu, 15 Jul 2004 23:29:25 +0000 (23:29 +0000)]
update tests to reflect that a more specific error message is being generated
for some cases

20 years ago- avoid using the "check" library's suite_free() function; it is not
Fred L. Drake, Jr. [Thu, 15 Jul 2004 22:54:19 +0000 (22:54 +0000)]
- avoid using the "check" library's suite_free() function; it is not
  available in all versions of the library, and srunner_free() is
  sufficient
  (closes SF bug #985192)
- avoid some compiler warnings

20 years agoApplied patch for bug #961698 supplied by Anders Carlsson.
Karl Waclawek [Thu, 27 May 2004 17:38:52 +0000 (17:38 +0000)]
Applied patch for bug #961698 supplied by Anders Carlsson.

20 years agoAdded a few more meaningful error codes (and messages).
Karl Waclawek [Tue, 18 May 2004 13:50:13 +0000 (13:50 +0000)]
Added a few more meaningful error codes (and messages).

20 years agoAdded expat_external.h
Karl Waclawek [Fri, 7 May 2004 20:00:48 +0000 (20:00 +0000)]
Added expat_external.h

20 years agoRenamed exrternal.h to expat_external.h.
Karl Waclawek [Thu, 6 May 2004 13:55:49 +0000 (13:55 +0000)]
Renamed exrternal.h to expat_external.h.
Fixed up references to this file.

20 years agoFix for bug #946506: PublicId for DOCTYPE not checked & normalized.
Karl Waclawek [Sun, 2 May 2004 17:31:13 +0000 (17:31 +0000)]
Fix for  bug #946506: PublicId for DOCTYPE not checked & normalized.

20 years agoMade note about building under Visual Studio .NET.
Karl Waclawek [Fri, 30 Apr 2004 17:28:05 +0000 (17:28 +0000)]
Made note about building under Visual Studio .NET.

20 years agoFix for bug #928113 .
Karl Waclawek [Fri, 30 Apr 2004 15:39:47 +0000 (15:39 +0000)]
Fix for bug #928113 .

20 years agopatch from Shard (neoni dot net) to support BeOS
Fred L. Drake, Jr. [Fri, 30 Apr 2004 03:44:34 +0000 (03:44 +0000)]
patch from Shard (neoni dot net) to support BeOS

20 years agoIf the check library is not available, use an abbreviated implementation of
Fred L. Drake, Jr. [Fri, 30 Apr 2004 03:18:11 +0000 (03:18 +0000)]
If the check library is not available, use an abbreviated implementation of
the check API.  This allows the unit and regression tests to be run on any
system without requiring an external package.

20 years agoFixed compile errors when XML_DTD and XML_CONTEXT_BYTES
Karl Waclawek [Thu, 29 Apr 2004 17:53:34 +0000 (17:53 +0000)]
Fixed compile errors when XML_DTD and XML_CONTEXT_BYTES
were undefined.

20 years agoAdded note about the effects on well-formedness checking when
Karl Waclawek [Tue, 27 Apr 2004 00:50:50 +0000 (00:50 +0000)]
Added note about the effects on well-formedness checking when
calling XML_UseForeignDTD(parser, XML_TRUE).

20 years agoAdded comment about the effects on well-formedness checking after
Karl Waclawek [Tue, 27 Apr 2004 00:49:34 +0000 (00:49 +0000)]
Added comment about the effects on well-formedness checking after
calling XML_UseForeignDTD(parser, XML_TRUE).

20 years agoRe-ordered links to 3rd party wrappers.
Karl Waclawek [Mon, 26 Apr 2004 20:36:10 +0000 (20:36 +0000)]
Re-ordered links to 3rd party wrappers.

20 years agoAdded link to SAXExpat.NET.
Karl Waclawek [Mon, 26 Apr 2004 19:45:23 +0000 (19:45 +0000)]
Added link to SAXExpat.NET.

20 years agoWould not build on Linux without including stddef.h before
Karl Waclawek [Sat, 24 Apr 2004 23:56:41 +0000 (23:56 +0000)]
Would not build on Linux without including stddef.h before
including external.h.

20 years agoFix for bug #920274.
Karl Waclawek [Tue, 13 Apr 2004 13:17:59 +0000 (13:17 +0000)]
Fix for bug #920274.

20 years agoupdate URL to the mailing lists page
Fred L. Drake, Jr. [Fri, 2 Apr 2004 21:53:40 +0000 (21:53 +0000)]
update URL to the mailing lists page

20 years agoFix for bug #923913, Calling convention problems.
Karl Waclawek [Fri, 26 Mar 2004 14:24:11 +0000 (14:24 +0000)]
Fix for bug #923913, Calling convention problems.
For details see bug description.

20 years agoChanged to allow aborting a suspended parser instance.
Karl Waclawek [Tue, 16 Mar 2004 22:14:31 +0000 (22:14 +0000)]
Changed to allow aborting a suspended parser instance.

20 years agoRemoved ability to suspend while parsing an external parameter entity.
Karl Waclawek [Tue, 16 Mar 2004 20:29:28 +0000 (20:29 +0000)]
Removed ability to suspend while parsing an external parameter entity.

The problem is that on return from the externalEntityRefHandler() call-back
the parser currently assumes that parsing of the parameter entity is finished,
and updates its internal state accordingly. I do not have the time at this
point to implement and test a solution. Being able to suspend while parsing
the DTD is also less desirable than doing the same while parsing content.

20 years agoWhen the parser was suspended while processing an internal entity,
Karl Waclawek [Tue, 16 Mar 2004 04:41:54 +0000 (04:41 +0000)]
When the parser was suspended while processing an internal entity,
an XML_ERROR_NO_ELEMENTS condition could happen.
The reason was that the internal entity's start tag level was not preserved
when parsing was suspended. This has been corrected.

20 years agoFixed the XML_GetCurrentLine/ColumnNumber() functions so that
Karl Waclawek [Tue, 16 Mar 2004 04:27:18 +0000 (04:27 +0000)]
Fixed the XML_GetCurrentLine/ColumnNumber() functions so that
they don't produce an access violation when the value of eventPtr is
less than the value of positionPtr. This can happen when a handler
raises an exception or potentially in some border cases.

Also added some more updates of eventPtr.

20 years agoChanged signature of XML_GetParsingStatus(), changing the return value
Karl Waclawek [Tue, 16 Mar 2004 03:53:24 +0000 (03:53 +0000)]
Changed signature of XML_GetParsingStatus(), changing the return value
to a parameter passed by reference (pointer). It seems that  the processing
of return values is not standardized, even when calling convention and
platform are specified. This should make Expat more usable as a shared library.

20 years agoFix for bug #916228.
Karl Waclawek [Mon, 15 Mar 2004 00:34:12 +0000 (00:34 +0000)]
Fix for bug #916228.

20 years agoImproved comments for XML_StopParser() and XML_ResumeParser().
Karl Waclawek [Wed, 10 Mar 2004 15:56:11 +0000 (15:56 +0000)]
Improved comments for XML_StopParser() and XML_ResumeParser().

20 years agoApplied a simplified version of Jeremy Kloth's patch for bug #896188.
Karl Waclawek [Fri, 13 Feb 2004 18:11:51 +0000 (18:11 +0000)]
Applied a simplified version of Jeremy Kloth's patch for bug #896188.
Also removed some code that was never executed, because the condition
(prologState.documentEntity && role == XML_ROLE_INNER_PARAM_ENTITY_REF)
can never be true. Improved some comments as well.

20 years agoMade these compiler warnings go away:
Karl Waclawek [Wed, 11 Feb 2004 16:42:40 +0000 (16:42 +0000)]
Made these compiler warnings go away:
- not all cases handled for switch based an enumeration:
  added default: ; where appropriate
- char* passed where const char* was expected:
  changed variable declarations to const char*

20 years agoupdate version number (closes SF patch #841591)
Fred L. Drake, Jr. [Thu, 29 Jan 2004 00:11:32 +0000 (00:11 +0000)]
update version number (closes SF patch #841591)

20 years agoCosmetic changes in function signatures - for consistency.
Karl Waclawek [Tue, 27 Jan 2004 01:48:58 +0000 (01:48 +0000)]
Cosmetic changes in function signatures - for consistency.

20 years agoadd link to OCaml Expat
Fred L. Drake, Jr. [Thu, 22 Jan 2004 04:22:17 +0000 (04:22 +0000)]
add link to OCaml Expat

20 years agoadd MSVC 6 project files to the source distribution
Fred L. Drake, Jr. [Wed, 21 Jan 2004 21:30:54 +0000 (21:30 +0000)]
add MSVC 6 project files to the source distribution
closes SF bug #856659

20 years agosuggested patch from SF bug #846309:
Fred L. Drake, Jr. [Tue, 20 Jan 2004 16:04:47 +0000 (16:04 +0000)]
suggested patch from SF bug #846309:
avoid generating spurious warning from GCC on non-x86 platforms

20 years ago- add a link-less entry for XML::Parser
Fred L. Drake, Jr. [Tue, 20 Jan 2004 14:41:59 +0000 (14:41 +0000)]
- add a link-less entry for XML::Parser
- fix punctuation

20 years agoApplied patch #835123: Suspend/Resume functionality.
Karl Waclawek [Wed, 7 Jan 2004 17:12:04 +0000 (17:12 +0000)]
Applied patch #835123: Suspend/Resume functionality.
For details check the patch description.

20 years agoUpdated links for SAXExpat and SAX for Pascal.
Karl Waclawek [Tue, 16 Dec 2003 17:24:29 +0000 (17:24 +0000)]
Updated links for SAXExpat and SAX for Pascal.

20 years agoDefined HAVE_EXPAT_CONFIG_H when building on VMS.
Fred L. Drake, Jr. [Mon, 17 Nov 2003 15:36:02 +0000 (15:36 +0000)]
Defined HAVE_EXPAT_CONFIG_H when building on VMS.
Closes SF bug #840173.

21 years agobump the version number since the code has changed, however slightly
Fred L. Drake, Jr. [Sun, 2 Nov 2003 20:37:22 +0000 (20:37 +0000)]
bump the version number since the code has changed, however slightly

21 years agoremove unused stanzas
Fred L. Drake, Jr. [Sun, 2 Nov 2003 18:14:11 +0000 (18:14 +0000)]
remove unused stanzas

21 years agoSimplify preprocessor construct.
Fred L. Drake, Jr. [Sun, 2 Nov 2003 09:44:55 +0000 (09:44 +0000)]
Simplify preprocessor construct.

21 years agoAllow the configure script to set where manpages go using --mandir.
Fred L. Drake, Jr. [Sun, 2 Nov 2003 08:21:30 +0000 (08:21 +0000)]
Allow the configure script to set where manpages go using --mandir.
Closes SF bug #827319.

21 years agoadded regression test for SF bug #824420:
Fred L. Drake, Jr. [Sun, 2 Nov 2003 08:12:46 +0000 (08:12 +0000)]
added regression test for SF bug #824420:
in non-namespace mode, Expat reported the use of an unbound namespace
when encountering an element that looks like it has a namespace prefix
(were namespaces enabled) and there's a definition for that prefix in
the DTD

21 years agoupdate the dates
Fred L. Drake, Jr. [Thu, 30 Oct 2003 19:59:50 +0000 (19:59 +0000)]
update the dates

21 years agoremove unnecessary typecast
Fred L. Drake, Jr. [Thu, 30 Oct 2003 14:58:39 +0000 (14:58 +0000)]
remove unnecessary typecast

21 years agoextend the "Communicating between handlers" section a bit; needed to
Fred L. Drake, Jr. [Tue, 28 Oct 2003 21:25:43 +0000 (21:25 +0000)]
extend the "Communicating between handlers" section a bit; needed to
mention the need to accumulate data between calls to the character
data handler

21 years agoupdate the link for tDOM
Fred L. Drake, Jr. [Tue, 28 Oct 2003 17:13:10 +0000 (17:13 +0000)]
update the link for tDOM

21 years agoMake XML_ParserFree() null-safe, so that it behaves
Karl Waclawek [Sun, 26 Oct 2003 08:13:54 +0000 (08:13 +0000)]
Make XML_ParserFree() null-safe, so that it behaves
like the standard free() memory deallocation function.

21 years agoCorrected docs regarding Win32 builds with MS VC++.
Karl Waclawek [Fri, 24 Oct 2003 00:40:54 +0000 (00:40 +0000)]
Corrected docs regarding Win32 builds with MS VC++.