Sami Vaarala
|
ec182c08a7
|
draft modules section in guide
|
11 years ago |
Sami Vaarala
|
b22205d979
|
internal doc on logger names and tracebacks inside modules
|
11 years ago |
Sami Vaarala
|
3d7ee0ad28
|
fix 'fileName' of module wrapper function so that logger default names inside modules come out right
|
11 years ago |
Sami Vaarala
|
aed402827d
|
testcase fixes (mostly) related to Duktape.modSearch and Duktape.modLoaded rename
|
11 years ago |
Sami Vaarala
|
dd4f75ec9a
|
update internal modules doc
|
11 years ago |
Sami Vaarala
|
a03921f906
|
rename Duktape.find -> Duktape.modSearch and Duktape.loaded -> Duktape.modLoaded
|
11 years ago |
Sami Vaarala
|
72c0cd0bd7
|
release note update
|
11 years ago |
Sami Vaarala
|
2676ba9b35
|
module notes
|
11 years ago |
Sami Vaarala
|
3345845d0e
|
fix testcase to deal with non-writable require.id
|
11 years ago |
Sami Vaarala
|
d9460f92dd
|
make require.id non-writable but configurable; perhaps it makes sense to make it also nonconfigurable as there should be quite limited situations where it would need to be tweaked (and user could rewrite require() instead)
|
11 years ago |
Sami Vaarala
|
6e61d08843
|
test case for module search function behavior
|
11 years ago |
Sami Vaarala
|
75b01f9997
|
make require.id non-enumerable
|
11 years ago |
Sami Vaarala
|
cb6a948738
|
fix testcase to match new find() behavior
|
11 years ago |
Sami Vaarala
|
922dddaf74
|
commonjs license note
|
11 years ago |
Sami Vaarala
|
f445f972ef
|
add snapshot of commonjs module specs: they are under the MIT license
|
11 years ago |
Sami Vaarala
|
d0213c2b12
|
update internal modules doc
|
11 years ago |
Sami Vaarala
|
0f83c08bbb
|
rework module search arrangement to provide require, exports, and module to the search function, which allows simple C module / DLL support
|
11 years ago |
Sami Vaarala
|
4af157832f
|
draft of modules implementation
|
11 years ago |
Sami Vaarala
|
d5e7d7acc6
|
add example from commonjs spec
|
11 years ago |
Sami Vaarala
|
7cf4546d73
|
commonjs require identifier resolution tests
|
11 years ago |
Sami Vaarala
|
998e245e4b
|
a few more commonjs module env tests
|
11 years ago |
Sami Vaarala
|
76c9d098cd
|
fix 'this' binding for module require
|
11 years ago |
Sami Vaarala
|
f061056005
|
testcase for handling CommonJS module environment
|
11 years ago |
Sami Vaarala
|
2a3203d58b
|
randomized require() test
|
11 years ago |
Sami Vaarala
|
ea2c5f0af3
|
testcase for tweaked require.id sanity
|
11 years ago |
Sami Vaarala
|
370f6a1130
|
add first draft of module id resolution
|
11 years ago |
Sami Vaarala
|
7d04c807f3
|
testcase for require.id treatment
|
11 years ago |
Sami Vaarala
|
422b4aad44
|
fix testcase to use Duktape.find; this will change again though
|
11 years ago |
Sami Vaarala
|
62bb136beb
|
initjs fix for Duktape.loaded
|
11 years ago |
Sami Vaarala
|
eefa8026a4
|
add some uses of duk_push_hobject_bidx()
|
11 years ago |
Sami Vaarala
|
2c1a417a06
|
prepare for module resolution, replace require.loaded and require.find with Duktape.loaded and Duktape.find, as there are multiple require instances
|
11 years ago |
Sami Vaarala
|
1daecfa5e2
|
create a new require() instance for each submodule: this is needed to deal with relative module paths;
rename testcase
|
11 years ago |
Sami Vaarala
|
26608a8034
|
typing fixes
|
11 years ago |
Sami Vaarala
|
93f2ee6986
|
downgrade logger debug writes accidentally left at a high logging level
|
11 years ago |
Sami Vaarala
|
6955203682
|
circular require test
|
11 years ago |
Sami Vaarala
|
56bb24f35c
|
initial drafting of a CommonJS require() function
|
11 years ago |
Sami Vaarala
|
9342bc2d01
|
Merge branch 'emscripten-fixes'
|
11 years ago |
Sami Vaarala
|
88a231a0b4
|
release note update
|
11 years ago |
Sami Vaarala
|
f09a6e8545
|
dukweb.js now works under Firefox
|
11 years ago |
Sami Vaarala
|
8cc163b591
|
skip double aliasing self test when compiled under Emscripten: it fails, but it's not a problem because we avoid the packed duk_tval type in Emscripten
|
11 years ago |
Sami Vaarala
|
6df0371145
|
Merge branch 'emscripten-fixes'
|
11 years ago |
Sami Vaarala
|
6b45f74eba
|
release note update
|
11 years ago |
Sami Vaarala
|
3f437e4b58
|
Merge branch 'emscripten-fixes'
|
11 years ago |
Sami Vaarala
|
31ba1d8ace
|
emscripten fix to allow duktape to compile with a newer Emscripten (GH-11)
|
11 years ago |
Sami Vaarala
|
b2c6f4fa5a
|
emscripten status update
|
11 years ago |
Sami Vaarala
|
f9cffe5ee5
|
add more temporary emscripten fixes to fix_emscripten.py (GH-11)
|
11 years ago |
Sami Vaarala
|
b173a6e98d
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
3385bb4cba
|
add EMCC_FAST_COMPILER=0 env to Makefile, fixes typedarray issue with recent emscripten
|
11 years ago |
Sami Vaarala
|
560ee0852b
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
011982a79a
|
Merge branch 'va-copy-fix'
|
11 years ago |