Commit graph

943 commits

Author SHA1 Message Date
William S Fulton
04a1d9182f Add patch #2128249 from Anatoly Techtonik which corrects the C/C++ proxy class being reported for Python docstrings when %rename is used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-01 23:09:26 +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
Olly Betts
7ef2b73a6d [PHP5] Fill in typemaps for SWIGTYPE and void * (SF#2095186).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-25 07:11:36 +00:00
Olly Betts
7d6ee42566 Remove stray lines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-23 06:52:41 +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
Olly Betts
03429576fc [PHP5] Add typemaps for long long and unsigned long long.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-19 03:20:59 +00:00
William S Fulton
90a4d04d85 revert entry 2008-09-01 - C# Insert and InsertRange bounds checking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 23:17:52 +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
Olly Betts
971c3e1e84 Note the SF bug number for the previous fix.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 14:03:46 +00:00
Olly Betts
16c8749768 [PHP5] Change the default input typemap for char * to turn PHP
Null into C NULL (previously it was converted to an empty string).
The new behaviour is consistent with how the corresponding output
typemap works.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 14:02:15 +00:00
Olly Betts
6029bc8b2d [PHP5] Fix extra code added to proxy class constructors in the case
where the only constructor takes no arguments.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 13:01:52 +00:00
Olly Betts
e9485c0f60 [PHP5] Fix wrapping of a renamed enumerated value of an enum class member
(SF#2095273).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 09:54:18 +00:00
Mikel Bancroft
cc88c24c3f [allegrocl] Fix handling of forward references. Remove code breaking typical code generation. See ChangeLog for more details on the latter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-17 19:13:12 +00:00
Haoyu Bai
75eb4d20d6 more document for limitation of parameter list, and doc of removal of -apply in CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 14:11:49 +00:00
Haoyu Bai
371f40be2d fix some typo in CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 13:42:24 +00:00
Haoyu Bai
82df9bae16 more docs for Python 3 merge added in CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 13:39:34 +00:00
Haoyu Bai
2cbb898cff some more lines in CHANGES.current for Python 3 merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-12 14:43:17 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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