Olly Betts
9a5dd880e8
Merge branch 'master' into C
2024-03-18 09:09:51 +13:00
Olly Betts
32adf4b3c9
[PHP] Fix %feature(php:allowdynamicproperties, 0)
...
The handling of this feature now matches other boolean features.
Previously any value set was treated as on.
2023-12-22 09:37:42 +13:00
William S Fulton
e07957ad4c
Implicit assignment operator detection fixes.
...
A class that does not have an explicit assignment operator does not
have an implicit assignment operator if a member variable is not
assignable. Similarly should one of the base classes also not be
assignable. Detection of these scenarios has been fixed so that when
wrapping a variable that is not assignable, a variable setter is not
generated in order to avoid a compiler error.
Template instantiation via %template is required in order for this to
work for templates that are not assignable.
Closes #1416
2023-09-07 04:41:52 +01:00
Olly Betts
9a4dea06c8
[php] Add php:allowdynamicproperties feature
...
This follows PHP 8.2 deprecating dynamic features.
The new feature also provides a clean way to fix the remaining PHP
test case failure under PHP 8.2.
2022-09-29 18:16:51 +13:00
Vadim Zeitlin
864f32159a
Merge branch 'restore-compat-wrappers-names' into C
...
Merge with the latest master including PR #2371 .
2022-09-17 14:36:37 +02:00
Seth R Johnson
266766d7c7
Test identity operation on class references
2022-02-12 19:40:03 -05:00
Seth R Johnson
5b7edebdba
Placate scilab character limit
2022-02-04 14:54:11 -05:00
Seth R Johnson
5a2656ab80
Don't mark as "noassign" when a variable is immutable
...
I had assumed member variables could only be noassign by being "const",
but I had forgotten about the `%immutable` keyword being applied via
SWIG.
2022-02-04 14:03:01 -05:00
Seth R Johnson
03dd2ec39d
Auto-detect non-assignable classes
...
Classes with references or const data are now marked as 'noassign'.
This renders many explicit `private: operator=` declarations redundant.
2022-02-04 09:51:18 -05:00
Vadim Zeitlin
ac4f3c78be
Merge branch 'master' into C
...
Merge with the latest master before making more changes.
2021-10-04 16:03:36 +02:00
Olly Betts
5f38f9cc78
[Chicken] Remove code for Chicken
...
We dropped support for it in SWIG 4.0.0 and nobody has stepped forward
to revive it in over 2 years.
See #2009 .
2021-05-16 08:42:39 +12:00
Vadim Zeitlin
7bb7fe135a
Let cpp_basic unit test pass without method pointers support
...
This was the only part of the test that didn't work, test at least the rest of
it.
2016-04-21 01:37:40 +02:00
Artem Serebriyskiy
7c8405368e
Finish implementation with proxy functions
2014-04-15 03:38:45 +04:00
William S Fulton
77110db863
Sun studio warning suppression in tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-20 13:02:21 +00:00
William S Fulton
979ad76153
minor vc++ /W4 warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 16:04:55 +00:00
Marcelo Matus
c26f2b387b
fix macro expansion issue reported by Andreas Held
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-13 08:56:55 +00:00
Marcelo Matus
b748e6044a
fix macro expansion issue reported by Andreas Held
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-13 08:55:06 +00:00
Marcelo Matus
89e7497ac6
add support for named warning codes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:42:24 +00:00
Marcelo Matus
86b84de318
silence warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:37:15 +00:00
John Lenz
48f1da1bfc
+ finally fix pointers to member functions in chicken
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 03:42:32 +00:00
William S Fulton
25ff27a147
Ruby warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-06 22:48:36 +00:00
John Lenz
b599732cdc
Add a whole bunch of chicken runme scripts, and fix the bugs exposed by those scripts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-15 05:23:14 +00:00