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 |
|
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
|
b9fd49858d
|
result_of not working
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-10-04 20:31:40 +00:00 |
|
William S Fulton
|
e81b6eccdb
|
Add lambda tests to test-suite - gcc-4.7 supports these
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-10-04 06:12:44 +00:00 |
|
William S Fulton
|
4db087d81f
|
Delegating constructors and inheriting constructors clarification and split of tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-25 20:22:15 +00:00 |
|
William S Fulton
|
070bf3cc9e
|
gcc-4.7 now supports alias templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-25 19:29:13 +00:00 |
|
William S Fulton
|
e25da884cb
|
Fix unrestricted unions testcase and add runtime example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-21 19:15:44 +00:00 |
|
William S Fulton
|
4c2a1abd6b
|
Minor doc tweaks for unrestricted unions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-21 18:21:15 +00:00 |
|
William S Fulton
|
dbdbdd94aa
|
Some updates to c++11 warning messages and update docs on alias templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-21 18:04:15 +00:00 |
|
William S Fulton
|
3578be5753
|
Better clarify C++11 smart pointer support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-20 19:28:20 +00:00 |
|
William S Fulton
|
744659345e
|
Update c++0x tests run by default for g++-4.6
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-20 19:14:27 +00:00 |
|
William S Fulton
|
996455b50e
|
sort out c++0x lambda tests and reorder cpp0x tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@12182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-07-24 00:20:11 +00:00 |
|
William S Fulton
|
25ff4e4927
|
merge revisions 11877-12162 from trunk to gsoc2009-matevz
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@12164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-07-20 23:35:40 +00:00 |
|
William S Fulton
|
ab1cd03979
|
merge revisions 11243-11872 from trunk to gsoc2009-matevz
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@12162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-07-20 21:58:41 +00:00 |
|
William S Fulton
|
d8cc75946b
|
Improved C++0x rvalue reference implementation differentiating lvalue and rvalue references. The previous implementation treated rvalue references as lvalue references which leads to a number of different wrapping issues.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@12160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-07-18 00:19:22 +00:00 |
|
William S Fulton
|
7338f39936
|
Fix out of source builds for the test-suite which broke in 1.3.37
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-07-18 00:06:40 +00:00 |
|
William S Fulton
|
568607c5ea
|
Fix wrapping of function pointers and member function pointers when the function returns by reference
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-07-16 18:45:22 +00:00 |
|
William S Fulton
|
257ce20f30
|
Fix uncompileable code when %rename results in two enum items with the same name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-06-03 17:44:42 +00:00 |
|
William S Fulton
|
9f55943801
|
Fix RUNTOOL in the test-suite for php and add an example for using RUNTOOL to invoke a debugger
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-05-25 18:13:32 +00:00 |
|
William S Fulton
|
68308583b7
|
Apply patch #2955146 from Sergey Satskiy to fix expressions containing divide by operator in constructor initialization lists.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-05-07 19:10:41 +00:00 |
|
William S Fulton
|
03bd7005bb
|
Fix typemap delete regression introduced in rev 11838
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-05-03 22:58:27 +00:00 |
|
William S Fulton
|
efd200ffe2
|
Typemap matching rules enhancement for non-default typemaps. Previously all qualifiers were stripped in one step, now they are stripped one at a time starting with the left most qualifier.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-05-02 21:35:02 +00:00 |
|
Haoyu Bai
|
2450c4b108
|
fix regression of Python constructor renaming introduced by py3k work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-04-25 14:07:14 +00:00 |
|
William S Fulton
|
a743d54665
|
Fix segfault when using Python's -threads options and exceptions are thrown
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-04-08 06:46:18 +00:00 |
|
William S Fulton
|
deafe98dc4
|
Test %extend and nspace feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-03-08 23:02:53 +00:00 |
|
William S Fulton
|
1253657bb4
|
Add improved namespace support - the nspace feature, working for Java only at the moment.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-03-04 21:27:23 +00:00 |
|
William S Fulton
|
4bf5049397
|
Improve target language symbol tables for Java and C#, using different scopes for the constants interface, module class and intermediary class rather than incorrectly putting all the symbols into one scope
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-02-13 00:42:09 +00:00 |
|
William S Fulton
|
d02f543dbc
|
Fix typemap matching bug when a templated type has a typemap both specialized and not specialized - the wrong typemap would sometimes be used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-01-28 07:25:59 +00:00 |
|
William S Fulton
|
f112e4bac1
|
Fix #2933129 - typemaps not being found when the unary scope operator (::) is used to denote global scope
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-01-22 20:39:54 +00:00 |
|
Olly Betts
|
02eb6a81d1
|
Fix handling of modulo operator (%) in constant expressions (SF#2818562).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-12-04 05:46:31 +00:00 |
|
William S Fulton
|
2bd190dbf1
|
Revert support for %extend and memberin typemaps added in swig-1.3.39. The memberin typemaps are ignored again for member variables within a %extend block. Documentation inconsistency reported by Torsten Landschoff.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-12-02 00:01:31 +00:00 |
|
William S Fulton
|
a9ccc5a866
|
Fix multiple declarations of nested structs (C code)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-18 20:24:06 +00:00 |
|
William S Fulton
|
7fd36f5bd6
|
Fix parsing of struct declaration and initialization
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-17 18:45:53 +00:00 |
|
William S Fulton
|
5ea1852ecb
|
namespace_union.i now works given recent nested class improvements. Closes bug #811906
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-14 23:51:12 +00:00 |
|
William S Fulton
|
7ae45bc020
|
Fix #2310483 - function pointer typedef within extern C block.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-14 15:55:23 +00:00 |
|
William S Fulton
|
ebed6508e4
|
Nested class improvements - Fixed inconsistency in handling C++ nested classes - sometimes they were treated as forward declarations, other times as if C nested struct was parsed. Added the nestedworkaround feature for C++ nested class handling. Document improved nested class handling. Numerous C and C++ nested struct/class/union test cases added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-11 00:30:34 +00:00 |
|
William S Fulton
|
9d65c100b9
|
Ignored nested class/struct warnings now display the name of the ignored class/struct.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-08 01:18:45 +00:00 |
|
William S Fulton
|
ec6bf1ec96
|
Fix nested template classes within a namespace generating uncompileable code by incorrectly adding in symbols into the symbol tables and not setting the scope correctly after the nested template was parsed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-08 00:14:47 +00:00 |
|
William S Fulton
|
678abc58fb
|
Fix seg fault when using a named template instantiation using %template(name) within a class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-10-23 05:41:33 +00:00 |
|
William S Fulton
|
4b2ced5095
|
Fix partial specialization and explicit specialization lookup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11703 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-10-20 17:50:36 +00:00 |
|
William S Fulton
|
7c6aca2ebc
|
true and false supported in constant expressions (C++ only). && || == != < > <= >= operators now return type bool (C++ only) and type int for C as per C/C++ standards.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11677 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-09-02 22:33:04 +00:00 |
|
William S Fulton
|
968eb8287a
|
correction to SWIGTOOL usage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-09-01 17:30:17 +00:00 |
|
William S Fulton
|
9d6e826bd8
|
Test std::map in all languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-20 23:21:07 +00:00 |
|
William S Fulton
|
4516c1d3f3
|
Fix exception handling when %catches is used in C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-15 23:22:20 +00:00 |
|
Matevz Jekovec
|
dccbc68c70
|
Added warning for initializer_list introduced in C++0x.
Added testcase cpp0x_initializer_list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-12 16:50:17 +00:00 |
|
Matevz Jekovec
|
bc8f86b6ec
|
Fixed cpp0x_result_of testcase.
Added testcase cpp0x_sizeof_object.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-12 10:18:18 +00:00 |
|
Matevz Jekovec
|
955c736164
|
Added testcase for default/delete arguments introduced in C++0x.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-11 20:06:23 +00:00 |
|
Matevz Jekovec
|
2f3a18e49b
|
Added cpp0x_result_of testcase.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-11 19:44:03 +00:00 |
|
Matevz Jekovec
|
65c09323fc
|
Added syntax support for template aliasing and new 'using' syntax for typedefs introduced in C++0x.
Added testcase cpp0x_template_typedefs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-11 18:27:33 +00:00 |
|
Matevz Jekovec
|
41a565dd5f
|
Added testcase cpp0x_constructors for delegating constructors and constructor inheritance.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-11 15:20:38 +00:00 |
|