Commit graph

2,857 commits

Author SHA1 Message Date
William S Fulton
e805d5f925 Merge branch 'master' into gsoc2009-matevz
parser.y still to be fixed up

Conflicts:
	Doc/Devel/engineering.html
	Examples/Makefile.in
	Lib/allegrocl/allegrocl.swg
	Lib/csharp/csharp.swg
	Lib/csharp/enums.swg
	Lib/csharp/enumsimple.swg
	Lib/csharp/enumtypesafe.swg
	Lib/java/java.swg
	Lib/python/pydocs.swg
	Lib/r/rtype.swg
	Source/Include/swigwarn.h
	Source/Modules/octave.cxx
	Source/Modules/python.cxx
	Source/Modules/ruby.cxx
	Source/Swig/scanner.c
	Source/Swig/stype.c
	Source/Swig/swig.h
	configure.ac
2013-01-28 07:01:37 +00:00
William S Fulton
1e472da302 Use CXXFLAGS for c++ code for Go examples 2013-01-24 20:27:27 +00:00
William S Fulton
556e646972 Add missing static member to testcase 2013-01-24 20:27:27 +00:00
William S Fulton
07c35d61e3 Fix generated code for rvalue references by converting functions returning an rvalue reference into something that can be taken the address of - via a const ref cast. Now the rvalue_reference tests compile under g++-4.7 (C# only atm) 2013-01-24 08:02:34 +00:00
Vladimir Kalinin
7d800a655d Unicode literals 2013-01-21 19:09:56 +00:00
William S Fulton
88a64208ae Merge branch 'master' of github.com:swig/swig 2013-01-19 01:29:40 +00:00
William S Fulton
751bedf5e5 Suppress warning in testcase 2013-01-19 01:28:55 +00:00
William S Fulton
6fafa8cecc Merge pull request #17 from tristan0x/fix-test-suite-if-custom-java
use executables path set at ./configure time
2013-01-18 17:13:16 -08:00
William S Fulton
bda67e1d78 Cosmetic makefile change 2013-01-19 01:06:01 +00:00
William S Fulton
95b176b6b3 Java test-suite change to make it possible to not specify a namespace. Re-add java_nspacewithoutpackage testcase 2013-01-18 23:52:48 +00:00
William S Fulton
55f4bfec8e Revert Java test-suite makefile to adf51b5249 2013-01-18 23:47:23 +00:00
Tristan Carel
219555ebea use executables path set at ./configure time 2013-01-17 19:07:30 +01:00
Brant K. Kyser
43ad8e611a Remove comment about previously outstanding TODO that has been cleaned up. 2013-01-17 08:13:04 +00:00
Brant K. Kyser
28da117186 Modify java test-suite Makefile to run the java_nspacewithoutpackage test without the -package option. 2013-01-17 08:13:04 +00:00
Brant K. Kyser
988952af65 Add test case for using nspace without -package. TODO: Fix Makefile.in to actually not use -package when invoking swig. 2013-01-17 08:13:04 +00:00
marvingreenberg
30b1eafd96 fix variable names and makefile logic to correctly set PKGDIRSETUP and SWIGOPT for different cases 2013-01-17 08:13:04 +00:00
marvingreenberg
9855e4d064 Allow certain tests to compile without -package option 2013-01-17 08:13:03 +00:00
William S Fulton
dba0adce71 Minor update to test-suite README help files 2013-01-17 07:48:16 +00:00
William S Fulton
adf51b5249 Make testdir a generic special directory for testcases that require subdirectories.
Merge branch 'inctest' of https://github.com/ptomulik/swig
2013-01-17 07:29:40 +00:00
William S Fulton
78cd350fe9 Fix Visual Studio examples to work when SWIG is unzipped into a directory containing spaces. 2013-01-15 07:18:20 +00:00
William S Fulton
0e6af5c0ea Fix cstype typemap lookup for member variables so that a fully qualified variable name matches 2013-01-15 06:45:47 +00:00
Paweł Tomulik
0afbb357d0 moved testdir/* to testdir/inctest/* under Examples/test-suite/ 2013-01-13 23:14:46 +01:00
William S Fulton
1f0db4fb9e Add check-cpp11 target for testing c++11 only tests 2013-01-13 00:06:09 +00:00
William S Fulton
afc2b884a4 Merge branch 'master' of github.com:swig/swig 2013-01-12 16:55:07 +00:00
William S Fulton
079165abe2 Convert to unix fileformat 2013-01-12 16:54:45 +00:00
William S Fulton
5889d7bfdd Merge branch 'SFbug1299' of https://github.com/BrantKyser/swig into BrantKyser-SFbug1299 2013-01-11 23:12:06 +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
Paweł Tomulik
9d0d59ead7 remove __pycache__ directories when cleaning python test cases 2013-01-06 16:55:38 +01: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
0bde711222 Merge branch 'SFbug1295' of https://github.com/ptomulik/swig 2013-01-05 17:59:18 +00:00
Brant K. Kyser
3c12306b21 Remove extra underscore from generated director names to maintain prevent breaking languages that do not support nspace. 2013-01-05 03:40:06 -06:00
Brant K. Kyser
c786781e92 Add test case for SourceForge Bug #1299 2013-01-05 03:14:42 -06:00
Paweł Tomulik
8e418d61e6 corrected some typos 2013-01-04 18:41:10 +01:00
Paweł Tomulik
2bb6a8c4a8 added test case for SF bug #1296 2013-01-04 18:20:19 +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
00c71edbed Change test to reflect new director class naming convention. 2013-01-03 23:09:29 -06:00
Brant K. Kyser
d5d7655544 Merge branch 'master' into SFbug1299 2013-01-03 21:26:47 -06: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
Brant K. Kyser
60525e800d Added a test case for SourceForge Bug #1283.
This test case exercise directors used in conjunction with smart pointers.
2013-01-03 14:09:14 -06: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
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
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
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