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
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
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
Sami Vaarala
9fe0593d20
Merge pull request #798 from svaarala/shorten-hobject-names
Shorten some internal struct names (e.g. duk_hcompiledfunction -> duk_hcompfunc)
9 years ago
Sami Vaarala
1808333e1f
Releases: struct rename
9 years ago
Sami Vaarala
a5db8f1062
Internal doc fixes for renames
9 years ago
Sami Vaarala
e5f19202f7
Config low memory example trivia fix
9 years ago
Sami Vaarala
87d3d7f745
Makefile and dist changes for renames
9 years ago
Sami Vaarala
a804a2a630
Rename internal struct/define names
Improve readability by doing the following renames:
* duk_hcompiledfunction -> duk_hcompfunc
* duk_hnativefunction -> duk_hnatfunc
* duk_hbufferobject -> duk_hbufobj
Corresponding renames for all caps defines.
9 years ago
Sami Vaarala
0ec7e1a841
Merge pull request #795 from svaarala/releases-stdio-config-removal
Releases list update for stdio removal
9 years ago
Sami Vaarala
11d738a67f
Releases: stdio removal
9 years ago