summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* freshen perl5 examplestalby-perl5-improvementsRobert Stone2013-10-202-20/+24
|
* Merge branch 'master' into talby-perl5-improvementsRobert Stone2013-10-20144-445/+6306
|\
| * Fix some gcc -Wall unused warnings in the Ruby wrappersWilliam S Fulton2013-10-182-3/+1
| | | | | | | | Fixes SF bug 1333.
| * Fix gcc -Waddress warning in variables examplesWilliam S Fulton2013-10-1811-11/+11
| |
| * Fix unused variable warning in Ruby wrappers when using gcc -WallWilliam S Fulton2013-10-181-1/+1
| |
| * Fix Visual Studio compile error in C++ wrappers due to #include <exception> ↵William S Fulton2013-10-172-1/+5
| | | | | | | | | | | | within extern "C" block. Fixes SF #1340
| * Add missing #include <stddef.h> for offsetof when using -builtin.William S Fulton2013-10-172-0/+7
| | | | | | | | Fixes SF #1345
| * T_STRING is now const char * instead of char *William S Fulton2013-10-172-1/+2
| | | | | | | | Fixes Guile constant wrappers removing -Wwrite-strings g++ warning.
| * Add support for case conversion characters in regex substitutions.Vadim Zeitlin2013-10-157-21/+108
| | | | | | | | | | | | | | | | Allow using Perl-like \l, \L, \u, \U and \E escape sequences in the substitution string used with %rename("%(regex:/pattern/subst/)s"). This is useful for e.g. title casing all string after removing some prefix. Closes #82
| * Add change note for missing Lua return statementsWilliam S Fulton2013-10-121-1/+5
| |
| * Lua: Fix void return for non-void functionsAtri2013-10-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit #c3f3880d caused the functions SWIGINTERN int SWIG_Lua_add_namespace_details(lua_State* L, swig_lua_namespace* ns) and SWIGINTERN int SWIG_Lua_namespace_register(lua_State* L, swig_lua_namespace* ns) to return void when int returns were expected resulting in the build failures for plplot's lua bindings for example. This commit fixes the issue. Closes #92
| * changes note for superclass not lispifyWilliam S Fulton2013-10-121-0/+3
| |
| * BUGFIX: superclass name not lispyNikhil Shetty2013-10-121-1/+1
| | | | | | | | | | | | | | The superclass names were not lispified correctly and so the class was inheriting from erroneous class symbols. Closes #96.
| * Add C++11 to changes fileWilliam S Fulton2013-10-121-0/+5
| |
| * Merge branch 'gsoc2009-matevz' into master - C++11 supportWilliam S Fulton2013-10-11118-388/+6054
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gsoc2009-matevz: Minor cleanup prior to merging to master Add gsoc2009-matevz for Travis testing C++11 testing moved to a configure option Rename all C++0x to C++11 and cpp0x to cpp11 Grab .travis.yml file from master to turn on Travis testing Suppress leaking memory warnings in rvalue reference tests Add support for extern "C++" - no warning should be issued as was previously occurring Add support for extern "C" thread_local Fixes detecting if a variable is extern when using 'extern thread_local' Add support for thread_local when specified with other legitimate storage class specifiers - extern and static Remove test tokens User defined literals: fix for %rename and update docs Add ability to suppress variadic template first argumnet warning Add template aliasing and type aliasing into symbol table and enable explicit warning suppression for these. They still need to be added into the parse tree and dealt with. Add lambda functions to the symbol tables and add ability to suppress lambda warnings. Rework std::initializer_list handling to warn about usage in any method, not just constructors. A typemap is used to issue the warning and can be overridden with user defined behaviour. Initialization list doc updates and new tests. Fix functions with default arguments that are initializer lists Better clarification about polymorphic wrappers for function objects - std::function Remove generated output that should not be checked in2 Fix shift/shift and shift/reduce errors around variadic templates since merge Variadic templates doc update Add rvalue reference typemaps Add rvalue reference typemaps Add rvalue reference typemaps Add rvalue reference typemaps Add rvalue reference typemaps Add rvalue reference typemaps Add rvalue reference typemaps Add rvalue reference typemaps Use CXXFLAGS for c++ code for Go examples Add missing static member to testcase More rvalue reference typemaps 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) Remove recently added %expect in parser in case of backward compatibility problems Cosmetic changes to previous (unicode literals) commit Fixes to previous (unicode literals) commit Unicode literals Add check-cpp11 target for testing c++11 only tests Improve detection of C++11 compiler and set appropriate flags to use C++11/C++0x features Modify autoconf macro to be more flexible about how it is used - sets CXX11FLAGS, HAVE_CXX11_COMPILER and option to not error out Autoconf archive macro to detect c++11 - as downloaded from archive Update variadic templates result_of not working Add lambda tests to test-suite - gcc-4.7 supports these One more lambda test using constexpr More lambda support - for optional lambda declarators Add in support for initialising auto variables from lambda expressions Lambda expressions: parse exception specification in lambda functions. Fix lambda testcase for gcc-4.7. Delegating constructors and inheriting constructors clarification and split of tests gcc-4.7 now supports alias templates Update on C++11 user-defined literal status Fix unrestricted unions testcase and add runtime example Minor doc tweaks for unrestricted unions Some updates to c++11 warning messages and update docs on alias templates Provide unique c++11 warnings which were previously hijacking another warning Tidy up test and docs on template double brackets Better clarify C++11 smart pointer support Update c++0x tests run by default for g++-4.6 Improve nullptr constant wrapping Add scoped enums into correct correct scope in type system. Note that cpp0x_strongly_typed_enumerations.i still shows further language symbol table problems which need fixing. Using C++11 enum classes with just a forward reference. Add support for c++11 strongly typed enums inheriting from non standard primitive types Fix parsing of forward declaration of C++0x enums html fixes sort out c++0x lambda tests and reorder cpp0x tests 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. simple formatting changes Warning suppression for explicit template instantiations Raw string literal changes in paper N3077 changes delimiters to use round brackets instead of square brackets add in more raw string literals for gcc-4.5 typo fix minor warning message changes Add new GPL license headers to all source files in this branch merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes Grammar and formatting improvements Added developer documentation for C++0x. Fixed testcase warnings. Documented C++0x testcases. Updated C++0x User's manual. Removed decr-- Hash tables feature. Added some comments. Added draft user documentation for the C++0x. Added warning for initializer_list introduced in C++0x. Added testcase cpp0x_initializer_list. Fixed cpp0x_result_of testcase. Added testcase cpp0x_sizeof_object. Added testcase for default/delete arguments introduced in C++0x. Added cpp0x_result_of testcase. Added syntax support for template aliasing and new 'using' syntax for typedefs introduced in C++0x. Added testcase cpp0x_template_typedefs. Added testcase cpp0x_constructors for delegating constructors and constructor inheritance. Added initial support for C++0x decltype(). Added testcase cpp0x_decltype. Added support for user-defined string literals. Added testcase cpp0x_userdefined_literals.i Fixed compilation error. Added syntax for lambda expressions and closures introduced in C++0x. Added testcase cpp0x_lambda_functions.i. Fixed variadic template argument warning. Enabled support for variadic %template directive. Enabled alternate function syntax and added runtime testcases. Added support for null pointer constant introduced in C++0x. Fixed S/R and R/R conflicts. Fixed testcase for rvalue reference. Added variadic '...' syntax for inheritance introduced in C++0x. Added sizeof... syntax introduced in C++0x. Added initial support for variadic templates. Added partial support for unordered_ STL types. Added support for C++0x rvalue and move semantics. Added testcase. Added initial support for parsing C++0x strongly typed enumerations. Fixed bug in cpp0x testcase. Added testcase for cpp0x unrestricted unions. Disabled alternate function syntax testcase. Added testcase for function objects. Added initial support for hash tables unordered_ types. Added C++0x test case for the hash_tables. Added support for C++0x alternate function syntax. Added testcase. Added support for cpp0x uniform initialization. Added testcases. Fixed cpp0x_raw_string_literals.i test case. Added testcase for shared_ptr, unique_ptr and weak_ptr. Added keyword 'thread_local' to Swig. Added testcase. Added test case. Added C++0x support for 'extern' explicit template instantiation without the translation unit. Added test cases. Added support for C++0x static_assert(). Added support for custom string delimiters. Added support for unicode strings and fixed support for wstrings. Added test case cpp0x_raw_string_literals.i. Added test case for explicit conversion operators. Some cosmetic fixes. 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. 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. Renamed template_double_brackets -> cpp0x_template_double_brackets. Added CPP0X_TEST_CASES and CPP0X_TEST_BROKEN in common.mk. Added support for template double brackets for C++0x. Added test cases.
| | * Minor cleanup prior to merging to masterWilliam S Fulton2013-10-114-43/+1
| | |
| | * Add gsoc2009-matevz for Travis testingWilliam S Fulton2013-10-101-0/+1
| | |
| | * Merge branch 'master' into gsoc2009-matevzWilliam S Fulton2013-10-10585-12927/+9496
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Examples/Makefile.in Examples/guile/Makefile.in Lib/php/php.swg Makefile.in Source/CParse/parser.y configure.ac
| | * | C++11 testing moved to a configure optionWilliam S Fulton2013-10-083-12/+25
| | | | | | | | | | | | | | | | | | | | Use './configure --enable-cpp11-testing' to enable the C++11 test. Off by default for now.
| | * | Rename all C++0x to C++11 and cpp0x to cpp11William S Fulton2013-10-0752-309/+309
| | | |
| | * | Grab .travis.yml file from master to turn on Travis testingWilliam S Fulton2013-09-201-0/+58
| | | |
| | * | Suppress leaking memory warnings in rvalue reference testsWilliam S Fulton2013-02-082-0/+4
| | | |
| | * | Add support for extern "C++" - no warning should be issued as was previously ↵William S Fulton2013-02-085-2/+16
| | | | | | | | | | | | | | | | occurring
| | * | Add support for extern "C" thread_localWilliam S Fulton2013-02-088-6/+36
| | | |
| | * | Fixes detecting if a variable is extern when using 'extern thread_local'William S Fulton2013-02-085-17/+18
| | | |
| | * | Add support for thread_local when specified with other legitimate storage ↵William S Fulton2013-02-0815-24/+145
| | | | | | | | | | | | | | | | class specifiers - extern and static
| | * | Remove test tokensWilliam S Fulton2013-02-081-1/+0
| | | |
| | * | User defined literals: fix for %rename and update docsWilliam S Fulton2013-02-083-5/+53
| | | |
| | * | Add ability to suppress variadic template first argumnet warningWilliam S Fulton2013-02-051-0/+2
| | | |
| | * | Add template aliasing and type aliasing into symbol table and enable ↵William S Fulton2013-02-042-2/+26
| | | | | | | | | | | | | | | | explicit warning suppression for these. They still need to be added into the parse tree and dealt with.
| | * | Add lambda functions to the symbol tables and add ability to suppress lambda ↵William S Fulton2013-02-047-7/+64
| | | | | | | | | | | | | | | | warnings.
| | * | Rework std::initializer_list handling to warn about usage in any method, not ↵William S Fulton2013-02-0410-134/+259
| | | | | | | | | | | | | | | | just constructors. A typemap is used to issue the warning and can be overridden with user defined behaviour.
| | * | Initialization list doc updates and new tests. Fix functions with default ↵William S Fulton2013-02-026-14/+96
| | | | | | | | | | | | | | | | arguments that are initializer lists
| | * | Better clarification about polymorphic wrappers for function objects - ↵William S Fulton2013-02-013-13/+48
| | | | | | | | | | | | | | | | std::function
| | * | Remove generated output that should not be checked in2William S Fulton2013-01-281-4046/+0
| | | |
| | * | Fix shift/shift and shift/reduce errors around variadic templates since mergeWilliam S Fulton2013-01-281-27/+21
| | | |
| | * | Merge branch 'master' into gsoc2009-matevzWilliam S Fulton2013-01-281074-20093/+54298
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | Variadic templates doc updateWilliam S Fulton2013-01-241-8/+12
| | | | |
| | * | | Add rvalue reference typemapsWilliam S Fulton2013-01-246-6/+127
| | | | |
| | * | | Add rvalue reference typemapsWilliam S Fulton2013-01-243-7/+25
| | | | |
| | * | | Add rvalue reference typemapsWilliam S Fulton2013-01-242-1/+37
| | | | |
| | * | | Add rvalue reference typemapsWilliam S Fulton2013-01-242-2/+25
| | | | |
| | * | | Add rvalue reference typemapsWilliam S Fulton2013-01-246-26/+84
| | | | |
| | * | | Add rvalue reference typemapsWilliam S Fulton2013-01-241-10/+41
| | | | |
| | * | | Add rvalue reference typemapsWilliam S Fulton2013-01-241-1/+17
| | | | |
| | * | | Add rvalue reference typemapsWilliam S Fulton2013-01-241-9/+34
| | | | |
| | * | | Use CXXFLAGS for c++ code for Go examplesWilliam S Fulton2013-01-241-2/+2
| | | | |
| | * | | Add missing static member to testcaseWilliam S Fulton2013-01-241-1/+2
| | | | |
| | * | | More rvalue reference typemapsWilliam S Fulton2013-01-241-1/+11
| | | | |
| | * | | Fix generated code for rvalue references by converting functions returning ↵William S Fulton2013-01-243-1/+76
| | | | | | | | | | | | | | | | | | | | 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)