Commit graph

792 commits

Author SHA1 Message Date
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
William S Fulton
8660e59a5f Add swig-2.0.2 release date
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 15:10:47 +00:00
William S Fulton
0913f41fb4 Change preprocessing error for tokens appearing after #else and #end to warning. Add some missing warning documentation and a couple of warning messages tidy up.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-17 21:54:13 +00:00
William S Fulton
4ac99b5f96 Documentation numbering update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-17 21:51:10 +00:00
William S Fulton
efd06d0668 Preprocessing now errors out if extra tokens appear after #else and #end. Add preprocessor errors when preprocessor expressions are missing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-16 20:48:48 +00:00
Stefan Zager
6b3d2aa2d5 Some incomplete documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-10 06:32:11 +00:00
William S Fulton
9ad833abed Add mzscheme tip from bug #2942899
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-05 15:45:36 +00:00
William S Fulton
00fadeebdc SF #2942899 Add user supplied documentation to help getting started with MzScheme.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-05 14:35:16 +00:00
William S Fulton
1f46e84212 SF #2942899 Add user supplied documentation to help getting started with MzScheme. Update chapter name to MzScheme/Racket accounting for the rename of MzScheme to Racket.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-05 14:30:36 +00:00
William S Fulton
7fe18eaacb SF #3141139 better callback documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-04 19:50:55 +00:00
William S Fulton
0be280bf72 Add link to runtime information developer doc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-03 07:20:34 +00:00
David Nadlinger
0731ad0a6a [D] Docs: Mention the "pre", "post" and "terminator" din typemap attributes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-29 23:04:06 +00:00
David Nadlinger
0efe5294ed [D] Docs: Cosmetic fix to $imcall HTML anchor name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-29 23:03:51 +00:00
William S Fulton
3d7799fe0d New warning when the smartptr feature is missing in some classes in an inheritance chain. Errors test-suite now uses Python instead of Tcl as testing language
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-17 21:12:35 +00:00
William S Fulton
ef865e06d5 Added some missing multi-argument typemaps: (char *STRING, size_t LENGTH) and (char *STRING, int LENGTH) - Java patch is from Volker Grabsch. Elements of the primitive_types.i testcase for this moved into char_binary.i. Documentation for this enhanced.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-14 19:06:43 +00:00
William S Fulton
4b049f672f ascii 'art' improvement
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-08 23:30:25 +00:00
William S Fulton
162ced78f4 Better linkchecker configuration for checking html links. Fix broken links and update redirected links.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-08 23:17:23 +00:00
William S Fulton
25c8689226 Use htmldoc's new --overflow option and fix overflow warnings in the pdf documentation generation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-08 01:28:09 +00:00
William S Fulton
916e4644b6 fixes for html tidy in D.html
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-08 00:19:58 +00:00
William S Fulton
0892ef8496 Fix most of the html errors in D.html
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-07 20:26:21 +00:00
William S Fulton
005b70be3a Chapter renumbering after adding D chapter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-07 20:05:44 +00:00
William S Fulton
4c28028b43 Fix order of D chapter in Sections summary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-07 20:03:31 +00:00
William S Fulton
3c0fba5685 SF patch # 3091116 to remove hard coded path to python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-07 19:57:28 +00:00
David Nadlinger
38c88a0931 [D] Operator overloading support for D1 and D2.
As mentioned in the documentation, opIndexAssign and implicit casting are not supported yet.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-30 02:44:04 +00:00
Olly Betts
569470c4b9 Fix typo (extra ')') in Python docs (SF#3131673).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-10 05:52:45 +00:00