1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-04-23 14:45:32 +03:00

9 Commits

Author SHA1 Message Date
Daniel Veillard
bd90990db2 changes for the 'usual' setup.py to allow building a libxml2-python module
* python/generator.py python/libxslt.c: changes for the 'usual'
  setup.py to allow building a libxml2-python
  module based on the same code. The initialization is however
  different the 2 .so files fo libxml2 and libxslt are identical and
  they entry point initialize both libraries. this is done to avoid
  some possible nasty problem since the Python don't merge the maps
  of all shared modules.
* python/libxsl.py: attempt to cope with the shared library loading
  problem when both modules are not merged.
Daniel
2002-02-22 22:58:47 +00:00
Daniel Veillard
0f39f084c1 fixed a small warning. rebuilt the APIs Daniel
* python/libxml.c : fixed a small warning.
* doc/libxslt-api.xml doc/libxslt-decl.txt doc/libxslt-refs.xml
  python/libxsltclass.txt: rebuilt the APIs
Daniel
2002-02-10 19:31:34 +00:00
Daniel Veillard
43ced5c60b Fixed the python Makefiles, corrected a bug showing up on ia64, changed
* configure.in libxslt.spec.in python/Makefile.am python/generator.py
  python/libxsl.py python/libxslt.c python/tests/Makefile.am:
  Fixed the python Makefiles, corrected a bug showing up on ia64,
  changed the name of the python internal module too
Daniel
2002-02-09 18:06:02 +00:00
Daniel Veillard
3146d5356f fixup the script and rebuid the API cleanup provided accessors for a lot
* doc/libxslt-api.xml doc/libxslt-decl.txt doc/libxslt-refs.xml
  doc/parsedecl.py: fixup the script and rebuid the API
* libxslt/extensions.h: cleanup
* python/generator.py python/libxslt-python-api.xml python/libxslt.c
  python/libxsltclass.txt: provided accessors for a lot of the
  tructures involved in the transformation. Stylesheet and
  transformation python object don't free automatically the
  encapsulated object when deallocated.
* python/tests/Makefile.am python/tests/basic.py
  python/tests/extfunc.py python/tests/pyxsltproc.py:
  updated the examples
Daniel
2002-02-07 22:34:59 +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
ff22c1a5f9 added libxslt_xsltCleanup() added parameters to
* python/libxsl.py python/libxslt-python-api.xml python/libxslt.c
  python/libxsltclass.txt: added libxslt_xsltCleanup() added parameters
  to libxslt_xsltApplyStylesheet() removed the memleaks left and
  fixed an import order.
* python/tests/basic.py python/tests/extfunc.py: updated the tests
Daniel
2002-02-06 23:03:38 +00:00
Daniel Veillard
09af30e51e plugged the extension of the engine with python defined functions added a
* python/libxlst.c python/libxslt-python-api.xml
  python/libxsltclass.txt: plugged the extension of the engine
  with python defined functions
* python/tests/Makefile.am python/tests/extfunc.py: added a
  basic test, still a memleak, cleanup function needed.
Daniel
2002-02-06 18:48:48 +00:00
Daniel Veillard
f0cb070b69 attempst to tweak to get full memory debug... the basic API starts to work
* configure.in python/Makefile.am: attempst to tweak to get
  full memory debug...
* python/generator.py python/libxsl.py python/libxslt-python-api.xml
  python/libxslt.c python/libxslt_wrap.h python/libxsltclass.txt:
  the basic API starts to work
* python/tests/test.*: first basic test
* libxslt/xsltutils.c: fixed a comment
Daniel
2002-02-05 23:23:15 +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