Matevz Jekovec
ba2c8cff40
Added syntax for lambda expressions and closures introduced in C++0x.
...
Added testcase cpp0x_lambda_functions.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-03 15:03:41 +00:00
Matevz Jekovec
24402abf7d
Enabled support for variadic %template directive.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-01 22:00:36 +00:00
Matevz Jekovec
a7e9a105d9
Enabled alternate function syntax and added runtime testcases.
...
Added support for null pointer constant introduced in C++0x.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-31 10:13:31 +00:00
Matevz Jekovec
e7fd659ae5
Fixed S/R and R/R conflicts.
...
Fixed testcase for rvalue reference.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-30 19:18:37 +00:00
Matevz Jekovec
2e01562965
Added variadic '...' syntax for inheritance introduced in C++0x.
...
Added sizeof... syntax introduced in C++0x.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-29 13:38:22 +00:00
Matevz Jekovec
85ae38ccee
Added initial support for variadic templates.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-27 19:07:38 +00:00
Matevz Jekovec
a8209bfd68
Added support for C++0x rvalue and move semantics.
...
Added testcase.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-25 18:51:37 +00:00
Matevz Jekovec
29004c3fcf
Added initial support for parsing C++0x strongly typed enumerations.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-25 16:48:30 +00:00
Matevz Jekovec
fd981a58dd
Fixed bug in cpp0x testcase.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-24 08:52:35 +00:00
Matevz Jekovec
f9a385c6a6
Added testcase for cpp0x unrestricted unions.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-22 17:48:38 +00:00
Matevz Jekovec
54e6910631
Disabled alternate function syntax testcase.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-18 22:35:03 +00:00
Matevz Jekovec
e949fa3cc7
Added testcase for function objects.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-18 22:13:40 +00:00
Matevz Jekovec
523817e4ee
Added initial support for hash tables unordered_ types.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-18 21:34:53 +00:00
Matevz Jekovec
048fa12533
Added C++0x test case for the hash_tables.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-18 19:15:36 +00:00
Matevz Jekovec
03db5b4991
Added support for C++0x alternate function syntax.
...
Added testcase.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-17 11:17:01 +00:00
Matevz Jekovec
63a7f06afb
Added support for cpp0x uniform initialization.
...
Added testcases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-17 10:21:25 +00:00
Matevz Jekovec
9fe598cd97
Fixed cpp0x_raw_string_literals.i test case.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-15 21:03:04 +00:00
Matevz Jekovec
55268bbc2d
Added testcase for shared_ptr, unique_ptr and weak_ptr.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-14 12:26:26 +00:00
Matevz Jekovec
74d8325cdf
Added keyword 'thread_local' to Swig.
...
Added testcase.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-14 12:05:05 +00:00
Matevz Jekovec
31436be60f
Added test case.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-11 20:14:35 +00:00
Matevz Jekovec
e1b5d43cd8
Added C++0x support for 'extern' explicit template instantiation without the translation unit.
...
Added test cases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-11 20:13:36 +00:00
Matevz Jekovec
72708ea173
Added support for C++0x static_assert().
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-05 14:33:40 +00:00
Matevz Jekovec
ee8bebb668
Added support for custom string delimiters.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-28 19:35:05 +00:00
Matevz Jekovec
0f2786aa54
Added support for unicode strings and fixed support for wstrings.
...
Added test case cpp0x_raw_string_literals.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-28 14:51:10 +00:00
Matevz Jekovec
4946748164
Added test case for explicit conversion operators.
...
Some cosmetic fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-26 22:23:07 +00:00
Matevz Jekovec
d8012716ed
Added constexpr keywords and CONSTEXPR terminal to Swig parser.
...
Added cpp0x_constexpr.i testcase.
Fixed compilation bug of cpp0x_template_double_brackets.i testcase.
Removed obsolete cpp0x_template_double_brackets_broken.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-26 21:48:48 +00:00
Matevz Jekovec
5fd3ccae18
Introduced new CXXFLAGS symbol for the compilation of test suite.
...
Added -std=c++0x to g++ compiler to enable compilation of the new C++0x tests.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-26 20:24:22 +00:00
Matevz Jekovec
1af6d8a1b0
Renamed template_double_brackets -> cpp0x_template_double_brackets.
...
Added CPP0X_TEST_CASES and CPP0X_TEST_BROKEN in common.mk.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-06 16:25:24 +00:00
Matevz Jekovec
2b4b1cc157
Added support for template double brackets for C++0x.
...
Added test cases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-04 23:25:39 +00:00
William S Fulton
69890f4957
add missing file omitted in earlier commit
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-27 22:55:14 +00:00
William S Fulton
096aaddfcf
add test for $descriptor() macro
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-27 22:04:19 +00:00
William S Fulton
25bcb4d5e6
std::map C# improvements
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-26 17:08:53 +00:00
William S Fulton
7841adc675
Add std::vector copy constructor to proxy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-26 06:23:39 +00:00
William S Fulton
f3a70a1a03
Improve C# std::map tests to do the bulk of the testing on a map where the key and value types are different
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-22 06:53:20 +00:00
William S Fulton
30335a0198
std::map improvements based on patch from Yuval Baror
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-22 06:10:52 +00:00
Olly Betts
d2c38bb569
Snip nonsensical comment left over from cut and paste from other examples.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-19 11:54:40 +00:00
William S Fulton
267ffd6ce6
move std::multimap tests from li_std_map.i into new li_std_multimap.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-12 17:24:01 +00:00
William S Fulton
083d106bc4
Add test for notderived attribute in csbase/javabase typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-01 06:26:42 +00:00
William S Fulton
410f7d5913
remove executable bits
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-01 06:21:56 +00:00
William S Fulton
90b1578d65
add test for optimal attribute in out typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-04-30 06:12:32 +00:00
William S Fulton
bd46f03b6f
Fix #2746858 - C macro expression using floating point numbers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-04-09 17:51:59 +00:00
Olly Betts
64843143f1
The default out typemap for char[ANY] now returns up to a zero byte, or the end
...
of the array if there is no zero byte. This is the same as Python does, and seems
more generally useful than the previous behaviour of returning the whole
contents of the array including any zero bytes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11176 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-30 02:22:14 +00:00
Olly Betts
c05ddc9d14
check::equal() now reports the values if they aren't equal.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-30 02:01:12 +00:00
Olly Betts
ed4d6ddec1
Some distros (e.g. frugalware) build PHP with --enable-safe-mode, so as we need
...
to explicitly disable it to avoid the testsuite failing with:
Warning: dl(): Dynamically loaded extensions aren't allowed when running in Safe Mode
Patch from Miklos Vajna.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-29 23:38:19 +00:00
William S Fulton
48203afbd0
invoke using swig.exe instead of just swig in Visual Studio project files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-20 23:54:43 +00:00
William S Fulton
65f79a952c
Apply small documentation fix - patch #2579863
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-20 23:40:39 +00:00
Haoyu Bai
0c5979a8d8
Fix problem caused by thread not properly terminated in director_thread test. This was cause crash in Python 3
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-19 16:56:01 +00:00
William S Fulton
6975ecd65c
std::vector<T> wrapper improvements for .NET 2 implementing IEnumerable<T>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-18 23:30:57 +00:00
Haoyu Bai
caa6f2b9fa
Fixes to support Python 3.0.1 and higher.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-02 17:56:29 +00:00
William S Fulton
1f69806cbb
Fix seg fault wrapping some constant variable (%constant) types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-21 00:56:41 +00:00