Commit graph

13,805 commits

Author SHA1 Message Date
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
William S Fulton
e5acd3b48a fix some potential null pointer usage as reported by CoveriCoverity Prevent
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-29 00:19:05 +00:00
William S Fulton
acc2745177 correct typo in first entry about %fragment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-26 18:33:06 +00:00
William S Fulton
a49edfb2b5 bump version to 1.3.37
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-25 00:16:40 +00:00
William S Fulton
ac5b951a57 section update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-25 00:16:04 +00:00
William S Fulton
5bb73165fa correction for 1.3.36
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 23:24:48 +00:00
William S Fulton
505582bad5 use rsync and ssh to upload releases to SourceForge as ftp no longer works
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 23:00:27 +00:00
William S Fulton
16a88b3dc8 correct comment about deprecated option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 21:53:12 +00:00
William S Fulton
afe519f8a1 remove deprecated -c commandline option (runtime library generation)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 21:48:46 +00:00
William S Fulton
fc0becfc78 update for 1.3.36 release
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 20:13:41 +00:00
William S Fulton
a5c10ecde3 More info about numobjects added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10577 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 20:12:43 +00:00
William S Fulton
2a7586cf27 variable name hiding fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 20:12:08 +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
William S Fulton
09638387dd zap last entry
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 20:10:28 +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
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