Commit graph

816 commits

Author SHA1 Message Date
William S Fulton
931c331f9f Remove non ascii characters from docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-16 07:56:34 +00:00
William S Fulton
e00bbdc591 Add docs on special variable expansion in typemap warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-04 19:51:17 +00:00
William S Fulton
690185fe85 Correct docs on javainterfaces typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-09 17:52:08 +00:00
William S Fulton
5923117e81 HTML cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-24 14:01:20 +00:00
William S Fulton
2587e92ba9 Add eLua documentation patch from patch 3408012.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-24 13:59:54 +00:00
William S Fulton
4c6f66577a Add warnings for badly named destructors. Fix %extend and destructors for templates - they weren't always being wrapped. Fix destructor "name" attribute.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-13 06:15:29 +00:00
Xavier Delacour
458dfd497b Updated bits of the documentation, mostly about the Octave-specific command-line arguments and the module command-line arguments that were added in swig 2.0.4, and the new module-loading behaviour. Also changed example_wrap.cxx to example_wrap.cpp, since mkoctfile doesn't recognise .cxx as a C++ extension. (thanks to Karl Wette)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-31 20:55:12 +00:00
William S Fulton
c794d08597 Fix %newobject when used in conjunction with %feature(ref). The code from the ref feature was not always being generated for the function specified by %newobject. Documentation for ref and unref moved from Python to the C++ chapter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-23 19:29:10 +00:00
William S Fulton
932f47a845 SF patch #3394339 from Torsten Landschoff - new option -nomoduleglobal to disable installing the module table into the global namespace. Require call also returns the module table instead of a string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-22 19:27:56 +00:00
William S Fulton
61124e61a7 documentation - consistency in shadow/proxy terminology
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-20 22:18:47 +00:00
William S Fulton
3099911397 some doc typo fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-17 21:52:52 +00:00
William S Fulton
91c4eeaa53 Add in clarification of the memmove function's parameters in the cdata.i library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-05 06:43:35 +00:00
William S Fulton
e29d93ebd9 html fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-04 06:25:45 +00:00
William S Fulton
ff2d735866 Section numbering update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-04 06:23:24 +00:00
William S Fulton
6747c6a13d Add section on void * pointers for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-04 06:21:16 +00:00
Olly Betts
7d584f5204 Clarify the text about remaining PHP constant oddity.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-06-25 12:48:08 +00:00
Olly Betts
e3b5627ab5 Remove example of odd behaviour of PHP constants which I can't reproduce. It
seems highly likely it's been fixed in PHP now, as the example dates from PHP4
days.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-06-24 17:18:43 +00:00
Olly Betts
f320ea1d4a Update supported Perl versions to more closely reflect reality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-06-18 04:33:00 +00:00
William S Fulton
3243cbaad4 Numerous autodoc fixes for Python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-06-10 19:33:40 +00:00
Ian Lance Taylor
49532b7181 Some improvements to the Go documentation. From Gary Holt
<gholt@google.com>.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-27 00:04:32 +00:00
Olly Betts
c44249f32c Add link to PEP 3107.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-24 23:55:35 +00:00
Olly Betts
18174ed370 Add link to PEP 3119.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-24 23:53:59 +00:00
William S Fulton
c077d83803 bump version to 2.0.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-21 22:33:36 +00:00
William S Fulton
3434067711 Add swig-2.0.4 release date
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-21 20:52:49 +00:00
William S Fulton
fe7a09c04a html fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-19 06:37:41 +00:00
Stefan Zager
af858d846e Fixes for -builtin docs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-18 03:25:35 +00:00
Stefan Zager
90d20c7fe8 Cleaned up section about dependency requirements for -builtin.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-17 21:53:39 +00:00
William S Fulton
df75ceb870 begin section was missing in some of the docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12677 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-17 06:38:53 +00:00
Stefan Zager
cb0a975206 Documented non-looping dependency graph requirement for -builtin.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-16 06:12:15 +00:00
William S Fulton
aac2b5d2e1 Remove VARARGS_SENTINEL typemaps further to revision 12666. Note that the idea of having a named typemap for sentinels is flawed unless the named typemap is provided for every single type in the typemap library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-14 23:54:09 +00:00
William S Fulton
830e019a09 HTML fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-14 01:09:36 +00:00
William S Fulton
74aa3f218f %varargs - better documentation and remove additional argument generation which didn't work properly as a sentinel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-14 00:13:43 +00:00
William S Fulton
d2dd14e628 Python 3.2 portability fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-13 06:01:07 +00:00
Ian Lance Taylor
9958d72275 Document the -soname option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12649 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-02 21:08:17 +00:00
Stefan Zager
efafe8e70b Fix example to show %feature directive before method declaration.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-04-06 23:30:27 +00:00
Stefan Zager
60561bfe33 -builtin feature will appear in 2.0.4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12597 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-04-03 08:35:26 +00:00
Stefan Zager
f759999f40 Merged trunk through revision 12591
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-04-03 03:14:19 +00:00
Stefan Zager
48faf20934 Added python version support to the built-in section.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-04-02 21:35:34 +00:00
Stefan Zager
da1fc2ff6a Fixed exception example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-04-01 19:39:14 +00:00
Stefan Zager
cd7fc2047b Factored some #ifdef noise out of the initialization function by adding
SwigPyBuiltin_SetMetaType.

For %import statements, move the runtime import out of SWIG_init and into the
.py file.  The reason for this is that the import must be executed within the
python execution frame of the module, which is true in the .py file, but *not*
true in the initialization function.  Had to re-order the .py file slightly
to put the 'import' statements at the top; that's necessary to make sure base
types from an imported module are initialized first.  If -builtin isn't used,
then the .py code is not re-ordered.

Added an explanation and workaround for the limitation that wrapped types are
not raise-able.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-04-01 19:35:30 +00:00
William S Fulton
e4f434173d Minor html changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-31 20:29:35 +00:00
Stefan Zager
0e57a29a27 More tweaking of -builtin docs. More judicious selection of names in the operator overload example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-30 22:01:25 +00:00
Stefan Zager
bc200998b1 Added usage message for -builtin, and tweaked -builtin docs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-30 19:51:22 +00:00
Stefan Zager
f2b0d2ef40 Added comment about -builtin in Memory Management section.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-30 08:15:16 +00:00
Stefan Zager
0aa8729d50 Added more documentation of -builtin.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-30 07:59:52 +00:00
William S Fulton
52f26ffcd1 bump version to 2.0.4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-29 23:01:55 +00:00
William S Fulton
9b60e3b7bb Add swig-2.0.3 release date and summary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-29 21:50:23 +00:00
Stefan Zager
93499e12af Merged trunk up to revision 12551
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-24 05:46:05 +00:00
David Nadlinger
ce6516fb4c [D] nspace support.
As for C# and Java, this doesn't work for free functions/variables yet.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-13 00:32:26 +00:00
William S Fulton
a2ac60e7f3 Bump version to 2.0.3
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 21:48:32 +00:00