Commit Graph

28 Commits

Author SHA1 Message Date
Karl Waclawek
ed47baa513 Applied patch for bug #653449. 2002-12-14 03:12:18 +00:00
Fred L. Drake, Jr.
9a41111b9d Add some type casts to deal with MALLOC signature checking for
some platforms.
Closes SF bug #644334.
2002-11-27 04:03:33 +00:00
Fred L. Drake, Jr.
0a40843bde Remove trailing whitespace. 2002-11-12 21:49:36 +00:00
Karl Waclawek
5ca83cc911 Changed calling convention macros to differentiate between
different types of function calls - see comments in internal.h.
2002-09-20 03:42:43 +00:00
Karl Waclawek
633caf8040 Fred and I added FASTCALL directives to xmltok.c and related files. 2002-09-05 18:21:01 +00:00
Karl Waclawek
969d3363fe Fix for bug #600479: error decoding UTF-8 triplet 2002-08-27 00:28:48 +00:00
Karl Waclawek
f54c938123 Applied patch for bug #434664: utf8_toutf16 infinite loop. 2002-07-29 01:05:11 +00:00
Fred L. Drake, Jr.
93deea5e26 Shorten all lines longer than 80 characters to be shorter than 80.
Required for OS/400 support.
2002-07-25 14:51:19 +00:00
Fred L. Drake, Jr.
8c14959eac Fix typo from manual application of the Mac OS classic patch. 2002-07-09 13:57:18 +00:00
Fred L. Drake, Jr.
501a5b3525 Mac OS (classic) support, based on patches from Thomas Wegner and
Daryle Walker.
2002-07-08 17:06:55 +00:00
Fred L. Drake, Jr.
7fea03e40e De-tabify; minor code-style consistency changes. 2002-07-01 16:46:08 +00:00
Karl Waclawek
c8d098f364 Fix for bug # 566240. 2002-06-09 14:01:47 +00:00
Karl Waclawek
b1743f5705 Applied patch # 562005 "Detect invalid UTF-8 sequences" 2002-05-30 18:02:59 +00:00
Greg Stein
5b5355d8c5 Hard to believe, but there are some preprocessors/compilers out there
which don't like spaces between the '#' and the preprocessor command.

* expat.h, xmlparse.c, xmlrole.c, xmltok.c:
  - remove all spaces between the '#' and the cpp command.
2002-05-20 11:06:41 +00:00
Greg Stein
de857347b6 Remove acconfig.h altogether by removing XML_BYTE_ORDER. We can simply
use the BYTEORDER constant that ac_c_bigendian_cross.m4 generates.

* accconfig.h: removed; obsolete.

* lib/winconfig.h:
  - set the BYTEORDER constant, rather than XML_BYTE_ORDER, and leave
    a note about what we're assuming.

* lib/xmltok.c, lib/xmltok_ns.c:
  - change all XML_BYTE_ORDER references to BYTEORDER, and
    update the constants from 12, 21 to 1234, 4321 respectively.
2002-05-17 21:42:05 +00:00
Greg Stein
9fcff4a9eb Various configuration fixes, focused primarily around expat_config.h
(which used to be called config.h)

* configure.in:
  - change the header name to expat_config.h to prevent any possible
    conflict with some other packages 'config.h'
  - add a prerequisite on autoconf 2.50 or newer
  - shift some acconfig.h values to AC_DEFINE() values

* MANIFEST:
  - rename config.h.in to expat_config.h.in

* Makefile.in:
  - clean out expat_config.h* instead of config.h*

* acconfig.h:
  - remove the XML_NS, XML_DTD, and XML_CONTEXT_BYTES symbols; they
    are now defined directly by configure.in
  - shift the memmove() compatibility to xmlparse.c, its only consumer
  - remove the @BOTTOM@ part since there are no more values to put at
    the bottom of expat_config.h.in via acconfig.h

* xmlparse.c:
  - switch from config.h to expat_config.h
  - insert macro to define memmove() if it isn't available, but
    bcopy() is available. also, changed one branch to #error rather
    than insert bogus code.

* xmlrole.c:
  - tweak the copyright header, per Fred-ism
  - remove the unused RCSId[] variable (no other file has these)
  - switch from config.h to expat_config.h

* xmltok.c:
  - switch from config.h to expat_config.h
2002-05-17 21:30:07 +00:00
Fred L. Drake, Jr.
65b4ed8f47 Using "0" instead of "NULL" is insane, and leads to unmaintainable code.
Fix a number of other "code-hygiene" consistency nits.
2002-05-17 18:47:53 +00:00
Fred L. Drake, Jr.
7040180274 Minor nit; layout function signatures in a more consistent way. 2002-05-17 18:17:33 +00:00
Fred L. Drake, Jr.
fa2455c305 Include a more reasonable definition of the UTF8_INVALID3() macro.
It still is not used anywhere, though.  ;-(
2002-05-17 18:05:06 +00:00
Fred L. Drake, Jr.
6556c9be67 Wrap some long lines, including ones I just introduced.
There ought to be a good way to use a real editor with MSCV!
2002-04-26 05:14:20 +00:00
Fred L. Drake, Jr.
79aab4b10a Cut down on the warnings from MSVC6 on Warning Level 4. 2002-04-26 04:46:24 +00:00
Fred L. Drake, Jr.
712c70975d Remove useless RCSId static from the code. 2001-07-25 17:18:43 +00:00
Fred L. Drake, Jr.
a6823aa552 Fix SF bug #123767: segfault on UTF-8 BOM.
(Reported with fix by Bruce Kaskel.)
2001-02-16 18:12:49 +00:00
Clark Cooper
ae2257acce Changes for compiling under Microsoft Dev Studio. 2000-10-22 19:20:23 +00:00
Clark Cooper
aa45fb851a Versioning information, fill in Changes file, possible final commit before
first release (1.95.0)
2000-09-29 14:57:45 +00:00
Clark Cooper
e8b7b5fa4f Fixes to allow DLLs to built under Windows. 2000-09-28 17:53:00 +00:00
Clark Cooper
c446fb274e Merged in modifications from perl-expat. Also fiddled around with more
configuration issues.
2000-09-21 21:20:18 +00:00
Clark Cooper
c135be083d These are the first check-ins for the libexpat task: create configuration
files and setup for building a shareable libexpat.
2000-09-18 16:26:23 +00:00