summaryrefslogtreecommitdiff
path: root/Examples/javascript
Commit message (Collapse)AuthorAgeFilesLines
* [js] Stop using swig -c++ for C examplesOlly Betts2023-04-2321-25/+31
|
* [js] Improve default for JSENGINEOlly Betts2023-04-221-9/+3
| | | | | | | | | | | | | | Previously the default was always "node", even if nodejs wasn't detected by configure. This leads to a confusing failure from "make check" if you have another support JS engine installed but not node. Now the default it picked based on which engines configure found. If only one was detected, that should be used. If multiple are, you can override the default choice by specifying e.g. ENGINE=jsc on the make command line. Fixes #2453
* Javascript v8 object to string exceptions improvementWilliam S Fulton2022-09-191-1/+1
|
* Javascript, Octave, R - Improve exceptions for %catchesWilliam S Fulton2022-09-191-6/+6
| | | | | | | | | and exception specifications for native types. Now the raised exception contains the string value as the exception message instead of just the C/C++ type of the exception. R exceptions were completely swallowed beforehand
* Improve #include guard macrosOlly Betts2022-07-191-2/+2
| | | | | | | Avoid using reserved identifiers such as `_DOHINT_H` (fixes #1989), fix cases where the name doesn't match the filename, and make the naming more consistent and less likely to collide with include guards in other headers.
* Fix testcase -Wstringop-truncation warning in gcc11William S Fulton2021-11-121-1/+1
|
* Replace Handle with Local depending on Node.js versionYegor Yefremov2020-04-071-1/+1
| | | | | Use newly introduced macros like SWIGV8_VALUE to use v8::Handle or v8::Local depending on the selected Node.js version where possible.
* Dev Checkpoint 201906261312Chris Walker2019-06-261-1/+1
|
* Dev Checkpoint 201906252227Chris Walker2019-06-251-0/+1
|
* Dev Checkpoint 201906252221Chris Walker2019-06-251-8/+8
|
* Dev Checkpoint 201906252210Chris Walker2019-06-252-4/+8
|
* Dev Checkpoint 201906252113Chris Walker2019-06-251-91/+28
|
* JS Example Campatibility UpdateTekuConcept2019-05-091-6/+18
|
* Add Native Directive ExampleTekuConcept2019-05-086-0/+141
|
* Misc. typosluz.paz2018-05-172-6/+6
| | | found via `codespell` and `grep`
* Examples update to support C++17: exception specification throw removalWilliam S Fulton2018-05-042-20/+11
|
* Fix various comment and documentation typosOlly Betts2017-08-131-1/+1
|
* Correct <string> back to <string.h>Olly Betts2017-03-221-1/+1
| | | | Erroneously changed in 760c00831168646502637be5e29cac2b55f5de22.
* Warning fixes for gcc-7William S Fulton2017-02-061-1/+8
| | | | warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
* Remove use of preinst-swig scriptWilliam S Fulton2015-08-211-8/+11
| | | | | | | | | | | | | 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.
* Eliminate trivial differences between the reference examplesOlly Betts2014-11-072-5/+1
|
* Remove bogus ; after } in examplesOlly Betts2014-11-071-2/+2
|
* Remove unneeded parameterRichard2014-08-281-1/+1
|
* Show V8 Deprecated warningsRichard2014-08-281-1/+1
|
* Fixed buffer overrunRichard2014-08-281-4/+4
|
* Allow to specify V8 version, for exampleRichard2014-08-281-1/+7
| | | | V8_VERSION=0x031511 ENGINE=v8 make check-javascript-examples
* Fix Javascript examples so that "make clean" works properly with nodeKarl Wette2014-05-297-7/+7
| | | | | - 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
* Fix compiler warnings in examples when using -std=c++98 -std=gnu89 -pedantic ↵William S Fulton2014-05-242-3/+3
| | | | -Wreturn-type
* Javascript examples tidy upWilliam S Fulton2014-05-184-2/+2
| | | | | - Remove empty files - Improve clean
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-1165-140/+153
| | | | | | | | | | | | | | | | | | | | | | | - 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
* More cleaning up of the class examplesOlly Betts2014-05-053-16/+15
|
* Remove execute permissions from various non-executable filesKarl Wette2014-05-0235-0/+0
| | | | | | - 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
* Make javascript 'nspace' conform to corresponding lua example.Oliver Buchtala2014-04-2910-71/+78
|
* Enable javascript examples 'exception', 'namespace'.Oliver Buchtala2014-04-271-2/+2
|
* Fix node-gyp configuration for example 'exception'.Oliver Buchtala2014-04-271-1/+22
|
* Javascript example Makefiles more consistent with other languagesWilliam S Fulton2014-04-2414-47/+22
|
* Remove unnecessary blank lines from Javascript examplesWilliam S Fulton2014-04-195-44/+44
|
* Remove junk filesWilliam S Fulton2014-04-102-31/+0
|
* Fix regressions in configuration of some Javascript examples.Oliver Buchtala2014-02-264-4/+4
|
* Fix custom javascript interpreter configuration for OSX.Oliver Buchtala2014-02-261-1/+1
|
* Make examples work with node.js and the custom interpreter.Oliver Buchtala2014-02-2627-13/+26
|
* Simplification in common javascript example Makefile.Oliver Buchtala2014-02-201-12/+1
|
* Deactivated broken JS examples.Oliver Buchtala2014-02-201-3/+3
|
* Refactored configuration for javascript examples.Oliver Buchtala2014-02-2014-260/+89
|
* Javascript examples.Oliver Buchtala2013-09-2776-0/+1685