Commit graph

  • e38883636e
    Merge pull request #1 from medooze/master Sergio Garcia Murillo 2021-11-29 16:13:00 +01:00
  • 975a36d5a5
    Merge branch 'fix-cast' into master Sergio Garcia Murillo 2021-11-29 16:12:38 +01:00
  • 56e7455af9 Return uint64_t as double if is bigger than uint32_t Sergio Garcia Murillo 2021-11-29 16:08:03 +01:00
  • 6fb95e7e97 Fix wording of another error message Vadim Zeitlin 2021-11-29 15:45:38 +01:00
  • 4a3f4ba896 Improve error given for unsupported typemap in C++ wrappers Vadim Zeitlin 2021-11-29 15:33:53 +01:00
  • 9a974040fa Fix naming scoped enums elements in C++ wrappers Vadim Zeitlin 2021-11-27 18:48:12 +01:00
  • 059f615a61 Generate C++ wrapper enums for nested enums too Vadim Zeitlin 2021-11-27 16:25:29 +01:00
  • 8643dcf426 Generate C++ enum wrappers Vadim Zeitlin 2021-11-27 16:22:20 +01:00
  • e8cb7cc952 Simplify code dealing with enum prefix Vadim Zeitlin 2021-11-27 18:47:19 +01:00
  • 30bbb6ae1c Slightly simplify code in enumDeclaration() Vadim Zeitlin 2021-11-27 16:02:14 +01:00
  • 1087e250d6 Fix long-standing confusion between Files and Strings Vadim Zeitlin 2021-11-27 15:48:02 +01:00
  • c02738270b Rename cxx_wrappers::f_fwd_decls to f_types Vadim Zeitlin 2021-11-27 15:40:47 +01:00
  • 55dc976b9f Use "noexcept for internal ctor and special move operators Vadim Zeitlin 2021-11-27 15:35:39 +01:00
  • 0304bdb82b GHA: Add testing of node 17 William S Fulton 2021-11-27 13:26:15 +00:00
  • 6a56426f8f Use JSC version available in Ubuntu 20.04 in the CI builds Vadim Zeitlin 2021-11-02 19:42:11 +01:00
  • aa0df5faa0 Make swig_check() inline as it should have always been Vadim Zeitlin 2021-11-27 01:03:12 +01:00
  • c3b262c2f7 Merge branch 'master' into C Vadim Zeitlin 2021-11-26 20:32:36 +01:00
  • 38b76bb7c6 Make global SWIG_CException::PendingException thread-local Vadim Zeitlin 2021-11-26 19:03:46 +01:00
  • c7fa9126ce Use a unique prefix for SWIG_CException_Raise() Vadim Zeitlin 2021-11-26 02:34:09 +01:00
  • 9dd1301ec4 Improve the fix for exceptions support with multiple modules Vadim Zeitlin 2021-11-26 01:56:29 +01:00
  • 727a65c0e8 Fix using exception in modules importing other modules Vadim Zeitlin 2021-11-25 21:14:56 +01:00
  • 9a8ebbb998 Throw SWIG_CException from C++ wrappers automatically Vadim Zeitlin 2021-11-25 01:43:25 +01:00
  • 52f8412a46 Simplify importDirective() code Vadim Zeitlin 2021-11-26 01:15:22 +01:00
  • 17fbb0a528 Include required headers for %imported modules Vadim Zeitlin 2021-11-25 02:50:37 +01:00
  • f7f59f4648 Rename module_prefix to just module_name Vadim Zeitlin 2021-11-26 01:04:40 +01:00
  • 43c7aefeb1 Don't leak namespace prefix variable Vadim Zeitlin 2021-11-26 01:01:36 +01:00
  • f42b0eaa71 Use different executable names for C and C++ examples Vadim Zeitlin 2021-11-25 01:55:46 +01:00
  • d2546e23ff Don't use exception specification with C++ compiler in example Vadim Zeitlin 2021-11-24 20:16:42 +01:00
  • a39c2695f2
    Merge pull request #2100 from rex4539/typos William S Fulton 2021-11-24 18:41:26 +00:00
  • 43276f22a7 Enable testing some C++ wrappers code in the test suite Vadim Zeitlin 2021-11-21 22:25:46 +01:00
  • adb96f8b7a Always pass wrapper objects by const reference in C++ wrappers Vadim Zeitlin 2021-11-24 02:14:38 +01:00
  • 3f3438093d Define move ctor and assignment operator for C++ wrappers Vadim Zeitlin 2021-11-24 02:06:08 +01:00
  • 79e9d43c1b Disable broken default-generated copy ctor in C++ wrappers Vadim Zeitlin 2021-11-24 02:04:10 +01:00
  • 03c6099ac1 Define "classname" in cxx_class_wrapper dtor too Vadim Zeitlin 2021-11-24 02:03:25 +01:00
  • 8d1fbbacb3 Use correct base class C proxy name even if it's not set yet Vadim Zeitlin 2021-11-23 23:51:49 +01:00
  • b0c9991164 Separate forward declarations and implementations of C++ wrappers Vadim Zeitlin 2021-11-23 20:24:20 +01:00
  • a13da1f8a9 Refactor code to use cxx_wrappers struct Vadim Zeitlin 2021-11-23 19:32:40 +01:00
  • a980c036d6 Fix $typemap expansion for C++ wrappers Vadim Zeitlin 2021-11-23 01:24:36 +01:00
  • e78f5dac45 Add temp_ptr_setter and use it with cxx_class_wrapper Vadim Zeitlin 2021-11-22 21:53:35 +01:00
  • 7c6fb542d3 Convert li_boost_shared_ptr runtime test to C++ from C Vadim Zeitlin 2021-11-21 21:27:59 +01:00
  • c434b867d7 Strip namespaces from parameter types Vadim Zeitlin 2021-11-21 18:00:13 +01:00
  • 036e3eb08c Correctly skip ignored base classes in C++ wrappers Vadim Zeitlin 2021-11-21 01:44:33 +01:00
  • 0483e4017c Start adding C++ wrappers generation Vadim Zeitlin 2021-11-16 23:36:02 +01:00
  • 606c1c6ea0 Make sure gcc gives error for passing scoped_dohptr to Printv() Vadim Zeitlin 2021-11-21 01:54:02 +01:00
  • 7cbbfab198 Show using C++ wrapper API for the "class" example Vadim Zeitlin 2021-11-18 23:56:39 +01:00
  • 55d7db6b27 Get rid of an unnecessary intermediate string Vadim Zeitlin 2021-11-10 19:35:42 +01:00
  • 8d1faa5b3b Rename various files used in C backend code Vadim Zeitlin 2021-11-10 19:15:52 +01:00
  • 2454efb989 Use Dump() instead of Wrapper_pretty_print() Vadim Zeitlin 2021-11-10 18:53:28 +01:00
  • afc02cbc01 Remove unused f_wrappers_cxx Vadim Zeitlin 2021-11-10 18:52:54 +01:00
  • 2ab549611b Syntax check generated headers using both C and C++ compilers Vadim Zeitlin 2021-11-10 17:38:20 +01:00
  • 0f734e1164 Don't generate empty enum declarations Vadim Zeitlin 2021-11-10 17:30:26 +01:00
  • e7fa72fc06 Don't generate invalid forward enum declarations Vadim Zeitlin 2021-11-10 17:13:43 +01:00
  • 3765a08743 Allow having C++ test cases for C backend Vadim Zeitlin 2021-11-10 15:21:59 +01:00
  • 3354345255 GHA: switch ocaml testing to ubuntu-18.04 William S Fulton 2021-11-17 22:27:00 +00:00
  • 9f8e9109be Update CI system wrt experimental languages William S Fulton 2021-11-17 22:18:06 +00:00
  • 07f18bef36 GHA: Test experimental languages - mzscheme and ocaml William S Fulton 2021-11-17 21:23:59 +00:00
  • f586d920f7
    Fix typos Dimitris Apostolou 2021-11-13 21:23:08 +02:00
  • ac9f819f6e Don't run appveyor when modifying Github Actions CI files William S Fulton 2021-11-16 19:45:20 +00:00
  • 0ec35cf24e GHA: Test Scilab 6.0 on ubuntu-18.04 William S Fulton 2021-11-16 19:43:24 +00:00
  • dbab08ec21 Scilab testing: don't hang on error William S Fulton 2021-11-16 08:26:14 +00:00
  • 9f5ad6debd Scilab JAVA_HOME environment fix William S Fulton 2021-11-15 23:24:07 +00:00
  • 2582e3fc75 GHA: Add in Scilab testing William S Fulton 2021-11-15 23:00:28 +00:00
  • 63733a3b5c Short struct name in cpp11_final_override for Scilab William S Fulton 2021-11-15 22:56:29 +00:00
  • 99954d6d4e Shorten testcase variable names for Scilab 6 to work William S Fulton 2021-11-15 22:45:56 +00:00
  • b53b2f1a27 Shorter names in cpp11_rvalue_reference3 testcase for Scilab William S Fulton 2021-11-15 22:13:27 +00:00
  • 606491326e Scilab compilation fix when wrapping C++11 enum classes William S Fulton 2021-11-15 20:19:12 +00:00
  • 75cacc1325 CC and CXX override improvements in examples William S Fulton 2021-11-15 19:55:26 +00:00
  • e6b6fa93aa Fix guile examples for C11 and later conformance William S Fulton 2021-11-15 19:25:41 +00:00
  • 47d39ed3d8 GHA: Add Guile to c++11,c++14,c++17 testing William S Fulton 2021-11-15 08:17:32 +00:00
  • 54e2ad073f Fix cpp11_type_aliasing test William S Fulton 2021-11-15 08:00:46 +00:00
  • c83466af53 GHA: Add Lua to c++11,c++14,c++17 testing William S Fulton 2021-11-12 19:49:45 +00:00
  • 10af8fd921 Workaround Lua failing cpp11_raw_string_literals test William S Fulton 2021-11-12 19:45:25 +00:00
  • 01eb2e0aa9 Lua int ref typemap improvements William S Fulton 2021-11-12 19:30:53 +00:00
  • 842ed6ca9d Testcase warning fix using gcc-11 William S Fulton 2021-11-12 18:13:41 +00:00
  • ada739b4a8 Fix mismatched new char[] and free() - Javascript William S Fulton 2021-11-12 09:09:14 +00:00
  • 6cafc93135 -Wfree-nonheap-object warning fix using gcc-11 William S Fulton 2021-11-12 08:03:33 +00:00
  • d15a3cb1d4 Fix testcase -Wstringop-truncation warning in gcc11 William S Fulton 2021-11-11 23:02:53 +00:00
  • 7da8ce722b Ruby 3.0 requires std::nullptr_t William S Fulton 2021-11-11 22:51:31 +00:00
  • aedcad5384 Run GHA on all branches William S Fulton 2021-11-11 22:03:38 +00:00
  • c1d8852609 GHA: Turn on full c++11, c++14, c++17 testing William S Fulton 2021-11-11 21:08:46 +00:00
  • d13c63dc8d GHA: test go 1.17 (latest) version William S Fulton 2021-11-11 20:38:50 +00:00
  • e74b9830bb GHA: C++11 testing and compiler name William S Fulton 2021-11-11 20:32:54 +00:00
  • b69b5888a8 GHA: Fix testing of php versions William S Fulton 2021-11-11 20:13:13 +00:00
  • 95c76a6fa6 Simpler Test code for handling SWIGLANG William S Fulton 2021-11-10 14:10:52 +00:00
  • 1bd3e771a0 Fix C tests for Javascript and c++17 William S Fulton 2021-10-23 16:11:59 +01:00
  • 1c34be2d24 Fix nspace warning message William S Fulton 2021-11-01 19:24:07 +00:00
  • 5219338160 Fix previously unused access_change unit test runme file Vadim Zeitlin 2021-11-10 02:17:07 +01:00
  • e8f9bdba80 Remove wrapper aliases generation and use -namespace in the tests Vadim Zeitlin 2021-11-07 01:34:29 +01:00
  • 3ebf1c1769 Remove redundant cpp_basic_xxx tests Vadim Zeitlin 2021-11-06 21:26:23 +01:00
  • 11bd97653f Inline functions used only once in functionWrapperCPPSpecific() Vadim Zeitlin 2021-11-06 20:48:22 +01:00
  • 2f4a09fb21 Avoid calling getFunctionWrapperName() twice for each function Vadim Zeitlin 2021-11-06 20:43:33 +01:00
  • fbf976768a Get rid of "c:globalfun" attribute Vadim Zeitlin 2021-11-03 16:38:02 +01:00
  • 8594a8def6 Use SWIG-specific suffix for non-overloaded %extend functions too Vadim Zeitlin 2021-11-09 23:33:31 +01:00
  • 70309fcb0a Refactor code in Language::staticmemberfunctionHandler() Vadim Zeitlin 2021-11-09 23:20:31 +01:00
  • 6833ead6ed Add -namespace option to use unique prefix for all wrappers Vadim Zeitlin 2021-10-31 00:38:57 +02:00
  • 54af856d09 Fix typemaps for arrays of objects and object pointers Vadim Zeitlin 2021-11-10 00:50:33 +01:00
  • 5bf1497d7b Allow customizing type mangling in SWIG preprocessor Vadim Zeitlin 2021-11-10 00:30:22 +01:00
  • 26bf86322b Use SWIG-specific for non-overloaded synthesized functions too Vadim Zeitlin 2021-11-09 23:33:31 +01:00
  • 119222be77 Refactor code in Language::staticmemberfunctionHandler() Vadim Zeitlin 2021-11-09 23:20:31 +01:00
  • cda93bd903 Fix enum value translation Vadim Zeitlin 2021-11-07 02:27:37 +01:00