1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 03:55:04 +03:00
Commit Graph

46 Commits

Author SHA1 Message Date
Mehltretter Karl
e9270ef0d4 fix Schematron spelling 2022-05-06 10:44:03 +02:00
Nick Wellnhofer
02709d0f67 Remove remaining definitions of STDC_HEADERS
Sync with Autotools build.
2022-04-20 19:18:17 +02:00
Nick Wellnhofer
21ddad5284 Remove ICONV_CONST test
We can simply cast the offending pointer to (void *).
2022-03-04 22:08:58 +01:00
Nick Wellnhofer
72119afe00 Don't check for standard C89 library functions
Don't check for

- fprintf
- localtime
- printf
- rand
- sprintf
- srand
- sscanf
- strftime
- time
- vfprintf
- vsprintf

If the C99 functions snprintf and vsnprintf are missing, Trio is
enabled.
2022-03-02 01:14:08 +01:00
Nick Wellnhofer
776d15d383 Don't check for standard C89 headers
Don't check for

- ctype.h
- errno.h
- float.h
- limits.h
- math.h
- signal.h
- stdarg.h
- stdlib.h
- string.h
- time.h

Stop including non-standard headers

- malloc.h
- strings.h
2022-03-02 00:43:54 +01:00
Nick Wellnhofer
b041d829a2 Remove xmlwin32version.h
This file was undocumented and never used anywhere. Maybe users were
supposed to rename this file to xmlversion.h manually. These days, both
CMake and win32/configure.js generate xmlversion.h from xmlversion.h.in,
just like the Autotools build.
2022-02-16 19:55:30 +01:00
Ben Boeckel
51c88c6f8d configure: remove unused checks for functions
Nothing uses the results from these checks, so remove the checks. There
are some "uses" in order to suppress macro shadowing in MSVC's
implementation of `isinf` and `isnan` as macros, but those are
hard-coded and do not require checks to manage.
2022-01-16 14:34:37 +01:00
Ben Boeckel
1a013ba711 configure: remove unused checks for libraries
These libraries are queried for, but no code cares about the results, so
remove the checks.
2022-01-16 14:34:37 +01:00
Ben Boeckel
9669bd68a3 configure: remove unused checks for headers
These headers are checked for at configure time, but the code never
cares about the results of these checks, so skip them.
2022-01-16 14:34:37 +01:00
Nick Wellnhofer
20c60886e4 Fix typos
Resolves #133.
2020-03-08 17:41:53 +01:00
Nick Wellnhofer
ff628d46a1 Stop including ansidecl.h
This seems to be an undocumented, internal GCC header added a long time
ago. I don't know why it was included, but I think it can be safely
removed.
2017-11-27 14:35:29 +01:00
Nick Wellnhofer
bf3b456350 Remove unused AC_CHECKs 2017-11-27 14:35:29 +01:00
Nick Wellnhofer
cb5541c9f3 Fix libz and liblzma detection
If libz or liblzma are detected with pkg-config, AC_CHECK_HEADERS must
not be run because the correct CPPFLAGS aren't set. It is actually not
required have separate checks for LIBXML_ZLIB_ENABLED and HAVE_ZLIB_H.
Only check for LIBXML_ZLIB_ENABLED and remove HAVE_ZLIB_H macro.

Fixes bug 764657, bug 787041.
2017-11-27 14:33:37 +01:00
Nick Wellnhofer
c1002101f7 Update information about contributing
The contents of the HACKING file were hopelessly outdated. Remove the
file and start with a CONTRIBUTING document.
2017-11-27 13:42:30 +01:00
Nick Wellnhofer
e3890546d7 Fix the Windows header mess
Don't include windows.h and wsockcompat.h from config.h but only when
needed.

Don't define _WINSOCKAPI_ manually. This was apparently done to stop
windows.h from including winsock.h which is a problem if winsock2.h
wasn't included first. But on MinGW, this causes compiler warnings.
Define WIN32_LEAN_AND_MEAN instead which has the same effect.

Always use the compiler-defined _WIN32 macro instead of WIN32.
2017-10-09 14:35:40 +02:00
Patrick Monnerat
d1f9062486 small changes for OS/400
OS/400 version V5R3 is not supported by IBM anymore.
In addition, the iSeries system I have here for development has been changed
and the new system is not able to compile for an OS version lower than V6R1.

Thus I made some updates to the libxml2 os400 scripts accordingly:

- Oldest supported OS version is now V6R1.
- Adjust ILE/RPG wrappers comments.
- Update copyright year range.
- Do not log compiler informational messages.
2017-07-27 11:20:02 +08:00
Nick Wellnhofer
8bbe4508ef Spelling and grammar fixes
Fixes bug 743172, bug 743489, bug 769632, bug 782400 and a few other
misspellings.
2017-06-17 16:34:23 +02:00
Patrick Monnerat
c71f9305a9 dict.h: Move xmlDictPtr definition before includes to allow direct inclusion. 2016-05-03 13:52:00 +08:00
Patrick Monnerat
b29377109b os400: tell about xmllint and xmlcatalog in README400. 2016-05-01 18:36:36 +08:00
Patrick Monnerat
c04785d5f5 os400: properly process SGML add in XMLCATALOG command. 2016-05-01 18:35:41 +08:00
Patrick Monnerat
9b5a57cf37 os400: implement CL command XMLCATALOG. 2016-05-01 18:35:11 +08:00
Patrick Monnerat
d76abc7bcd os400: compile and install program xmlcatalog (qshell-only). 2016-05-01 18:34:41 +08:00
Patrick Monnerat
cad1634ef4 os400: expand tabs in sources, strip trailing blanks. 2016-05-01 18:33:49 +08:00
Patrick Monnerat
26db5e7a55 os400: implement CL command XMLLINT. 2016-05-01 18:33:26 +08:00
Patrick Monnerat
b1682bdb93 os400: compile and install program xmllint (qshell-only). 2016-05-01 18:33:01 +08:00
Patrick Monnerat
1463a91df5 os400: initscript make_module(): Use options instead of positional parameters. 2016-05-01 18:32:20 +08:00
Patrick Monnerat
44e49f47e8 os400: c14n.rpgle: allow *omit for nullable reference parameters. 2016-05-01 18:19:36 +08:00
Patrick Monnerat
ae0b224090 os400: use like() for double type. 2016-05-01 18:19:06 +08:00
Patrick Monnerat
155faa5221 os400: use like() for int type. 2016-05-01 18:18:38 +08:00
Patrick Monnerat
26202cf90f os400: use like() for unsigned int type. 2016-05-01 18:18:11 +08:00
Patrick Monnerat
91e2e698fd os400: use like() for enum types. 2016-05-01 18:17:12 +08:00
Patrick Monnerat
22b0415a89 os400: fix various ILE/RPG types definitions. Adjust build scripts.
- A typo caused an undefined symbol reference.
    - A structure field name did not match the corresponding C name due to a typo.
    - Some structured fields were not properly aligned.
    - The long/ulong types were wrongly mapped to 64-bit types.
    - A typo in a /include directive caused a compilation error.
    - Doc files copy now converts from UTF-8 and split long lines.
    - Adjust /include file name mapping translation for proper prefix handling.
2015-04-16 16:04:06 +08:00
Patrick Monnerat
5018082b8c OS400: do not try to copy unexisting doc files 2014-10-10 15:37:39 +08:00
Patrick Monnerat
ad160cb3c4 OS400: use either configure.ac or configure.in. 2014-10-10 15:36:48 +08:00
Patrick Monnerat
98d71f9191 os400: make-src.sh: create physical file with target CCSID 2014-10-04 21:13:48 +08:00
Patrick Monnerat
5378ff9378 OS400: Add some more C macros equivalent procedures. 2014-10-04 21:13:48 +08:00
Patrick Monnerat
bce6a61e68 OS400: use C macros to implement equivalent RPG support procedures. 2014-10-04 21:13:48 +08:00
Patrick Monnerat
02fd129874 OS400: implement XPath macros as procedures for ILE/RPG support. 2014-10-04 21:13:48 +08:00
Patrick Monnerat
c017988305 OS400: Add README: compilation directives and OS/400 specific stuff. 2014-10-04 21:13:48 +08:00
Patrick Monnerat
e72b4e7389 OS400: Add compilation scripts. 2014-10-04 21:13:48 +08:00
Patrick Monnerat
e083c30e12 OS400: ILE RPG language header files. 2014-10-04 21:13:48 +08:00
Patrick Monnerat
7d888f07d8 OS400: implement some macros as functions for ILE/RPG language support (that as no macros). 2014-10-04 21:13:47 +08:00
Patrick Monnerat
6e4d870336 OS400: UTF8<-->EBCDIC wrappers for system and external library calls 2014-10-04 21:13:47 +08:00
Patrick Monnerat
5621c81b49 OS400: Easy character transcoding support 2014-10-04 21:13:47 +08:00
Patrick Monnerat
17951ea289 OS400: iconv functions compatibility wrappers and table builder. 2014-10-04 21:13:47 +08:00
Patrick Monnerat
a6c5b022f1 OS400: create architecture directory. Implement dlfcn emulation. 2014-10-04 21:13:47 +08:00