| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fixes broken build after 21cec82b.
Fixes #532.
|
|
|
|
| |
Fixes #472.
|
|
|
|
| |
This is a Windows-only symbol.
|
|
|
|
| |
Check for LIBXML_THREAD_ENABLED and _WIN32 instead.
|
| |
|
| |
|
|
|
|
| |
This doesn't seem useful as configuration option.
|
|
|
|
| |
This function was never publically declared.
|
| |
|
|
|
|
|
| |
Add API functions to create a parser context with a custom SAX handler
without having to mess with ctxt->sax manually.
|
|
|
|
|
|
| |
The xptr_locs flag was added in commit 67070107 but no flag was added to
win32/configure.js, leading a compile error I had on windows where the
@WITH_XPTR_LOCS@ macro was not replaced properly on windows.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove all the parts of the old test suite which are covered by
runtest.c for quite some time.
The following test programs are removed:
- testC14N
- testHTML
- testReader
- testRelax
- testSAX
- testSchemas
- testURI
- testXPath
This also removes a few results of unimportant tests only run by the old
test suite.
|
| |
|
|
|
|
|
|
|
| |
This code has been broken and deprecated since version 2.6.0, released
in 2003. Because of a bug in commit 961b535c, DOCBparser.c was never
compiled since 2012. I couldn't find a Debian package using any of its
symbols, so it seems safe to remove this module.
|
| |
|
| |
|
|
|
|
|
| |
The same optimization can be enabled with -fno-semantic-interposition
since GCC 5. clang has always used this option by default.
|
| |
|
| |
|
|
|
|
| |
Documentation and releases are now available on gitlab.gnome.org.
|
|
|
|
|
|
|
|
|
|
|
| |
This updates setup.py.in to pack the DLLs according to the options we specified
to configure.js or CMake (or, even configure, although autotools builds are not
likely to build the libxml2 Python module via distutils).
At this point, we can pack only the DLLs that libxml2 really depends on, and
pack the libxslt DLLs only if we really built the libxslt Python modules.
Also make the DLL filenames more easily configured
|
|
|
|
| |
Fix copy/paste error from previous commit.
|
|
|
|
|
|
| |
Adjust to configure.ac changes.
Should fix #185.
|
|
|
|
|
|
|
|
|
|
|
| |
nmake is a primitive tool, so this is a primitive implementation:
append EXTRA_CFLAGS etc. variables.
Command line variables should be appended to allow overriding flags set
in the makefile.
It doesn't work to pass in CFLAGS like in make because that always
overrides the assignments in the makefile.
|
|
|
|
| |
Resolves #133.
|
|
|
|
|
|
|
| |
- Semicolon coding style
- Remove duplicated option check
Found by lgtm.com
|
| |
|
|
|
|
| |
Closes #109.
|
|
|
|
| |
Apply the same cross-platform modifications as previously in runtest.c.
|
| |
|
|
|
|
| |
Build all test executables required by 'make checktests'.
|
|
|
|
| |
Fixes bug 790119.
|
|
|
|
|
| |
Add a resource file containing verison information for the Windows DLL.
This is only used by the MSVC build for now.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
With the exception of timsort.h and warnings 4244 and 4267, the MSVC
build is now warnings-free with /W3.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
64 bit machine."
This reverts commit 605899cf22d185f537eb5efb97a55be30467eb17.
|
|
|
|
|
|
|
|
|
|
|
|
| |
machine.
This patch hold the necessary changes to build libxml2 with Visual
Studio 2017 for WIN32 on a 64 bit machine.
Today 64 bit windows installation are very common, and Visual Studio
2017 community is the most recent version i have access to.
I have chosen 32 bit and SDK 8.1 to be as close as possible to Igor Zlatkovic work.
|
|
|
|
|
|
|
|
|
|
|
| |
--047d7bacb4ee71848a052d7c673a
Content-Type: text/plain; charset=UTF-8
The config.h file in win32\VC10 is incompatible with VS 2015 because VS
2015 provides an implementation of snprintf and prohibits using the
preprocessor to define it. Therefor an ifdef check is needed around that
definition in VC10\config.h. Here is a patch that is compatible with the
change that we made to Chromium's copy:
|
|
|
|
| |
as configure.in was renamed
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Building git master gives me the following error on Windows; this patch
fixes it:
icl /EP /nologo /I..\include /D "NOLIBTOOL" /D "_REENTRANT"
libxml2.def.
src > int.msvc\libxml2.def
libxml2.def.src
Z:\...\libxml2-git8123c4f6_debug\win32\../include/libxml/xmlversion.h(105):
error: unrecognized token
#if @WITH_THREAD_ALLOC@
^
Z:\...\libxml2-git8123c4f6_debug\win32\../include/libxml/xmlversion.h(105):
error: expected an expression
#if @WITH_THREAD_ALLOC@
^
Z:\...\libxml2-git8123c4f6_debug\win32\../include/libxml/xmlversion.h(105):
error: unrecognized token
#if @WITH_THREAD_ALLOC@
^
NMAKE : fatal error U1077: 'icl' : return code '0x2'
Stop.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Building 2.9.0 on MSVC7.1 was failing
This is because HAVE_CONFIG_H is not #defined
The patch addresses the above, adds testrecurse.exe and the
standard "make check" suite of tests to the MSVC makefile, and also
fixes the following (MSVC7.1) warnings:
buf.c(674) : warning C4028: formal parameter 1 different from
declaration
libxml2\timsort.h(71) : warning C4028: formal parameter 1 different from
declaration
|
|
|
|
|
| |
For https://bugzilla.gnome.org/show_bug.cgi?id=682985
suggested by Adrian Bunk <bunk@stusta.de>
|
| |
|
|
|
|
| |
Makes builds on Windows (whether by MSVC, BCB, or MinGW) to compile buf.c
|
|
|
|
|
|
|
| |
For https://bugzilla.gnome.org/show_bug.cgi?id=681592
*) Add and explicit cast when converting FILE* to int
*) Don't assign a c-string to the element of an char-array
|