Sami Vaarala
4f49355a99
More test coverage for case insensitive regexps
7 years ago
Sami Vaarala
e6cec5681f
Perf test additions for regexps
7 years ago
Sami Vaarala
5fe5313843
Faster case insensitive regexp canonicalization
7 years ago
Sami Vaarala
dd11b64d09
Add DUK_USE_REGEXP_CANON_BITMAP config option
7 years ago
Sami Vaarala
12ee75d7c6
Configure.py canon_bitmap support
7 years ago
Sami Vaarala
8d096b15ba
Unicode tool canonicalization bitmap support
7 years ago
Sami Vaarala
d2e4da48ea
Merge pull request #1625 from svaarala/test-case-trivia
API test warning fix trivia
7 years ago
Sami Vaarala
7ac7e57dca
API test warning fix trivia
7 years ago
Sami Vaarala
c3477e58f7
Merge pull request #1624 from svaarala/fix-unary-plus-inplace-modify
Fix executor UNP/UNM/BNOT in-place coercion regression in Duktape 2.0.0
7 years ago
Sami Vaarala
1a9be441fb
Fix UNP/UNM/BNOT in-place source coercion
7 years ago
Sami Vaarala
1c801d7568
Bug testcases for executor unary op regressions
7 years ago
Sami Vaarala
17ee9c76d8
Merge pull request #1621 from svaarala/fatal-error-protected-call-comment
Add protected call suggestions to abort call site
7 years ago
Sami Vaarala
59df212cb5
Add protected call suggestions to abort call site
7 years ago
Sami Vaarala
a88dcf3778
Merge pull request #1619 from svaarala/add-missing-proxy-tests
Add a few missing Proxy test cases
7 years ago
Sami Vaarala
09b43f9f86
Add a few missing Proxy test cases
7 years ago
Sami Vaarala
2b21ce4247
Merge pull request #1615 from svaarala/rename-spare-to-slack
Rename buffer spare to slack for clarity
7 years ago
Sami Vaarala
a4d21a30f8
Releases: spare->slack rename
7 years ago
Sami Vaarala
07df0fd4fb
Testcase updates for spare->slack
7 years ago
Sami Vaarala
b58b57fe0b
Internal doc updates for spare->slack
7 years ago
Sami Vaarala
28199463c7
Config option spare->slack renames
7 years ago
Sami Vaarala
6b5237b14f
Use 'slack' rather than 'spare'
7 years ago
Sami Vaarala
aa40155446
Merge pull request #1614 from svaarala/remove-ctx-hthread-casting
Use duk_hthread only in internals, removing casts between ctx and thr
7 years ago
Sami Vaarala
88bf099b6d
Releases: duk_hthread casts
7 years ago
Sami Vaarala
d6307f778c
Add duk_context check to code policy
7 years ago
Sami Vaarala
e10c3396aa
Internal doc changes for duk_hthread
7 years ago
Sami Vaarala
ec8a181549
Use duk_hthread, not duk_context in internals
Both duk_hthread and duk_context typedefs resolve to struct duk_hthread
internally. In external API duk_context resolves to struct duk_hthread
which is intentionally left undefined as the struct itself is not
dereferenced. Change internal code to use duk_hthread exclusively which
removes unnecessary and awkward thr <-> ctx casts from internals.
The basic guidelines are:
* Public API uses duk_context in prototype declarations. The intent is to
hide the internal type, and there's already a wide dependency on the
type name.
* All internal code, both declarations and definitions, use duk_hthread
exclusively. This is done even for API functions, i.e. an API function
declared as "void duk_foo(duk_context *ctx);" is then defined as
"void duk_foo(duk_hthread *thr);".
7 years ago
Sami Vaarala
9c42b8cb36
Config duk_context vs. duk_hthread note
7 years ago
Sami Vaarala
531c977940
Merge pull request #1612 from svaarala/faster-duk-to-number-tval
Faster duk_to_number_tval(), some more duk_pop_unsafe() internal calls
7 years ago
Sami Vaarala
40243d84ba
Releases: faster duk_to_number_tval()
7 years ago
Sami Vaarala
eb882f1488
Faster duk_to_number_tval(), more pop unsafe
7 years ago
Sami Vaarala
473bdb6116
Merge pull request #1611 from svaarala/non-lowmem-bufwriter-growth
Faster bufwriter growth for non-lowmem targets
7 years ago
Sami Vaarala
72a996c4a6
Releases: larger bufwriter spare
7 years ago
Sami Vaarala
eadd74d1b4
Merge pull request #1610 from Legimet/add-missing-parenthesis
Add missing parenthesis in duk_safe_call() example
7 years ago
Legimet
bbe86ce292
Add missing parenthesis in duk_safe_call() example
7 years ago
Sami Vaarala
07fdaf59ec
Faster bufwriter growth for non-lowmem targets
8 years ago
Sami Vaarala
5674fa8936
Merge pull request #1607 from svaarala/use-enum-sort-key
Use sort key for enum sort
7 years ago
Sami Vaarala
4c6e6e84d9
Releases: enum sort key
7 years ago
Sami Vaarala
b161135a03
Use sort key for enum sort
7 years ago
Sami Vaarala
18e364fd3d
Merge pull request #1608 from Legimet/fix-api-doc-typo
Fix typo in duk_time_to_components documentation
7 years ago
Legimet
472ae49065
Fix typo in duk_time_to_components documentation
7 years ago
Sami Vaarala
059d664ade
Merge pull request #1460 from svaarala/implement-ownkeys-symbol-order
Implement Symbol sorting for Reflect.ownKeys() order
7 years ago
Sami Vaarala
6f1249977e
Releases: Reflect.ownKeys() symbol sort order
7 years ago
Sami Vaarala
12c005985d
API doc clarification for duk_enum()
7 years ago
Sami Vaarala
e52db108a9
Add Reflect.ownKeys() (enum sort) perf tests
7 years ago
Sami Vaarala
bc3ebb4535
Proper symbol sorting for Reflect.ownKeys()
7 years ago
Sami Vaarala
2b58de5927
Testcase for Reflect.ownKeys() order
Doesn't implement Symbol order now.
8 years ago
Sami Vaarala
a0f5cef347
Merge pull request #1606 from svaarala/releases-module-node
Releases: module-node 1.x compatibility, warnings
7 years ago
Sami Vaarala
aa13080871
Releases: module-node 1.x compatibility, warnings
7 years ago
Sami Vaarala
cfb72d4ead
Merge pull request #1605 from Legimet/module-node-fixes
module-node fixes
7 years ago
Legimet
c9ed1ff9d0
Fix module-node compilation with Duktape 1.x
- duk_push_bare_object() does not exist
7 years ago