Sami Vaarala
f6b9384d1c
Merge pull request #819 from svaarala/cleanup-which-command
Change a few more "which" invocations to "command -v"
9 years ago
Sami Vaarala
6cac3a2bd1
Change more "which" invocations to "command -v"
9 years ago
Sami Vaarala
09a8b1f4bb
Merge pull request #809 from megous/makefile-program-path-fixes
Makefile program path fixes
9 years ago
Sami Vaarala
b08e06d6ab
Merge pull request #796 from fatcerberus/module-extra
Add a Node.js-like module loader extra
9 years ago
Bruce Pascoe
06cb7a40fc
RELEASES: module-node extra
9 years ago
Bruce Pascoe
0f22066e95
make_dist.py: add module-node extra
9 years ago
Bruce Pascoe
2b65b6db8b
README.rst for Node module loader
9 years ago
Bruce Pascoe
b60940ccb3
Manual tests for Node.js module loader
Tests can be run from the command line by saying `make test` while in the
`extras/module-node` directory of the dist.
9 years ago
Bruce Pascoe
fc78f9b947
Add a Node.js-compatible module loader extra
This loader has the following features:
* Application-provided callbacks for module resolution and loading
* Module caching based on resolved module ID
* Tolerates circular `require()` chains
* Supports `module.exports`, `module.loaded`, and `module.require`
* Supports `require.cache`
* Supports `__filename` (but not `__dirname`)
9 years ago
Ondrej Jirman
dc1958e184
Add myself to AUTHORS.rst
9 years ago
Sami Vaarala
494f7a6e7c
Merge pull request #813 from svaarala/signed-shift-fix
Fix some signed shift warnings for clang
9 years ago
Sami Vaarala
cf392c1a8e
Releases: shift warnings
9 years ago
Sami Vaarala
9656c1635a
Add volatile to intentional segfaults
9 years ago
Sami Vaarala
4277782662
Avoid some signed shift issues with clang
9 years ago
Sami Vaarala
da77e0acd2
Add clang shift warning to Makefile
9 years ago
Sami Vaarala
ca01897d36
Add misc example of shift warning
9 years ago
Sami Vaarala
f3e4286cf4
Merge pull request #816 from svaarala/remove-unused-debug-code
Remove unused debug code in duk_debug_heap.c
9 years ago
Sami Vaarala
ebc69764db
Makefile/dist changes for removed duk_debug_heap.c
9 years ago
Sami Vaarala
b5c05df692
Remove unused debug heap dump support
9 years ago
Sami Vaarala
3f011334d0
Merge pull request #810 from svaarala/rename-index-variables
Avoid variables named "index" which may cause -Wshadow warnings
9 years ago
Sami Vaarala
a42c1f8da4
Releases: 'index' shadowing
9 years ago
Sami Vaarala
2426f04d32
Code issues note on platform identifier shadowing
9 years ago
Sami Vaarala
734fc4b5c6
Avoid 'index' also in API docs
9 years ago
Sami Vaarala
5ffba13a14
Add 'index' and related to rejected identifiers
9 years ago
Sami Vaarala
3b8b9ac36b
Avoid 'index' as variable/argument name
9 years ago
Ondrej Jirman
5daed85119
Determine program paths in Makefile in a more portable way
The current Makefile does not work on Arch Linux in particular,
which uses 'node' binary name.
Make output is:
which: no nodejs in (/usr/lib/hardening-wrapper/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/emscripten:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
*** Missing NodeJS:
$ sudo apt-get install nodejs nodejs-legacy npm # may also be 'node'
*** Missing BeautifulSoup (affects website build)
$ sudo apt-get install python-bs4
*** Errors found in system setup, see error messages above!
Makefile:327: recipe for target 'checksetup' failed
make: *** [checksetup] Error 1
Use multiple 'command -v' calls until one returns with success.
On failure 'command -v' output is empty, while 'which' may return
anything from 'nodejs not found' to 'which: no nodejs in (...)' and
print it either to stdout or to stderr.
9 years ago
Ondrej Jirman
06e4c83d00
Don't call python directly in Makefile, use $(PYTHON)
9 years ago
Sami Vaarala
d38b20a187
Merge pull request #806 from svaarala/document-code-comment-styles
Add some notes on code comment styles
9 years ago
Sami Vaarala
999bca3ed3
Merge pull request #807 from svaarala/minimal-printf-clarifications
Comment on minimal printf() and duk_push_sprintf()
9 years ago
Sami Vaarala
78587b4762
Comment on minimal printf() and duk_push_sprintf()
9 years ago
Sami Vaarala
630da6f630
Add some notes on code comment styles
9 years ago
Sami Vaarala
59c409abbc
Merge pull request #805 from dbohdan/dbohdan-in-authors
Add myself to AUTHORS.rst
9 years ago
Danyil Bohdan
756e5e33f0
Move my name in AUTHORS.rst to Authors
9 years ago
Danyil Bohdan
07e804ab9e
Add myself to AUTHORS.rst
9 years ago
Sami Vaarala
4d3f7347e0
Merge pull request #783 from svaarala/rework-debug-level-macros
Simplify debug level config options
9 years ago
Sami Vaarala
4abe4f7203
Releases: DUK_USE_DEBUG_LEVEL
9 years ago
Sami Vaarala
a16c306a6b
2.0 migration notes for DUK_USE_DEBUG_LEVEL
9 years ago
Sami Vaarala
2ddc22fc45
Dist makefile debug print example
9 years ago
Sami Vaarala
c787aef1dd
Example rombuild fix for DUK_USE_DEBUG_LEVEL
9 years ago
Sami Vaarala
b9622b3692
Internal doc fixes for DUK_USE_DEBUG_LEVEL
9 years ago
Sami Vaarala
b82a92e08b
Makefile changes for DUK_USE_DEBUG_LEVEL
9 years ago
Sami Vaarala
100894b3ac
Use DUK_USE_DEBUG_LEVEL for debug level control
9 years ago
Sami Vaarala
9e7d00328c
Config changes for DUK_USE_DEBUG_LEVEL
9 years ago
Sami Vaarala
6ddeb7b56c
Merge pull request #803 from svaarala/minimal-printf-optimization
Clean up and optimize minimal printf()
9 years ago
Sami Vaarala
e095ca011b
Clean up and optimize minimal printf()
Simplify negative sign handling, shave off about 60 bytes on x86.
Total footprint on x86 -Os is about 740-750 bytes.
9 years ago
Sami Vaarala
53599c04e3
Merge pull request #801 from svaarala/minimal-printf-provider
Add a minimal Duktape-optimized printf() provider to extras
9 years ago
Sami Vaarala
1125407e87
Releases: minimal printf provider
9 years ago
Sami Vaarala
d95e129c35
Fix config platform function typo
9 years ago
Sami Vaarala
0d6c54e38e
Add minimal-printf extra to dist
9 years ago
Sami Vaarala
57f6223e0b
Add minimal printf replacement
9 years ago