Commit graph

17,532 commits

Author SHA1 Message Date
Olly Betts
b3003f1f9f [PHP] When wrapping a returned resource as an object, check if all
cases wrap it in the same class, and if so eliminate the pointless
switch statement wrapper we previously generated.
2015-01-23 13:56:13 +13:00
William S Fulton
63927da3cb Changes file update for octave shared_ptr 2015-01-22 20:09:17 +00:00
William S Fulton
d3051c5b04 Merge branch 'ConroyJ-master'
* ConroyJ-master:
  Updated usage string for -cppcast/-nocppcast in octave.cxx
  Attempting fixes for Octave shared_ptr support
2015-01-22 20:06:55 +00:00
Olly Betts
77288c89df Error message example to match actual output 2015-01-22 12:01:42 +13:00
William S Fulton
fb94b312e0 Fix incorrect flags being passed to javac on cygwin/mingw 2015-01-17 23:17:57 +00:00
William S Fulton
733851bdab Remove needless Lua checking during configure 2015-01-17 23:17:57 +00:00
William S Fulton
a6e06706ef Add a tool to simply obtain all the latest OpenBuild build logs
Requires a working copy of the project and package before hand - the
obs-update script can be used for this.
2015-01-17 23:17:57 +00:00
William S Fulton
01a6df8aad Merge branch 'michael-schaller-doc-template-nested'
* michael-schaller-doc-template-nested:
  Nested class template doc tweaks
  Updated C++ template documentation with respect to using a nested class as template parameter.
2015-01-16 19:09:00 +00:00
William S Fulton
f25f5cf635 Nested class template doc tweaks 2015-01-16 19:08:41 +00:00
William S Fulton
b85fd875eb Update changes file 2015-01-15 20:29:53 +00:00
William S Fulton
06fb68af5b Merge branch 'ptomulik-fix/py-object-const'
* ptomulik-fix/py-object-const:
  constant_directive_runme.py and classic classes
  additional fixes to %constant directive
  make %constant directive to work with structs/classes
2015-01-15 20:18:21 +00:00
William S Fulton
0fc328d3d9 C++11 strongly typed enums into changes files 2015-01-15 19:51:42 +00:00
William S Fulton
4d5333cb88 Merge branch 'leg0-bug_307'
* leg0-bug_307:
  C++11 strongly typed enum fixes for directors
  Fix #307.
2015-01-15 19:48:38 +00:00
William S Fulton
fd8dcf44bf C++11 strongly typed enum fixes for directors
Tests added for previous commit. Further refinements to patch #308 and
fixes #307.
2015-01-15 19:48:07 +00:00
William S Fulton
afba5b755a Fix Python default args when using kwargs
Recent default arg handling fixes didn't fix the case when kwargs is turned on
2015-01-15 07:54:36 +00:00
William S Fulton
bedff70793 Bump version to 3.0.5 2015-01-14 23:58:49 +00:00
Olly Betts
ecf3ab5605 Disable director_thread_runme.php
This fails in a ZTS build of PHP.
2015-01-15 09:32:34 +13:00
Ahti Legonkov
6a7250d71b Fix #307. 2015-01-14 18:59:53 +02:00
Olly Betts
4fed2e6690 Use -rrbconfig rather than -rmkmf to load rbconfig
Both seem to work, but it's better to ask for the module we actually
want rather than rely on it being pulled in indirectly.  See #305.
2015-01-14 09:31:41 +00:00
Olly Betts
be4065531e Add suggestion to check block delimiter
The fix for #217 means that blocks of target code delimited by { } with
'#' comments in now give errors (previously these lines were quietly
discarded).

The fix is generally to use %{ %} delimiters instead, so suggest this
might be the issue in the error message to help users hitting this issue
with wrappers which were apparently working before.
2015-01-14 16:08:08 +13:00
Olly Betts
a2f803bb5a Add explanatory comment to pp_unknowndirective2.i 2015-01-14 16:00:40 +13:00
Olly Betts
0dd685bad2 Fix PHP crash in director_finalizer 2015-01-14 15:38:55 +13:00
William S Fulton
558ded2ceb Add 3.0.4 release information 2015-01-13 23:06:03 +00:00
Olly Betts
aa5d916e4d Fix typo 2015-01-14 11:04:09 +13:00
Olly Betts
a98bda01cb Note 1.8 as the oldest supported version 2015-01-14 11:04:02 +13:00
Olly Betts
ea5be4e508 Fix PHP backend for default_args testcase 2015-01-14 10:44:54 +13:00
William S Fulton
a9f8128094 Merge pull request #305 from kkaempf/ruby_2.2
Ruby: Replace Config::CONFIG with RbConfig::CONFIG in configure.
2015-01-13 19:51:57 +00:00
William S Fulton
055e96da09 Update html 2015-01-13 07:58:33 +00:00
William S Fulton
944fbfb426 Python 3 default args fix
Fix 0U and 0L as default args for Python 3 (tests committed in
previously commit of default_args.i).
Relates to issue #294.
2015-01-13 07:55:31 +00:00
William S Fulton
9d87b9f099 Revert introduction of python:defaultargs feature
See issue #294
2015-01-12 21:35:47 +00:00
Klaus Kämpf
112499eb39 Ruby: Replace Config::CONFIG with RbConfig::CONFIG in configure.ac
The Config namespace was deprecated for a long time and Ruby 2.2
finally removed it. Adapt configure.ac accordingly.

This fixes issue #304
2015-01-12 15:17:10 +01:00
Olly Betts
02b10195fc Add regression test for #217 2015-01-12 22:33:15 +13:00
Olly Betts
682b4dd843 [PHP] Fix segfault in director upcall check
Manifest only when using PHP built with ZTS enabled.
2015-01-12 13:53:01 +13:00
Olly Betts
f6b84f414b Merge pull request #303 from dertom95/master
[lua/luarun] change return type to void on functions not returning anything
2015-01-12 08:28:49 +13:00
William S Fulton
06e361dbf2 Fix linux gcc warnings and strtol corrections 2015-01-11 17:30:25 +00:00
William S Fulton
679f9395bc Tests for Python default arguments and %pythondefaultargs.
Tests changes in previous commit (see patch #294)
2015-01-11 16:45:53 +00:00
Vadim Zeitlin
adbe3f2e77 Python default arg improvements
Merge the code fixes from patch #294 to more reliably generate
default argument values into the python layer.
2015-01-11 16:42:21 +00:00
Thomas Trocha
4e7af7db80 [lua/luarun] change return type from int to void on functions not returning anything
Using emscripten compiler to crosscompile to javascript lead to "traps" on this functions which results in a crash
2015-01-11 15:34:07 +01:00
Jeremy
2696a6e0ff Updated usage string for -cppcast/-nocppcast in octave.cxx 2015-01-09 14:51:44 -05:00
Olly Betts
4b5ed45d50 Add note about delimiting blocks of Python code
Using { and } to delimit means Python comments will cause errors with
SWIG 3.0.3 and later.  With older SWIG it usually just meant such
comments failed to appear in the generated output.  See issue #221.
2015-01-09 14:52:46 +13:00
William S Fulton
efb8784c8b Fix python default_args testcase for Python 3
Changes for the default_args testcase to run under Python 3 when called
from python_default_args testcase
2015-01-09 00:37:23 +00:00
William S Fulton
38ba81811e Fix Python default argument handing broken since swig-3.0.3
Default values are no longer generated as Python code by default.
They must be explicitly turned on using the "python:defaultargs" feature.

Closes #294
Closes #296

The problems in these two issues when "python:defaultargs" is turned
on still need to be fixed and should be addressed in separate patches.
The important thing is the default code generation is now fixed.
2015-01-09 00:34:17 +00:00
Vadim Zeitlin
34787ab98e Python default argument test cases from issue #294 2015-01-09 00:33:57 +00:00
William S Fulton
af43f90484 Wording change for missing semicolon error 2015-01-08 23:37:52 +00:00
Olly Betts
bfa570e404 Handle "constexpr explicit" and "constexpr static" 2015-01-09 11:47:40 +13:00
Olly Betts
87bdaa3910 Allow C++11 "explicit constexpr" 2015-01-08 15:56:50 +13:00
Olly Betts
62670e756e Improve errors for missing ; and unexpected ) 2015-01-08 15:27:57 +13:00
Olly Betts
d315187a1c Fix typo in old entry 2015-01-08 14:15:46 +13:00
Olly Betts
8fbdd75a0b Add test coverage for unterminated %{ ... %} block 2015-01-08 13:26:39 +13:00
Olly Betts
ce90ff6a77 When reporting an error for a construct which hasn't been terminated
when the end of the file is reached, report it at the start line rather
than "EOF" as then tools like editors and IDEs will take you to a
generally more useful place for fixing the problem.
2015-01-08 13:19:17 +13:00