Commit graph

14,187 commits

Author SHA1 Message Date
William S Fulton
30afaae7df Add new GPL license headers to all source files in this branch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 12:06:22 +00:00
William S Fulton
7f53260203 merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 00:51:54 +00:00
William S Fulton
fc6c84554b Grammar and formatting improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-20 00:26:26 +00:00
Matevz Jekovec
8be21781e7 Added developer documentation for C++0x.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 15:35:09 +00:00
Matevz Jekovec
c9fcb01943 Fixed testcase warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 15:27:48 +00:00
Matevz Jekovec
67b4ad7084 Documented C++0x testcases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11623 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 14:42:34 +00:00
Matevz Jekovec
b8198a51bb Updated C++0x User's manual.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11622 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-17 14:17:42 +00:00
Matevz Jekovec
52149e219d Removed decr-- Hash tables feature.
Added some comments.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 16:15:36 +00:00
Matevz Jekovec
a3e59636ce Added draft user documentation for the C++0x.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 16:14:48 +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
Matevz Jekovec
e2e9b04b3d Added initial support for C++0x decltype().
Added testcase cpp0x_decltype.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-10 10:46:07 +00:00
Matevz Jekovec
8a4efbc6d3 Added support for user-defined string literals.
Added testcase cpp0x_userdefined_literals.i


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-04 00:51:21 +00:00
Matevz Jekovec
c2f9904abe Fixed compilation error.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-03 15:42:54 +00:00
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
1993f92624 Fixed variadic template argument warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-01 22:31:38 +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
94e94dce02 Added partial support for unordered_ STL types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-25 19:14:17 +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
3e0fc9f7b9 minor format improvment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-29 17:44:20 +00:00