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

40 Commits

Author SHA1 Message Date
Daniel Veillard
645c2e421a patch from Charles Bozeman fixing a memory leak in
* libexslt/date.c: patch from Charles Bozeman fixing a memory
  leak in exsltDateDurationFunction pointed out by Bernard Brinkhus
* python/tests/exslt.py: trouble with mem debug in that specific
  test...
Daniel
2002-11-23 13:48:38 +00:00
Daniel Veillard
b827b9b065 fixes for compiling without config.h Daniel
* python/generator.py python/libxslt.c: fixes for compiling
  without config.h
Daniel
2002-11-23 11:25:00 +00:00
Daniel Veillard
ccc8569012 make sure to register EXSLT for the bindings add a specific test minor
* python/libxslt.c: make sure to register EXSLT for the bindings
* python/tests/Makefile.am python/tests/exslt.py: add a specific test
* xsltproc/xsltproc.c: minor cleanup
Daniel
2002-11-16 22:26:08 +00:00
Daniel Veillard
0eeb098cf1 trying to fix #98518 when building outside of the source tree Daniel
* python/Makefile.am python/tests/Makefile.am: trying to fix #98518
  when building outside of the source tree
Daniel
2002-11-15 11:37:04 +00:00
Daniel Veillard
e4f67df60a xpathObjectRet() pertains to the libxml2 module, add the namespace. Daniel
* python/generator.py: xpathObjectRet() pertains to the libxml2
  module, add the namespace.
Daniel
2002-11-14 20:40:43 +00:00
Daniel Veillard
2f28716537 fixed bugs when passing result value tree to Python functions. Daniel
* python/types.c: fixed bugs when passing result value tree
  to Python functions.
Daniel
2002-10-20 21:21:26 +00:00
Daniel Veillard
e4b4a1bb92 applied patch from Christophe Merlet to reestablish DESTDIR Daniel
* python/Makefile.am: applied patch from Christophe Merlet to
  reestablish DESTDIR
Daniel
2002-09-05 08:08:39 +00:00
Daniel Veillard
f015c8f98c applied a patch from Ralf Mattes providing style.saveResultToString()
* python/libxslt-python-api.xml python/libxslt.c
  python/libxsltclass.txt python/tests/basic.py: applied a patch
  from Ralf Mattes providing style.saveResultToString()
Daniel
2002-08-25 15:04:00 +00:00
Daniel Veillard
1acafc0957 fixed a bug w.r.t. namespace context when doing the evaluation of
* libxslt/templates.c: fixed a bug w.r.t. namespace context when
  doing the evaluation of attribute value templates
* libxslt.spec.in python/Makefile.am: fixed some troubles
  with "make rpm"
Daniel
2002-08-21 19:29:32 +00:00
Daniel Veillard
4c95dfde98 fixed the parameter order when calling Python based extensions. Daniel
* python/libxslt.c: fixed the parameter order when calling
  Python based extensions.
Daniel
2002-08-21 17:00:38 +00:00
Daniel Veillard
cf6325b206 AMD x86-64 induced changes from Frederic Crozat Daniel
* configure.in python/Makefile.am: AMD x86-64 induced changes from
  Frederic Crozat
Daniel
2002-08-14 16:56:52 +00:00
William M. Brack
2864c3854e fixed bug 87230, also multiple make jobs in python directory 2002-07-21 11:08:24 +00:00
Daniel Veillard
eef2ef13ad tried to fix #79105 by providing a specific error registering routine.
* python/libxslt-python-api.xml python/libxslt.c
  python/libxsltclass.txt : tried to fix #79105 by providing a
  specific error registering routine.
Daniel
2002-05-24 13:03:04 +00:00
Daniel Veillard
0f879dd4f2 Applied Mark Vakoc patch to show registered extensions in xsltproc rebuilt
* libxslt/extensions.[ch]  xsltproc/xsltproc.c win32/libxslt.def.src:
  Applied Mark Vakoc patch to show registered extensions in xsltproc
* doc/*: rebuilt the API, docs and website
* python/libxsltclass.txt: this added an entry point
Daniel
2002-05-16 17:33:29 +00:00
Daniel Veillard
00ce7dd814 fixing the equivalent of #75779 Daniel
* python/Makefile.am: fixing the equivalent of #75779
Daniel
2002-04-15 13:59:07 +00:00
Daniel Veillard
6e5b48bfa0 Added Igor Zlatkovic as official maintainer Albert Chin pointed that
* AUTHORS HACKING: Added Igor Zlatkovic as official maintainer
* python/Makefile.am python/tests/Makefile.am: Albert Chin pointed
  that $(datadir) should be used for docs
Daniel
2002-03-27 09:06:22 +00:00
Daniel Veillard
6f517eddb3 Art Haas pointed a stupid error Daniel
* python/Makefile.am: Art Haas pointed a stupid error
Daniel
2002-03-20 16:53:07 +00:00
Daniel Veillard
073f51a740 fixed a stupid bug Daniel
* python/Makefile.am: fixed a stupid bug
Daniel
2002-03-18 20:34:23 +00:00
Daniel Veillard
2abd71732c applied the same kind of fixes to the Python Makefiels than to libxml2
* python/Makefile.am python/generator.py python/libxslt.c
  python/types.c python/tests/Makefile.am: applied the same kind of
  fixes to the Python Makefiels than to libxml2 ones. Updates
  and cleanups too.
Daniel
2002-03-18 15:24:51 +00:00
jacob berkman
aa5db8243c remove $(srcdir) as make will automatically look there for these files
2002-03-08  jacob berkman  <jacob@ximian.com>

	* python/Makefile.am (libxsltmodule_la_SOURCES): remove $(srcdir)
	as make will automatically look there for these files
2002-03-08 18:25:29 +00:00
Daniel Veillard
ef2531fb96 preparing release 1.0.13 updated and rebuilt the docs fixed a possible
* configure.in libxslt/xsltwin32config.h: preparing release
  1.0.13
* doc/*: updated and rebuilt the docs
* python/libxslt.c: fixed a possible reentrancy problem
Daniel
2002-03-08 16:52:34 +00:00
Daniel Veillard
f503baafa1 Fixes the problems exposed by #73880 those ought to be computed at
* libxslt/pattern.c: Fixes the problems exposed by #73880
  those ought to be computed at stylesheet compile time, not
  at run-time, and the computation was wrong.
* libxslt/transform.c: get rid of fake nodes coming from node-set
  transformations. At least if they are still produced they will
  become easy to spot as resulting document won't be well-formed.
Daniel
2002-03-08 13:55:08 +00:00
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
a91e194b6d trying to fix #71270 Daniel
* python/Makefile.am: trying to fix #71270
Daniel
2002-02-12 14:11:09 +00:00
Daniel Veillard
c99f3afb5f removed tab used spaces preparing 1.0.12 rebuild/updated Daniel
* python/*.py: removed tab used spaces
* configure.in libxslt/xsltwin32config.h: preparing 1.0.12
* doc/news.html doc/xslt.html: rebuild/updated
Daniel
2002-02-11 18:54:47 +00:00
Daniel Veillard
94738b61d3 fixed a bug reported by Norm Daniel
* libxslt/attributes.c: fixed a bug reported by Norm
Daniel
2002-02-10 21:09:52 +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
4a5c94ae14 seems some version of automake didn't generate the dependancies right as
* python/Makefile.am: seems some version of automake didn't
  generate the dependancies right as Jacob found out. Add
  an extra dependancy rule.
Daniel
2002-02-09 22:21:00 +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
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
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
584f279f53 the spec file will now build libxslt-python, fought with shared and other
* libxslt.spec.in python/Makefile.am python/libxsl.py: the
  spec file will now build libxslt-python, fought with shared
  and other crazyness, seems to work now :-)
* doc/libxslt-api.xml: regenerated
Daniel
2002-02-06 12:52:40 +00:00
Daniel Veillard
ac6924c939 refactored make tests, make all now don't run the test suite added tests
* Makefile.am configure.in tests/Makefile.am tests/*/Makefile.am
  tests/*/*/Makefile.am: refactored make tests, make all now don't
  run the test suite
* python/Makefile.am: added tests
* python/tests/basic.py python/tests/Makefile.am: added the first
  basic test, memory debug included
Daniel
2002-02-06 10:35:19 +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
0902ad194c do not install outside of prefix, make sure the API get shipped. Daniel
* configure.in doc/Makefile.am: do not install outside of prefix,
  make sure the API get shipped.
Daniel
2002-02-05 16:37:05 +00:00
Daniel Veillard
db01856562 Added, tinderbox broken, Daniel 2002-02-04 22:36:37 +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