Commit graph

20 commits

Author SHA1 Message Date
William S Fulton
89a25055d9 Add Python doxygen example 2018-05-31 20:48:02 +01:00
Olly Betts
5a9422d980 Remove GCJ support
GCC7 dropped GCJ.

Closes https://sourceforge.net/p/swig/bugs/823/
2017-10-09 08:32:01 +13:00
William S Fulton
da394fae80 Remove Python swigrun example
By default it doesn't work as it does not call the CEO's __del__ method
as indicated in the comments. __del__ is called with -builtin but
then the base class's __del__ is not available and so it errors out.
Python 3 and -builtin goes into an endless loop. So removing as
hopelessly broken.
2014-10-07 20:58:41 +01:00
Paweł Tomulik
5562deec62 Fixed SF bug #1297 (Python imports)
This changeset resolves several issues related to python imports.
For example, it's possible now to import modules having same module
names, but belonging to different packages.

From the user's viewpoint, this patch gives a little bit more control on
import directives generated by swig. The user may choose to use relative
or absolute imports (docs are provided in separate PR).

Some details:
  - we (still) generate import directives in form 'import a.b.c' which
    corresponds to absolute imports in python3 and (the only available)
    ambiguous one in python2.
  - added -relativeimport option to use explicit relative import syntax
    (python3),

Tests are under Examples/python, these are in fact regression tests but
with the current swig testing framework it seems to be impossible to put
appropriate tests under test-suite.

Closes #7
2013-12-24 17:22:25 +00:00
William S Fulton
d67d79e0dc shadow->proxy change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-01 21:42:38 +00:00
William S Fulton
f5bdd056f7 Remove obscure mpointer example and replace with member_pointer.i testcase and runtime examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-09 23:47:13 +00:00
Olly Betts
898e5f7f3d [Python] Fix lack of generation of docstrings when -O is used.
Also, fix generation of docstrings containing a double quote
character.  Patch from Richard Boulton in bug#1700146.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-20 01:16:31 +00:00
Marcelo Matus
a80ac86316 add std_map example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:00:51 +00:00
William S Fulton
bf80147426 better approach to running gcj tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 01:30:37 +00:00
William S Fulton
6db2ccd202 Only run gcj tests when gcj is installed on the box
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 00:53:53 +00:00
Jason Stewart
63c757ba94 reactivating the java test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 12:15:10 +00:00
Jason Stewart
6f0ac941e8 removed 'java' from the test list - this was causing errors for a non-existent test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:19:44 +00:00
Marcelo Matus
e4b8871ae2 add gcj and java->python initial support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:54:56 +00:00
Marcelo Matus
73b3b898d6 add example of how to include the swig runtime code into external user code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:42:25 +00:00
Marcelo Matus
256efdf85b attributefunc not longer supported
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:22:25 +00:00
William S Fulton
00a87d5a4b Added missing tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-20 21:27:27 +00:00
Dave Beazley
e7a74c2646 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:37:17 +00:00
Mark Rose
9e8965b07f partial fix for abstract director classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-14 07:14:04 +00:00
Mark Rose
8db3f9e8df two director examples for python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 10:26:56 +00:00
Dave Beazley
12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00