swig/Lib
Olly Betts 9908f9f310 [php] Fix testcase segfaults with PHP 8.0
These testcases were segfaulting:

prefix
director_using_member_scopes
virtual_poly

The fix here is admittedly a hack - we perform the initialisation
of EG(class_table) from CG(class_table) which PHP will do, but
hasn't yet.

PHP doesn't seem to clearly document which API calls are actually
valid in minit or other initialisation contexts, but the code we're
generating works with all PHP 7.x and PHP 8.x versions aside from PHP
8.0 so it seems this is a bug in PHP 8.0 rather than that we're doing
something invalid, and we need to work with existing PHP 8.0 releases
so this hack seems a necessary evil.  It will at least have a limited
life as PHP 8.0 is only in active support until 2022-11-26, with
security support ending a year later.

Fixes #2383.
2022-09-29 13:13:52 +13:00
..
cffi Cosmetic stray semi-colon removal after %typemap using quotes 2022-08-31 19:40:13 +01:00
csharp C# CreateWStringFromUTF32 optimisation 2022-09-22 18:54:49 +01:00
d Add missing typecheck typemaps for std::auto_ptr and std::unique_ptr 2022-09-17 10:23:51 +01:00
go std::string throws typemaps 2022-09-19 09:09:29 +01:00
guile std::string throws typemaps 2022-09-19 09:09:29 +01:00
java Add missing typecheck typemaps for std::auto_ptr and std::unique_ptr 2022-09-17 10:23:51 +01:00
javascript Javascript v8 object to string exceptions improvement 2022-09-19 09:09:29 +01:00
lua Add missing typecheck typemaps for std::auto_ptr and std::unique_ptr 2022-09-17 10:23:51 +01:00
mzscheme std::string throws typemaps 2022-09-19 09:09:29 +01:00
ocaml Provide SWIGTYPE MOVE typemaps in swigmove.i 2022-09-16 08:36:25 +01:00
octave Move SWIG_Octave_Raise into a function 2022-09-19 14:48:33 +01:00
perl5 Add missing typecheck typemaps for std::auto_ptr and std::unique_ptr 2022-09-17 10:23:51 +01:00
php [php] Fix testcase segfaults with PHP 8.0 2022-09-29 13:13:52 +13:00
python Add missing typecheck typemaps for std::auto_ptr and std::unique_ptr 2022-09-17 10:23:51 +01:00
r Javascript, Octave, R - Improve exceptions for %catches 2022-09-19 09:09:29 +01:00
ruby Add missing typecheck typemaps for std::auto_ptr and std::unique_ptr 2022-09-17 10:23:51 +01:00
scilab std::string throws typemaps 2022-09-19 09:09:29 +01:00
std Fixes for deprecated std::basic_string::reserve() 2022-07-31 01:02:08 +01:00
tcl Add missing typecheck typemaps for std::auto_ptr and std::unique_ptr 2022-09-17 10:23:51 +01:00
typemaps Provide SWIGTYPE MOVE typemaps in swigmove.i 2022-09-16 08:36:25 +01:00
xml
allkw.swg Improve #include guard macros 2022-07-19 09:35:46 +12:00
attribute.i Fix %arg in Lib/attribute.i 2013-05-25 00:37:57 +01:00
carrays.i Fix missing include in SWIG typemap 2019-01-06 08:31:11 -05:00
cdata.i Merge pull request #1398 from swig-fortran/missing-includes 2022-02-01 14:05:17 +13:00
cmalloc.i merge revisions 11872:11876 from trunk to gsoc2009-sploving branch - license changes 2010-03-06 01:19:37 +00:00
constraints.i merge revisions 11872:11876 from trunk to gsoc2009-sploving branch - license changes 2010-03-06 01:19:37 +00:00
cpointer.i Fix function prototypes of generated pointer functions 2022-02-03 17:25:44 +13:00
cstring.i merge revisions 11872:11876 from trunk to gsoc2009-sploving branch - license changes 2010-03-06 01:19:37 +00:00
cwstring.i merge revisions 11872:11876 from trunk to gsoc2009-sploving branch - license changes 2010-03-06 01:19:37 +00:00
director_common.swg Create director_common.swg for language-indep code 2015-03-12 19:51:11 +13:00
exception.i [php] Fix two incorrect PHP 8 conditionals 2021-12-08 13:10:38 +13:00
intrusive_ptr.i Fix bug with macro invocation with empty first arg 2017-10-08 09:02:28 +13:00
inttypes.i Remove duplicate declarations of strtoimax and strtoumax in inttypes.i 2014-04-08 23:47:22 +01:00
linkruntime.c fix macro issue reported by Vladimir Menshakov 2006-04-10 19:00:44 +00:00
math.i Conditionalise math.i for PHP 2021-03-17 09:43:15 +13:00
pointer.i Update link to point to 3.0 docs 2015-01-08 11:16:48 +13:00
runtime.swg
shared_ptr.i Fix bug with macro invocation with empty first arg 2017-10-08 09:02:28 +13:00
std_except.i [OCaml] Some exception improvements 2019-02-07 16:25:10 -07:00
stdint.i merge revisions 11872:11876 from trunk to gsoc2009-sploving branch - license changes 2010-03-06 01:19:37 +00:00
stl.i merge revisions 11872:11876 from trunk to gsoc2009-sploving branch - license changes 2010-03-06 01:19:37 +00:00
swig.swg Provide SWIGTYPE MOVE typemaps in swigmove.i 2022-09-16 08:36:25 +01:00
swigarch.i Typo fix in error messages from swigarch.i 2015-02-04 23:07:18 +00:00
swigerrors.swg Add Python support for std::unique_ptr inputs 2022-07-17 15:20:20 +01:00
swigfragments.swg Merge pull request #1398 from swig-fortran/missing-includes 2022-02-01 14:05:17 +13:00
swiginit.swg Lib/javascript/v8: use context-aware initialization. 2021-03-02 15:31:28 +01:00
swiglabels.swg Revert "Modify fix for << in array size" 2022-07-27 13:45:08 +12:00
swigrun.i merge revisions 11872:11876 from trunk to gsoc2009-sploving branch - license changes 2010-03-06 01:19:37 +00:00
swigrun.swg Add Python support for std::unique_ptr inputs 2022-07-17 15:20:20 +01:00
swigwarnings.swg Add support for the <=> operator (C++20) 2022-07-27 09:12:40 +12:00
wchar.i merge revisions 11872:11876 from trunk to gsoc2009-sploving branch - license changes 2010-03-06 01:19:37 +00:00
windows.i Add missing VOID definition to windows.i 2019-01-07 18:46:14 +00:00