William S Fulton
575efcdd53
Fix using statements for overloaded methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10176 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-30 22:34:50 +00:00
Olly Betts
8dabd96606
PHP4 reaches EOL at the end of 2007, so remove PHP4 specific entry from the
...
todo list. Tweak message about lack of multiple inheritance to say "PHP"
rather than "Php4".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-28 00:46:53 +00:00
Mikel Bancroft
ca9c273546
[allegrocl] multiple small fixes to interface. have const std::string *'s automacitally marshalled to lisp strings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-21 21:33:42 +00:00
Dave Beazley
3fef3e12bc
Fixed bug in the C scanner related to ignored backslash characters. This addresses a problem in 1.3.32 reported by Bill Spotz.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-20 16:36:37 +00:00
William S Fulton
373e85a713
Fix static extern C compilation errors for Perl C++ wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-19 21:30:57 +00:00
William S Fulton
98b2e4a95c
Use -package to change the package name. Ensure the initialization routine is called since the package name changes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 23:50:45 +00:00
William S Fulton
1f36b6e0b0
Rename dll/shared object name to be the same as the module name - _wrap is no longer postfixed to the name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 22:33:09 +00:00
Gonzalo Garramuno
a55e5f3b94
Removed useless VALUE parent = Qnil; which was
...
also leading to gcc warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-12 11:47:40 +00:00
William S Fulton
3f567de7ba
Fixes for Visual C++ for C++ code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 21:48:25 +00:00
William S Fulton
a80c41bef5
Dont use the global namespace polluting methods in the R headers - provides Visual C++ support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 20:26:58 +00:00
Joseph Wang
cd9c301b48
Remove _wrap from .R files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 03:08:10 +00:00
William S Fulton
9aa5096836
Fix for VC++ 6 which doesnt seem to initialise member variables which are default constructed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 23:34:51 +00:00
William S Fulton
12d39f7cb0
Windows fix (need to dllexport funtions)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 22:23:53 +00:00
William S Fulton
39abd80eef
Changes to compile with VC++6
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 21:10:17 +00:00
Olly Betts
ece41d9c9f
[php] Fix makefile generated by -make (SF#1633679). Update
...
documentation to mark "-make" as deprecated (none of the other
SWIG backends seem to offer such a feature, it can't realistically
generate a fully portable makefile, and the commands to build an
extension are easy enough to write for the user's preferred build
tool). Also recommend against the use of "-phpfull" (it's only
really useful when static linking, and a dynamically loadable
module is virtually always the better approach).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 00:59:02 +00:00
Olly Betts
9abc24813b
Fix --help output to note that `export SWIG_FEATURES' is required.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-09 08:59:44 +00:00
William S Fulton
1b908b175e
Fix uninitialised variables, generation of illegal C variable names and seg fault on Windows.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-08 21:41:25 +00:00
Mark Gossage
0c2bbb25a3
[lua] fixed bug in template classes which cases template_default2 and template_specialization_defarg to fail.
...
Added several warning filters into the overload's test cases.
Added runtime tests for several codes.
You can now make check-lua-test-suite with no errors and only a few warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 06:10:04 +00:00
Olly Betts
cc879f7c29
[lua] Fix swig_lua_class instances to be static to allow multiple
...
SWIG wrappers to be compiled into the same executable statically.
Patch from Andreas Fredriksson (posted to the swig mailing list).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10068 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 00:02:20 +00:00
William S Fulton
421eb7ae60
New templated method SwigValueInit to initialise all types - used initially for return types in director methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 23:07:33 +00:00
Joseph Wang
3b9574953c
Fix so that it works for 2.6 and 2.5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 18:21:44 +00:00
John Lenz
4ace915a56
Chicken test suite now runs with no errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 23:08:34 +00:00
Joseph Wang
47b3c8e8fb
Change to fit 2.5.1
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 01:16:31 +00:00
William S Fulton
e49c07014d
Correct usage of Py_ssize_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 22:33:20 +00:00
Joseph Wang
54f0b11ddf
Add "freearg" template
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 11:30:11 +00:00
Joseph Wang
410da5ce73
Tweaks to fix errors in r module code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 04:06:22 +00:00
William S Fulton
fa72166164
warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 21:31:09 +00:00
William S Fulton
30964be253
Fix uninitialised variable usage on error in director methods. Minor formatting change for director methods variable declaration.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 21:30:19 +00:00
William S Fulton
a43e50ac07
fix generated code for derived classes when csbase or javabase typemaps are used with the replace=1 attribute.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 21:48:05 +00:00
William S Fulton
fe042d2ebc
Replace cvs $Header$ with svn $Id$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:42:11 +00:00
Olly Betts
a1ae35b43f
Revert this fix unless ZEND_RAW_FENTRY is defined (it was added in
...
PHP 5.2.<something>):
[PHP] Fix many occurrences of "warning: deprecated conversion from
string constant to 'char*'" from GCC 4.2 in generated C/C++ code.
Use zend_function_entry rather than function_entry in generated code.
The later only exists for compatibility with PHP3!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 17:25:15 +00:00
Olly Betts
10c6e1064d
[Tcl] Fix several ocurrences of "warning: deprecated conversion
...
from string constant to 'char*'" from GCC 4.2 in generated C/C++
code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 22:12:44 +00:00
Olly Betts
1b1334815c
[PHP] Fix many occurrences of "warning: deprecated conversion from
...
string constant to 'char*'" from GCC 4.2 in generated C/C++ code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 21:39:37 +00:00
Olly Betts
0f5c628cfb
Fix mixed declarations and code so this file is valid C89.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 21:27:14 +00:00
William S Fulton
ad1a72f834
Remove incorrect license in generated code. See swig-devel mailing 'licence issue' thread
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:44:18 +00:00
William S Fulton
2c46b7832c
Strip C comments from the java typemaps when determining to use the premature garbage collection prevention parameter
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:31:22 +00:00
William S Fulton
76fdf15ff8
comment fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 23:24:07 +00:00
Olly Betts
2fffdd118a
[php] Fix long-standing memory leak in wrapped constructors and
...
wrapped functions/methods which return an object.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 18:12:42 +00:00
Olly Betts
3777b685a6
Fix many instances of "delimeter" to "delimiter".
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-08 12:02:56 +00:00
William S Fulton
75b1e083cf
Fix warning display of templated base classes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-30 19:27:40 +00:00
Mark Gossage
6a70b4adc7
[lua] move verbose error checks, more test cases, reorg of luatypemaps.swg
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-27 05:36:25 +00:00
William S Fulton
8a17d9dcfa
Back out valueparm attribute in the csvarin typemap. Add example usage of temporary variables in the csvarin typemap into docs. Modify CDate C# example. Add in special variable expansion in the csvarin typemap.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-21 23:58:00 +00:00
William S Fulton
d737022daa
More flexible variable wrappers (C# properties). The property set can now support a different type to that used in the intermediary layer. This is achieved by using a temporary variable and specifying the name of the temporary variable in a new 'valueparm' attribute in the csvarin typemap. Also Fix bug reported by Glenn A Watson and #1795260 where the cstype typemap used the 'ref' keyword in the typemap body. The type for the property now correctly comes from the 'out' attribute in the cstype typemap.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-19 23:54:19 +00:00
William S Fulton
7199cf2ef0
Ensure the premature garbage collection prevention parameter (pgcpp) is generated for Java wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-19 23:17:50 +00:00
Olly Betts
cb4c23fde1
[python] Split potentially long string literals to avoid hitting
...
MSVC's low fixed limit on string literal length - patch from
SF#1723770, also reported as SF#1630855.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-18 00:50:20 +00:00
Olly Betts
b8c6a5c0d2
[ocaml] Fix renaming of overloaded methods in the method_table -
...
my patch from SF#940399.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-18 00:18:39 +00:00
William S Fulton
9b79e76d93
Fix ignore on implicit constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-07 22:10:03 +00:00
John Lenz
38f6ca7f15
Modify r_ltype in typesys.c to store a hashtable instead of a single value
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-05 05:40:35 +00:00
William S Fulton
87577ab5e6
new -Werror option and fixes for turning on warnings which are normally turned off
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-31 22:20:21 +00:00
William S Fulton
1fce5e0454
remove C++ usage in C file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-31 22:06:23 +00:00