Vadim Zeitlin
e668c47b70
Merge branch 'master' into doxygen
...
The way Python docstrings are indented has changed on master, so use the
standard inspect module in Python autodoc unit test to ignore the differences
in their indentation level between -builtin and non-builtin cases to make the
test still pass with the branch version, which avoids the use of different
(but almost identical) values in the test itself.
2016-12-12 01:24:17 +01:00
Olly Betts
bb98147965
Remove 'static' targets from PHP examples
...
The machinery these targets need to work no longer exists, and as
far as I can make out was removed before the code was put under
version control.
2016-11-30 12:15:42 +13:00
William S Fulton
8e2bc595c6
Remove use of preinst-swig script
...
Complete the prototype removal in ca1431.
The script prevents SWIGTOOL=gdb from working as gdb can't be used to
debug a shell script, it requires a binary.
Add support for SWIGTOOL in all the examples.
SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles.
See issue #473 .
2015-08-21 22:43:17 +01:00
Vadim Zeitlin
302955a152
Another merge with master.
...
Updated Doxygen error numbers yet again, as Python errors got added in the
meanwhile, pushing the Doxygen ones further off.
And re-merged PEP8/whitespace-related conflicts in autodoc_runme.py once again
(if anybody is looking for a motivating example about why significant
whitespace is bad, here is a great use case).
2015-07-20 00:44:26 +02:00
William S Fulton
b4c441f62e
Remove unused std_string.i from callback examples
2015-05-10 11:49:28 +01:00
Vadim Zeitlin
9b857e6cf1
Merge latest master into doxygen branch.
2014-12-15 02:55:26 +01:00
Olly Betts
ac1f067ce9
Eliminate trivial differences between the reference examples
2014-11-07 15:34:43 +13:00
Olly Betts
37cd1474b5
Remove bogus ; after } in examples
2014-11-07 15:34:43 +13:00
Vadim Zeitlin
6cce652762
Merge latest master into doxygen branch again.
...
Update Doxygen-specific Python unit tests to work with the new indentation.
Update one of Doxygen-specific Java tests to still build with the new handling
of srcdir.
2014-08-13 16:11:21 +02:00
William S Fulton
f39ed94419
Fix compiler warnings in examples when using -std=c++98 -std=gnu89 -pedantic -Wreturn-type
2014-05-24 13:13:32 +01:00
Karl Wette
f574a34155
Allow examples and test-suite to be built out of source tree
...
- Examples/Makefile.in rules use SRCDIR as the relative source directory
- ./config.status replicates Examples/ source directory tree in build
directory, and copies each Makefile to build directory, prefixed with
a header which sets SRCDIR to source directory
- Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir
- Examples/test-suite/errors/Makefile.in needs to filter out source
directory from SWIG error messages
- Lua: embedded interpreters are passed location of run-time test
- Python: copy run-time scripts to build directory because of 2to3
conversion; import_packages example copies __init__.py from source
directory; test-suite sets SCRIPTDIR to location of run-time tests
- Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir
can be substituted with SRCDIR; removed './' from require() statements
so that NODE_PATH can be used to point Node.js to build directory
2014-05-11 23:21:10 +02:00
Vadim Zeitlin
1ebd2334b8
Merge branch 'master' into doxygen
...
Merge with ~3.0.1 sources from master.
2014-04-30 18:37:57 +02:00
Karl Wette
3aacde4f5f
Whitespace cleanup of Example Makefiles
2014-04-16 12:06:02 +02:00
Olly Betts
0de4cf13a8
Further cleaning up of class examples
2014-02-24 10:10:24 +13:00
Olly Betts
34c97ffdbd
Improve the class example for several languages.
...
Fix numerous inaccuracies in index.html (where it exists) and eliminate
unnecessary differences between the example code being wrapped.
2014-02-23 18:24:51 +13:00
William S Fulton
8e6a539d89
Fix crash in php example
...
Declaration and definition of the add function were different
2014-02-15 19:34:42 +00:00
Olly Betts
d67aed42bd
Remove executable bit from various test-suite runme files
2014-01-06 15:41:06 +13:00
Miklos Vajna
227192f80a
Fix Examples/php/pointer to work with PHP 5.5
...
With this, all examples work with PHP 5.5 for me.
2013-12-12 15:52:51 +13:00
William S Fulton
152905e193
Fix gcc -Waddress warning in variables examples
2013-10-18 06:53:02 +01:00
William S Fulton
0fa791d1ea
PHP examples makefiles clean target fixed and use RUNPIPE and tidyup
2013-04-19 22:47:26 +01:00
Olly Betts
481ed3c578
Update lingering configure.in references to say configure.ac
2013-03-21 14:41:09 +13:00
William S Fulton
87ee6da365
Make php example C90 compliant
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-15 23:56:27 +00:00
William S Fulton
af1c6ac3c3
Merge trunk (up to just after swig 2.0.5 release - rev 13009) to gsoc2008-cherylfoil
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@13017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-27 18:55:37 +00:00
William S Fulton
a0b869da38
Remove runtime warnings in overloading php example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-01 19:58:44 +00:00
Olly Betts
a25ccbf58b
[PHP] Fix handling of OUTPUT typemaps (Patch from Ryan in SF#3058394).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-08 02:40:56 +00:00
Olly Betts
09c9bf881d
Remove PHP4 hangover
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 06:29:16 +00:00
Olly Betts
4144eaa214
Remove PHP4 hangover.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 06:24:48 +00:00
Olly Betts
ae8ac072da
Fix to work with PHP5 wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-25 06:25:28 +00:00
Olly Betts
744bfd6118
Fix to work with PHP5 wrappers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-25 06:24:03 +00:00
Olly Betts
dc33d167bf
Fix to work with PHP5 wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-25 06:08:08 +00:00
Olly Betts
3a0e056d63
Fix typo in literal string.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-15 14:29:03 +00:00
Olly Betts
af6c65c7e6
Add callback and extend; fix error in alphabetical ordering.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:41:16 +00:00
Olly Betts
ea560a73a4
Rename back - William wants this consistent across all the languages and it's
...
too much work to test a global renaming.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:37:18 +00:00
Olly Betts
c8f64ccc2e
Explain the poor name.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:34:26 +00:00
Olly Betts
c9635d6255
Remove bogus stuff about memory leaks - nothing in this testcase leaks.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:30:42 +00:00
Olly Betts
089b226b80
Rename the "extend" example to "directors" as it tests directors not %extend.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:27:31 +00:00
Olly Betts
3141dfd599
Convert to use proxy classes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 01:08:23 +00:00
Olly Betts
1b42d9dde1
[PHP] Update the PHP "class" example to work with PHP5 and use
...
modern wrapping features.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 09:01:31 +00:00
Miklos Vajna
0249eea389
Merge https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-vmiklos/
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-22 11:08:29 +00:00
William S Fulton
e9867c661a
warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-24 19:20:54 +00:00
William S Fulton
816cfdb724
warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-24 19:17:16 +00:00
William S Fulton
06b2eca75e
remove last vestiges of php4 and encourage use of -php rather than -php5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 23:15:20 +00:00
William S Fulton
bcc796f676
modify build system to use php instead of php4
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 21:40:54 +00:00
William S Fulton
4c03864ce9
rename php4 to php
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-22 12:35:27 +00:00