William S Fulton
3d2e57b0f2
Add %proxycode directive for adding code into proxy classes for C#, D and Java
2017-01-13 20:43:50 +00:00
William S Fulton
88e2d02ead
Document %insert filename and add test for it
2017-01-13 20:43:50 +00:00
William S Fulton
5b49ad3485
Correct some whitespace changes
2017-01-01 14:28:49 +00:00
sunoru
9a6f82ab31
Realign for some comments.
2016-12-31 23:29:45 +08:00
sunoru
8985c34809
Fix some typos in docs and examples and make the code look nicer.
2016-12-31 23:06:56 +08:00
Olly Betts
d6c5f64ec3
Eliminate some differences between -help and the manual
2016-11-30 13:29:40 +13:00
Olly Betts
75a00cd15e
[PHP7] Make default C++ extension .cxx
...
This is SWIG's default for every language except PHP, and now is a
good time to make this change so that once we drop PHP5 support, we'll
have the same default everywhere. It's easy to override the default
with -cppext cxx to get the PHP5 behaviour.
2016-11-30 13:27:13 +13:00
Olly Betts
1169874f59
[PHP] Add support for PHP7.
...
PHP5's C extension API has changed substantially so you need to use
-php7 to specify you want PHP7 compatible wrappers.
Fixes https://github.com/swig/swig/issues/571
2016-11-30 13:05:59 +13:00
William S Fulton
268b942865
Consistent formatting of example code in the docs
2016-10-23 20:16:35 +01:00
William S Fulton
4a3e1fd44c
Add rstrip encoder for use in %rename.
...
This is like the strip encoder but strips the symbol's suffix instead
of the prefix.
2016-03-02 07:11:09 +00:00
William S Fulton
28e1a64dcb
html docs update
2015-12-30 22:22:33 +00:00
William S Fulton
3763beb489
Replace tabs with spaces in html docs
...
wkhtmltopdf is not expanding tabs within <pre> elements to 8 spaces as it
should. Workaround the problem by converting all tabs to an appropriate
number of spaces.
2015-12-30 22:22:33 +00:00
William S Fulton
925b2a336f
HTML fixes for documentation - add meta tag and loose.dtd
2015-12-30 22:22:32 +00:00
William S Fulton
cacb36bedb
Docs - remove html tags from headings
2015-12-30 22:22:32 +00:00
William S Fulton
8288ac15a0
Correct links in html documentation using new version of makechap.py
...
Corrects position of heading text within A and H1, H2, ... elements.
2015-12-30 22:22:32 +00:00
William S Fulton
cc6970e21f
Documentation improvements for -o and -oh options
2015-06-12 06:32:58 +01:00
Olly Betts
4912920416
Fix tab to space in HTML preformatted block
2015-01-08 10:55:35 +13:00
Olly Betts
cd16059c66
Provide -cppext as a general command line option
...
Provide -cppext as a general command line option for setting the
extension used for generated C++ files (previously it was specific
to the PHP backend). Deprecate the equivalent -suffix option
provided by the Ocaml backend, but continue to support that for
now.
2015-01-08 10:54:37 +13:00
Olly Betts
f541e604e8
Consistently put whitespace outside of <tt>...</tt> and not inside
2014-11-18 12:44:37 +13:00
William S Fulton
3dcc501ac0
Spelling fix
2014-10-21 07:55:07 +01:00
Michael Bunk
abeba45644
Fix typos
2013-12-12 15:46:33 +13:00
Vadim Zeitlin
72afb74f47
Add support for case conversion characters in regex substitutions.
...
Allow using Perl-like \l, \L, \u, \U and \E escape sequences in the
substitution string used with %rename("%(regex:/pattern/subst/)s").
This is useful for e.g. title casing all string after removing some prefix.
Closes #82
2013-10-15 07:17:56 +01:00
Olly Betts
12708c9241
Fix typos
2013-09-25 17:29:33 +12:00
William S Fulton
b80f4dc5e2
Restrict the name used in %extend to be just the struct/class name and not a typedef to a class/struct. Typedefs were only partially working anyway. Anonymous struct typedefs excluded. Deprecate with a warning for now.
2013-02-18 19:53:37 +00:00
William S Fulton
320a83627c
Expand docs on advanced %ignore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-16 20:28:16 +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
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
Vadim Zeitlin
e30befd138
Correct explanation of how to match on class name in %rename.
...
Replace incorrect documentation of $parentNode from %rename discussion: it
advised using match$parentNode but this doesn't work because the parent node
is not yet set when %rename is parsed.
Document the "fullname" attribute of %rename which can be used to restrict the
match to the given full name of a declaration only.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-16 14:08:50 +00:00
William S Fulton
197b25147e
html fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-04 05:46:42 +00:00
William S Fulton
22a12bf08f
Add 2.0.1 release notes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-04 05:34:54 +00:00
William S Fulton
766ed8db37
Add -pcreversion option to display PCRE version information
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-01 23:52:46 +00:00
William S Fulton
ea9275ca08
html fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-21 18:09:20 +00:00
Vadim Zeitlin
9b09784715
Add more regex function usage examples in %rename section.
...
Mention the examples from the test suite and the change log file in the manual
as well.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-08-14 14:12:39 +00:00
William S Fulton
af96789c14
Minor comment changes and html changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-07-23 19:34:17 +00:00
William S Fulton
f6346b3df1
minor edits in %rename sections
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-07-23 07:21:46 +00:00
Vadim Zeitlin
70c5bb5a47
Add support for "[not]regexmatch" and "regextarget" to %rename.
...
"regexmatch" and "notregexmatch" can be used with anonymous %renames in the
same way as "match" and "notmatch" while "regextarget" specifies that the
argument of a non-anonymous %rename should be interpreted as a regular
expression.
Document the new functions.
Also add a new unit test for %regex also testing regexmatch &c and provide
test code for C# and Java verifying that it works as intended.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-07-22 17:02:10 +00:00
Vadim Zeitlin
409ae85a74
Improve %rename(match) documentation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-07-22 17:01:16 +00:00
Vadim Zeitlin
c4e9043288
Add support for regex encoder for %rename.
...
This allows to write %rename("%(regex:/pattern/subst/)s") to apply a
regex-based replacement to a declaration name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-07-22 17:00:37 +00:00
Vadim Zeitlin
f2a5ef0c57
Document advanced %rename capabilities.
...
Document the possibility to apply %rename to all declarations or only those of
a particular type. Also document extended format strings used with it and the
functions which can be used in them.
Also clarify that %ignore is basically just a %rename alias.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12168 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-07-22 16:59:45 +00:00
Ian Lance Taylor
5af2978f77
Add support for the Go programming language.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 01:13:31 +00:00
Olly Betts
3f47ff6988
Fix more doubled word typos
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-23 03:43:31 +00:00
William S Fulton
89a8bd2abf
Remove confusion about ignoring header include guards
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-29 19:46:14 +00:00
William S Fulton
673ce4551e
Fix numerous broken links reported by linkchecker
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 23:23:43 +00:00
William S Fulton
9006dc90ce
Correctly mangle the html section names to prevent name clashes in the pdf document
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 19:35:25 +00:00
William S Fulton
eefaef3bdb
Add link for const sections
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-22 23:08:28 +00:00
William S Fulton
f755bf73bf
Make docs on c++ source files more technically correct and fix some html errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11791 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-20 01:19:48 +00:00
William S Fulton
09a801dd9e
Change %extend example which said that char arrays were problematic to wrap, when in fact they are not
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-02 22:16:48 +00:00
William S Fulton
2bd190dbf1
Revert support for %extend and memberin typemaps added in swig-1.3.39. The memberin typemaps are ignored again for member variables within a %extend block. Documentation inconsistency reported by Torsten Landschoff.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-02 00:01:31 +00:00
William S Fulton
ebed6508e4
Nested class improvements - Fixed inconsistency in handling C++ nested classes - sometimes they were treated as forward declarations, other times as if C nested struct was parsed. Added the nestedworkaround feature for C++ nested class handling. Document improved nested class handling. Numerous C and C++ nested struct/class/union test cases added.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-11 00:30:34 +00:00
William S Fulton
265adcae79
Fill in missing bit about the begin section
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 22:13:21 +00:00