Commit graph

19,037 commits

Author SHA1 Message Date
William S Fulton
f52f4c6e10 Check for pkg-config before attempting to use it in configure
Fixes configure when pkg-config is missing and looking for Scilab and
Javascript
2014-10-31 22:46:52 +00:00
William S Fulton
55b9cfbfe0 Travis: No need for parallel builds for Scilab now since removing builder 2014-10-31 22:29:30 +00:00
William S Fulton
c150fc033d Scilab minor coding improvements 2014-10-31 22:00:48 +00:00
William S Fulton
6d6cefa791 Fix 'self' parameter name clash when generating for Python builtin 2014-10-31 07:23:08 +00:00
William S Fulton
6029b2f7d8 Fix for 'self' being used as a parameter name 2014-10-30 07:22:59 +00:00
William S Fulton
3855b96459 Update changes file 2014-10-29 23:11:09 +00:00
William S Fulton
ede1e9544c Fix R Lib files and testcase failing due to new preprocessor checks
Fixes unknown preprocessor directive error introduced in #217
commit 255c929c56
These were probably intended as script comments using # when C/C++
comments using // or /* */ should have been used.
2014-10-29 23:11:09 +00:00
William S Fulton
fc1eaa5213 Fix autodoc testcase for python -builtin 2014-10-29 12:23:51 +00:00
William S Fulton
7d4af72dde Revert "Fix when is 'self' used as a parameter name in Python"
This reverts commit a6efdb7999.
2014-10-29 09:42:11 +00:00
William S Fulton
3eb626fda6 Revert "Don't use C++ features when building test code as C."
This reverts commit 6d93d57ab0.
2014-10-29 09:42:04 +00:00
Vadim Zeitlin
6d93d57ab0 Don't use C++ features when building test code as C.
This fixes the build after a6efdb7 which added a method to a test used in both
C++ and C test cases.
2014-10-29 00:55:49 +01:00
William S Fulton
a6efdb7999 Fix when is 'self' used as a parameter name in Python
Fix corner case for variable names called 'self' after merging in patch #201
2014-10-28 07:07:44 +00:00
William S Fulton
cd725fbe94 Minor cosmetic source code changes 2014-10-28 07:07:44 +00:00
William S Fulton
5d71f91b29 Fix autodoc testcase for new named python arguments when using python -builtin
For the changes in #201.
2014-10-28 07:07:00 +00:00
William S Fulton
36ae32e941 Merge remote-tracking branch 'vadz/py-args'
* vadz/py-args:
  Allow using enum elements as default values for Python functions.
  Don't always use "*args" for all Python wrapper functions.
  No real changes, just make PYTHON::check_kwargs() const.
  Refactor: move makeParameterName() to common Language base class.
  Remove long line wrapping from Python parameter list generation code.
2014-10-27 20:02:59 +00:00
Simon Marchetto
4554294885 Merge branch 'ibell-patch-5' into gsoc2012-scilab 2014-10-27 12:16:20 +01:00
Simon Marchetto
52d2291b66 Merge branch 'patch-5' of https://github.com/ibell/swig into ibell-patch-5
Conflicts:
	Source/Modules/scilab.cxx
2014-10-27 12:15:36 +01:00
William S Fulton
d03c260738 D test-suite fixes
Fixes 'make partialcheck-d-test-suite' and probably normal D
test-suite usage (unable to test)
2014-10-25 15:46:43 +01:00
David Nadlinger
732bb8f8ec Merge pull request #205 from timotheecour/dev
Use core.atomic.atomicOp to mutate shared variables
2014-10-24 20:17:38 +02:00
William S Fulton
d5c9c8a0b4 Merge branch 'kwwette-master' - Octave changes
* kwwette-master:
  Doc/Manual/Octave.html: update which Octave versions have been tested against
  .travis.yml: also test against Octave version 3.8
  Revert "Suppress Octave failing the build"
  .travis.yml: reduce Octave make jobs to 3
  Octave: disable optimization of tests for faster compiles/less memory usage
2014-10-24 06:58:59 +01:00
Simon Marchetto
52a0ac0b66 scilab: test li_std_string_extra is fixed by previous commit 2014-10-23 11:21:01 +02:00
Simon Marchetto
aba56486fe scilab: fix std::string length issue 2014-10-23 11:08:34 +02:00
Simon Marchetto
1875f841e5 scilab: simplify builder script file 2014-10-22 12:19:01 +02:00
Karl Wette
7d1f3a6ea1 Doc/Manual/Octave.html: update which Octave versions have been tested against 2014-10-22 12:18:16 +02:00
Karl Wette
d8e2815e25 .travis.yml: also test against Octave version 3.8 2014-10-22 12:03:49 +02:00
Karl Wette
12e9589ec0 Revert "Suppress Octave failing the build"
- This reverts commit fea2fc137e.
- Failures were probably due to gcc running out of memory
- Disabling optimization of Octave tests should both increase
  compile times and reduce memory usage, and reducing number
  of make jobs to 3 should also allow for more memory per job
2014-10-22 12:03:49 +02:00
Karl Wette
e8762313cd .travis.yml: reduce Octave make jobs to 3
- Allow for more memory per job to prevent gcc failures
- Disabling optimization should give enough speedup to compensate
2014-10-22 12:03:49 +02:00
Karl Wette
18a9c095f8 Octave: disable optimization of tests for faster compiles/less memory usage
- Filter out all but -g... and -W... flags from OCTAVE_CXXFLAGS
- Use AX_CHECK_COMPILE_FLAG() to check if -O0 is supported, if so
  add to end of OCTAVE_CXXFLAGS to ensure optimization is disabled
- Also run mkoctfile under "env -" to protect it from environment
- Also use more standard-compliant sed expressions
2014-10-22 12:03:49 +02:00
Simon Marchetto
fd1e387a0e scilab: rename build command line options 2014-10-21 17:00:51 +02:00
Simon Marchetto
1a2136a053 scilab: update .gitignore 2014-10-21 14:55:58 +02:00
Simon Marchetto
6abf66324a scilab: add the SWIG banner to the generated gateway XML 2014-10-21 14:55:46 +02:00
Simon Marchetto
30faff1fce scilab: remove outputlibrary option + renaming module to gateway 2014-10-21 14:39:18 +02:00
Simon Marchetto
06614ebb79 scilab: fix compilation warnings in primitive_types test 2014-10-21 10:03:29 +02:00
William S Fulton
f84e1f823b Minor C++11 doc change 2014-10-21 08:02:25 +01:00
William S Fulton
3dcc501ac0 Spelling fix 2014-10-21 07:55:07 +01:00
William S Fulton
bfde148887 The kwargs feature no longer turns on compactdefaultargs for languages that don't support kwargs.
Affects all languages except Python and Ruby.

Closes #242
2014-10-21 07:34:51 +01:00
William S Fulton
b57a675d00 Cosmetic comment changes
Note: copyrights are in the COPYRIGHT file
2014-10-21 07:34:51 +01:00
William S Fulton
2862a0a6bc Syntax fix using %feature in documentation 2014-10-21 07:34:51 +01:00
Simon Marchetto
f93e23b32f scilab: fix matrix2 example compilation warnings 2014-10-20 17:44:46 +02:00
Simon Marchetto
784a901bc4 scilab: fix primitive types test compilation warnings 2014-10-20 17:44:24 +02:00
Simon Marchetto
d3afd65698 scilab: fix compilation error in scilab 5.3.3 2014-10-20 17:03:17 +02:00
Simon Marchetto
8561d36392 scilab: fix scilab include search regression in configure.ac 2014-10-20 15:26:11 +02:00
Simon Marchetto
057faf6cac scilab: fix test-suite makefiles and util scripts for standard build tools 2014-10-20 15:14:05 +02:00
Simon Marchetto
c5ed672e45 scilab: fix matrix2 example module name 2014-10-20 14:57:57 +02:00
Simon Marchetto
c0741a7269 scilab: build now examples/tests with standard tools in (no more builder.sce) 2014-10-20 14:57:32 +02:00
Simon Marchetto
6c84d9bd3c scilab: fix gateway entry point name 2014-10-20 14:53:29 +02:00
Simon Marchetto
f069cba2b4 scilab: swig generates loader script 2014-10-20 14:49:25 +02:00
Simon Marchetto
c440eae1f9 scilab: fix generated gateway source (missing include, entry point name) 2014-10-20 10:16:19 +02:00
Simon Marchetto
af88d49113 scilab: fix segmentation fault 2014-10-17 19:47:00 +02:00
Simon Marchetto
78b3e5bc46 scilab: generate gateway source with swig 2014-10-17 19:46:29 +02:00