Commit Graph

29 Commits

Author SHA1 Message Date
Olly Betts f2bcc41d48 [javascript] Fix v8 support and add CI coverage
Update the v8 support to work with recent v8 releases.

Fix bitrot in the testsuite and examples so they pass for v8.

Adjust configure probes so we can successfully probe for v8 without
assistance on Debian and Ubuntu (and probably other platforms; those
are just the two I've tested, and both use multiarch library
directories which weren't being allowed for).

Closes #3028
See #2537
2024-09-20 09:47:27 +12:00
Olly Betts af87945aea Clean up double spaces between words in comments 2023-05-16 09:55:49 +12:00
Olly Betts fd6c0255a2 Remove superfluous semicolons 2022-02-15 14:00:12 +13:00
Olly Betts 7c97bd5ab3 [js] Remove code to handle v8 < 5.0
We require at least node v6 which means v8 5.0, so code to handle
older v8 is no longer useful.
2021-12-02 14:04:25 +13:00
Olly Betts b3bedc210c [Javascript] For v8 >= 4.3.0, use V8_MAJOR_VERSION.
Fixes https://github.com/swig/swig/issues/561.
2016-01-12 09:33:13 +13:00
Bruce Mitchener 78de526b1d [js] v8-shell.cxx had some Windows line endings. 2014-10-15 18:38:39 +07:00
Richard 911fd761b0 Minor improvements 2014-08-28 19:46:52 -05:00
Richard 6fee208010 Fixes for v8 3.19.2 (0x031902) 2014-08-28 19:46:51 -05:00
Richard a6ffb22a2a Fixed for v8 3.27.34 2014-08-28 19:46:51 -05:00
Richard d4920591d4 Fixes for v8 3.24.3 (0x032403) 2014-08-28 19:46:51 -05:00
Richard 1a0605bf45 Partial fixes for 3.24.40 (0x032440) - incomplete 2014-08-28 19:46:51 -05:00
Richard 98b1fca4d8 Fixed for v8 3.25.30 (0x032530) 2014-08-28 19:46:50 -05:00
Richard e98a659246 Fixes for v8 3.21.17 (0x032117) 2014-08-28 19:46:50 -05:00
Richard 3d63f9113b Fixes for v8 3.19.18 (0x031918) 2014-08-28 19:46:50 -05:00
Richard 8ee40e408b Fixes for v8 3.17.10 (0x031710) 2014-08-28 19:46:50 -05:00
Karl Wette 7cd9063b52 Remove execute permissions from various non-executable files
- source files and Makefiles need never be executable
- scripts are run directly by their interpreters in the
  test suites, so also do not need to be executable
2014-05-02 20:06:11 +02:00
Oliver Buchtala c2f22bb2b8 Fix regression in custom v8 interpreter.
Issue showed up with newer v8 version.
2014-03-06 06:32:06 +01:00
Oliver Buchtala 4794fa1884 Refactored custom javascript engines to support primitive 'require' statements. 2013-09-06 00:38:07 +03:00
Oliver Buchtala 22525249f2 Resolve compile warnings in v8_shell. 2013-08-31 03:34:37 +02:00
Oliver Buchtala 31844ac72a Simplify the signature of the v8 module intializer. 2013-08-31 03:23:11 +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 058a27bf32 Simplify creation of a Javascript shell. 2013-08-31 03:23:10 +02:00
Oliver Buchtala 2092793868 Make v8 shell more quiet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:14:14 +00:00
Oliver Buchtala 915e65135c Minor fix in v8 shell.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:09:43 +00:00
Oliver Buchtala 9a914af2b7 Fix v8 shell to initialize v8 context in proper order.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13797 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:08:16 +00:00
Oliver Buchtala 022c274256 Minor fixes in v8 javascript shell.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:07:21 +00:00
Oliver Buchtala 5fab9c8a38 Minor cleanup in javascript shell implementation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:04:40 +00:00
Oliver Buchtala 10dc758cad Refactored javascript shell implementation to support JSC and v8.
Also changed configuration in examples Makefile.in to allow switching modes.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 01:03:42 +00:00