Olly Betts
9a5dd880e8
Merge branch 'master' into C
2024-03-18 09:09:51 +13:00
William S Fulton
91a5be9143
Test case fix for older C# compiler
2024-02-27 21:26:12 +00:00
William S Fulton
a3445d2c81
C# testcase for operator==
...
For SF issue https://sourceforge.net/p/swig/bugs/884/
2024-02-26 18:34:21 +00:00
William S Fulton
6c496f5b5b
operator_overload testcase tweak
...
Defer to the actual implementation instead of re-implementing the friend operators
2024-01-27 15:09:46 +00:00
Olly Betts
695dd9ddf1
[D] Update docs for D1 removal
2023-05-04 13:18:10 +12: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
Olly Betts
732af1d7b8
Tweak testcase comments
2022-07-13 15:21:12 +12:00
Vadim Zeitlin
f919896306
Merge branch 'master' into C
2016-09-15 01:30:49 +02:00
William S Fulton
6725b2fdf6
Fix unused variable warnings in test-suite
2016-05-28 00:45:24 +01:00
William S Fulton
5e6ab1d61d
Merge branch 'ejulien-python_operator_overload_test_suite'
...
* ejulien-python_operator_overload_test_suite:
Add __str__ to operator_overload testcase for python builtin
Python operator_overload runtime testcase cleanup
Work around a limitation of the Python binding generator related to the += family of operators.
Fix Python 3 division member operator when -builtin is not used.
Fix class member division operator.
Remove the PY3BUILTIN switch as its behavior can be achieved with the existing SWIG_FEATURES=-builtin switch.
Implement the operator overload test suite for Python.
Conflicts:
Examples/test-suite/operator_overload.i
2016-05-05 23:01:35 +01:00
William S Fulton
e7f9a3e8f4
Add __str__ to operator_overload testcase for python builtin
...
Just for debugging the testcase with -builtin
2016-05-05 21:10:52 +01:00
Vadim Zeitlin
7c402ad148
Merge branch 'master' into C
2016-04-08 17:29:16 +02:00
Emmanuel Julien
2730ac9c8f
Work around a limitation of the Python binding generator related to the += family of operators.
2016-02-23 11:26:33 +01:00
Simon Marchetto
07b06a4089
Merge branch 'master' into gsoc2012-scilab
...
Conflicts:
.gitignore
.travis.yml
COPYRIGHT
Examples/Makefile.in
Examples/test-suite/constructor_copy.i
Makefile.in
configure.ac
2014-06-06 16:33:16 +02:00
Olly Betts
739162ec3e
Fix comment typos
2014-04-28 13:13:47 +12:00
William S Fulton
5109e1fe12
Remove scilab and allegro specifics in 3 testcases
2013-09-17 21:10:15 +01:00
William S Fulton
e0067ea998
Merge trunk rev 13025 (swig-2.0.6) into gsoc2008-maciekd
...
Conflicts:
Doc/Manual/chapters
Examples/Makefile.in
Examples/test-suite/dynamic_cast.i
Lib/exception.i
Makefile.in
Source/Include/swigwarn.h
Source/Modules/swigmain.cxx
Source/Swig/swig.h
Tools/config/config.guess
Tools/config/config.sub
configure.in
From: William S Fulton <wsf@fultondesigns.co.uk>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-maciekd@13036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-07 16:59:38 +00:00
William S Fulton
d6b81eb831
Revert rev 11187 "Merged with recent changes from trunk."
...
This reverts commit c595e4d90ebfd63eb55430c735bb121cf690bd59.
Conflicts:
Source/Modules/c.cxx
From: William S Fulton <wsf@fultondesigns.co.uk>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-maciekd@13033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-06 01:13:16 +00:00
Vincent Couvert
3a37d7d86e
Add define for Scilab
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-20 08:20:06 +00:00
David Nadlinger
38c88a0931
[D] Operator overloading support for D1 and D2.
...
As mentioned in the documentation, opIndexAssign and implicit casting are not supported yet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-30 02:44:04 +00:00
William S Fulton
02b31416f6
Some octave SWIG test-suite warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-10 17:58:06 +00:00
Maciej Drwal
32e03aa13d
Many major improvements. Almost all testsuite compiles now.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-maciekd@11189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-04-15 23:30:16 +00:00
Maciej Drwal
8c74fa0f46
Merged with recent changes from trunk.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-maciekd@11187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-04-11 16:46:47 +00:00
Mikel Bancroft
7682833048
[allegrocl] Various fixes to the generated C wrapper code (enums, constants, function declarations), as I progress through the test-suite.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-30 19:45:13 +00:00
Jason Stewart
128880ea1d
added __rsub__() and test for reversed subtraction operator
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-03 11:40:20 +00:00
William S Fulton
65c52f7c06
use $self special variable instead of self in %extend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-08 01:01:37 +00:00
William S Fulton
079c7b4be1
perl warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-26 18:49:11 +00:00
Olly Betts
1ec0417eb5
Use SWIGPHP instead of SWIGPHP4
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-29 10:09:23 +00:00
William S Fulton
eae32a8da7
test virtual operators
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 20:15:24 +00:00
Joseph Wang
a7207e3b89
change the logic for the test. As it was, it always failed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-26 20:23:11 +00:00
William S Fulton
8c29c1aab5
fix php keyword warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 21:46:49 +00:00
William S Fulton
c89401112f
Visual Studio fix for 'operator or' and workaround for binary and unary operator- confusion
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:48:08 +00:00
Marcelo Matus
7e4e3c84cf
test operator aliases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 09:44:44 +00:00
William S Fulton
c93b695e82
Fix C# increment/decrement operator wrappers
...
Add in runtime test to check increment/decrement operators are working correctly (pure C++ test)
Expose the function that checks all C++ operators so it can be called from target language
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:05:46 +00:00
William S Fulton
6c07923bf5
Fix postfix operator++ operation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 16:32:21 +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
Jason Stewart
18771f8267
Perl module now fully supports operator overloading
...
added script for testing overloading support which uses Perl test harness: Test::More
updated HTML docs for operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 10:59:27 +00:00
Marcelo Matus
41f1b86564
silence warns
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 11:23:08 +00:00
William S Fulton
80b5e8aaaf
add increment/decrement operators
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 00:13:36 +00:00
Marcelo Matus
dbc13bb676
recognize the and/not/or keywords and operator names
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 14:44:27 +00:00
Marcelo Matus
8f8f465f3e
add && and ||
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 12:49:09 +00:00
William S Fulton
d4db912fa2
provide default names for operators
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-22 22:29:39 +00:00
Marcelo Matus
296e9dc9a2
cancel warnings for python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-26 08:32:48 +00:00
William S Fulton
36e91fc651
operator overloading tests from Mark Gossage
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 20:59:55 +00:00