Simon Marchetto
a95a6d623a
Scilab: fix bug og generated line too long
2013-09-09 18:07:59 +02:00
Oliver Buchtala
3c5946d998
Redefined set of Javascript smoke tests.
2013-09-09 17:38:44 +03:00
Oliver Buchtala
407d8ef5ac
Clean up in javascripttypemaps.swg.
...
- following the same layout/order as pytypemaps
- added typemaps for `long long` and `unsigned long long`, which are
only copies of those for `long` and `unsigned long` and hence are
just experimental.
2013-09-09 17:34:53 +03:00
Oliver Buchtala
fc4d9b665c
Fix v8 generator to use a non clashing name for built-in 'equals' method.
2013-09-09 16:28:29 +03:00
Oliver Buchtala
b6c9c97b96
Fix Javascript generator to use %renamed variable names.
2013-09-09 15:05:11 +03:00
Oliver Buchtala
108143951d
Activate Javascript test-cases rename_simple and rename_scope.
...
These reveal current deficiencies in the Javascript generator with `%rename`ing.
2013-09-09 13:55:08 +03:00
Oliver Buchtala
64da1173dd
Activate Javascript testcases rename1-4.
2013-09-09 13:23:47 +03:00
Oliver Buchtala
1438d0cfb4
Add infinity test-case to list of smoke tests.
2013-09-09 13:17:38 +03:00
Simon Marchetto
7436b03a50
Python: fix li_std_set_as_argument test
2013-09-09 12:14:17 +02:00
Simon Marchetto
47868bcbfe
Scilab: remove build & link verbose messages in examples
2013-09-09 12:05:57 +02:00
Eric Wing
e01e337d75
Added unit test using C99 INFINITY. This test actually tests a float
...
conversion bug where converting to float imposed overflow checking which
should not be there and causes this program to error out. This was seen
originally in Javascript, but it turns out Python has the same bug. Lua
does not have this bug. Other generators have not been tested.
This test also tests the rename feature. The Javascript generator was
not renaming the variable correctly.
2013-09-09 12:53:37 +03:00
Simon Marchetto
9f259e0ee8
Scilab: addsrc option uses comma for file name separation (instead of space)
2013-09-09 11:51:49 +02:00
Oliver Buchtala
1729fac360
Bug-fix for static variables as proposed by Kota Iguchi.
...
Fixes #20 .
2013-09-09 12:46:07 +03:00
Simon Marchetto
3a10c9a7cd
Scilab: configure check version is 5.3 minimum
2013-09-09 11:43:20 +02:00
Simon Marchetto
d91a25357b
Add li_std_vector_as_argument & li_std_set_as_argument to common tests
2013-09-09 11:25:59 +02:00
Simon Marchetto
3abb810cc1
Scilab: std_set example converted to test
2013-09-09 11:13:36 +02:00
Simon Marchetto
f95e581dc5
Scilab: fix check list
2013-09-09 10:23:05 +02:00
Simon Marchetto
a7181c3c93
Scilab: move std_vector to upper directory
2013-09-09 10:22:54 +02:00
Oliver Buchtala
8408e9b193
Merge pull request #19 from whoozle/devel
...
fixed deprecation warnings for v8-3.21
2013-09-06 19:50:51 -07:00
Simon Marchetto
84f1e3d3e2
Scilab: std_vector_as_argument example converted to test
2013-09-06 18:34:57 +02:00
Simon Marchetto
1a9c86673b
Scilab: test-case calls module init + fix exit code on errors
2013-09-06 17:31:37 +02:00
Simon Marchetto
91e4114827
Scilab: enum example is consistent with other languages
2013-09-06 15:42:31 +02:00
Simon Marchetto
06617dbd0b
Scilab: constants example consistent with other languages
2013-09-06 15:33:58 +02:00
Oliver Buchtala
6b35c2d419
Let Travis test all three targets.
...
- nodejs: 0.10.12
- libwebgitgtk 1.0
- libv8 3.7.12
We should soon switch to a new v8 version or add an extra runner.
2013-09-06 16:26:02 +03:00
Simon Marchetto
25cb1f2094
Merge pull request #86 from smarchetto/gsoc2012-scilab
...
Scilab: fix test-suite (errors, status, verbosity)
2013-09-06 06:15:14 -07:00
Oliver Buchtala
0facc7ecf9
Allow to run the test suite with our list of smoke tests.
...
The javascript generator can not deal with the whole test-suite.
Moreover, during development I want to have immediate feedback using
a set of smoke tests.
2013-09-06 15:59:43 +03:00
Simon Marchetto
1d19663efd
Scilab: fix test suite copy file error
2013-09-06 14:46:51 +02:00
Simon Marchetto
38750fd4ec
Merge remote-tracking branch 'upstream/gsoc2012-scilab' into gsoc2012-scilab
...
Conflicts:
Source/Modules/scilab.cxx
2013-09-06 11:17:27 +02:00
Simon Marchetto
c0cc7be2e6
Scilab: remove test verbose messages
2013-09-06 10:34:53 +02:00
Simon Marchetto
74cd6281de
Scilab: ignore test ignore_template_constructor (no support of vector<class> yet)
2013-09-06 10:20:33 +02:00
William S Fulton
4f663489fb
Correct Scilab output file handling
...
Fix seg fault when builder file cannot be written.
Correct locations of output files when using -outdir - only language
specific files are output into the direrctory specified by -outdir.
2013-09-06 07:12:38 +01:00
William S Fulton
3ee711d1f4
Slight coding improvement
2013-09-06 06:55:03 +01:00
Oliver Buchtala
492d3010ff
Javascript V8 test-cases always create cpp wrappers.
2013-09-06 01:40:23 +03:00
Oliver Buchtala
26b5acbbe8
Test-suite Makefile now supports testing for all three Javascript variants.
...
- node.js
- custom JavascriptCore interpreter
- custom V8 interpreter
2013-09-06 00:42:56 +03:00
Oliver Buchtala
962207e0f3
Rewritten Javascript autoconfiguration.
2013-09-06 00:41:18 +03:00
Oliver Buchtala
29ccb270af
Renamed object provided to JS initializers.
...
JSC initializer create a new module object.
V8 initializer fill a provided 'exports' object.
2013-09-06 00:40:29 +03:00
Oliver Buchtala
4794fa1884
Refactored custom javascript engines to support primitive 'require' statements.
2013-09-06 00:38:07 +03:00
William S Fulton
6e36208928
Scilab command line options
...
Document the options.
Make scilab -help consistent with the other target languages.
2013-09-05 19:15:51 +01:00
William S Fulton
cf077090d3
Scilab documentation tweaks.
...
Minor grammar fixes.
Fix HTML.
HTML formatting changes.
2013-09-05 18:20:38 +01:00
Vladimir Menshakov
b49da78b0a
fixed deprecation warnings for v8-3.21
2013-09-05 19:50:15 +04:00
Oliver Buchtala
740da9c733
Merge pull request #17 from whoozle/devel
...
fixed v8-3.20+ compilation and deprecation warnings.
2013-09-04 09:18:42 -07:00
Vladimir Menshakov
2a39abebb6
moved common swig v8 definitions in javascriptruntime.swg, fixed obsoleted api calls
2013-09-04 20:10:42 +04:00
Oliver Buchtala
8b0ee5491a
Added missing template configuration files for nodejs based tests.
2013-09-04 18:04:40 +02:00
Oliver Buchtala
315287b656
Put the SWIG_V8_VERSION macro into "runtime" block.
2013-09-04 17:55:44 +02:00
Oliver Buchtala
4068f31c6b
Use a diffent name for the V8_VERSION provided via command line.
2013-09-04 17:54:35 +02:00
Simon Marchetto
08b779aee2
Scilab: return exit code 1 from Scilab when module build fails (for Travis test-suite status)
2013-09-04 17:42:19 +02:00
Simon Marchetto
ffc20033be
Scilab: fix test cases compilation error (header not found)
2013-09-04 17:38:36 +02:00
Vladimir Menshakov
b7db2a84c9
fixed return values and added missing newer v8 dtor wrapper.
2013-09-04 19:33:48 +04:00
Sylvestre Ledru
213d67943a
Merge pull request #83 from smarchetto/gsoc2012-scilab
...
Scilab const & enums improvements, parallelization of test-suite
2013-09-04 07:09:03 -07:00
Simon Marchetto
b4ed5625ee
Scilab: parallelization of test-suite, remove configure cache
2013-09-04 15:25:53 +02:00