Commit Graph

1089 Commits

Author SHA1 Message Date
Fred L. Drake, Jr.
0a0a850ae7 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
2003-11-02 08:12:46 +00:00
Fred L. Drake, Jr.
b2686e7b0f update the dates 2003-10-30 19:59:50 +00:00
Fred L. Drake, Jr.
fba15ab94c remove unnecessary typecast 2003-10-30 14:58:39 +00:00
Fred L. Drake, Jr.
556f1650b1 extend the "Communicating between handlers" section a bit; needed to
mention the need to accumulate data between calls to the character
data handler
2003-10-28 21:25:43 +00:00
Fred L. Drake, Jr.
98990a195b update the link for tDOM 2003-10-28 17:13:10 +00:00
Karl Waclawek
e16720329e Make XML_ParserFree() null-safe, so that it behaves
like the standard free() memory deallocation function.
2003-10-26 08:13:54 +00:00
Karl Waclawek
bd816ff175 Corrected docs regarding Win32 builds with MS VC++. 2003-10-24 00:40:54 +00:00
Karl Waclawek
9b01868388 Cleaned up make files and improved docs. 2003-10-24 00:39:42 +00:00
Fred L. Drake, Jr.
ef171566a0 Started a new page with some notes about what's changing in Expat 3.
Largely a placeholder at this point, but this can be used to tell the
community about what Expat 3 will "look like."
2003-10-23 05:24:11 +00:00
Fred L. Drake, Jr.
216def7c39 make sure we pick up the Expat logo in the doc directory 2003-10-21 17:05:43 +00:00
Fred L. Drake, Jr.
417a3d0184 Add a news item for the Expat 1.95.7 release; not quite ready, but almost. 2003-10-21 03:52:10 +00:00
Fred L. Drake, Jr.
1d6a85c8f3 Set the release date. 2003-10-20 21:11:27 +00:00
Fred L. Drake, Jr.
9749816465 use indentation consistently 2003-10-20 14:50:37 +00:00
Fred L. Drake, Jr.
16efce86d2 Steal a bit of look-n-feel from the website; this document was just looking
incredibly bland.
2003-10-20 14:40:44 +00:00
Fred L. Drake, Jr.
cf18cd478c avoid a few additional warnings for some compilers, and others with
warnings turned way up high
2003-10-18 04:46:02 +00:00
Fred L. Drake, Jr.
48bff2f30f Updates from last night. 2003-10-17 21:08:30 +00:00
Karl Waclawek
b3a1f516ca Fix for bug #824420. 2003-10-16 14:26:46 +00:00
Fred L. Drake, Jr.
f4487b0a0f update to reflect further improvements 2003-10-16 05:05:16 +00:00
Fred L. Drake, Jr.
99609421a8 Make it possible to avoid the import of expat_config.h. This makes it
easier to compile Expat without the autoconf support.
This closes SF patch #458907.
2003-10-16 04:51:11 +00:00
Fred L. Drake, Jr.
18b57349d9 - reorganize by the components that need what we're checking for
- remove the check for memcmp(); we didn't use the result of the check
  (though we do use memcmp())
2003-10-16 04:32:39 +00:00
Fred L. Drake, Jr.
c56983e0f0 - use spaces instead of tabs consistently
- don't allow trailing whitespace at the end of lines
- remove blank lines at the end of the file
2003-10-16 04:23:44 +00:00
Fred L. Drake, Jr.
80e8668e6f Remove the __attribute__((dllimport)) and __attribute__((dllexport))
declarations; these are needed only on an obscure platform (Windows NT
on PowerPC using GCC), and were never in previous releases of Expat.
They caused way too many spurious warnings on several platforms where
they aren't actually needed but should be ignored silently.
Removing these cannot break working code.
2003-10-16 04:20:54 +00:00
Karl Waclawek
5bdc75633d Removed unused EXPAT_EXPORTS definition. 2003-10-15 21:38:15 +00:00
Fred L. Drake, Jr.
2331e87068 clean up the macro restructuring, and make it play nice on Windows 2003-10-15 20:51:28 +00:00
Fred L. Drake, Jr.
7b1a4b6f16 - add the XMLCALL annotation consistently in the docs
- don't drop the void return for handler setting functions
2003-10-15 20:46:53 +00:00
Fred L. Drake, Jr.
5cc0142ddc - the "alt" attribute is required on <img/> to be valid XHTML strict
- minor cleanup
2003-10-15 20:02:12 +00:00
Fred L. Drake, Jr.
5635f09e4c - add Expat version number
- add notes about safely using XMLCALL with older Expat versions
2003-10-15 18:49:54 +00:00
Fred L. Drake, Jr.
6590085eff Update to reflect the addition of the XMLCALL macro. 2003-10-15 18:33:27 +00:00
Fred L. Drake, Jr.
ff6d437c22 Add a news item about the upcoming release, and a pointer to the testing
snapshot.
2003-10-15 18:16:35 +00:00
Fred L. Drake, Jr.
c33c38d289 Move "Configuring Expat Using the Pre-Processor" from the "Using"
section to the "Building" section.
2003-10-15 16:36:23 +00:00
Fred L. Drake, Jr.
2bba3d20f5 Deal with issue discussed in SF patch #820946: Expat doesn't handle
the use of modified default calling conventions in client code.

To deal with this issue and generally clean up the mass of macros
being used to support bits of the machinery, two new macros are being
added:

- XMLCALL, which expands to whatever is needed to nail down the
  calling convention for all calls across the library boundary.  This
  must match the convention used for the system's malloc()
  implementation.

- XMLIMPORT, defined to be whatever magic is needed to mark an entry
  point as imported from a dynamically loaded module (.dll, .so, .sl,
  whatever).

These macros are used to define the XMLPARSEAPI macro already being
used to define the API entry points.  In addition, XMLCALL is used to
define the types of callback functions, and all example code uses this
explicitly in both the distributed applications and the documentation.
2003-10-15 16:25:44 +00:00
Fred L. Drake, Jr.
032ed43a38 - move the CVS repository specification to a variable
- use authenticated access for now, since SF's anonymous CVS still
  isn't in a happy state
2003-10-11 17:50:22 +00:00
Greg Stein
c02e8784e7 Put in a little protection against the developer not having the check
package available.

sfbug #664541.

* configure.in: look for check.h. This will set up a HAVE_CHECK_H define.

* tests/chardata.c, tests/runtests.c: update banner. add test for
    HAVE_CHECK_H and bail if not present.
2003-10-09 21:32:28 +00:00
Fred L. Drake, Jr.
0c78684ba5 Minor updates before release. 2003-10-09 12:18:41 +00:00
Fred L. Drake, Jr.
b5aaaefa1f Added documentation for the pre-processor macros used to configure Expat. 2003-10-08 03:32:25 +00:00
Greg Stein
d7a766e9df Suggested fix from jtalkington@users.sf.net.
See bug #765227.

* lib/internal.h:
  (FASTCALL, PTRFASTCALL): only define these macros for the GNU C compiler
    on i386 platforms. apprently, they do not work well on PPC ports.
2003-09-28 21:57:22 +00:00
Karl Waclawek
ecceec27f2 Improved comment on hash algorithm. 2003-09-22 14:14:54 +00:00
Karl Waclawek
b28869898a Applied patch #699487. For details see patch description. 2003-09-13 17:30:30 +00:00
Fred L. Drake, Jr.
ee9e686680 wrapped some long lines 2003-09-12 03:52:18 +00:00
Karl Waclawek
9e252e84d8 Updated mailing list links. 2003-09-05 17:20:47 +00:00
Karl Waclawek
8128549ff1 Corrected typo. 2003-09-05 00:42:46 +00:00
Karl Waclawek
8aee05d06b Added a file for testing the duplicate prefixed attribute check. 2003-09-05 00:40:23 +00:00
Karl Waclawek
c2a87a1b7e Added files for performance testing. 2003-09-04 21:31:32 +00:00
Karl Waclawek
8ffc7e6556 Explains usage of benchmark utility. 2003-09-04 16:13:10 +00:00
Fred L. Drake, Jr.
a1980e2fb9 Add explanations for this directory. 2003-09-04 16:05:02 +00:00
Karl Waclawek
0c62e320f8 Small benchmark utility to test pure parser speed.
Tested on Windows only. Includes MS VC++ 6.0 workspace.
2003-09-04 16:01:54 +00:00
Karl Waclawek
04e4395048 Adjusted layout of XML_ParserReset fix. 2003-08-28 13:12:34 +00:00
Karl Waclawek
f375cc9c98 Fixed omission of second argument in XML_ParserReset.
Reported by Tim Bray.
2003-08-28 13:08:10 +00:00
Fred L. Drake, Jr.
118ea18262 elaborated test case to cover SF bug #774028; current Expat already
handles this correctly
2003-08-27 12:34:23 +00:00
Fred L. Drake, Jr.
b7e1fb5e4e update link to mailing lists 2003-08-04 14:38:24 +00:00