Oliver Buchtala
31feff8586
Add missing return statement in v8 code template.
2013-08-31 03:34:38 +02:00
Oliver Buchtala
5da4f5794c
Add preprocessor define for building node.js extensions.
2013-08-31 03:34:38 +02:00
Oliver Buchtala
65560a8664
Fix v8 string conversion in case of null arguments.
2013-08-31 03:34:38 +02:00
Oliver Buchtala
e3da21ee44
Add more ignores.
2013-08-31 03:34:38 +02:00
Oliver Buchtala
a4036deda8
Add pre-processor defines to detect the javascript engine.
2013-08-31 03:34:38 +02:00
Oliver Buchtala
b0cb875ac1
Merge branch 'devel' of github.com:oliver----/swig-v8 into devel
2013-08-31 03:34:37 +02:00
Oliver Buchtala
8b10c47ed8
Fix regression: add an include for Node.js header.
2013-08-31 03:34:37 +02:00
Oliver Buchtala
22525249f2
Resolve compile warnings in v8_shell.
2013-08-31 03:34:37 +02:00
Oliver Buchtala
8eb9aa9e73
Add gitignore file.
2013-08-31 03:34:37 +02:00
Oliver Buchtala
04c0803f73
Fixes in configuration to detect JavascriptCore on MacOSX correctly.
2013-08-31 03:34:37 +02:00
Oliver Buchtala
4ac7065c3b
Bugfix: in javascript interpreter load extensions on MacOSX correctly.
2013-08-31 03:34:37 +02:00
Oliver Buchtala
04cdde0563
Add test to check javascript unicode strings.
2013-08-31 03:34:37 +02:00
Oliver Buchtala
caa92740d3
Add an option to deactivate creation of an extra module object in javascript.
...
This is useful, if the extension host calls the initializer with custom
local variables.
E.g., this is the case with node.js.
2013-08-31 03:23:12 +02:00
Oliver Buchtala
213c107b7f
Add a swig macro to register node.js extensions.
2013-08-31 03:23:12 +02:00
Oliver Buchtala
4fea3a403e
Generate an extra file part after the initializer for v8 modules.
...
E.g., this is useful for creating node.js modules.
2013-08-31 03:23:12 +02:00
Oliver Buchtala
31844ac72a
Simplify the signature of the v8 module intializer.
2013-08-31 03:23:11 +02:00
Oliver Buchtala
9d630ab930
Fix std::string support for v8.
2013-08-31 03:23:11 +02:00
Oliver Buchtala
2c4a90a37d
Generate defines for initializer function.
2013-08-31 03:23:11 +02:00
Oliver Buchtala
be06ceea26
Fixes in std_string for JSC generator.
2013-08-31 03:23:11 +02:00
Oliver Buchtala
7fffd801e4
Fix std_string.i which generated compile errors in certain cases.
2013-08-31 03:23:11 +02:00
Oliver Buchtala
fb9c4955fb
Not a real change: removed some trailing spaces.
2013-08-31 03:23:11 +02:00
Oliver Buchtala
f9d6afbdfe
Add a missing return statement in JS shell.
2013-08-31 03:23:11 +02:00
Oliver Buchtala
9d22644563
Rename a argument variable to avoid errors with overloaded functions.
2013-08-31 03:23:11 +02:00
Oliver Buchtala
bad64925ed
Configuration is now easier for building and running examples and tests using v8.
2013-08-31 03:23:10 +02:00
Oliver Buchtala
caa6827daf
Javascript interpreter supports for JSC and V8 simultaneously.
...
Before, one had to build two different versions.
2013-08-31 03:23:10 +02:00
Oliver Buchtala
008adca72f
Provide more control about the target object/namespace where a v8 module is registered to.
2013-08-31 03:23:10 +02:00
Oliver Buchtala
6754bf2b49
Generate cleanup code for %newobject.
2013-08-31 03:23:10 +02:00
Oliver Buchtala
058a27bf32
Simplify creation of a Javascript shell.
2013-08-31 03:23:10 +02:00
Oliver Buchtala
57980975a0
Generate cleanup code.
2013-08-31 03:23:10 +02:00
William S Fulton
05cc859d38
Scilab example Makefiles update.
...
Make consistent with other languages.
Output is also suppressed when run from top level directory - see
RUNPIPE.
2013-08-30 23:53:57 +01:00
William S Fulton
f49ec3c2d6
Improve .gitignore for examples
2013-08-30 23:51:28 +01:00
William S Fulton
fe12f8ccd7
Scilab configure tidy up
2013-08-30 22:20:19 +01:00
William S Fulton
9b51d7d869
Example makefile tidy up
2013-08-30 22:14:21 +01:00
William S Fulton
2114c65201
Fix merge mess - restore changes as they are on master
2013-08-30 21:56:55 +01:00
William S Fulton
f8a4f8ef2a
Minor makefile tidyup
2013-08-30 19:52:11 +01:00
William S Fulton
3dd4b50da8
Tidy up .gitignore
2013-08-30 19:52:11 +01:00
William S Fulton
d4df5fb07b
Code style fixes.
...
Output after running 'make beautify-file' on scilab file
2013-08-30 19:51:58 +01:00
William S Fulton
ef02bc434e
Remove non scilab changes - swigwin
...
CMake should be used instead of a specific version of Visual Studio
project files if Visual Studio support is required.
2013-08-30 19:07:53 +01:00
William S Fulton
678058dbc7
Revert non-scilab changes: Octave modifications
2013-08-30 19:07:10 +01:00
Simon Marchetto
1ab2bd15b1
Scilab: clean enum management code (no need to force enum type)
2013-08-30 16:46:45 +02:00
Simon Marchetto
39bab12d2c
Scilab: add %scilabconst in enum example
2013-08-30 16:41:42 +02:00
Simon Marchetto
74aebf252d
Scilab: consider int as default type for STL container of values (so it works for container of enums)
2013-08-30 16:03:20 +02:00
William S Fulton
4492a3d76b
Document Include Lua error locus in SWIG error messages patches.
...
Closes #81
2013-08-30 07:11:43 +01:00
Miles Bader
c746ae7a0f
Include Lua error locus in SWIG error messages
...
This is standard information in Lua error messages, and makes it much
easier to find bugs.
2013-08-30 06:56:33 +01:00
Miles Bader
663c41e248
Add Lua runtime helper functions for error-handling
...
Add two helper functions to the Lua runtime, "SWIG_Lua_pusherrstring"
and "SWIG_Lua_pushferrstring".
These are like the standard Lua functions lua_pushstring and
lua_pushfstring respectively, except that the strings are prefixed
with the location of the innermost Lua call-point (as generated by
luaL_where).
2013-08-30 06:56:33 +01:00
William S Fulton
ada7dd92e4
Fix testcase name
2013-08-29 22:49:59 +01:00
William S Fulton
f55ff50dd5
Skip the UTF-8 BOM of including files.
...
For avoiding illegal token error when parsing include files which have the UTF-8 BOM.
Closes #75 .
2013-08-29 19:22:50 +01:00
Vadim Zeitlin
9efaf954c7
Add support for std::map<> comparator template argument for C#.
...
Allow exporting maps using non-default comparison function.
Closes #77
2013-08-29 19:08:15 +01:00
Simon Marchetto
f1d289925a
Scilab: wrap enums to Scilab variables (if %feature scilab:const")
2013-08-29 18:14:59 +02:00
Simon Marchetto
1b6fff9da5
Scilab: fix portability issue in configure.ac
2013-08-29 09:07:29 +02:00