Oliver Buchtala
6c90d1eb6d
Minor improvements in v8 emitter implementation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:48:11 +00:00
Oliver Buchtala
a0b71935f2
Update v8 code generator specification.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:47:38 +00:00
Oliver Buchtala
3c30e2d382
Add initial Javascript V8 emitter implementation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:47:19 +00:00
Oliver Buchtala
d71a5f483a
Add module for Javascript target.
...
This module comes with a design that allows different code emitter implementations.
For the the phase of development the module is split into multiple files
which will be merged together when development converges.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:44:54 +00:00
William S Fulton
a0e21e82ca
char **STRING_ARRAY typemaps fixed to handle null pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 14:29:23 +00:00
William S Fulton
52fe61820a
More for Mac OSX STL fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 14:27:55 +00:00
William S Fulton
c13131986e
Warning fix in python STL wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 11:39:13 +00:00
William S Fulton
e39322cd01
Fix STL wrapper compilation errors on Mac OSX 64bit
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 11:18:10 +00:00
William S Fulton
60b9635c79
Fix uninitialised variable in Lua SWIGTYPE **OUTPUT typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-25 05:53:14 +00:00
William S Fulton
dc7818db81
Add missing Lua factory.i for patch #3219676
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-24 18:37:53 +00:00
William S Fulton
56965adb05
warning fix using vc++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-19 06:35:00 +00:00
Robert Stone
121086fb77
* revert perl5 li_typemaps run tests due to Windows regressions.
...
* stricter casting to sidestep compiler warnings on Windows.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-18 21:49:32 +00:00
David Nadlinger
7615b099d1
[D] Reverted part of #3502431 mistakenly applied in r12948.
...
(The changes only concerned D2, and were already present in trunk.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-17 12:17:42 +00:00
William S Fulton
1fbcafc0ea
Go back to using free/malloc rather than realloc as may be slower
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-17 07:02:15 +00:00
William S Fulton
a6219a855e
signed unsigned fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-16 19:55:33 +00:00
Karl Wette
35b2270f84
Make octave_dim tests pass for octave version != 3.2.4
...
- see SourceForge #3516652
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 22:47:38 +00:00
Karl Wette
70e0cf60f7
Fixed segfault-on-exit in octave 3.2.4
...
- see SourceForge #3516652
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 22:47:19 +00:00
Joseph Wang
068358da2f
remove spurtious printf
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 12:25:50 +00:00
William S Fulton
c3fdc9fc5e
Add back in %traits_enum removed in rev 12961 and probably fix iterating through std::vector wrappers of enumerations for R
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 23:30:22 +00:00
William S Fulton
ac688f9ccb
Apply patch #3517435 from Miles Bader - prefer to use Lua_pushglobaltable
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 20:37:39 +00:00
William S Fulton
68a135860d
Revert rev 12835 as it introduces a failure in the test-suite (primitive_types test)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 17:30:03 +00:00
William S Fulton
5effbc386c
Apply patch #3517769 from Robin Stocker to fix compile error on MacRuby using RSTRING_PTR
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 16:18:04 +00:00
William S Fulton
478496bcae
Apply patch #3511009 from Leif Middelschulte for slightly optimised char * variable wrappers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-13 19:29:33 +00:00
William S Fulton
5c8e5542ef
Apply #3219676 from Shane Liesegang which adds: - support for %factory - a __tostring method - a __disown method
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-13 18:28:37 +00:00
Olly Betts
e3eb54594e
[Lua] Add support for Lua 5.2 (patch SF#3514593 from Miles Bader)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-05 04:29:11 +00:00
Joseph Wang
800e00c9be
check in R-swig changes that implement vector conversions to and
...
from std::vector
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-29 16:32:51 +00:00
Olly Betts
7e6638ab61
Fix comment typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-27 03:56:19 +00:00
Xavier Delacour
b0ea5581c3
add extra logic to the octave_swig_type::dims(void) method: it checks if the user has defined a __dims__ method and uses this in stead of returning (1,1) (patch from jgillis, sf 3425993)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-26 15:45:02 +00:00
Xavier Delacour
d29e751cce
make is_object return true for swig types (patch from jgillis, sf 3424833)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-26 15:38:10 +00:00
Joseph Wang
a18af913fb
fix typo in int definition
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-25 12:01:46 +00:00
Joseph Wang
77a353a6ba
don't free if the pointer is marked as output
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-25 12:00:24 +00:00
Olly Betts
31ae30515f
Remove trailing semicolon from do { ... } while(0) idiom
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-24 03:38:54 +00:00
William S Fulton
cd770b27ff
Apply #3502431 to fix duplicate symbols in multiple modules and compiler errors due to lack of const in some methods taking char*.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-24 01:01:06 +00:00
Joseph Wang
e459c14e55
change to make funcptr.ctest work
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-23 18:05:30 +00:00
William S Fulton
9f714ec92a
Correct definitions of %$isglobal and %$classname for %rename matching, although I can't get %$classname nor %$innamespace working (both use $parentNode)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-21 20:58:04 +00:00
Joseph Wang
5a0269c3bf
fix typos and add more typecheck
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-21 15:44:01 +00:00
William S Fulton
ded13eb949
Remove pulling std::string into global namespace with allegrocl std::string wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-21 06:55:07 +00:00
Ian Lance Taylor
602730a327
Add support for new features available in gccgo 4.7, notably calling
...
Entersyscall and Exitsyscall around calls to wrapped C/C++ code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-20 22:35:40 +00:00
William S Fulton
347f2782d2
Fix missing stddef.h when %import of STL containers. Was causing compile failures witht g++-4.6.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-20 20:07:56 +00:00
Joseph Wang
efa5edbe5b
use type checks to order r outputs
...
add noreturn exception handler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-18 10:48:48 +00:00
Joseph Wang
7461134b80
add list to R backend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-18 09:33:53 +00:00
William S Fulton
6f729a05d9
Patch from Karl Wette to allow custom allocators in STL string classes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-16 06:58:40 +00:00
Ian Lance Taylor
eb5130814d
Fix problems in Go support revealed by recent test cases.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-14 19:27:23 +00:00
William S Fulton
50693941c6
Fix #3475492 - iterating through std::vector wrappers of enumerations.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-13 07:10:24 +00:00
William S Fulton
3340045d67
Show as 'unknown type' instead of seg faulting in the unusual event that type information is not set.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-13 07:07:01 +00:00
Xavier Delacour
65942bd224
add missing file Lib/octave/std_list.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-27 18:29:50 +00:00
Xavier Delacour
95a084affb
Fix imports test (from Karl Wette)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-27 17:09:44 +00:00
Xavier Delacour
1878eb4890
Comment declaration of unimplemented function swig_register_director (from Karl Wette)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-27 17:07:44 +00:00
Xavier Delacour
6cd79f4320
Use -globals . to load global variables in module namespace (from Karl Wette)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-27 17:07:16 +00:00
William S Fulton
15c4a30d9f
Make generated support functions in arrays_java.i static for multiple module linking
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-16 07:14:18 +00:00