Commit graph

13,689 commits

Author SHA1 Message Date
Mark Gossage
ef7c0cbbd2 [Lua] Removed generation of _wrap_delete_XXXXX (wrappered destructor) which was unused and causing warning with g++ -Wall.
Removed other unused warning in typemaps.i and other places.
Added Examples/lua/embed3, and run tests a few test cases.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-30 00:17:53 +00:00
William S Fulton
a413b4a367 minor tweak
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-29 22:12:27 +00:00
William S Fulton
e0889b6121 shadow->proxy terminology update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-29 21:53:22 +00:00
William S Fulton
33e41c1070 shadow->proxy terminology update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-29 18:10:30 +00:00
William S Fulton
76eaea911b shadow->proxy terminlogy update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-29 18:01:45 +00:00
Joseph Wang
41220df85b Fixes problems people have been having with vector/matrix arguments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-27 18:26:07 +00:00
Joseph Wang
5993327dc0 remove numeric coercion which seems to be unnecessary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 19:40:07 +00:00
Jason Stewart
bea5f1d47b package option for perl5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 13:12:45 +00:00
Joseph Wang
25f30ff1b1 Add R 2.7 calls
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 07:12:26 +00:00
Joseph Wang
ade41d0a72 R does not like variables with leading underscores
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 06:46:16 +00:00
Joseph Wang
fd6be0ba40 Put in ifdef for 2.7
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 06:33:08 +00:00
Joseph Wang
7b37f04c7a change CHAR method since mkCharEnc doesn't do what I thought it did in 2.6
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 05:50:13 +00:00
William S Fulton
bc5bd7a0ab few tweaks to valuewrapper documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-24 21:54:46 +00:00
Olly Betts
85f02c4ba4 [Python] Fix generated code for IBM's C++ compiler on AIX (patch
from Goeran Uddeborg in SF#1928048).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-24 12:26:29 +00:00
Olly Betts
42965a73cc Rename BSIZE in Examples/test-suite/arrays_scope.i to BBSIZE to avoid
a clash with BSIZE defined by headers on AIX with Perl (reported in
SF#1928048).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-24 11:07:56 +00:00
William S Fulton
51b9794c3c Add documentation on the allprotected mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-22 22:37:48 +00:00
William S Fulton
6807870fa2 bump version to 1.3.36
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 20:48:43 +00:00
William S Fulton
9976dc9d75 Add allprotected mode for wrapping protected members when using directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 20:41:01 +00:00
Xavier Delacour
b0921513e0 Move null_pointer.i to common.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 15:48:56 +00:00
Xavier Delacour
e7894a104b Add test for null pointer handling ([] taken as null pointer).
Support automatic single cell dereferencing. Add test for it and pass-through cell arrays.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 14:29:46 +00:00
Olly Betts
dda6df974f Fix bogus vim modeline
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 11:30:21 +00:00
Xavier Delacour
9d6e70ad35 Have convert pointer routines return SWIG_ERROR rather than more specific error, since older bindings (for other languages) depend on that interface.
Use SWIGRUNTIME instead of anonymous namespace to allow for correct linkage when using external runtime. Fixes infinite-recursion bug when calling director method of class whose base is in another module (since the common Director base gets a different typename in each module, per anonymous namespace).



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-18 01:06:23 +00:00
Olly Betts
5304b50765 Fix a couple of typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-14 05:08:46 +00:00
Jason Stewart
aeef2d516d Committed Documentation patch for: [ 1941709 ] document (no)valuewrapper %features
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-14 04:57:11 +00:00
Xavier Delacour
87390fac26 Add map_keys support so member auto-completion works.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-13 21:16:12 +00:00
Xavier Delacour
9a0cf47532 Print all class members.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-13 21:04:43 +00:00
Xavier Delacour
4e6c09da80 Don't use __gnu_ext::hash_map.
Use octave_swig_packed to hold swig_module_info *.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-12 14:29:38 +00:00
Xavier Delacour
2ad4024977 Move samename test to common.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-12 13:49:01 +00:00
Xavier Delacour
6878125b87 Fix bug where module will segfault on load if it contains an object w/ the same name as the module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-11 22:28:30 +00:00
Xavier Delacour
de6e25f3bb Fixes for building w/ 64-bit gcc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-11 21:58:42 +00:00
Jason Stewart
5d625e950d committed patch for bug SWIG-1937031 ; moved operator_overload_break back to working tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-08 04:04:37 +00:00
William S Fulton
6054159ecf Add array reference typemaps which are needed since the pointer reference typemaps were committed in the last checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-07 21:06:23 +00:00
William S Fulton
929f68b069 Add Lua pointer reference typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-07 20:06:37 +00:00
William S Fulton
7847acfcd7 Updates for 1.3.35 release
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 21:43:21 +00:00
William S Fulton
c1bcd0a4f2 git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10361 626c5289-ae23-0410-ae9c-e8d60b6d4f22 2008-04-06 21:27:35 +00:00
William S Fulton
518ac1b415 suppress warning for Lua
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 21:22:38 +00:00
William S Fulton
f1cabd08a2 fix stack overflow when using typemap warning suppression, eg %warnfilter(SWIGWARN_TYPEMAP_CHARLEAK_MSG)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 21:21:29 +00:00
John Lenz
4d10d60d7c Add SWIG_TYPE_TABLE and SWIG_RUNTIME_VERSION to the octave module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 20:58:43 +00:00
William S Fulton
4b88b00600 add missing header
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 20:01:46 +00:00
Xavier Delacour
8317d87031 Use DOH rather than standard containers for texinfo docs support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-06 01:15:51 +00:00
William S Fulton
b89d50d52c add missing header
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 23:17:05 +00:00
William S Fulton
7f5e24cacb python warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 22:12:07 +00:00
William S Fulton
ec4491556f workaround for Perl5 on OSX including math.h somewhere
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 21:04:11 +00:00
William S Fulton
5d8d045c1f fix #1934695 Getattr(n, wrap:name) assertion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 20:53:23 +00:00
William S Fulton
d51a2f9322 fixes for languages without shared_ptr support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 20:27:42 +00:00
William S Fulton
a356382aeb swig warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 20:24:31 +00:00
William S Fulton
1ec30ff479 remove redundant code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 19:55:31 +00:00
William S Fulton
3e1799e7da gcc-4.3 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 19:38:48 +00:00
William S Fulton
462304094b warning fixes for most target languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 19:37:51 +00:00
William S Fulton
843674e12a gcc-4.3 fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 19:36:58 +00:00