Haoyu Bai
32fc296a74
A breif descirbe of Python 3 merge in CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-12 11:52:11 +00:00
Richard Boulton
c4d844abcb
Don't blame wsfulton for my recent change (this was a cut-and-paste error).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-12 11:33:18 +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
2cafaf9d43
Fix #1988296 - Multiple module director linking issue
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-02 23:01:37 +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
907171735f
patch #2079381 submitted by Boris Smilga - constant exprs put into no-eval context in DEFCENUM
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-01 21:46:41 +00:00
William S Fulton
ee2b86e8e1
Fix portability problem using /dev/null
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-01 20:42:40 +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
William S Fulton
a83eebb369
Fix array bounds checking in C# std::vector wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-01 20:32:53 +00:00
William S Fulton
86913e26e3
Fix another perl global namespace pollution
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-01 20:00:28 +00:00
William S Fulton
ad2374ab8d
Fix ruby detection problem breaking configure
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-01 19:59:23 +00:00
Joseph Wang
553135885c
change Rf_warning to warning. Looks like a typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-08-31 16:07:43 +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
3ecb83fc0b
usage_func() fix + CHANGES.current entry to explain my past few commits.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10749 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-08-09 23:57:55 +00:00
Robert Stone
93652cdc70
moves perl space constructor fixups into wrapper code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-08-09 04:08:26 +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
Robert Stone
b9a88dec5a
hoist globals to local scope where trival.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-08-07 06:28:13 +00:00
John Lenz
adf1e5373d
add assert.h to fix chicken build of external runtime (ext_test testsuite)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-08-02 08:49:43 +00:00
John Lenz
6870f7a623
Commit patch 2019314
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-08-02 08:28:02 +00:00
Olly Betts
2ceff37eb2
Fix "can can" typo in docs (SF#2026756)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-27 12:51:16 +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
b5b11ce6f4
a bit more on pgcpp
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-19 18:08:06 +00:00
William S Fulton
ea0a1a7f06
tidy output after detecting X11 headers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10677 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-17 21:08:22 +00:00
William S Fulton
5c52b699e3
SF #2019156 Configuring with --without-octave or --without-alllang did not disable octave.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-17 21:05:49 +00:00
Olly Betts
18fb8497ff
Fix a typo; improve wording.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-17 01:17:08 +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
b2cea3c42a
[PHP] For std_vector.i and std_map.i, rename empty() to is_empty()
...
since "empty" is a PHP reserved word. Based of patch from Mark Klein
in SF#1943417.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-04 01:22:11 +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
1e6d6b2708
[PHP] The SWIG cdata.i library module is now supported.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 23:55:33 +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
fbfda8f7d2
Make testcase li_typemaps work for PHP.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 06:05:34 +00:00
Olly Betts
30cdd1f71e
Make t_output_helper() static.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 06:04:24 +00:00
Olly Betts
dccd552d73
Fix version number
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 02:32:41 +00:00
Olly Betts
7893f114a4
[PHP] The deprecated command line option "-phpfull" has been
...
removed. We recommend building your extension as a dynamically
loadable module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 02:32:11 +00:00
Olly Betts
fa5b3a0b66
Update wrt PHP4.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 01:13:51 +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
12a2463f24
Remove file added in error.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 00:12:58 +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
Haoyu Bai
9fc127d68b
reconstruct the relative import, now the generated code looks better
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-02 07:08:00 +00:00
Haoyu Bai
4d3e448b38
minor fix on relative import: close fp if exception occured during imp.find_module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-02 06:29:15 +00:00
Haoyu Bai
9fbab46bd4
fix the previous commit -- new approach using imp module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-02 06:06:56 +00:00
Olly Betts
9ff8981708
[PHP4] Support for PHP4 has been removed. The PHP developers are
...
no longer making new PHP4 releases, and won't even be patching
critical security issues after 2008-08-08.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-02 05:55:18 +00:00
Haoyu Bai
1f2c29342f
fix the relative import patch by try both relative and absolute import
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-02 04:56:11 +00:00
Olly Betts
31926ad905
[Python] Import the C extension differently for Python 2.6 and
...
later so that an implicit relative import doesn't produce a
deprecation warning for 2.6 and a failure for 2.7 and later.
Patch from Richard Boulton in SF#2008229.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-02 03:17:46 +00:00
William S Fulton
64c05405c6
update old commandline option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10621 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-01 22:02:14 +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
253e932816
make life easier for svn status updates as everyone has different autotool versions installed - use svn:ignore on config.sub and config.guess
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-29 10:08:14 +00:00
William S Fulton
b02017c658
fix potential null pointer usage as reported by Coverity Prevent
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10608 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-29 00:50:27 +00:00