Sami Vaarala
29605d21e0
Merge pull request #851 from svaarala/fix-plain-buffer-properties-doc
Fix plain buffer virtual property documentation
8 years ago
Sami Vaarala
c37fe7b18c
Fix plain buffer virtual property documentation
Missing .byteLength, .byteOffset, .BYTES_PER_ELEMENT.
8 years ago
Saúl Ibarra Corretgé
d88548164a
Add helper to evaluate file as CommonJS module
8 years ago
Saúl Ibarra Corretgé
7a37618141
Use an anonymous function in Node module loader extra
8 years ago
Sami Vaarala
2851a0746d
Merge pull request #850 from svaarala/fix-ptrcomp-stringtable
Fix compilation error when using pointer compression and probe-based string table
8 years ago
Sami Vaarala
2344e7bed9
Releases: string table pointer compression fix
8 years ago
Sami Vaarala
5420a0c671
Fix ptr decompression for probe strtable variant
8 years ago
Sami Vaarala
162cde8351
Merge pull request #847 from svaarala/improved-pool-allocator
Add an improved low memory pool allocator extra
8 years ago
Sami Vaarala
daa26435b8
Releases: alloc-pool
8 years ago
Sami Vaarala
7b36cccc3a
Dist changes for alloc-pool extra
9 years ago
Sami Vaarala
8a08cadb13
Add alloc-pool extra with auto pool sizing
9 years ago
Sami Vaarala
62ef74d0dd
Merge pull request #842 from saghul/author
Add myself to AUTHORS.rst
9 years ago
Saúl Ibarra Corretgé
7f4dacf83a
Add myself to AUTHORS.rst
9 years ago
Sami Vaarala
211e7c07d3
Merge pull request #841 from saghul/fix-node-loader
Fix non-source module loading in Node loader
9 years ago
Saúl Ibarra Corretgé
1760fe334a
Fix non-source module loading in Node loader
9 years ago
Sami Vaarala
05f8d031f1
Merge pull request #840 from svaarala/strict-mode-undecl-write-message
Better error message for strict mode undeclared variable write
9 years ago
Sami Vaarala
ddd8c44112
Releases: strict undecl var error
9 years ago
Sami Vaarala
d7ce53e40e
Testcase for undeclared var read/write error
9 years ago
Sami Vaarala
b060af8966
Better msg for strict mode undefined var write
9 years ago
Sami Vaarala
b8fd2dab4d
Merge pull request #829 from svaarala/make-coroutines-optional
Make coroutine support optional
9 years ago
Sami Vaarala
ec17e3ee30
Releases: optional coroutines
9 years ago
Sami Vaarala
21ca347914
Testrunner feature stripped size test
9 years ago
Sami Vaarala
f40e9a042a
Low memory notes on footprint stripping
9 years ago
Sami Vaarala
8f172c6ce9
Config changes for optional coroutines
9 years ago
Sami Vaarala
9749eadbc5
Make coroutines optional
Disable coroutine support pretty roughly (saves around 2kB footprint):
- Duktape.Thread() constructor throws.
- Duktape.Thread methods yield(), resume(), current() throw.
- Bytecode executor doesn't handle yield/resume.
You can still create Duktape threads from the C API and make calls into
the threads. But the threads can't launch/resume new threads.
9 years ago
Sami Vaarala
9f0546cebb
Merge pull request #702 from svaarala/duk-tval-macro-cleanups
Duk_tval macro cleanup and optimization
9 years ago
Sami Vaarala
cfaf4dfcbb
Releases: duk_tval rework
9 years ago
Sami Vaarala
0c7a385217
Config metadata fix for fastint vs. 64bit ops
9 years ago
Sami Vaarala
eb27efb9be
Testclient duk_tval variants
9 years ago
Sami Vaarala
1472baa581
Rework duk_tval fastint/int macros
* Rename fastint macros so that e.g. DUK_SET_FASTINT_U32() becomes simply
DUK_SET_U32(). This makes more sense because the macros are also enabled
without fastint support. Right now the macros will just cast e.g. a uint32
to a double and set it to the duk_tval, but that operation can be optimized
even when fastints are not present.
9 years ago
Sami Vaarala
d66267905f
Merge pull request #827 from svaarala/reduce-error-code-count
Remove Duktape specific error codes
9 years ago
Sami Vaarala
a2a1d967ec
Releases: remove custom error codes
9 years ago
Sami Vaarala
c3b168e78f
2.0 migration notes for error code removal
9 years ago
Sami Vaarala
322a4ce1b8
API test fixes for error code changes
9 years ago
Sami Vaarala
a6a07c1889
API documentation fixes for error code removal
9 years ago
Sami Vaarala
a7f1adaf63
Remove Duktape specific error subtypes
These don't play well with the API currently: the Duktape specific error
codes don't have Ecmascript Error class counterparts so they don't get
represented usefully as Ecmascript objects (e.g. AllocError is a plain
Error from Ecmascript point of view).
There's no real need for Duktape specific error code. Some of the codes
had become unused; a couple were used but Ecmascript standard types can
be used instead.
Also minor error message tweaking.
9 years ago
Sami Vaarala
5d3b041a20
Merge pull request #828 from svaarala/console-extra-string-minify
Make console (and logging) extra init JS a bit more compact
9 years ago
Sami Vaarala
8e1222bbce
Logging init JS more compact, indent
9 years ago
Sami Vaarala
8e6c849e42
Compact init JS code for console extra
9 years ago
Sami Vaarala
279c23ac7b
Merge pull request #826 from svaarala/fix-executor-compile-warnings
Fix some executor compiler warnings
9 years ago
Sami Vaarala
82ae46d1ec
Fix some executor compiler warnings
9 years ago
Sami Vaarala
6d7a00d574
Merge pull request #825 from svaarala/switch-arg-casts
Remove explicit switch argument casts
9 years ago
Sami Vaarala
f677bf44e2
Releases: switch casts
9 years ago
Sami Vaarala
915d93997b
Code issues note on switch casting
9 years ago
Sami Vaarala
8fb43bfcfd
Remove int cast from switch arguments
Avoid some other int casts (leftovers from previous reworks).
9 years ago
Sami Vaarala
fb1b91e4b3
Merge pull request #674 from svaarala/perf-executor-regconst-macro-rework
Use single shift+mask in executor reg/const access
9 years ago
Sami Vaarala
9c6d403fa8
Releases: executor shift/const
9 years ago
Sami Vaarala
166774ec4c
Testrunner test for regconst variants
9 years ago
Sami Vaarala
5910806f28
Use single shift+mask in executor reg/const access
Instead of decoding a field (say A) and then computing DUK__REGP which
involves further shifting of the value, add macros such as DUK__REGP_A(ins)
which operate directly on the 32-bit 'ins' and use a single shift+mask to
get the byte offset (rather than element offset) for the target reg/const.
Technically the compiler should be able to do this, but in practice at
least gcc -O2 won't.
9 years ago
Sami Vaarala
a8df747d3a
Config option for executor regconst optimization
9 years ago