Karl Waclawek
19dbd9a928
Changed output directories so that all binaries end up in the same location.
2007-05-03 02:23:17 +00:00
Karl Waclawek
d6075d6b5e
No more search for (back)slashes in the string "STDIN".
...
Optimized code with regards to use of path delimters on different platforms.
2007-04-30 00:50:22 +00:00
Karl Waclawek
bfff9ca4e9
The Watcom compiler defines __LINUX__ and not __linux__ for cross compilation.
2006-08-05 22:43:57 +00:00
Karl Waclawek
e3e0d28628
Applied patrch #1523242 - support for Open Watcom 1.5.
2006-08-05 17:01:43 +00:00
Karl Waclawek
f18b068f38
Fix for bug #1513566 : filemap() in readfilemap.c doesn't handle zero length
...
files, and the same issue applies to filemap() in unixfilemap.c
2006-06-28 02:55:51 +00:00
Karl Waclawek
b5bd929090
Added a comment about processFile giving problems on files larger than INT_MAX.
2006-04-14 18:02:08 +00:00
Karl Waclawek
1d17d4f9f4
Casting away some integer conversion warnings that should not pose a problem.
2006-04-14 17:53:03 +00:00
Karl Waclawek
85c092da87
Removed newly added include directives of configuration header files.
...
They seem to be unnecessary.
2005-12-25 17:06:22 +00:00
Karl Waclawek
f967e6812a
* Added integer modifier macro to support 64-bit integers in printf.
...
* Made include directives of configuration header files sync'ed
with xmlparse.c.
2005-12-25 17:05:10 +00:00
Karl Waclawek
d707e890ea
* Added integer modifier macro to support 64-bit integers in printf.
...
* Made include directives to be in sync with xmlparse.c.
2005-12-25 16:56:05 +00:00
Karl Waclawek
b85751153b
Added integer modifier macro to support 64-bit integers in printf.
2005-12-25 16:54:10 +00:00
Steven Solie
607730d3fe
*** empty log message ***
2005-12-24 06:39:56 +00:00
Karl Waclawek
878e9108fd
Fix for bug #1023646 .
2005-04-19 18:25:08 +00:00
Fred L. Drake, Jr.
0699f3c162
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 )
2004-09-30 02:47:03 +00:00
Karl Waclawek
b7154acf0a
Added type casts necessary for compiling as C++ file (at least under VC++).
2004-08-10 18:18:25 +00:00
Fred L. Drake, Jr.
8a8f58a2d0
patch from Shard (neoni dot net) to support BeOS
2004-04-30 03:44:34 +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.
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
Karl Waclawek
1a6b939100
Fixed memory leak.
2002-11-20 16:20:10 +00:00
Fred L. Drake, Jr.
ad0e1a943b
Elaborate the XML_GetFeatureList() API a bit, and add additional info
...
that may be needed by a hughly flexible client. (Or at least used to check
that the Expat that it links to matches client expectations.)
2002-09-05 01:48:26 +00:00
Fred L. Drake, Jr.
e5cf509115
Revise the XML_GetFeatureList() function signature so that we maintain the
...
behavior that all strings returned from Expat are affected by the XML_UNICODE
and XML_UNICODE_WCHAR_T feature-test macros, and ensure that an application
that needs to determine what type of character data is returned can do so
with reasonable ease.
2002-08-29 04:54:04 +00:00
Fred L. Drake, Jr.
233230ce89
One consequence of using an incomplete struct to define XML_Parser is
...
that compilers can be more picky about type compatibility. Tighten up
the function signatures to reduce spurious warnings.
2002-08-27 05:49:52 +00:00
Fred L. Drake, Jr.
ce60dcf034
showVersion(): Use the new XML_GetFeatureList() function to list the
...
compile-time features as part of the "xmlwf -v"
output.
2002-08-26 17:20:48 +00:00
Fred L. Drake, Jr.
1ef2370e61
It doesn't look like this has been used in a long time; we might be
...
able to get rid of it.
- Arranged function & method signatures like they are elsewhere in the
sources.
- Shortened some long lines.
- #include expat.h instead of xmlparse.h.
2002-08-23 21:47:52 +00:00
Karl Waclawek
d6a47ae1e6
Applied patch #598944 : Static library builds for VC++
2002-08-23 15:04:52 +00:00
Fred L. Drake, Jr.
4b551b1b96
showVersion(): Only check for \ in the path on Windows, the same as
...
in tmain().
2002-08-22 21:55:25 +00:00
Fred L. Drake, Jr.
e573251a94
Define specific return values for the XML_Parse*() functions, and use them
...
to test all XML_Parse*() return values in the test and sample code.
This is binary-compatible with previous Expat 1.95.x releases.
2002-08-02 19:40:09 +00:00
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