Greg Stein
48d3438f5a
Simplify the version handling some more by breaking the release process out
...
of the makefile into a separate script -- the script can do much more and
the makefile dependencies were not used anyways (just serving to obfuscate).
2001-08-23 13:26:37 +00:00
Greg Stein
28bc02a20a
We are shipping expat.h now, not expat.h.in
2001-08-23 13:12:17 +00:00
Greg Stein
a5e3cad879
Revamp how the version stuff is handled. Use the header file as the
...
original, and extract the numbers within the configure script.
* configure.in: extract the numbers from lib/expat.h
* Makefile.in: simplify the construction of DISTDIR
* lib/Makefile.in: no need to define the VERSION preprocessor symbol
* lib/expat.dsp: do not define VERSION (changed, but untested!)
* lib/xmlparse.c: revamp the XML_ExpatVersion() function
* lib/expat.h(.in): just ship the baby, rather than generating it
2001-08-23 12:35:53 +00:00
Greg Stein
33589a12bc
* stop using aclocal.m4 and directly sinclude() the .m4 files into the
...
configure script. don't "clean" it and remove it from .cvsignore.
Note: to avoid problems in developer dirs, we nuke the file in
buildconf.sh for now; we'll stop doing that at some future time.
[idea from ASF]
* look for glibtoolize, in addition to libtoolize (e.g. the MacOS X platform
names it differently). [patch from ASF]
* conftools/missing is not needed
* use "exit 0" in buildconf.sh to help calling scripts. [patch from ASF]
* minor output cleanup in "make clean"
2001-08-23 11:27:26 +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.
b48c6919bb
Update so the tests will be run by "make check".
2001-08-17 19:23:02 +00:00
Fred L. Drake, Jr.
559fbc6c4b
Tell CVS to ignore the intermediate files generated by building the test
...
suite.
2001-08-17 19:16:41 +00:00
Fred L. Drake, Jr.
cc89b6f763
Build & run the test suite.
2001-08-17 19:16:41 +00:00
Fred L. Drake, Jr.
ed9b8e0d46
Explain what is required to build & run the test suite, and that it all
...
might change in the future.
2001-08-17 19:16:41 +00:00
Fred L. Drake, Jr.
fcf971bfe0
A very small test suite for Expat; additional tests will be added as time
...
permits.
2001-08-17 19:16:41 +00:00
Fred L. Drake, Jr.
d165185951
Added a note to the XML_GetCurrentByteCount() function that it returns 0
...
for the end tag event when an empty-element tag is used. Noted on
expat-discuss by Michael Isard.
2001-08-13 19:10:09 +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.
57a3480f95
XML_Parse(): If XML_GetBuffer() returns NULL, do not attempt to move
...
data aronud, just propogate the error.
This closes SF bug #434665 .
2001-08-09 18:08:56 +00:00
Fred L. Drake, Jr.
34966ccef9
Switch to testing that _MSC_EXTENSIONS is defined, not __declspec. (We can
...
probably remove the exception for __BEOS__ now, but I cannot test that.)
2001-07-30 19:01:47 +00:00
Fred L. Drake, Jr.
8c802e078d
Fix a couple of stupid typos that I should have caught before release.
2001-07-28 03:29:55 +00:00
Fred L. Drake, Jr.
f91dde5506
Update to match the latest version of the installer.
2001-07-27 20:35:39 +00:00
Fred L. Drake, Jr.
94c3265d8a
Suggest that Windows users get the installer; it will do things that make
...
more sense than the Unix sources.
2001-07-27 20:34:52 +00:00
Fred L. Drake, Jr.
a650c5f93f
Remove some bogus preprocessor definitions.
2001-07-27 20:26:23 +00:00
Fred L. Drake, Jr.
a81f09f829
Remove all traces of the XMLCALLBACK macro -- there appears to be no way
...
to add __cdecl to a typedef of a function type that MSVC does not complain
about. Callback implementations may need to add explicit __cdecl
annotations in sources not compiled with the C calling convention as the
default.
2001-07-27 17:17:44 +00:00
Fred L. Drake, Jr.
df1b71d17e
Try again.
2001-07-27 17:03:01 +00:00
Fred L. Drake, Jr.
58be86d815
Make sure that XMLPARSEAPI specifies the calling convention when building
...
under MSVC -- this is needed when using the pre-compiled DLL with projects
built using a different calling convention.
XMLPARSEAPI now takes the return type as a parameter and inserts annotations
on both sides of the type to make sure the compiler is happy. A new
macro, XMLCALLBACK, is used to perform similar annotation of the callback
function types, which do not need the dllimport/dllexport annotations but
do still need the __cdecl annotation.
This closes SF bug #413653 .
2001-07-27 16:30:56 +00:00
Fred L. Drake, Jr.
f14ab18aa7
Shorten the name of the directory we store the uninstaller in.
2001-07-27 15:31:22 +00:00
Fred L. Drake, Jr.
edc66fb325
Add more information to the Welcome screen of the installer.
2001-07-27 15:22:35 +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.
903a9f4754
Try to make the Windows installer a little more rational, and install all
...
the sources a developer might want, not just the parser itself.
2001-07-27 14:54:11 +00:00
Fred L. Drake, Jr.
a199491044
Adding back the MSVC workspace, adding in the sample projects as well.
2001-07-27 14:46:06 +00:00
Fred L. Drake, Jr.
6c15b0bcab
Now we need to ignore some MSVC turds here.
2001-07-27 14:42:33 +00:00
Fred L. Drake, Jr.
946da4dc14
No longer need to ignore MSVC turds in this directory.
2001-07-27 14:40:42 +00:00
Fred L. Drake, Jr.
73a46385ea
Move the MSVC workspace up one directory level so the generated Windows
...
installer can be more reasonable.
2001-07-27 14:39:42 +00:00
Fred L. Drake, Jr.
b3fd15c445
Avoid creating extra output directories from MSVC.
2001-07-27 14:21:23 +00:00
Fred L. Drake, Jr.
4e2de83794
More project files for MSVC.
2001-07-27 14:08:17 +00:00
Fred L. Drake, Jr.
c944beaea1
Ignore some additional Windows/MSVC cruft.
2001-07-27 14:05:30 +00:00
Fred L. Drake, Jr.
bb4a4de066
I'm not really sure why this version of the file is still here, but
...
migrate the UTF-8 BOM fix here as well, so this does not get too far
out of sync.
2001-07-27 13:59:00 +00:00
Fred L. Drake, Jr.
cff7d19ac6
Simplify the Unix source release; do not include all the Windows project
...
files and the like. The Windows installer will include all that.
2001-07-27 13:28:49 +00:00
Fred L. Drake, Jr.
bea3e90921
Remove the sample directory; it is no longer used.
2001-07-26 21:57:57 +00:00
Fred L. Drake, Jr.
749b7fb3a1
All sample code is now located in the "examples" directory.
2001-07-26 21:55:33 +00:00
Fred L. Drake, Jr.
86b7ae104d
Move the "elements" example code here from "sample", so we only have one
...
directory of short sample code.
2001-07-26 21:54:43 +00:00
Fred L. Drake, Jr.
d8263250ee
More GCC flags, when we're using GCC:
...
-Wmissing-prototypes, to tighten up the warnings, and
-fexceptions, to make the generated code exception-safe when using it
with C++ code.
This closes SF bug #419585 .
2001-07-26 20:48:06 +00:00
Fred L. Drake, Jr.
a0a80f5f43
Settle on a release date, and note that there is now a Windows installer.
2001-07-26 20:32:22 +00:00
Fred L. Drake, Jr.
a6849ef2f1
Add xmlwf to the default build, since the install includes it.
2001-07-26 20:31:15 +00:00
Fred L. Drake, Jr.
8d4ff3433c
Make the built installer land in an existing directory.
2001-07-26 19:58:06 +00:00
Fred L. Drake, Jr.
cfc6d2264f
Add an overview of where everything ends up when installed by the Windows
...
installer. This will be installed at the top of the Windows installation.
2001-07-26 19:50:28 +00:00
Fred L. Drake, Jr.
2b1678311c
Changes so that we can actually build an installer, and fix the URLs.
2001-07-26 19:44:42 +00:00
Fred L. Drake, Jr.
41d112cacd
Installer-builder script for Inno Setup, contributed by Tim Peters.
2001-07-26 18:28:17 +00:00
Fred L. Drake, Jr.
5a77c3f5bd
Update the RPM .spec file for 1.95.2.
2001-07-25 20:14:13 +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.
8ec98c9108
Added preliminary changes for the 1.95.2 release.
2001-07-25 18:10:15 +00:00
Fred L. Drake, Jr.
7777219a59
Try to better explain the problems with Sun make -- perhaps someone with
...
more knowledge of the Sun tools could help explain this?
2001-07-25 18:08:05 +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.
e875e9de25
Really add the xmlwf project this time.
2001-07-25 17:32:17 +00:00
Fred L. Drake, Jr.
cbf62af4f8
One more MSVC file to ignore...
2001-07-25 17:29:46 +00:00
Fred L. Drake, Jr.
286151fe68
When using GCC, use stronger error-checking options.
2001-07-25 17:25:46 +00:00
Fred L. Drake, Jr.
a381bda8c4
Removed unusual use of "const" to avoid errors from a Sun compiler.
2001-07-25 17:22:48 +00:00
Fred L. Drake, Jr.
718bd9e746
Removed useless RCSId static from the code.
...
Added #include to pick up the memmove() prototype.
Added parentheses in some conditions to suppress compiler warnings.
2001-07-25 17:20:45 +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.
f5f84eceff
Update comments on the Solaris build to be a little more careful -- or at
...
least warn the user!
2001-07-25 17:16:03 +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.
c566467bd9
Kill a compiler warning & make private functions static.
2001-07-25 17:11:39 +00:00
Fred L. Drake, Jr.
d70490a072
Clean up a few compiler warnings in the sameple code.
2001-07-25 17:04:22 +00:00
Fred L. Drake, Jr.
9e773e76e8
Add the new MSVC workspace file to the list of distributed files.
2001-07-25 16:36:57 +00:00
Fred L. Drake, Jr.
833783b904
Update the windows comments to reflect the current status, including the
...
added files in the next version of the expat_win32bin package.
2001-07-25 16:35:53 +00:00
Fred L. Drake, Jr.
1c3ac221c3
Update xmlwf project file.
2001-07-25 16:19:04 +00:00
Fred L. Drake, Jr.
b6448b02a1
Toss the old MSVC workspace.
2001-07-25 16:13:36 +00:00
Fred L. Drake, Jr.
75dfaef598
Tell CVS to ignore the cruft files generated by MSVC and Source Insight.
2001-07-25 16:10:08 +00:00
Fred L. Drake, Jr.
6561a9e5ed
Move the workspace file for MSVC, and let it also build xmlwf.
2001-07-25 16:06:57 +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.
4ae9b88ab8
Remove the extra DESTDIR variable.
2001-07-25 15:13:38 +00:00
Fred L. Drake, Jr.
3e5d0aa4a7
Some minor simplifications, and descend into fewer subdirs on "make install".
2001-07-25 15:12:00 +00:00
Fred L. Drake, Jr.
0951a96a7c
Update to reflect the current build process.
2001-07-25 14:59:11 +00:00
Fred L. Drake, Jr.
845f869a2f
Remove one more line that was not supposed to have gotten checked in
...
(part of an unfinished feature).
2001-07-25 14:40:06 +00:00
Fred L. Drake, Jr.
072bdb8045
Ignore the generated executables.
2001-07-25 14:33:28 +00:00
Fred L. Drake, Jr.
475116ad48
Let's not ignore files that are generated too rarely to be a nuissance;
...
we should remain aware of them.
2001-07-25 13:52:21 +00:00
Fred L. Drake, Jr.
180f35f5eb
Revert unintended portion of a checkin; these files were not supposed to
...
have been changed with the most recent Makefile changes.
2001-07-25 03:29:56 +00:00
Fred L. Drake, Jr.
f21b3de88b
Added a comment about compiling for use with C++, including the use of the
...
-fexceptions flag with GCC.
This closes SF bug #419585 .
2001-07-25 03:14:39 +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.
f501679409
Update the MSVC project. I don't understand all the
...
changes, but it seems to work.
2001-07-24 21:41:05 +00:00
Fred L. Drake, Jr.
be106416dc
Reduce the reliance on non-standard "tar" options.
2001-07-24 20:03:28 +00:00
Fred L. Drake, Jr.
3b3a7ec889
Use the AC_C_BIGENDIAN_CROSS macro instead of the non-cross-compile-safe
...
version normally provided with autoconf.
I have not tested this in a cross-compilation environment, but it does
not break things in my x86 environment. (If this breaks things for anyone,
please file a bug report!)
This closes SF patch #431342 .
2001-07-24 19:54:20 +00:00
Fred L. Drake, Jr.
109f8790f9
Adding cross-compile safe BIGENDIAN test for autoconf. Original source:
...
http://cryp.to/autoconf-archive/Cross_Compilation/ac_c_bigendian_cross.html
This is part of SF patch #431342 .
2001-07-24 19:51:35 +00:00
Fred L. Drake, Jr.
4006aa38b5
Bump the version number and make a few small changes (mostly editorial).
...
Re-wrap lines to be a little shorter.
2001-07-24 17:08:58 +00:00
Fred L. Drake, Jr.
8a96f5b08d
Add the MSVC workspace file.
2001-07-24 16:52:54 +00:00
Fred L. Drake, Jr.
ba30f956c8
Tell CVS to ignore the Windows temporary files.
2001-07-24 16:50:37 +00:00
Fred L. Drake, Jr.
a6b3939dd9
Oops, remove a prototype for a feature that is not yet ready.
2001-07-24 16:03:51 +00:00
Fred L. Drake, Jr.
a0f045d46d
The previous checkin of expat.h.in broke the build for Windows (now everyone
...
will just have to wonder how I got anything at all working on Windows).
Since we do not want to place the XMLPARSEAPI marker in the middle of a
type name, always tack it onto the beginning -- anywhere else seems fragile
at best.
2001-07-24 16:00:52 +00:00
Fred L. Drake, Jr.
84ec06ca9c
Support building from directories other than the source directory.
...
Patch contributed by Mo DeJong -- thanks!
This closes SF patch #431340 .
2001-07-21 03:37:12 +00:00
Fred L. Drake, Jr.
517663ce07
Avoid specifying XMLPARSEAPI in the middle of a prototype's return
...
value; some compilers that expand XMLPARSEAPI to a non-empty value
complain.
This closes SF patch #412076 .
2001-07-21 02:28:28 +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.
ec982dcdc4
Update the MANIFEST to reflect Greg's recent changes.
2001-03-13 17:27:15 +00:00
Greg Stein
4232566291
Revamp config/build to keep generated files out of CVS (some libtool files
...
were out of date, and we've previously seen expat.h out of sync).
*) Use new script "buildconf.sh" to create the set of generated files
(aclocal.m4, config.h.in, configure). This is intended to be used by
developers (rerun when configure.in changes) and just before a release
(releases include these outputs).
Developers now need the "autoconf" and "libtool" packages.
*) config.h.in is now built by autoheader and includes bits from acconfig.h
rather than manual construction/maintenance. (renamed from config.hin)
*) added conftools/PrintPath from the ASF; it is a portable "which"
*) added "extraclean" target to top-level Makefile to get rid of all
generated files (return to pure CVS state; before buildconf.sh)
*) updates various bits for config.hin -> config.h.in rename
*) no longer need to delete the ".deps" subdir since we don't create it
anymore (dependencies are explicit rather than auto-generated).
2001-03-10 15:41:50 +00:00
Fred L. Drake, Jr.
dd899178d0
Update the license type; error pointed out by Greg Stein.
2001-03-03 07:20:04 +00:00
Fred L. Drake, Jr.
c8fae37aa2
Added .spec file for building RPMs; contributed by Sean Reifschneider.
...
Minor changes to reflect build process updates and bump the version number
for the next release; remove the "tummy" suffix from the RPM version since
this is part of the stock package.
2001-03-01 04:43:23 +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.
86474275a1
Sam TH:
...
Use the current name for the Expat header file.
This is part of SF tracker patch #403582 .
2001-03-01 04:18:28 +00:00
Fred L. Drake, Jr.
6c543e265d
Spoke to soon -- one of the patches added a Makefile.in to the sample/
...
directory, so we do need to configure it.
2001-03-01 04:14:23 +00:00
Fred L. Drake, Jr.
1139ceac02
Sam TH:
...
Add a Makefile.in for the sample application.
FLD:
Tell CVS to ignore the generated Makefile.
This closes SF tracker patch #403583 .
2001-03-01 04:13:33 +00:00
Fred L. Drake, Jr.
43be41d965
There is no sample/Makefile.in, so do not try to generate sample/Makefile
...
even if the directory exists.
2001-03-01 04:07:20 +00:00
Fred L. Drake, Jr.
2ce9cd4140
Sam TH:
...
Remove gcc-specific cruft from the Makefile -- this hurts portability!
This closes SF tracker patch #403584 , and probably more platform-specific
build process bugs than I care to think about.
2001-03-01 04:04:26 +00:00
Fred L. Drake, Jr.
83e53eb8d0
Sam TH:
...
Only configure makefiles in child directories that exist.
[...and added explanation as to why this is useful -- FLD.]
This closes SF tracker patch #403585 .
2001-03-01 03:47:12 +00:00