Commit graph

15,702 commits

Author SHA1 Message Date
Vladimir Kalinin
245b8a0b34 Documentation for csdirectorin 'pre', 'post' and 'terminator' support. 2013-01-11 22:18:35 +00:00
William S Fulton
13d9e19cdb Fix spacing in generated code for csdirectorin 'pre', 'post' and 'terminator' attributes. Add some more tests for these attributes. 2013-01-11 19:47:10 +00:00
Vladimir Kalinin
2b407f4b27 SF Patch#268 - Add 'pre', 'post' and 'terminator' attributes to the csdirectorin typemap
"csdirectorin" "pre:" and "post" code attributes in C# module. Without them it is
not trivial to marshal strings and smart-pointers back and forth
between user callback code and native code. (especially by reference)

Also fixes 2 minor issues in director code generation that are
difficult to come by until "csdirectorin" attribute is extended.
The first is that "ref" types used in directors lead to invalid
signature generation (the type array used to match methods possibly
overloaded by user). typeof(ref T) is used instead of
typeof().MakeByRefType()
The second is that ignored director methods are not completely ignored
- if there was a %typemap(imtype, "directorinattributes") it is not
skipped for ignored method.
2013-01-09 00:11:41 +00:00
Olly Betts
f9566ad2df Fix assorted typos.
From https://sourceforge.net/p/swig/patches/332/ and some others too.
2013-01-08 18:47:40 +13:00
Olly Betts
0dd11cdd8d Fix to work with a ZTS build of PHP (broken in 2.0.7) 2013-01-08 18:33:47 +13:00
William S Fulton
553b04edeb Merge pull request #8 from ptomulik/clean-pycache
remove __pycache__ directories when cleaning python test cases
2013-01-07 12:13:27 -08:00
William S Fulton
8c03eb926c Merge pull request #9 from ptomulik/gitignore-20130106
some patterns added to .gitignore
2013-01-07 12:11:18 -08:00
Olly Betts
cec9faf688 Fix bashism in configure, introduced in 2.0.9. 2013-01-07 16:47:32 +13:00
joequant
beb40008b1 add boost_shared_ptr for R 2013-01-07 06:03:37 +08:00
Paweł Tomulik
2928bde777 some patterns added to .gitignore 2013-01-06 17:33:17 +01:00
Paweł Tomulik
9d0d59ead7 remove __pycache__ directories when cleaning python test cases 2013-01-06 16:55:38 +01:00
joequant
308b5dab3f r changes to handle external pointers 2013-01-06 19:42:12 +08:00
William S Fulton
0207a9b24f Add CHANGES note for virtual destructor in templates bug in prev commit 2013-01-06 01:49:25 +00:00
William S Fulton
3f1d77ee0f Merge branch 'SFbug1296' of https://github.com/ptomulik/swig into ptomulik-SFbug1296 2013-01-05 20:13:19 +00:00
William S Fulton
41ddc7b240 Add change notes for last commit 2013-01-05 19:31:10 +00:00
William S Fulton
0bde711222 Merge branch 'SFbug1295' of https://github.com/ptomulik/swig 2013-01-05 17:59:18 +00:00
Brant K. Kyser
a0685d2dc4 Merge remote branch 'upstream/master' 2013-01-05 06:00:21 -06:00
Brant K. Kyser
0fa284019a Add generated files to .gitignore. 2013-01-05 05:58:46 -06:00
William S Fulton
fade4f1b94 .gitignore additions/fixes 2013-01-04 20:48:58 +00:00
William S Fulton
078daa5b57 Change note updates for last two pull requests 2013-01-04 20:35:43 +00:00
William S Fulton
328d6d01bb Cosmetic whitespace change 2013-01-04 20:35:13 +00:00
Paweł Tomulik
8e418d61e6 corrected some typos 2013-01-04 18:41:10 +01:00
Paweł Tomulik
02246d7294 applied patch for SF bug #1296 2013-01-04 18:24:57 +01:00
Paweł Tomulik
2bb6a8c4a8 added test case for SF bug #1296 2013-01-04 18:20:19 +01:00
Paweł Tomulik
a6f733602e added patch for SF bug #1295 2013-01-04 16:57:04 +01:00
Paweł Tomulik
da00bdb12d added python test case li_std_except_as_class for SF bug 1295 2013-01-04 15:43:44 +01:00
Brant K. Kyser
540ede0dd3 Fix for SourceForge Bug #1283.
* Change the name of the memory own variable for base java director classes to match that expected by the director code
* Add conditional to appropriately dynamically cast director classes wrapped in smart pointers.
2013-01-04 00:31:55 +00:00
Brant K. Kyser
f0e47b81d6 Added a test case for SourceForge Bug #1283.
This test case exercise directors used in conjunction with smart pointers.
2013-01-04 00:31:55 +00:00
William S Fulton
3e2c6bb03d director_nspace fixes for C# for previous commit 2013-01-03 20:49:10 +00:00
William S Fulton
619b4242be Merge pull request #1 from BrantKyser/SFbug1278
Fix for SourceForge Bug #1278
2013-01-03 12:35:31 -08:00
William S Fulton
c9174b3a16 More SVN->Git changes 2013-01-03 07:25:07 +00:00
William S Fulton
382326bfbc Bump version to 2.0.10 2013-01-03 07:17:19 +00:00
William S Fulton
981684fc1e Update Windows instructions for using Github instead of svn 2013-01-03 07:17:19 +00:00
Brant K. Kyser
7ff0dfe426 Fix for SourceForge Bug #1278
* Modify test-suite to test Java directors with multi-level namespaces.
* Path java module to correctly generate method descriptors when multilevel namespaces are used.
2013-01-02 15:07:56 -06:00
William S Fulton
ac75e4ae53 2.0.9 release notes and date
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-16 14:39:37 +00:00
William S Fulton
093dc60d2d Fix garbage line number and empty file name reporting for some '}' or ')' error messages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-16 13:56:50 +00:00
William S Fulton
6dd4f362b3 Testcase correction for missing virtual destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-16 08:38:22 +00:00
William S Fulton
87ee6da365 Make php example C90 compliant
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-15 23:56:27 +00:00
William S Fulton
6f819d1cd1 Detect mono C# compiler on newer linux distributions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-15 23:41:01 +00:00
William S Fulton
8a8c8e377b gcc-4.6 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-15 18:33:02 +00:00
Klaus Kämpf
e39a16c92a Fix detection of Ruby include files for Ruby 1.8.7
svn rev r13964 broke it for Ruby 1.8.7 :-/


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-15 16:20:19 +00:00
Klaus Kämpf
94fb7629f4 Apply patch 3530444
Class#methods and Class#constants returns array of symbols
from Ruby 1.9 on



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-15 16:16:40 +00:00
William S Fulton
6679f5dcd0 Rework warning fixes in rev 13512 as it introduces dead code flagged by sun studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-15 14:55:54 +00:00
William S Fulton
ca61d10d9b Temporary workaround for testcase failing in PHP
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-15 12:46:04 +00:00
Klaus Kämpf
23771ef027 Ruby: Replace all occurences of STR2CSTR macro with calls to StringValuePtr
STR2CSTR was deprecated in Ruby since years and got finally removed
in Ruby 1.9


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-14 15:48:31 +00:00
Klaus Kämpf
5a2f1139c3 document Ruby fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-14 14:13:12 +00:00
Klaus Kämpf
eab417a3a1 Ruby 1.9: Add current dir to load path when running Ruby
Ruby 1.9 changes the default load path to _not_ include the current
directory. This breaks running the test cases.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-14 14:07:32 +00:00
Klaus Kämpf
ff95b17588 Adapt configure.in to detect ruby.h in Ruby1.9+ canonical include pathes
Fixes issue 3595945


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-14 13:33:37 +00:00
William S Fulton
04b60a1508 CFFI - Fix some string constants are incorrect
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-14 08:00:22 +00:00
William S Fulton
1ab67f5bed Fix CFFI incorrect constant names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-14 07:38:44 +00:00