1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-04-19 05:42:15 +03:00

9 Commits

Author SHA1 Message Date
Nick Wellnhofer
572b24a9c5 python: Don't include nanoftp.h and nanohttp.h
Unneeded and deprecated.
2025-03-09 15:32:18 +01:00
Nick Wellnhofer
d679f4470d functions: Fix build if libxml2 modules are disabled 2023-12-29 00:44:17 +01:00
Nick Wellnhofer
b3076bccdb Finish and clean up Python 3 support
- Handle Python 3 types similar to libxml2
- Copy new versions of libxml_xmlXPathDestructNsNode and
  libxml_xmlXPathObjectPtrConvert from libxml2
- Fix compiler warnings
- Fix whitespace
- Remove unneeded imports from __future__
- Remove test in extelem.py (StringIO can't be converted to FILE under
  Python 3)
- string.lower() works in both Python 2 and 3

Closes #25.
2020-11-19 17:59:37 +01:00
Suleyman Poyraz
a2db8da1ac Initial support for Python 3
Squashed merge of pull request !19.
2020-11-19 17:08:37 +01:00
William M. Brack
5814e8cf8b removed ref to libxslt.la Minor cleanup of warning errors
* breakpoint/Makefile.am: removed ref to libxslt.la
* numbers.c transform.c python/libxml_wrap.h python/types.c
  xlstproc/xsltproc.c: Minor cleanup of warning errors
2003-08-07 13:03:02 +00:00
Daniel Veillard
0232312dde applied patch from #116943 which should fix the xsltSaveResultToFile
* python/libxml_wrap.h: applied patch from #116943 which should
  fix the xsltSaveResultToFile python binding.
Daniel
2003-07-08 10:21:31 +00:00
Daniel Veillard
ada89dddea change the Licence to MIT Licence and release of 1.0.11 updates of the
* Copyright Makefile.am configure.in libxslt.spec.in: change the
  Licence to MIT Licence and release of 1.0.11
* doc/FAQ.html doc/intro.html doc/libxslt-decl.txt doc/news.html
  doc/xslt.html: updates of the docs accordingly
* libxslt/xsltwin32config.h: numbering
* python/generator.py python/libxml_wrap.h python/libxsltclass.txt
  python/libxslt-python-api.xml: cleanup the dependancies with
  libxml2
* python/tests/extfunc.py: updated examples.
Daniel
2002-02-08 16:09:27 +00:00
Daniel Veillard
9de2bd46fc small fix cleanup avoid a problem with $(TESTS) augmented the wrappers
* xsltproc/xsltproc.c: small fix
* Makefile.am: cleanup
* python/tests/Makefile.am: avoid a problem with $(TESTS)
* python/generator.py python/libxml_wrap.h python/libxsl.py
  python/libxslt.c python/libxsltclass.txt: augmented the
  wrappers
* python/tests/pyxsltproc.py: rewrote xsltproc on top of the
  libxslt-python API to get an estimate of what is missing
Daniel
2002-02-07 17:02:34 +00:00
Daniel Veillard
0e33797b05 reactivated xsltMatchPattern() since this is really something one may want
* libxslt/pattern.[ch] doc/libxslt-api.xml doc/libxslt-refs.xml:
  reactivated xsltMatchPattern() since this is really something
  one may want to have access to in an extension function.
* Makefile.am configure.in python/Makefile.am python/generator.py
  python/libxml_wrap.h python/libxsl.py python/libxslt-python-api.xml
  python/libxslt.c python/libxslt_wrap.h python/libxsltclass.txt
  python/types.c: started working on the python bindings, borrowed
  most of the work done for libxml2, most of the generator code
  is similar. Commit at the point where this compiles cleanly and
  "import libxslt" doesn't yield any missing entry point.
Daniel
2002-02-04 18:51:53 +00:00