Commit graph

4,443 commits

Author SHA1 Message Date
William S Fulton
382b3f0f8c Merge branch 'tamuratak-fix_typo_ruby_unordered_map'
* tamuratak-fix_typo_ruby_unordered_map:
  [ruby] add a test to make sure that std::multiset is including Enumerable.
  [ruyb] enable std::list test for Ruby.
  [ruby] make std::list include Enumerable.
  [ruby] make std::multiset and std::unordered_multiset include Enumerable. tests added.
  [ruby] make std::unordered_map include Enumerable.
2017-03-29 08:56:25 +01:00
William S Fulton
3797eaac89 Merge branch 'tamuratak-fix_ruby_bool'
* tamuratak-fix_ruby_bool:
  [ruby] must not do null check for VALUE obj, which can be 0x0 == Qfalse, a valid Ruby object.
2017-03-24 20:06:03 +00:00
William S Fulton
c40131d321 Setup list of failing Ocaml tests
This makes the test-suite show as passed for the remaining tests
2017-03-23 19:11:20 +00:00
Olly Betts
2c910e47ae Correct <string> back to <string.h>
Erroneously changed in 760c008311.
2017-03-22 15:37:04 +13:00
William S Fulton
cf1fb6ca16 Fixes for make partialcheck-ocaml-test-suite 2017-03-20 19:30:46 +00:00
William S Fulton
a4393e2103 Remove unnecessary file check in Ocaml Makefile
First of two fixes for 'make partialcheck-ocaml-test-suite'
2017-03-20 19:30:10 +00:00
William S Fulton
5104c40d9a Ocaml Makefile cosmetic style fixes 2017-03-20 19:28:53 +00:00
William S Fulton
8aa066a1b5 Fix Makefile not erroring 2017-03-20 18:47:31 +00:00
William S Fulton
dcc5911839 Fix handling of typedef'd function pointers for Go
Add equivalent runtime tests for Python and Java
2017-03-17 07:49:21 +00:00
William S Fulton
72ba741d1c Fix wrapping of references/pointers and qualifiers to member pointers
Also fix Go wrapping of member const function pointers.
2017-03-16 21:04:38 +00:00
William S Fulton
cf7d53599c Remove problematic member function pointer tests from Go
Go module needs fixing
2017-03-11 15:05:16 +00:00
William S Fulton
858acf69e4 Add missing function bodies to testcase 2017-03-11 12:43:54 +00:00
William S Fulton
73a5d6c187 Fix testcase 2017-03-11 10:01:11 +00:00
William S Fulton
f9fbaa5cb8 Another C++11 alternate function syntax test 2017-03-10 23:48:32 +00:00
William S Fulton
b851e45e0a Fix seg fault for global declarations declared erroneously without a name 2017-03-10 23:25:31 +00:00
William S Fulton
4f235027f4 Improved member function pointer parsing
Add support for parsing member function pointers with qualifiers,
references and pointers, eg

short (Funcs::* const parm)(bool)
2017-03-10 23:25:31 +00:00
William S Fulton
8e86aaf2c3 Add one more alternate function test
Checking member function pointer parameters
2017-03-10 23:25:31 +00:00
William S Fulton
0ccef1424a C++11 alternate syntax for function declarations improvements
Functions can now be declared const/noexcept/final etc
2017-03-10 23:25:31 +00:00
William S Fulton
2a5068bcf2 Add some tests for typedef to member function pointers 2017-03-10 23:25:31 +00:00
William S Fulton
fc638814ae Add support for unnamed parameters: member const function pointers 2017-03-10 23:25:31 +00:00
William S Fulton
5aff26fcb5 Add support for parsing and wrapping member const function pointers 2017-03-10 23:25:31 +00:00
William S Fulton
67edda3bf5 Remove unused cvsignore target 2017-03-10 23:25:31 +00:00
Takashi Tamura
d0af6fd97d [ruby] must not do null check for VALUE obj, which can be 0x0 == Qfalse, a valid Ruby object. 2017-03-06 15:13:05 +09:00
Asen Alexandrov
a6e9c087d8 [Issue 905] Add recognition for throw (.+) final|override in parser.y
PROBLEM:
 There is a small ommission in parser.y, which will lead
 to syntax errors in cases when non-empty throw declaration is
 followed by `override`, `final` or both. E.g. in cases like:

       void finalOverriden() throw(std::exception) final override;

SOLUTION:
 - Add a `THROW LPAREN parms RPAREN virt_specifier_seq` to
   exception_specification in Source/CParse/parser.y
 - Add several methods in test-suite/cpp11_final_override.i
   to verify the fix works.
2017-02-27 10:08:23 +13:00
Takashi Tamura
a02b7810bc [ruby] add a test to make sure that std::multiset is including Enumerable. 2017-02-26 22:12:39 +09:00
Takashi Tamura
b525848063 [ruyb] enable std::list test for Ruby. 2017-02-26 07:17:33 +09:00
Takashi Tamura
c88b9e8777 [ruby] make std::list include Enumerable. 2017-02-25 16:08:21 +09:00
Takashi Tamura
9f43082786 [ruby] make std::multiset and std::unordered_multiset include Enumerable. tests added. 2017-02-24 16:59:17 +09:00
William S Fulton
de6476f321 Merge branch 'tamuratak-fix_std_unordred'
* tamuratak-fix_std_unordred:
  Move cpp11_hash_tables test to Ruby makefile until other languages work
  Cosmetic changes in C++11 std_unordered support files
  [ruby] add tests for unordered containers.
  [ruby] support for std unordered containers.
  use equal_range instead of upper_bound. unordered containers do not have the upper_bound method.
  fix a %fragment argument.
  use %std_container_methods_without_reverse_iterators
  fix Lib/std/std unordered containers
2017-02-10 19:49:10 +00:00
William S Fulton
16b583ec25 Move cpp11_hash_tables test to Ruby makefile until other languages work 2017-02-10 19:38:00 +00:00
William S Fulton
dee6b075a8 Fix seg fault parsing unterminated raw string literals 2017-02-09 22:02:20 +00:00
William S Fulton
4262fab626 Merge branch 'jcsharp-patch-1'
* jcsharp-patch-1:
  Add tests for constructing C# std::vector from various container interface types
  Replace ICollection with IEnumerable<T>
2017-02-08 20:05:32 +00:00
William S Fulton
281eec7d18 Add tests for constructing C# std::vector from various container interface types 2017-02-08 20:02:40 +00:00
William S Fulton
1730210013 Remove differences from lua example compared to Python version 2017-02-06 20:30:13 +00:00
William S Fulton
35ef98f4d0 Give same name to common example 2017-02-06 20:30:13 +00:00
William S Fulton
760c008311 Warning fixes for gcc-7
warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
2017-02-06 20:30:09 +00:00
William S Fulton
f16f7ada79 add missing test function implementation 2017-02-04 19:18:54 +00:00
Guerin
77a9907dd9 Update ocaml documentation (#885)
Update ocaml simple example documentation

Replaced python references by ocaml ones.
2017-02-01 10:46:17 +13:00
Takashi Tamura
ec9b380c0c [ruby] add tests for unordered containers. 2017-01-29 11:18:53 +09:00
William S Fulton
fbeb566014 Remove incorrect executable bit
[skip ci]
2017-01-27 23:52:02 +00:00
William S Fulton
2e18764b55 Remove shebang from non executable file
[skip ci]
2017-01-27 23:51:51 +00:00
Brian Caine
892f3592cc Redid the source and the text to check for SCM_MAJOR_VERSION >= 2 2017-01-27 19:06:33 +00:00
Brian Caine
567f944129 Doesn't run argout test if (system foreign), and in particular, bytevector->pointer doesn't exist 2017-01-27 19:06:12 +00:00
William S Fulton
1efcdd8c56 Remove error test that does warn 2017-01-26 20:34:56 +00:00
William S Fulton
a8e1862aca Remove warnings in Octave testcase 2017-01-26 20:02:37 +00:00
William S Fulton
8a4ab380a1 Java director typemaps and test tweak
- Fix java_director_typemaps test name clash ensuring parallel tests work
- Replace assert with code that is guaranteed to run
- Nicer generated code from directorargout typemap
2017-01-24 23:47:30 +00:00
William S Fulton
2abdb50f60 Merge branch 'andrey-starodubtsev-directorargout_and_java_typemaps'
* andrey-starodubtsev-directorargout_and_java_typemaps:
  WIP: #704 (java directorargout + java/typemaps.i fixes)
  WIP: #704 (java directorargout + java/typemaps.i fixes)
  WIP: #704 (java directorargout + java/typemaps.i fixes)
  WIP: #704 (java directorargout + java/typemaps.i fixes)
  WIP: #704 (java directorargout + java/typemaps.i fixes)
  a lot of memory leak (local refs) fixed
  java directorargout + java/typemaps.i fixes
2017-01-24 19:04:35 +00:00
William S Fulton
d6d7afb755 Enhance %extend to extend a class with template constructors 2017-01-24 19:01:43 +00:00
William S Fulton
481ebfab45 Enhance %extend to extend a class with static template methods 2017-01-24 19:01:43 +00:00
Andrey Starodubtsev
cdbab138a8 WIP: #704 (java directorargout + java/typemaps.i fixes)
- added virtual function with omitted arg names
2017-01-22 13:41:53 +03:00