1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-02-05 05:47:00 +03:00

59 Commits

Author SHA1 Message Date
Nick Wellnhofer
4b6e68282b cmake: Stop using win32config.h
Move this file to the win32 subdirectory.
2024-06-22 18:41:00 +02:00
Nick Wellnhofer
669bd34993 xpointer: Remove support for XPointer locations
The latest spec for what it essentially an XPath extension seems to be
this working draft from 2002:

    https://www.w3.org/TR/xptr-xpointer/

The xpointer() scheme is listed as "being reviewed" in the XPointer
registry since at least 2006. libxml2 seems to be the only modern
software that tries to implement this spec, but the code has many bugs
and quality issues.

If you configure --with-legacy, old symbols are retained for ABI
compatibility.
2024-06-12 18:20:01 +02:00
Nick Wellnhofer
dba1ed85a3 ftp: Remove FTP support
Remove the built-in FTP client. If you configure --with-legacy, old
symbols are retained for ABI compatibility.
2024-06-12 18:19:55 +02:00
Nick Wellnhofer
1cdfece12b memory: Remove memory debugging
This is useless compared to sanitizers or valgrind and has a
considerable performance impact if enabled accidentally.
2024-04-28 20:42:55 +02:00
Nick Wellnhofer
7d6969d955 Remove Trio
Trio is a rather old cross-platform printf library which was bundled with
libxml2. It was needed for ancient pre-C99 systems without snprintf and
should be safe to remove these days.
2023-11-23 15:48:52 +01:00
Nick Wellnhofer
e2f21c22d3 win32: Deprecate old Windows build system 2023-05-30 12:03:45 +02:00
Nick Wellnhofer
59f2f60e3e Remove "runtime debugging"
This doesn't seem useful as configuration option.
2022-09-02 18:33:35 +02:00
Joey Arhar
e08d8c37f5 Add xptr_locs flag to win32/configure.js
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.
2022-05-06 10:21:29 -07:00
Nick Wellnhofer
4a8c71eb7c Remove DOCBparser
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.
2022-03-04 22:56:21 +01:00
Nick Wellnhofer
7fe9addcbc Remove CVS and SVN-related code 2022-02-13 23:35:18 +01:00
Chun-wei Fan
dbfe6151ff Python distutils: Make DLL packaging more flexible
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
2022-01-16 15:18:06 +01:00
Nick Wellnhofer
4e9cc18ba9 Fix variable name in win32/configure.js
Fix copy/paste error from previous commit.
2020-09-21 11:00:23 +02:00
Nick Wellnhofer
5614c07854 Fix version parsing in win32/configure.js
Adjust to configure.ac changes.

Should fix #185.
2020-09-21 10:55:45 +02:00
Nick Wellnhofer
20c60886e4 Fix typos
Resolves #133.
2020-03-08 17:41:53 +01:00
Nick Wellnhofer
3e7e75bed2 Minor fixes to configure.js
- Semicolon coding style
- Remove duplicated option check

Found by lgtm.com
2020-01-02 15:24:23 +01:00
Jared Yanovich
2a350ee9b4 Large batch of typo fixes
Closes #109.
2019-09-30 18:04:38 +02:00
ccpaging
d404919870 Add resource file to Windows DLL
Add a resource file containing verison information for the Windows DLL.
This is only used by the MSVC build for now.
2017-11-27 16:33:00 +01:00
Daniel Veillard
7580ce0a7f Update Win32 configure.js to search for configure.ac
as configure.in was renamed
2014-10-28 18:13:53 +08:00
Daniel Richard
a0571ebeac Fix for win32/configure.js and WITH_THREAD_ALLOC
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.
2012-12-12 17:16:00 +08:00
Rob Richards
2d84ea149b Fix windows build from lzma addition 2012-03-21 10:37:06 -04:00
Patrick von Reth
f1da8abb62 Fix the Windows build files
Patches comming from KDE project for Windows portability

https://projects.kde.org/projects/kdesupport/emerge/repository/revisions/master/entry/portage/testing/libxml2-test/libxml2-2.7.8-20110801.diff

To build libxml2 I had to patch the build system a little bit.
The windows build system tries to link about zdll, but on windows
its called zlib* too, so linking against z is enough.
Also the --include and the --lib command was ignored.

For the http and ftp stuff linking against some windows library's was
forgotten for mingw.
2011-09-14 16:00:28 +08:00
Giuseppe Iuculano
48f7dcb724 480323 add code to plug in ICU converters by default
This is not configured in by default but after some serious massaging
incorporate that patch from Chromium/Chrome.
2010-11-04 17:42:42 +01:00
Rob Richards
f779da3172 fixed windows path determination (patch from Roland Schwarz, bug #462877)
* xmlIO.c: fixed windows path determination (patch from
  Roland Schwarz, bug #462877)
* win32/Makefile.mingw win32/configure.js: fixed mingw build
  (patch from Roland Schwarz, bug #462877)

svn path=/trunk/; revision=3648
2007-08-14 09:41:21 +00:00
Rob Richards
90ee8dfd3f add --vcmanifest flag (yes/no) for VC8 build support to embed manifest
* win32/configure.js win32/Makefile.msvc: add --vcmanifest flag (yes/no) 
  for VC8 build support to embed manifest within files. Under MS VC, build 
  libxml2_a_dll.lib by default (LIBXML_STATIC_FOR_DLL flag).

svn path=/trunk/; revision=3625
2007-06-08 19:47:37 +00:00
Kasimier T. Buchcik
4a113f9888 Added enable/disable of runtime debugging (LIBXML_DEBUG_RUNTIME).
* win32/configure.js: Added enable/disable of runtime
  debugging (LIBXML_DEBUG_RUNTIME).
2005-12-14 17:43:03 +00:00
Daniel Veillard
c2aa615ccb applied patch from Rob Richards to allow disabling modules in win32, fixes
* win32/configure.js: applied patch from Rob Richards to allow
  disabling modules in win32, fixes #304071
Daniel
2005-08-02 11:27:54 +00:00
Daniel Veillard
5fe95a8fd9 applied patch from Rob Richards to add schematron to the build on Windows
* win32/Makefile.msvc win32/configure.js: applied patch from Rob
  Richards to add schematron to the build on Windows
* test/schematron/zvon3* result/schematron/zvon3*: second test
* test/schematron/zvon10* result/schematron/zvon10*: this is the
  real second test 10 and 2 are swapped.
Daniel
2005-07-31 14:05:18 +00:00
Daniel Veillard
5351695d1b files for the Bakefile generator for Makefiles from Francesco Montorsi
* bakefile/Readme.txt bakefile/Bakefiles.bkgen bakefile/libxml2.bkl:
  files for the Bakefile generator for Makefiles from Francesco
  Montorsi
* win32/configure.js: fixes for Windows compilation with non-default
  flags by Joel Reed
Daniel
2005-01-27 23:59:14 +00:00
Daniel Veillard
ce1648b124 applied DSO support patch 2 from Joel Reed Daniel
* Makefile.am config.h.in configure.in error.c libxml-2.0.pc.in
  testModule.c testdso.c xml2-config.in xmllint.c xmlmodule.c
  include/libxml/Makefile.am include/libxml/xmlerror.h
  include/libxml/xmlmodule.h include/libxml/xmlversion.h.in
  include/libxml/xmlwin32version.h.in: applied DSO support
  patch 2 from Joel Reed
Daniel
2005-01-04 15:10:22 +00:00
Igor Zlatkovic
8ea667fdb3 added support for version extra 2004-08-24 14:42:29 +00:00
Igor Zlatkovic
72c2858596 minor changes for the windows binary package 2004-06-09 14:32:47 +00:00
Igor Zlatkovic
c5a29ca151 added pattern support 2003-12-11 13:56:54 +00:00
Igor Zlatkovic
c7646e6d53 Applied the patch for BCB from Eric 2003-12-01 11:33:27 +00:00
Igor Zlatkovic
4f92821508 modified for compiler coexistence, added xmlwriter, added cruntime option 2003-11-27 18:39:01 +00:00
Daniel Veillard
6b9d6951ff applied patch from Mark Vakoc to simplify his work from CVS checkouts.
* win32/configure.js: applied patch from Mark Vakoc to simplify
  his work from CVS checkouts.
Daniel
2003-11-05 09:50:55 +00:00
Igor Zlatkovic
6425b38385 added declaration for verMicroSuffix 2003-10-25 15:38:34 +00:00
Daniel Veillard
ea04893e3c set of Win32 patches for 2.6.0 by Joachim Bauch Daniel
* win32/Makefile.bcb win32/Makefile.mingw win32/Makefile.msvc
  win32/configure.js: set of Win32 patches for 2.6.0 by Joachim Bauch
Daniel
2003-10-21 09:27:57 +00:00
Daniel Veillard
141310afa1 applied patch from Stphane Bidoul to fix the compilation of 2.6.0 code on
* win32/Makefile.bcb win32/Makefile.mingw win32/Makefile.msvc
  win32/configure.js: applied patch from Stphane Bidoul to
  fix the compilation of 2.6.0 code on Win32
Daniel
2003-10-06 08:47:56 +00:00
Daniel Veillard
70b185648c patch from Stephane Bidoul for configuring the beta2 version #123104
* win32/configure.js: patch from Stephane Bidoul for configuring
  the beta2 version #123104
Daniel
2003-09-24 21:45:21 +00:00
Igor Zlatkovic
01c0cedaa7 minor path fix 2003-08-28 10:49:25 +00:00
Igor Zlatkovic
1bab92dbb0 fixed for mingw 2003-08-28 10:24:40 +00:00
William M. Brack
6d13f33d87 Added in support for the ISO8859X module (patch provided by Jesse Pelton)
* win32/configure.js: Added in support for the ISO8859X
  module (patch provided by Jesse Pelton)
2003-08-08 16:40:36 +00:00
Daniel Veillard
13d07cdc0b Jesse Pelton pointed out a problem in the javascript code. Daniel
* win32/configure.js: Jesse Pelton pointed out a problem in the
  javascript code.
Daniel
2003-07-07 16:02:41 +00:00
Igor Zlatkovic
e8b5b0f148 small addition to bcb patch 2003-06-16 07:12:50 +00:00
Igor Zlatkovic
72f92a882c applied the BCB patch by Eric Zurcher 2003-06-14 16:48:26 +00:00
Igor Zlatkovic
e38ab53243 threads default to native now 2003-05-17 11:30:54 +00:00
Daniel Veillard
94bb2f1ca6 applied patch from Stphane Bidoul for the Python bindings on the new
* win32/configure.js python/setup.py.in: applied patch
  from Stphane Bidoul for the Python bindings on the new
  release.
Daniel
2003-04-27 22:14:07 +00:00
Igor Zlatkovic
3e1d37aa20 thread-enabled build is now default 2003-04-27 15:59:26 +00:00
Daniel Veillard
beb70bd39b more work on the xml reader interfaces. updated Igor's mail and the Web
* xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: more
  work on the xml reader interfaces.
* AUTHORS MAINTAINERS doc/* win32/*: updated Igor's mail and the
  Web page for the Windows binaries.
Daniel
2002-12-18 14:53:54 +00:00
Igor Zlatkovic
853514fc02 added option for python bindings 2002-11-22 21:41:09 +00:00