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
Olly Betts
8178898960
[python] Simpler code for SWIG_AsVal_bool() which fixes a "strict
...
aliasing" warning from GCC - patch from SF#1724581 by Andrew
Baumann.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-17 23:52:16 +00:00
Olly Betts
e2d7f303b8
[perl5] Use sv_setpvn() to set a scalar from a pointer and length
...
- patch from SF#174460 by "matsubaray".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-17 23:24:11 +00:00
Olly Betts
c836c81acb
When wrapping C++ code, generate code which uses
...
std::string::assign(PTR, LEN) rather than assigning
std::string(PTR, LEN). Using assign generates more efficient code
(tested with GCC 4.1.2).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-17 20:10:57 +00:00
Olly Betts
ef4ca158de
[PHP] Use std::string::assign(PTR, LEN) rather than assigning
...
std::string(PTR, LEN). Using assign generates more efficient code
(tested with GCC 4.1.2).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-17 18:39:12 +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
f4b9fd381d
correct module to use
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 22:42:07 +00:00
Gonzalo Garramuno
94a6b8ddb1
Revered _mSWIG to rubyhead.swg as some tests would fail.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 06:43:28 +00:00
Gonzalo Garramuno
dec7109eb5
Added missing stl_new.i test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 06:37:18 +00:00
Gonzalo Garramuno
1cf26ad65d
Added new li_math.i test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 06:36:21 +00:00
Gonzalo Garramuno
8682f0cbaf
Added some more tests for c file wraps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 06:33:08 +00:00
Gonzalo Garramuno
d1defceb95
Moved _mSWIG to rubyrun.swg with all other static
...
variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 06:12:38 +00:00
Gonzalo Garramuno
172b377bbe
Added new arrays_runme.rb tests
...
Added more tests for enums_runme.rb.
Both showcase current swig problems.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 06:07:33 +00:00
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