Commit graph

  • 69b580dfb6 [php] Use SWIG_TypeCheckStruct to check types Olly Betts 2021-12-19 13:03:48 +13:00
  • a7f2c3d19b [php] Add overload_simple_runme.php Olly Betts 2021-12-18 18:45:52 +13:00
  • 7d75e3eb7e [PHP] Add new PHP 8.1 keyword Olly Betts 2021-12-18 15:30:38 +13:00
  • 6f016f3a38 TODO: Remove stale PHP entry Olly Betts 2021-12-18 15:01:04 +13:00
  • dee8b65823 [php] Always use <?php to start .php file Olly Betts 2021-12-18 14:41:06 +13:00
  • cc5395a669 [php] Add more checks to some PHP testcases Olly Betts 2021-12-18 14:38:49 +13:00
  • f04d741d1c [php] Actually implement abstract_inherit_runme.php Olly Betts 2021-12-18 14:06:36 +13:00
  • 847f0a6806 Merge branch 'php-codegen-improvements' Olly Betts 2021-12-18 12:32:22 +13:00
  • 499fb74707 Remove unused Printf parameters Olly Betts 2021-12-18 11:24:00 +13:00
  • 4672318b42 Make some generated variables static Olly Betts 2021-12-17 22:32:07 +13:00
  • cf802c63f2 Improve naming of zend_class_entry structs Olly Betts 2021-12-17 17:14:54 +13:00
  • f976927d52 Fix source code comment typo Olly Betts 2021-12-17 12:25:40 +13:00
  • 78f5404727 Improve generated object handlers Olly Betts 2021-12-17 10:11:52 +13:00
  • 5da86a1413 Make some generated functions static Olly Betts 2021-12-17 09:38:44 +13:00
  • 6253583809 Rename php_fetch_object with swig_ prefix Olly Betts 2021-12-17 09:37:00 +13:00
  • 9ffa15b307 Tweak source whitespace to match SWIG conventions Olly Betts 2021-12-15 19:40:06 +13:00
  • 6ef820acf9 [php] Simplify creating overload dispatch name Olly Betts 2021-12-15 19:30:17 +13:00
  • 7418da9e5d Fix transposed outputs in internals doc Olly Betts 2021-12-13 18:46:20 +13:00
  • fa2f9dc5da [lua] Fix maybe-uninitialized warning in generated code tytan652 2021-12-14 11:42:50 +01:00
  • 98b8578731 [php] Tidy up code which processes in typemaps Olly Betts 2021-12-13 15:55:22 +13:00
  • 4c7febfb80 Make DOH Char macro more robust Olly Betts 2021-12-13 09:33:26 +13:00
  • 94ad89284d [php] Remove redundant in typemap for bool Olly Betts 2021-12-13 09:31:11 +13:00
  • b78f0ee263 [php] Add runme for long_long testcase Olly Betts 2021-12-13 09:30:42 +13:00
  • 48bb7e0e95 Simplify PHP backend code Olly Betts 2021-12-13 09:14:13 +13:00
  • 7d70402306 Update PHP source comment Olly Betts 2021-12-13 09:07:50 +13:00
  • bf68b377e6 Remove unused code from PHP backend Olly Betts 2021-12-13 08:53:23 +13:00
  • 4467c94fe9 Fix removeNode() to really unset previousSibling Olly Betts 2021-12-10 18:34:21 +13:00
  • fd013c344a [php] Remove unused variable Olly Betts 2021-12-10 17:10:35 +13:00
  • 6a96b8d477 Disable warnings about unsupported features in C test suite Vadim Zeitlin 2021-12-09 00:50:26 +01:00
  • e15d3e17ac Allow skipping creating C++ wrappers with cxxignore feature Vadim Zeitlin 2021-12-09 00:36:09 +01:00
  • f06bba320a Make it possible to customize swig_check() definition Vadim Zeitlin 2021-12-09 00:18:05 +01:00
  • 86dbf6bcb5 Generate C++ wrappers for the global functions too Vadim Zeitlin 2021-12-07 20:49:15 +01:00
  • 1fd4c647b8 Add support for const references to pointers Vadim Zeitlin 2021-12-08 03:26:44 +01:00
  • 3d0fe23e29 Move setting parameter/return type inside do_resolve_type() Vadim Zeitlin 2021-12-08 02:59:29 +01:00
  • bec35fa0c2 Define "equivalent" typecheck typemap attribute for shared_ptr<> Vadim Zeitlin 2021-12-08 02:25:50 +01:00
  • 74e8a6e729 Reenable C++ wrappers for some of the previously failing tests Vadim Zeitlin 2021-12-08 00:35:09 +01:00
  • edff57c2ad Don't generate C++ setters and getters inline Vadim Zeitlin 2021-12-08 00:53:35 +01:00
  • c60507ef70 [php] configure: Check for php8.1 binary Olly Betts 2021-12-08 13:09:43 +13:00
  • c0c7a8dba0 [php] Fix two incorrect PHP 8 conditionals Olly Betts 2021-12-08 13:06:16 +13:00
  • cc76e3a1d7 Fix crash for classes with ignored base class Vadim Zeitlin 2021-12-08 00:14:06 +01:00
  • c5cd287ec6 Enable some C++ tests by just using a different namespace Vadim Zeitlin 2021-12-08 00:10:50 +01:00
  • 184e620151 Fix $resolvedType expansion for references to pointers Vadim Zeitlin 2021-12-07 23:33:31 +01:00
  • 26810a5f02 Fix support for "numinputs" in typemap argument in C++ wrappers Vadim Zeitlin 2021-12-07 20:47:33 +01:00
  • 57ba3a7245 Factor out C++ function generation into cxx_function_wrapper Vadim Zeitlin 2021-12-07 16:56:56 +01:00
  • 7246cfa6c6
    Merge pull request #2116 from vstinner/python311 William S Fulton 2021-12-07 20:32:31 +00:00
  • 730384834d Fix dealing with class typedefs in do_resolve_type() Vadim Zeitlin 2021-12-07 16:51:53 +01:00
  • 09f22c7453 Remove unnecessary stripped_type variable from do_resolve_type() Vadim Zeitlin 2021-12-07 16:50:57 +01:00
  • f3b0b42145 Add cxx_wrappers::is_exception_support_enabled() Vadim Zeitlin 2021-12-07 16:28:01 +01:00
  • a2bd9eec05 Don't generate C++ wrappers for functions using unsupported types Vadim Zeitlin 2021-12-07 16:19:56 +01:00
  • a40b7b6d1c Change lookup_cxx_parm_type() to return bool too Vadim Zeitlin 2021-12-07 16:16:36 +01:00
  • f4ecc3c06a Move type-resolving code to cxx_wrappers Vadim Zeitlin 2021-12-07 00:52:21 +01:00
  • 9f80bc8113 Move void check and error reporting to lookup_cxx_ret_type() Vadim Zeitlin 2021-12-07 00:10:44 +01:00
  • 45feb91551 Move cxx_wrappers definition after cxx_{r,p}type_desc Vadim Zeitlin 2021-12-07 00:09:37 +01:00
  • b072b2dc87 Represent empty shared pointers by null pointers at C level Vadim Zeitlin 2021-12-06 21:52:21 +01:00
  • 8d9f3e88b2 Expand special variables in cxxcode typemap Vadim Zeitlin 2021-12-06 20:22:49 +01:00
  • f9b4ea2841 Define a local variable for sym:name attribute Vadim Zeitlin 2021-12-06 20:22:26 +01:00
  • e2d32f33b2 Add support for "cxxcode" typemap Vadim Zeitlin 2021-12-06 17:19:14 +01:00
  • fd11a591a3 Add cxx{in,out}type typemaps and use them for std::string Vadim Zeitlin 2021-12-06 04:27:23 +01:00
  • 8b871b10fe Replace type_desc with cxx_ptype_desc Vadim Zeitlin 2021-12-06 16:58:00 +01:00
  • e3a1301698 Rename cxx_rtype_desc::set_return_xxx() to apply_out_typemap() Vadim Zeitlin 2021-12-06 16:53:44 +01:00
  • e902ab5160 Add Python 3.11 support: use Py_SET_TYPE() Victor Stinner 2021-12-06 23:11:07 +01:00
  • 4ab28437a7 Separate cxx_rtype_desc from type_desc class Vadim Zeitlin 2021-12-06 03:06:05 +01:00
  • 7c46ff1b6e Add "cxxheader" section to allow injecting extra C++ declarations Vadim Zeitlin 2021-12-06 04:25:44 +01:00
  • e0935404a8 Add Octave 6 to changes file William S Fulton 2021-12-05 22:31:05 +00:00
  • 5ada46bcce Whitespace consistency fix in CI-linux-install.sh William S Fulton 2021-12-05 22:26:25 +00:00
  • 3947df87a2 GHA: Test Octave 6.4 William S Fulton 2021-12-05 22:24:51 +00:00
  • 983b91694f Additional changes due to name changes in octave-6 * is_map to isstruct, is_object to isobject Robert Fries 2021-05-12 20:22:30 -04:00
  • 81f9e6600f Octave module lets examples and tests work with Octave-6 * Try-catch replacement for check of error_state * Add execute method in addition to call * Replace oct_mach_info with octave::mach_info * Call from interpreter: global_varval global_assign * Assign a global name requires locating the stack which requires interpreter to tree evaluator to callStack * Do not use discard_error_messages or discard_warning_messages Robert Fries 2021-05-12 19:45:24 -04:00
  • 852eab7db3 Allow swig wrapped modules to compile with -Bsymbolic Robert Fries 2021-05-12 19:44:17 -04:00
  • a335fff2ec Avoid errors due to generating identical overloads Vadim Zeitlin 2021-12-05 20:49:20 +01:00
  • 4a3ae6f8d3 Don't generate C++ wrappers for overridden virtual functions Vadim Zeitlin 2021-12-05 20:24:38 +01:00
  • aacc930023 Streamline and improve std::string typemaps Vadim Zeitlin 2021-12-05 03:05:30 +01:00
  • 883b42dc70 [php] Ensure _runme.php calls check::done() Olly Betts 2021-12-03 16:15:39 +13:00
  • ee3c9bd697 [php] Check fooCount() in newobject1_runme.php Olly Betts 2021-12-03 16:09:07 +13:00
  • 628e2cf6d2 Make std::{set,map} has() and has_key() methods const Vadim Zeitlin 2021-12-04 17:34:58 +01:00
  • 8432d3f89b GHA: Test currently supported php versions 7.0-8.1 William S Fulton 2021-12-04 09:35:51 +00:00
  • c4187f495f Fix definition of move assignment operator for wrapper classes Vadim Zeitlin 2021-12-03 03:50:13 +01:00
  • bfc6623bbd Make SWIG_CException dtor public to fix memory leak Vadim Zeitlin 2021-12-03 03:38:33 +01:00
  • 19e0ecbb9d Don't leak the pointer returned by SWIG_CException::get_pending() Vadim Zeitlin 2021-12-03 03:38:04 +01:00
  • d33e76e045 Fix bug with deleting even non-owned pointers in C++ wrappers Vadim Zeitlin 2021-12-03 03:00:17 +01:00
  • 5bdc20781b Remove bom in Windows.html William S Fulton 2021-12-02 11:53:13 +00:00
  • a5f85beb2d HTML doc fixes William S Fulton 2021-12-02 11:38:41 +00:00
  • e2384796f0 Add Python embedded interpreters fix to changes file William S Fulton 2021-12-02 08:56:00 +00:00
  • be51cb6a6e Merge branch 'fix-crash-2101' William S Fulton 2021-12-02 09:01:18 +00:00
  • c25df74807 [php7] Use destructor action if present Olly Betts 2021-12-02 18:00:39 +13:00
  • 51f586bc4c
    Merge pull request #2111 from swig/remove-obsolete-js-support Olly Betts 2021-12-02 18:09:30 +13:00
  • bebb3d4c21 [ci] Remove CI build for unsupported v8 3.14 Olly Betts 2021-12-02 14:31:28 +13:00
  • 7c97bd5ab3 [js] Remove code to handle v8 < 5.0 Olly Betts 2021-12-02 14:02:59 +13:00
  • e30dfeaab9 [js] Update docs re v8 support Olly Betts 2021-12-02 14:01:27 +13:00
  • efdfad6565 Avoid redundant casts for function result in generated code Vadim Zeitlin 2021-12-02 00:31:33 +01:00
  • 160b8c5da3 Added extern "C" block that was removed in previous commit. John Senneker 2021-12-01 15:15:24 -05:00
  • f17b6bda93 Merge branch 'fix_SWIG_V8_VERSION' William S Fulton 2021-12-01 18:22:29 +00:00
  • 26d693105a GHA: Test node versions 6,8,10 William S Fulton 2021-12-01 18:13:15 +00:00
  • ebe14e6e2a Fixed crashes when using embedded Python interpreters. John Senneker 2021-11-30 16:13:17 -05:00
  • e4bb84f3bd Represent scoped enums as scoped enums in C++ wrappers Vadim Zeitlin 2021-11-29 14:54:39 +01:00
  • a031ec3474 Enable two previously failing tests that pass now Vadim Zeitlin 2021-11-30 02:29:31 +01:00
  • 579c343d5f Represent enums as enums, not int, if possible Vadim Zeitlin 2021-11-29 21:12:53 +01:00
  • 815c7c0361 Don't call getEnumName() with NULL node Vadim Zeitlin 2021-11-29 21:40:27 +01:00
  • 06c651431c Fix enum names for renamed typedefs Vadim Zeitlin 2021-11-30 01:39:34 +01:00
  • 1c06a43e35 Do use sym:name for the enum names themselves Vadim Zeitlin 2021-11-30 00:02:29 +01:00