Commit graph

13,770 commits

Author SHA1 Message Date
Olly Betts
d062b4381a Clean up dead and unused code in SwigToPhpType(), and rename to
GetShadowReturnType().


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10567 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 00:41:07 +00:00
Olly Betts
5ea3e69bef [PHP] Fix typemap_namespace.i to not try to copy a non-existent typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 00:33:08 +00:00
Olly Betts
caf2c6904b [PHP] Fix assertion failure when handling %typemap(in,numinputs=0)
(testcase ignore_parameter).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 00:27:34 +00:00
Olly Betts
376adf0e64 [PHP] Fix segfault when wrapping a non-class function marked with
%newobject (testcase char_strings).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-23 22:58:03 +00:00
Olly Betts
ef2a963c89 Fix bad use of Python API (untested, since I can't even compile this code on
x86-64!)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-23 21:23:54 +00:00
William S Fulton
d4e283eb8c fix typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-23 21:14:53 +00:00
William S Fulton
67f0d42dfc correct message display when running the partialcheck-test-suite make target
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-23 20:39:41 +00:00
William S Fulton
1d2856d820 fix partialcheck-test-suite and parallel make for r, chicken, tcl and php
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-23 20:26:07 +00:00
William S Fulton
db820edd23 Suppress unused methods warning for VC++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-22 22:12:43 +00:00
William S Fulton
f85ef02890 fix unused parms in last commit for C code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-22 21:30:20 +00:00
William S Fulton
f062f15d36 more docs on defining macros for the thread hanging problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-22 00:18:10 +00:00
William S Fulton
d2ea483496 documentation sections update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-22 00:09:51 +00:00
William S Fulton
a1590359c9 Another fix for the JVM hanging on exit problem when using directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-22 00:09:11 +00:00
William S Fulton
3463ced917 various warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 23:25:20 +00:00
William S Fulton
4bb0e64213 Fix virtual destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 22:26:35 +00:00
William S Fulton
1213c5640a Fix unused parameter warnings in python when using gcc's -W -Wall options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 22:25:36 +00:00
William S Fulton
600deef43d Fix Ruby C++ example dependencies in dsp files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 21:07:49 +00:00
William S Fulton
7743ae3973 remove unnecessary variable int the char **STRING_ARRAY out typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 20:49:10 +00:00
William S Fulton
c69e7d7472 Fix crashing in the Ruby reject method in the STL wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 20:48:28 +00:00
William S Fulton
67f5931952 Fix crashing in the Ruby reject method in the STL wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 20:45:32 +00:00
William S Fulton
d798adbbb7 'byte' is already used in Ruby on windows, so use another keyword
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 19:07:51 +00:00
William S Fulton
979ad76153 minor vc++ /W4 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 16:04:55 +00:00
William S Fulton
49675199f4 Remove some vc++ /W4 warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 15:23:02 +00:00
William S Fulton
7a68c5c003 Lua example warning removal fixes for vc++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 15:21:29 +00:00
William S Fulton
a1e23610d6 remove raise as keyword test- it conflicts with _raise in LIBCMT on windows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 11:42:48 +00:00
William S Fulton
595ce07838 better terminology for static types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 11:35:33 +00:00
William S Fulton
1d85e46697 add complete list of R reserved words
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-19 21:15:48 +00:00
William S Fulton
9c323f4a70 Add R keyword support. Rename keywords for successful compilation of Java and C# code. More consistent keyword warnings across the different languages.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-19 20:02:13 +00:00
Mark Gossage
de6d6ccaa8 [lua] bugfix 1938142 (bool& and bool* support)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-17 02:57:15 +00:00
Haoyu Bai
32617f7804 fixed keyword_rename.ctest tese case, caused by a mistake in Swig/naming.c
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-07 13:40:51 +00:00
Haoyu Bai
aec1473a6e Added a test case for keyword renaming.
Now it works for Python in SWIG's -c++ mode,
but in C mode it doesn't work! (you can try with make keyword_rename.ctest)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-07 11:20:07 +00:00
William S Fulton
dfcd771463 Fix enums when using -noproxy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-02 20:15:39 +00:00
William S Fulton
e6d50f5d65 Fix samename testcase for c# and java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-02 20:10:40 +00:00
Olly Betts
eb50e9c4b9 Fix typo in handling of /*@SWIG[...]*/ comments in the scanner. This just
meant we were only actually looking for /*@SWI at the start of the comment, so
was pretty harmless in practice.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-30 16:11:27 +00:00
Haoyu Bai
2dcb84a4c3 Fixed SF #1976978, apply the macros for primitive types to std::wstring
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-30 13:53:33 +00:00
William S Fulton
9ecf676f70 Fix variable wrappers when using -noproxy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-29 00:45:28 +00:00
Haoyu Bai
1dfb0d7fad Fixed SF #1971977: typo in pycontainer.swg (related to -extranative option)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-28 17:27:48 +00:00
William S Fulton
dac30b0de2 Fix variable wrappers when using -proxy. Patch from Jan Jezabek
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-28 09:44:37 +00:00
Robert Stone
e64d75f280 The perl5 minherit runtime test will work better if the classes are
actually built under SWIGPERL.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-26 21:04:06 +00:00
Robert Stone
072ee51942 run test cases in the Perl set by the --with-perl5 configure option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-26 20:09:56 +00:00
William S Fulton
8b42082f88 Apply patch from Petr Viktorin to fix some recent regressions in CFFI/CLOS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-21 22:15:52 +00:00
William S Fulton
bfb5a0989b some html fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-21 09:26:12 +00:00
William S Fulton
f06222b993 Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 21:27:22 +00:00
William S Fulton
e9a621ca5e Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 21:25:10 +00:00
William S Fulton
d51100da4f Use checked exceptions in director typemaps throws attribute as it tests more
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 20:56:48 +00:00
Joseph Wang
94420124f5 Add change entry from R fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 02:30:17 +00:00
Joseph Wang
43a6695de0 Fix problem that was causing breakage in pre-2.7 R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 02:26:01 +00:00
William S Fulton
7d4916b938 fix macro clash with %mangle in swigmacros.swig so that test can run in c++ mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-19 21:06:13 +00:00
Olly Betts
b094149eb8 Fix more comment typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-19 20:36:00 +00:00
Olly Betts
c2b682390f Fix a few typos.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-19 20:23:50 +00:00