Olly Betts
d721b4d639
Fix comment typo "aruments"
2018-05-29 09:00:18 +12:00
William S Fulton
6efb5ab7d1
Add missing CPlusPlus17.html file
...
Mistakenly omitted from 066c396ad6
2018-05-24 07:04:22 +01:00
Olly Betts
51a89d9fea
Fix another documentation typo
2018-05-18 10:14:10 +12:00
Olly Betts
84807a3128
Merge pull request #1257 from luzpaz/misc-typos
...
Misc. typos
2018-05-18 10:12:21 +12:00
luz.paz
6f69830321
follow-up typos
2018-05-17 10:26:00 -04:00
luz.paz
4434809e13
Changed scilab.html link anchor name per request
2018-05-17 10:06:23 -04:00
luz.paz
706c91554c
fixed typo again after merge conflict
2018-05-17 10:04:23 -04:00
luz.paz
60dfa31a67
Misc. typos
...
found via `codespell` and `grep`
2018-05-17 10:04:23 -04:00
William S Fulton
3eb41c9beb
Add Octave 4.4 to Travis allow_failures
2018-05-17 08:20:01 +01:00
William S Fulton
f09952e30c
Fixes for appveyor image changes
...
Appveyor image has removed older boosts. Use latest - 1.67 available.
2018-05-17 08:16:04 +01:00
William S Fulton
1f76cda125
Javascript test-suite Makefile parallel jobs
...
Suppress warning running test-suite and examples:
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
Note that node-gyp uses make under the hood and clearing the MAKEFILE env is the
only way I could find to suppress this warning.
2018-05-17 08:15:48 +01:00
Karl Wette
12c66f9b7d
Merge pull request #1256 from kwwette/octave
...
[Octave] Add support for version 4.4
2018-05-17 14:08:57 +10:00
Karl Wette
e66827be7d
Merge branch 'master' into octave
2018-05-17 14:08:29 +10:00
William S Fulton
fecc4f246e
Add changes entry for csconstruct, dconstruct and javaconstruct fix
2018-05-15 22:39:48 +01:00
William S Fulton
63a5a8af88
Fix lookup of csconstruct, dconstructor and javaconstruct typemaps
...
The C++ namespace was previously ignored in the lookup type
2018-05-15 22:26:35 +01:00
William S Fulton
2171f52635
Javascript %nspace fix in generated C++ code
...
When using %nspace on namespaces that are more than two levels deep.
Fixes cpp17_nspace_nested_namespaces testcase.
2018-05-15 22:22:10 +01:00
William S Fulton
47e08fbaf6
Merge branch 'cpp17-nested-namespaces'
...
* cpp17-nested-namespaces:
Add C++17 documentation chapter
Add changes notes for C++17 nested namespaces support
Test for invalid C++17 nested namespace aliases
Test c++17 nested namespaces and %nspace
Add c++17 nested namespaces runtime test for C#
Add c++17 nested namespaces runtime test for Python
Add support for c++17 nested namespaces
Closes #1251
2018-05-14 21:29:57 +01:00
William S Fulton
066c396ad6
Add C++17 documentation chapter
2018-05-14 21:29:46 +01:00
William S Fulton
192aa2892c
Add changes notes for C++17 nested namespaces support
2018-05-14 21:29:40 +01:00
William S Fulton
aa6d7931ac
Test for invalid C++17 nested namespace aliases
2018-05-14 21:03:31 +01:00
William S Fulton
220247c130
Test c++17 nested namespaces and %nspace
2018-05-14 21:03:31 +01:00
William S Fulton
5c39dcfb28
Add c++17 nested namespaces runtime test for C#
2018-05-14 21:03:31 +01:00
William S Fulton
c8f5f3a6d1
Add c++17 nested namespaces runtime test for Python
2018-05-14 21:03:31 +01:00
William S Fulton
348efc22ba
Add support for c++17 nested namespaces
...
For example:
namespace A::B { ... }
which is the equivalent to C++98 namespaces:
namespace A { namespace B { ... } }
2018-05-14 21:02:10 +01:00
Karl Wette
23e6f13292
Update CHANGES.current
2018-05-12 22:31:31 +10:00
Karl Wette
ebd0b52b3e
.travis.yml: test against Octave 4.4
2018-05-12 22:25:07 +10:00
Karl Wette
a2ab3d7b20
Examples/test-suite/register_par.i: rename 'tree' to 'swig_tree'
...
- 'tree' is a declared symbol in Octave >= 4.4 headers
2018-05-12 22:25:07 +10:00
Karl Wette
64ad3f0ca8
Examples/octave/module_load/runme.m: update 'exist()' statements for Octave >= 4.4
2018-05-12 22:25:07 +10:00
Karl Wette
af97a312d4
Examples/octave/module_load/runme.m: do not use duplicate function names
2018-05-12 22:25:07 +10:00
Karl Wette
a169eef3c0
Examples/Makefile.in: unset OCTAVE_PATH when running Octave for tests
2018-05-12 22:25:07 +10:00
Karl Wette
6586616e23
Lib/octave: fix getting/setting global variables for Octave >= 4.4
2018-05-12 22:25:07 +10:00
Karl Wette
d0b1105f30
Lib/octave: use new class for function member dereference with Octave >= 4.4
2018-05-12 22:25:07 +10:00
Karl Wette
94e8853e61
Lib/octave: fix operator installation for Octave >= 4.4
2018-05-12 22:25:07 +10:00
Karl Wette
84aab22f66
Lib/Octave: in Octave >= 4.4, assign reference to base class in subclass
...
- See Examples/octave/callback/runme.m: a.run() calls Octave callback,
but due to changes in behaviour to subsref() a.Callback.run() can no
longer be used to call C callback unless a.Callback actually exists;
subsrefs() just gets the "Callback" call whereas prior to Octave 4.4
it would get both the "Callback" and "run" calls. So now a.Callback is
set to the original base class (with own=0) so that it can be accessed
2018-05-12 22:25:07 +10:00
Karl Wette
ce67bce72e
Lib/octave: fix call to mlock() for Octave >= 4.4
2018-05-12 22:25:07 +10:00
Karl Wette
df92ad6ebc
Lib/octave: fix call to octave::call_stack::current() for Octave >= 4.4
2018-05-12 22:25:07 +10:00
Karl Wette
931656bcbe
Lib/octave: 'octave_exit' not longer exists in Octave >= 4.4
...
- Instead must register atexit() function, since Octave still
cannot clean up its memory usage on exit with SWIG modules
2018-05-12 22:25:07 +10:00
Karl Wette
04357dca21
Lib/octave: replace is_bool_type() with islogical() for Octave >= 4.4
2018-05-12 22:25:07 +10:00
Karl Wette
6f0561eb57
Lib/octave: replace is_numeric_type() with isnumeric() for Octave >= 4.4
2018-05-12 22:25:07 +10:00
Karl Wette
358345db9e
Lib/octave: replace is_cell() with iscell() for Octave >= 4.4
2018-05-12 22:25:07 +10:00
Karl Wette
a46909a414
Lib/octave: call octave::feval() instead of feval() for Octave >= 4.4
2018-05-12 22:25:07 +10:00
Karl Wette
e8e507bf0b
Lib/octave: fix function name passed to unwind_protect::begin_frame()
2018-05-12 22:25:07 +10:00
William S Fulton
ee17f8d04f
C#, D, Java methodmodifiers on destructors
...
Add support so that the %csmethodmodifiers, %dmethodmodifiers,
%javamethodmodifiers can modify the method modifiers for the destructor wrappers
in the proxy class: dispose, Dispose, delete. With this feature, it is now possible
to make a C# proxy class sealed, eg when wrapping a class X, the virtual method modifiers
can be removed using:
%typemap(csclassmodifiers) X "public sealed class"
%csmethodmodifiers X::~X "public /*virtual*/";
2018-05-11 18:09:51 +01:00
William S Fulton
1f7689fa8f
Javascript assert.h - move to header section
...
Fixes compile problem due to throw macro skullduggery in the director_throws testcase
2018-05-06 23:10:33 +01:00
William S Fulton
0d5719684f
Appveyor cl compiler warning fixes during configure
2018-05-06 10:37:07 +01:00
William S Fulton
6551d0fead
Java vector wrappers cast correction
...
64 bit windows, fixes:
warning C4267: 'initializing': conversion from 'size_t' to 'jint'
2018-05-06 09:46:37 +01:00
William S Fulton
8555973a48
test-suite fixes (Java directors) for compilers that don't support varargs
2018-05-06 09:46:37 +01:00
William S Fulton
bea708c796
Go - use director.swg like other languages
...
Changes the location of the director code wrt to the generated _wrap.h
file to fix throw macro skullduggery in the director_throws testcase
(see previous commit).
2018-05-06 09:46:37 +01:00
William S Fulton
50cb18087d
test-suite fixes (2) for compilers that don't support varargs
...
Split director_exception testcase into two so that testing throw(),
with no arguments, that is nothrows, can be tested separately to throw()
taking arguments. [The throw keyword needs to be removed for C++
compilation in C++11 and later when it was deprecated.]
2018-05-06 09:46:37 +01:00
William S Fulton
9fb996b83f
Consistent spacing in generated exception specifications
2018-05-06 09:46:37 +01:00