William S Fulton
d15a3cb1d4
Fix testcase -Wstringop-truncation warning in gcc11
2021-11-12 19:00:20 +00:00
Yegor Yefremov
26fc996ad6
Replace Handle with Local depending on Node.js version
...
Use newly introduced macros like SWIGV8_VALUE to use v8::Handle or
v8::Local depending on the selected Node.js version where possible.
2020-04-07 14:13:12 +02:00
Chris Walker
1aa9e5c722
Dev Checkpoint 201906261312
2019-06-26 13:12:19 -06:00
Chris Walker
df3ac2ba98
Dev Checkpoint 201906252227
2019-06-25 22:27:08 -06:00
Chris Walker
4b3b5f2abb
Dev Checkpoint 201906252221
2019-06-25 22:21:34 -06:00
Chris Walker
2c2e638d89
Dev Checkpoint 201906252210
2019-06-25 22:10:46 -06:00
Chris Walker
e7993dca97
Dev Checkpoint 201906252113
2019-06-25 21:13:49 -06:00
TekuConcept
19d284a896
JS Example Campatibility Update
2019-05-09 11:54:12 -06:00
TekuConcept
f16350e774
Add Native Directive Example
2019-05-08 17:45:05 -06:00
luz.paz
60dfa31a67
Misc. typos
...
found via `codespell` and `grep`
2018-05-17 10:04:23 -04:00
William S Fulton
c9a10eb726
Examples update to support C++17: exception specification throw removal
2018-05-04 20:02:13 +01:00
Olly Betts
90f9117e10
Fix various comment and documentation typos
2017-08-13 18:04:33 +12:00
Olly Betts
2c910e47ae
Correct <string> back to <string.h>
...
Erroneously changed in 760c008311
.
2017-03-22 15:37:04 +13:00
William S Fulton
760c008311
Warning fixes for gcc-7
...
warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
2017-02-06 20:30:09 +00:00
William S Fulton
8e2bc595c6
Remove use of preinst-swig script
...
Complete the prototype removal in ca1431.
The script prevents SWIGTOOL=gdb from working as gdb can't be used to
debug a shell script, it requires a binary.
Add support for SWIGTOOL in all the examples.
SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles.
See issue #473 .
2015-08-21 22:43:17 +01:00
Olly Betts
ac1f067ce9
Eliminate trivial differences between the reference examples
2014-11-07 15:34:43 +13:00
Olly Betts
37cd1474b5
Remove bogus ; after } in examples
2014-11-07 15:34:43 +13:00
Richard
a3946e1520
Remove unneeded parameter
2014-08-28 19:46:52 -05:00
Richard
c23375d39d
Show V8 Deprecated warnings
2014-08-28 19:46:51 -05:00
Richard
2a662502a5
Fixed buffer overrun
2014-08-28 19:46:49 -05:00
Richard
19d2976962
Allow to specify V8 version, for example
...
V8_VERSION=0x031511 ENGINE=v8 make check-javascript-examples
2014-08-28 19:46:49 -05:00
Karl Wette
74e17fdbf6
Fix Javascript examples so that "make clean" works properly with node
...
- Need to copy example.cxx to build directory so that build products
end up in the right place; use a gyp command expansion to do so
2014-05-29 02:29:27 +02:00
William S Fulton
f39ed94419
Fix compiler warnings in examples when using -std=c++98 -std=gnu89 -pedantic -Wreturn-type
2014-05-24 13:13:32 +01:00
William S Fulton
ac89f7f785
Javascript examples tidy up
...
- Remove empty files
- Improve clean
2014-05-18 00:59:47 +01:00
Karl Wette
f574a34155
Allow examples and test-suite to be built out of source tree
...
- Examples/Makefile.in rules use SRCDIR as the relative source directory
- ./config.status replicates Examples/ source directory tree in build
directory, and copies each Makefile to build directory, prefixed with
a header which sets SRCDIR to source directory
- Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir
- Examples/test-suite/errors/Makefile.in needs to filter out source
directory from SWIG error messages
- Lua: embedded interpreters are passed location of run-time test
- Python: copy run-time scripts to build directory because of 2to3
conversion; import_packages example copies __init__.py from source
directory; test-suite sets SCRIPTDIR to location of run-time tests
- Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir
can be substituted with SRCDIR; removed './' from require() statements
so that NODE_PATH can be used to point Node.js to build directory
2014-05-11 23:21:10 +02:00
Olly Betts
b115c984a9
More cleaning up of the class examples
2014-05-05 16:14:31 +12: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
b30c6a452f
Make javascript 'nspace' conform to corresponding lua example.
2014-04-29 00:29:17 +02:00
Oliver Buchtala
cb7a1f23f5
Enable javascript examples 'exception', 'namespace'.
2014-04-27 00:37:21 +02:00
Oliver Buchtala
4c8a1ea5e8
Fix node-gyp configuration for example 'exception'.
2014-04-27 00:30:57 +02:00
William S Fulton
dbf80cbaa5
Javascript example Makefiles more consistent with other languages
2014-04-24 22:18:12 +01:00
William S Fulton
aae63efcfe
Remove unnecessary blank lines from Javascript examples
2014-04-19 17:59:49 +01:00
William S Fulton
921189415a
Remove junk files
2014-04-10 07:58:02 +01:00
Oliver Buchtala
348cb2026e
Fix regressions in configuration of some Javascript examples.
2014-02-26 22:56:31 +01:00
Oliver Buchtala
424e3f4712
Fix custom javascript interpreter configuration for OSX.
2014-02-26 22:46:24 +01:00
Oliver Buchtala
15f12d9b59
Make examples work with node.js and the custom interpreter.
2014-02-26 22:44:37 +01:00
Oliver Buchtala
3f22a3d639
Simplification in common javascript example Makefile.
2014-02-20 11:37:40 +01:00
Oliver Buchtala
fd0e75843d
Deactivated broken JS examples.
2014-02-20 11:14:48 +01:00
Oliver Buchtala
77ead7017c
Refactored configuration for javascript examples.
2014-02-20 11:13:57 +01:00
Oliver Buchtala
48af60d829
Javascript examples.
2013-09-27 03:25:28 +02:00