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
a5fcddceca
modify build system to use php instead of php4
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 21:55:15 +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
91ba340a79
add test for inheritance of 3 classes deep which exposes a problem in the python shared_ptr wrappers. Manually added the %types for now.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 17:10:53 +00:00
Haoyu Bai
5070f8d929
2to3 has its way to exclude fixer now, so we nolonger need our hack
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-03 19:24:06 +00:00
Haoyu Bai
8f84447860
Commited SF#2158938: change all SWIG symbols start with Py to a new name.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-03 18:43:44 +00:00
William S Fulton
1c4ec59e45
Apply patch #2143727 for Python from Serge Monkewitz to fix importing base classes when the package option is specified in %module and that module is %import'ed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-02 20:21:16 +00:00
William S Fulton
415186c1f4
revert mistaken checkin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-28 23:37:13 +00:00
William S Fulton
93f0390322
UTL - Fix some incorrect acceptance of types in the STL, eg a double * element passed into a vector<int *> constructor would be accepted, but the ensuing behaviour was undefined. Now the type conversion correctly raises an exception
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-28 23:35:46 +00:00
William S Fulton
0cfccf817f
move iadd.h contents into iadd.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-28 23:33:37 +00:00
William S Fulton
946f9def37
fix test names since they were renamed recently
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 23:25:47 +00:00
William S Fulton
3041db155d
modifying build system not to rely on the -I path to find the input files avoiding warning 125: merge .i files that are common between python and the main version
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 23:04:18 +00:00
William S Fulton
b266e1f68c
modifying build system not to rely on the -I path to find the input files avoiding warning 125: move python .i files up one directory, some files have been renamed - prepended with python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 22:50:35 +00:00
William S Fulton
c3047165d6
remove svn:executable property where applied incorrectly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 21:56:48 +00:00
William S Fulton
e7f8954bea
remove svn:executable property where applied incorrectly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 21:54:49 +00:00
William S Fulton
db83e51441
modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 21:35:15 +00:00
William S Fulton
53f786e5a6
gcc-4.3 warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 18:37:48 +00:00
William S Fulton
f78bdddb9d
give operator bool() a name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-23 22:07:15 +00:00
William S Fulton
a0949cd1fe
error: ‘pthread_once’ was not declared in this scope
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-23 21:47:39 +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
William S Fulton
9cf5256b93
rename java run tests from main to runme for consistency across the languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-17 22:47:55 +00:00
William S Fulton
a604f46593
Add the strip encoder patch from Anatoly Techtonik #2130016
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-01 22:52:26 +00:00
Mikel Bancroft
7682833048
[allegrocl] Various fixes to the generated C wrapper code (enums, constants, function declarations), as I progress through the test-suite.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-30 19:45:13 +00:00
Haoyu Bai
32b01d9559
merge test case pybuf and benchmark pybuf_benchmark into a single test case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-28 09:36:06 +00:00
William S Fulton
1d9f63c873
fix clash between php and python when running scripts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-24 19:28:15 +00:00
Mikel Bancroft
e88b502bab
[allegrocl] Make type and namespace wrapping more compatible with other modules. cpp test-suite work.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-22 18:41:10 +00:00
William S Fulton
60622a9c2b
fix unused variable warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 20:39:15 +00:00
William S Fulton
09915566bc
Add C# array typemaps provided by Antti Karanta.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 20:32:28 +00:00
William S Fulton
061e934bbc
Document the module attribute in %import and add warning to Python for when it should be used
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 14:52:52 +00:00
Haoyu Bai
98f5993f50
remove _runme3 file that was checked in by mistake
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 13:20:39 +00:00
Haoyu Bai
fe3a6192f2
fix a typo in python/Makefile.in
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 12:55:32 +00:00
Haoyu Bai
dfbcaf884e
add removing of 2to3 generated runme3.py in make clean target
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 12:16:44 +00:00
Haoyu Bai
875d1668b6
fix merge problem: remove USE_VALGRIND because it is already moved to common.mk
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 11:38:10 +00:00
Haoyu Bai
3d8ddfc442
Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken.
...
This is the (incomplemete) log produced by svnmerge.py:
Merged revisions 10405-10409,10420-10422,10426,10438,10445,10451,10454-10465,10467,10473-10475,10485,10488-10489,10493-10495,10497,10509-10510,10513-10514,10517,10520,10525,10528-10529,10533-10535,10554-10557,10570,10573,10593,10614,10666-10669,10673,10678,10687,10690,10704-10706,10731,10744,10750-10752,10755,10759,10770,10775-10776,10813,10819 via svnmerge from
https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-bhy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-11 17:18:07 +00:00
Richard Boulton
761ef2b98f
[Python] Commit patch #2089149 : Director exception handling mangles
...
returned exception. Exceptions raised by Python code in directors
are now passed through to the caller without change. Also, remove
the ": " prefix which used to be added to other director exceptions
(eg, those due to incorrect return types).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-10 10:08:21 +00:00
William S Fulton
044895ef6e
Add new terminator attribute for the csin typemap for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-02 20:56:52 +00:00
William S Fulton
f396ecc619
fix runtime problem in Ruby std_vector example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-01 20:34:49 +00:00
Robert Stone
2ee3d98d79
rollback 10737:10749, this work is better left on a branch until it is
...
in support a significant feature enhancement.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-08-19 07:09:29 +00:00
Robert Stone
2728e5a606
initial steps to clean up perl5 class methods (primarily constructors).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-08-08 03:10:55 +00:00
William S Fulton
bbadd70330
Fix building of Tcl examples/test-suite on Mac OSX
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-19 22:45:54 +00:00
William S Fulton
4887e7be7c
Fix director typemaps for pointers so that NULL pointers are correctly marshalled to C#/Java null in director methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-14 21:09:23 +00:00
Olly Betts
70ff1c3005
[PHP] The deprecated command line option "-make" has been removed.
...
Searches on Google codesearch suggest that nobody is using it now
anyway.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10649 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-04 01:02:22 +00:00
Olly Betts
3d6dcc3ce6
The operator& trick in allowexcept.i doesn't work for SWIG/PHP because the
...
generated code takes the address of the variable in the code in the "vinit"
section. So comment out the private operator& for PHP.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 22:00:01 +00:00
Olly Betts
a172b1d4b0
Fix check::classname() to compare case-insensitively and not try to interpolate objects into strings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 09:12:16 +00:00
Olly Betts
3d3bc01a2f
Rename php4*.swg to php*.swg.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 00:37:38 +00:00
Olly Betts
7dfd9aae31
WARN_* constants are user visible, so keep existing WARN_PHP4_* for
...
backward compatibility, but add preferred forms WARN_PHP_* and use
these ourselves.
Rename Lib/php4 to Lib/php, Source/Modules/php4.cxx to Source/Modules/php.cxx.
Add typemaps for const reference so Examples/test-suite/apply_signed_char.i
works.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 00:09:56 +00:00
Robert Stone
d5f16a867c
Hopefully this provides more portable values for Infinity and NaN in Perl.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-30 23:41:27 +00:00
William S Fulton
f8ae12fe4d
variable name changes to remove php keywords
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 20:11:46 +00:00
Olly Betts
8c287a1678
Fix cosmetic typo in string constant.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 00:42:29 +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