Commit graph

13,254 commits

Author SHA1 Message Date
Gonzalo Garramuno
8f6e08dcb5 Silly gcc was complaining about static initializers when
compiling in C.
Code was now moved to initialization and variables were
prefixed with swig_*.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 05:40:49 +00:00
William S Fulton
94323e0d52 remove broken tcl test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-03 19:45:56 +00:00
William S Fulton
f1e5b5edff Move ruby specific test into Ruby specific testcase li_std_pair_lang_object.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-03 19:45:14 +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
d8b7faf4e8 update for new renaming of -dump_xxx commandline arguments to -debug-xxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-31 22:17:50 +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
William S Fulton
d9b34d6112 add new debug commandline options for displaying the parse tree at different stages of processing and deprecate old equivalents
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-28 20:19:14 +00:00
William S Fulton
b0c537e4c6 fix alphabetical order
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-28 20:17:08 +00:00
William S Fulton
8d6ac14346 update language commandline options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-28 20:16:21 +00:00
Olly Betts
f66899a3bd Can't use (double) cast in PHP default value, so rework.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 16:03:24 +00:00
Olly Betts
2ff3276e5f Fix typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 14:05:22 +00:00
Olly Betts
437bc4d61e [PHP5] Fix handling of double or float parameters with an integer default value.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 13:53:27 +00:00
Olly Betts
e59dbf74f2 [PHP5] Generate __isset() methods for setters for PHP 5.1 and later.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 13:11:25 +00:00
Olly Betts
9b851f3f55 Eliminate unused parameters on calls to Printf()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 13:05:44 +00:00
Olly Betts
8f4f895651 Fix comment typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-23 15:21:11 +00:00
Olly Betts
c1b5afa09b Remove bogus unused parameter from Printf call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-23 15:15:24 +00:00
William S Fulton
91f9cb84c7 Fix bug #1776651 - bug when the director class name is similar to other symbols being used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-20 20:20:55 +00:00
William S Fulton
2824efe6ba Fix bug #1776651 - bug when the director class name is similar to other symbols being used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-20 19:48:45 +00:00
William S Fulton
28713a5da4 correct template_methods testname
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-20 19:43:37 +00:00
William S Fulton
3fd28bf45c Correct behaviour for templated methods used with %rename or %ignore and %template()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-17 20:42:19 +00:00
William S Fulton
aeb132c2a6 remove java file in C# directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-17 20:35:03 +00:00
Mikel Bancroft
7711a116d8 [allegrocl] Fix naming convention for generated cl file. Automatically include :fat and :fat-le external formats when generating interface.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-16 21:02:41 +00:00
William S Fulton
e2ac1aff3f update with new sections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-16 20:48:02 +00:00
William S Fulton
29d4b9c25b add a bit about SWIGTYPE
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-16 20:47:26 +00:00
Mikel Bancroft
3cedba5291 [allegrocl] see CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-16 18:39:50 +00:00
William S Fulton
afa9ab58ae Add examples extending generated proxy class using partial classes and cscode typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-15 20:37:24 +00:00
William S Fulton
24c6f53f10 mention and public access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-15 20:36:40 +00:00
Surendra Singhi
e33435c4cc aplied patch 1766076
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-15 05:09:02 +00:00
William S Fulton
090e3796ad Add section on multi-thread issues that affect single threaded applications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-14 20:24:26 +00:00
William S Fulton
82bf3c6d82 fix html errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-14 20:23:51 +00:00
William S Fulton
23f4cd4a38 More alternative calling convention names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-11 00:02:24 +00:00
William S Fulton
6b412b1e86 Add documentation patch #1743573 from Jeffrey Sorensen about better memory management by the JVM of C++ allocated memory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 23:35:12 +00:00
William S Fulton
3f0bbe1581 patch #1745739 - Compiler warning for BSD from Klaus Heinz
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 11:59:58 +00:00
William S Fulton
a122368370 Apply patch #1771410 from Wade Brainerd to fix typedef XS(SwigPerlWrapper) in perlrun.swg for ActiveState Perl build 822 and Perl 5.8.9 and 5.10 branches.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 11:54:42 +00:00
William S Fulton
7797ae82aa const enum reference typemaps fixed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 11:30:03 +00:00
William S Fulton
6e4d5b4b3a Fix member pointer typemaps (32bit fix only though)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 11:16:59 +00:00
John Lenz
fb51964d01 Fix a bunch of minor bugs found by Coverity scanner
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 02:55:27 +00:00
William S Fulton
64ca4638ab git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9888 626c5289-ae23-0410-ae9c-e8d60b6d4f22 2007-08-10 01:07:34 +00:00
William S Fulton
f5bdd056f7 Remove obscure mpointer example and replace with member_pointer.i testcase and runtime examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-09 23:47:13 +00:00
William S Fulton
665917ebae Improve TCL detection (for Ubuntu Feisty) and use tclConfig.sh for header file location
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-09 23:13:39 +00:00
William S Fulton
aa32a6b094 Add support for in the out typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-09 22:17:12 +00:00
William S Fulton
ac010f997b fix code in char ** typemap examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-03 00:40:39 +00:00
William S Fulton
258e9d7a18 Fix syntax errors for %callback examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-02 23:23:05 +00:00
William S Fulton
08f3b56f9b calling the callback functions directly added to the example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-02 23:18:46 +00:00
William S Fulton
6a13675c16 Fix smart pointers and member methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-01 00:07:23 +00:00
Surendra Singhi
a9f69c075d cffi changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-31 17:19:16 +00:00
Surendra Singhi
43fe81ce1a changed package name clos to cl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-31 17:18:27 +00:00
Surendra Singhi
3aaa08c856 fixed memory freeing bug, removed tabs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-31 17:08:12 +00:00
William S Fulton
c70e98d185 remove non-portable test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-24 21:29:12 +00:00
William S Fulton
394eb13737 extend_variable is broken for most languages - move to broken tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-24 21:28:14 +00:00