Commit Graph

160 Commits

Author SHA1 Message Date
Karl Waclawek
85f8130aaf Added COMPILED_FROM_DSP flag to make it compile under VC++. 2002-07-04 14:06:15 +00:00
Fred L. Drake, Jr.
fb09975079 De-tabify files that missed the de-tabify step. 2002-07-01 15:18:34 +00:00
Fred L. Drake, Jr.
65ab1317a4 De-tabify; minor code-style consistency changes. 2002-07-01 15:13:02 +00:00
Fred L. Drake, Jr.
8fbcd0a5c7 Include unistd.h when HAVE_UNISTD_H is defined, not _POSIX_SOURCE.
This requires that expat_config.h or winconfig.h has been included.
Using unistd.h avoids warnings about close() and read() not being defined
on some platforms.
This closes SF bug #563184.
2002-06-13 02:52:09 +00:00
Fred L. Drake, Jr.
ad5481c9f5 Using "0" instead of "NULL" is insane, and leads to unmaintainable code. 2002-05-17 17:21:51 +00:00
Fred L. Drake, Jr.
5b5c48d4a3 Add casts to suppress a couple of warnings from MSVC with warning level 4. 2002-05-15 15:57:22 +00:00
Fred L. Drake, Jr.
ad358dec9e Check in SF patch #488196: Make xmlwf read from standard input.
This modifies the patch for style (slightly).

The style of these files is also slightly modified in an attempt to create
more consistency.  (But that mostly swamps the feature patch.)
2002-04-19 21:41:54 +00:00
Fred L. Drake, Jr.
276e2517e0 Wrap some long lines. 2002-04-19 16:19:33 +00:00
Fred L. Drake, Jr.
a826299332 Remove files that are no longer used.
This closes SF patch #488187.
2002-04-16 03:24:48 +00:00
Greg Stein
a13d856e8f * Switch to a single, top-level Makefile (simplification, consistency)
* use libtool to compile/link all programs
* remove */Makefile.in and remove them from configure
* remove autom4te.cache after running autoconf
* remove .o from the FILEMAP logic in configure and the Make system;
  provides more flexibility in the Makefile to use it
* for VPATH builds: create the build subdirs by running
  "make mkdir-init" from the configure script
* adjust .cvsignore files to account for presence of .libs now
2001-12-07 10:19:31 +00:00
Fred L. Drake, Jr.
5ca5c566a6 Add a -v option to cause xmlwf to report the version of Expat (hence the
version of xmlwf).
2001-12-05 16:30:31 +00:00
Fred L. Drake, Jr.
212aa11153 Include header to avoid compiler warnings. Part of SF patch #465018. 2001-11-09 04:08:51 +00:00
Fred L. Drake, Jr.
1c626a9def Define & use $(srcdir). Part of SF patch #465018. 2001-11-09 04:04:55 +00:00
Greg Stein
866f6330cc Clean out some unused bits from the makefiles. Remove some of the recursion
and just do it from the top-level instead.
2001-08-23 09:24:45 +00:00
Fred L. Drake, Jr.
9e70122a1d Make sure SHELL is properly set from the configure script.
This closes SF bug #448560.
2001-08-10 13:53:58 +00:00
Fred L. Drake, Jr.
a650c5f93f Remove some bogus preprocessor definitions. 2001-07-27 20:26:23 +00:00
Fred L. Drake, Jr.
d727f59ad9 Don't use the program database in MSVC. The others got this right. 2001-07-27 15:12:47 +00:00
Fred L. Drake, Jr.
f6ea3590dc Update the lib and xmlwf project files to be part of the larger workspace. 2001-07-27 14:56:31 +00:00
Fred L. Drake, Jr.
31a2f5f3a3 Change some options to end up with more rational output dirs. 2001-07-25 18:39:22 +00:00
Fred L. Drake, Jr.
9e91c1f1ee Make sure the configured compiler is used for all subdirectories. 2001-07-25 17:51:40 +00:00
Fred L. Drake, Jr.
daec796ad3 Remove #include directory that is no longer needed. 2001-07-25 17:34:17 +00:00
Fred L. Drake, Jr.
75d03cbb54 #include <unistd.h> to pick up the close() prototype. 2001-07-25 17:13:34 +00:00
Fred L. Drake, Jr.
1c3ac221c3 Update xmlwf project file. 2001-07-25 16:19:04 +00:00
Fred L. Drake, Jr.
683d9c04da Add install and uninstall targets, along with all the relevant standard
variables.
2001-07-25 15:23:08 +00:00
Fred L. Drake, Jr.
05d1fac780 Make sure all the makefiles have at least a dummy check target and
reasonable distclean and maintainer-clean targets.

This fixes the last part of SF bug #430942.
2001-07-25 03:05:22 +00:00
Fred L. Drake, Jr.
0a268deb6b Sam TH <samth@users.sourceforge.net>:
Tell CVS to ignore the generated executable.
2001-03-29 05:21:57 +00:00
Fred L. Drake, Jr.
d47741fc6b Sam TH:
Fix a variety of build control problems for the auxiliary directories.

This closes SF tracker patch #403582.
2001-03-01 04:28:27 +00:00
Fred L. Drake, Jr.
fd297d8120 Tell CVS to ignore generated Makefiles and working dirs used by libtool. 2000-10-30 21:25:05 +00:00
Clark Cooper
63d2f68760 Switch to using MANIFEST to build distribution.
Also fix xmlwf to use current entity declaration signature.
2000-09-28 19:47:35 +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
James Clark
778021047d Add xmlwf.plg 2000-05-12 07:02:03 +00:00
James Clark
dfd331cf71 Report parsed entity declarations 2000-05-12 05:56:27 +00:00
James Clark
9b3852311c Fix some Win32 warnings. 2000-05-10 03:13:58 +00:00
James Clark
8fd4a83318 Fix screwup in changing copyright notices 2000-04-21 04:20:31 +00:00
James Clark
4e9aea4c1b New license and site 2000-04-21 03:58:42 +00:00
James Clark
3923164dc2 Support reporting of ID attributes. 2000-04-14 10:53:33 +00:00
James Clark
ab5acbf509 Added start/endDoctypeDeclHandlers 1999-07-28 09:34:18 +00:00
James Clark
132c80964e Change namespace handling to use W3C C14N algorithm.
Ifdef other differences on W3C14N.
1999-07-09 12:17:40 +00:00
James Clark
5799228346 Fix bug with XML_UNICODE 1999-06-26 12:10:00 +00:00
James Clark
a5634c52ea Support for external DTDs completed. 1999-06-26 11:29:49 +00:00
James Clark
e157ebf618 Added some bits of code that may be useful in the future 1999-06-24 09:39:06 +00:00
James Clark
2b29d5ffe4 Add .cvsignore files. Generate nametab.h 1999-06-24 09:22:36 +00:00
James Clark
973ad606fd Change license to MPL 1.1 1999-05-29 02:19:21 +00:00
James Clark
f9560ef835 Add GetCurrentByteCount() 1999-04-25 11:34:07 +00:00
James Clark
d4db56dd39 Add -s option.
Rework option parsing.
1999-04-20 02:52:43 +00:00
James Clark
d2c1656f5f Add XML_GetSpecifiedAttributeCount(). 1999-03-26 03:53:05 +00:00
James Clark
7c0757fca2 Make -t work without -d 1999-03-07 08:44:14 +00:00
James Clark
9aad851790 Add namespace decl handler. Allow -m and -n together. 1999-03-07 03:33:24 +00:00
James Clark
e98eefc69a Report errors to stdout not stderr 1998-12-30 09:14:04 +00:00
James Clark
7d44233713 *** empty log message *** 1998-12-01 03:32:20 +00:00
James Clark
13594c689a Add metaStartDocument and metaEndDocument 1998-11-25 09:26:02 +00:00
James Clark
74d8ff5b12 *** empty log message *** 1998-11-25 08:32:06 +00:00
James Clark
5bfaa295f9 Initial revision 1998-11-25 08:32:06 +00:00
James Clark
4b4d90b06b Separate file processing into xmlfile.c/h. 1998-11-25 08:31:50 +00:00
James Clark
11d8095453 Add -t option 1998-11-24 15:24:59 +00:00
James Clark
1fb7b5aba9 Define WIN32_LEAN_AND_MEAN 1998-11-24 09:31:04 +00:00
James Clark
68db987c6e Ensure XML_UNICODE is defined if XML_UNICODE_WCHAR_T is. 1998-11-24 06:04:53 +00:00
James Clark
7b4a0046ea Add CDATA section handlers 1998-11-24 05:42:17 +00:00
James Clark
950a6547e4 Initial revision 1998-10-22 05:41:14 +00:00
James Clark
c332060f43 Add comment support 1998-09-24 04:12:12 +00:00
James Clark
2b1702456d Namespace support 1998-08-26 09:10:50 +00:00
James Clark
9f52171901 Lexical support for namespaces 1998-08-22 22:40:45 +00:00
James Clark
5700ecb60f Add XML_DefaultCurrent 1998-06-21 06:53:13 +00:00
James Clark
78d38a3fd0 Fix non-Win32 stubs 1998-06-17 11:32:18 +00:00
James Clark
2c080dd19f Avoid dependence on Unicode wchar_t in xmlparse 1998-06-17 11:19:44 +00:00
James Clark
508f4e99ee Add default handler 1998-06-17 10:04:31 +00:00
James Clark
9e2bdba5fb Set the base even if not processing external entities 1998-06-03 11:29:18 +00:00
James Clark
42bd1cb01c Fix typo with -m option 1998-06-03 10:55:52 +00:00
James Clark
1f49d0a366 Enhance -m option 1998-06-03 10:16:20 +00:00
James Clark
0e864d50fb Use ints rather than unsigned shorts in unknown encoding support 1998-06-03 07:52:49 +00:00
James Clark
d38e459410 Provide -m option
Set base for external entities
1998-06-03 07:04:44 +00:00
James Clark
6b733b9b87 Delete stscanf definition 1998-06-02 09:06:22 +00:00
James Clark
84835ac373 Generalize unknown encoding support 1998-06-02 08:57:14 +00:00
James Clark
10c3740f1e Initial Revision 1998-06-01 12:12:51 +00:00
James Clark
9efc5049a8 Support for arbitrary single byte encodings 1998-06-01 12:12:35 +00:00
James Clark
698686457e Add debugging support for unparsed entities 1998-06-01 04:33:10 +00:00
James Clark
28bbc4f64f Ifdef for XML_UNICODE 1998-05-31 11:53:28 +00:00
James Clark
4b8e8545c5 Support for parsing external entities 1998-05-10 10:18:15 +00:00
James Clark
586519240e Conditionally include unistd.h 1998-04-10 06:30:05 +00:00
James Clark
d4ee1a1ee1 Add copyright notice. 1998-04-05 15:11:29 +00:00
James Clark
17ff609e03 Initial Revision 1998-03-28 18:04:56 +00:00
James Clark
bbc00990f9 Use stdout for error messages 1998-02-10 01:53:54 +00:00
James Clark
0f69f9f54b Use character references for #x9 and #xA 1998-02-10 01:44:29 +00:00
James Clark
7badcb354d Don't use directory part of input filename in constructing output filename. Fix usage message. 1998-02-09 10:33:07 +00:00
James Clark
7e8d1ad72d Fix usage message 1998-02-09 10:25:03 +00:00
James Clark
3be0dca473 Fix bug in handlind -e 1998-02-07 05:36:23 +00:00
James Clark
0a8e3db8c7 Deal with externally specified encodings 1998-02-07 04:53:44 +00:00
James Clark
41400fe1ed Get rid of size_t usage 1998-02-04 07:20:46 +00:00
James Clark
607997679b Rewrite using xmlparse 1998-02-04 05:25:27 +00:00
James Clark
67bf333e47 Use normalize rather than containsRef 1998-02-02 13:48:35 +00:00
James Clark
12693c93ca Add MSVC call to chcek for memory leaks 1997-12-13 09:11:15 +00:00
James Clark
b07d0e5208 Check that parameter entities are declared. 1997-12-13 06:39:04 +00:00
James Clark
207924eb8d Get rid of cond sect message 1997-12-12 09:23:27 +00:00
James Clark
e2482813bf Get rid of cond sect message 1997-12-12 09:23:24 +00:00
James Clark
b2eeefe571 New token XML_TOK_XML_DECL 1997-12-12 00:48:27 +00:00
James Clark
cecd64f6ab Check parsed entities at end of DTD 1997-12-11 00:00:08 +00:00
James Clark
8b6b5840ee Don't need to check system identifiers 1997-12-10 07:57:10 +00:00
James Clark
9f41c277f9 Changes before release 1997-12-10 07:44:19 +00:00
James Clark
f237c0f547 Initial revision 1997-12-10 07:39:49 +00:00