Commit graph

14,949 commits

Author SHA1 Message Date
Olly Betts
06e8329c48 No need to add . to LD_LIBRARY_PATH for PHP.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-07 23:01:26 +00:00
Olly Betts
faf5f6524e CVS->SVN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-07 05:56:50 +00:00
Olly Betts
4fbb9e24d6 [PHP] Add casts to the typemaps for long long and unsigned long
long to avoid issues when they are used with shorter types via
%apply.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-07 04:06:54 +00:00
Olly Betts
571204c98f Fix typo which stopped %.test convenience helper from running multitests.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-07 03:14:24 +00:00
William S Fulton
084a3c7205 Run make beautify on python.cxx to fix code style to match style on szager-builtin branch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-03 19:33:25 +00:00
William S Fulton
28af783d18 Templated smart pointers overloaded with both const and non const operator-> generated uncompilable code when the pointee was a class with either public member variables or static methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-02 22:30:05 +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
626773c3da Few corrections for swig-2.0.2 release announcement
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 21:43:05 +00:00
William S Fulton
9e4de2698f Release script tweaks to take account of yet more SF upload changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 21:00:10 +00:00
William S Fulton
a984b01cc5 Remove unnecessary header, which bizarrely broke the mingw build on linux
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 20:18:37 +00:00
William S Fulton
90847fb49e Solaris warnings/errors testcase fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 19:29:50 +00:00
William S Fulton
3974c39b69 Perl and vc++ warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 18:37:46 +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
564fdbc5a7 more Perl namespace pollution workarounds
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 14:12:00 +00:00
William S Fulton
0a5ca9ccd6 Fix potential name clash in director class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 13:47:14 +00:00
William S Fulton
77110db863 Sun studio warning suppression in tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 13:02:21 +00:00
Ian Lance Taylor
a1c931f0a3 For Go: Recognize the SWIG varargs type.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 05:55:05 +00:00
Ian Lance Taylor
7ac265ff3d For Go: Fix handling of INPUT variables when using typemaps.i. This
fixes cases where the gotype typemap is used to produce a simple Go
type for a non-simple C/C++ type.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 05:48:25 +00:00
Ian Lance Taylor
6c02fa5729 More varargs overload testing for Go.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 04:47:17 +00:00
Ian Lance Taylor
ebe2840756 Fix new varargs_overload test for Go.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 04:40:32 +00:00
Ian Lance Taylor
bb3caf14a2 Add Go execution test for new rename_simple test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 04:40:00 +00:00
Ian Lance Taylor
56d808092f Fix li_typemaps_apply test for Go.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 04:08:54 +00:00
Ian Lance Taylor
0c8c5e7614 Fix handling of protected methods in Go when using directors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 03:52:04 +00:00
William S Fulton
643f603475 Fix C code in test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 00:37:54 +00:00
William S Fulton
4458ce66d0 Fix link error in test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 00:27:39 +00:00
William S Fulton
a77b30e664 Fix link error in test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 00:24:57 +00:00
William S Fulton
2906ba8f4d Add swig-2.0.2 summary to release notes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-19 23:52:07 +00:00
Ian Lance Taylor
21ca5a854c Adjust for the elimination of the "float" and "complex" types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-19 20:22:33 +00:00
William S Fulton
23a5fecc60 Additional %varargs and overloading testing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-19 19:20:37 +00:00
William S Fulton
f617317ab5 configure changes for Go version string format change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-19 17:20:08 +00:00
William S Fulton
4447395ad3 Modify octave exception checking test to take account of older (3.0) versions prefixing with 'error: ', but not in newer (3.2) versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-19 17:11:05 +00:00
William S Fulton
964532ed86 Modify octave exception checking test to take account of newlines being added in older (3.0) versions, but not in newer (3.2) versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-19 17:07:03 +00:00
William S Fulton
95de0a3437 Rename symbol in test case as the name is clashing in some way with new versions of Octave (3.2.4)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-19 16:20:38 +00:00
William S Fulton
2c2e5fa9b5 Add some missing signed char and unsigned char Lua typemaps in the typemaps.i library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-19 16:12:12 +00:00
William S Fulton
28deca09be [PHP] Add missing INPUT, OUTPUT and INOUT typemaps in the typemaps.i library for primitive reference types as well as signed char * and bool *.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-19 14:53:53 +00:00
Olly Betts
630e438c6a [PHP] Address bug in PHP on some platforms/architectures which
results in zend_error_noreturn() not being available using
SWIG_ZEND_ERROR_NORETURN which defaults to zend_error_noreturn but
can be overridden when building the module by passing
-DSWIG_ZEND_ERROR_NORETURN=zend_error to the compiler.  This may
result in compiler warnings, but should at least allow a module
to be built on those platforms/architectures (SF#3166423).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-19 13:28:43 +00:00
William S Fulton
e019b40f7d Fix Lua warning suppression for overload_extend testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-19 12:39:44 +00:00
William S Fulton
1677881e01 Remove typemap for illegal type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-19 01:23:07 +00:00
William S Fulton
90bcaa3117 Add Octave test of global constants when accessed from a function reported by Alan W Irwin as previously not working
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-19 01:16:47 +00:00
William S Fulton
81ae06d960 Rename covariant_return.i testcase as it is not testing covariant return types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-18 23:18:42 +00:00
William S Fulton
873d07d1e5 Fix #3184549 - vararg functions and function overloading when using the -fastdispatch option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-18 21:25:42 +00:00
Olly Betts
049e51c282 Remove pointless special casing of zero-length strings, remnant of a series
of changes Marcelo made here.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-18 08:44:44 +00:00
Olly Betts
bf7c9e9a42 [PHP] An overloaded method which can return an object or a
primitive type no longer causes SWIG to segfault.  Reported by Paul
Colby in SF#3168531.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-18 06:39:51 +00:00
Olly Betts
3cee7b7b3e [PHP] Fix invalid erase during iteration of std::map in generated
director code.  Reported by Cory Bennett in SF#3175820.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-18 05:30:26 +00:00
William S Fulton
94e141cbd0 Warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-17 22:43:28 +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
William S Fulton
7ad6066fdf Retrospectively add note about earlier fix for better typedef resolution fixing some STL issues.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-15 22:29:00 +00:00
William S Fulton
c12853c65c [Ocaml] Apply patch #3151788 from Joel Reymont. Brings Ocaml support a up to date (ver 3.11 and 3.12), including std::string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-15 07:41:26 +00:00