Sami Vaarala
|
2ea1fbddc8
|
change buffer constructor behavior for a Buffer object argument: get the plain value inside (if called as a function) or create a new Buffer object with the same plain value inside (if called as a constructor)
|
11 years ago |
Sami Vaarala
|
024b7f52b3
|
testcase for new buffer constructor behavior
|
11 years ago |
Sami Vaarala
|
1bbce17f06
|
buffer constructor changes: number argument creates buffer of specified size, buffer arguments are returned as is (possibly object promoted)
|
11 years ago |
Sami Vaarala
|
80fa94d64c
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
cb78a8c935
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
e651cb3fb4
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
b37aeafb88
|
fixme cleanups
|
11 years ago |
Sami Vaarala
|
dd2a68d816
|
remove unnecessary value stack resize in thread alloc; fixme cleanup
|
11 years ago |
Sami Vaarala
|
d1ea00eac9
|
reimplement duk_is_nan() to make fewer calls (reduces footprint); fixme cleanups
|
11 years ago |
Sami Vaarala
|
1c55050b49
|
Merge branch 'get-tagged-rework'
|
11 years ago |
Sami Vaarala
|
a22056e982
|
make duk_get/require_hobject_with_class macros, call duk_get_tagged_heaphdr_raw directly
|
11 years ago |
Sami Vaarala
|
7f44036b45
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
519a615b60
|
fix duk_get_hthread() and other subtype getters: they were incorrectly requiring that the target value was an object (and throwing otherwise)
|
11 years ago |
Sami Vaarala
|
986849e34a
|
combine allow_null into tag in duk__get_tagged_heaphdr() to reduce code footprint
|
11 years ago |
Sami Vaarala
|
5a5c689624
|
fixme cleanups
|
11 years ago |
Sami Vaarala
|
7ed9688127
|
add module tag to stash functions
|
11 years ago |
Sami Vaarala
|
1314dbdf21
|
api doc header snippets, clarify they're not exhaustive
|
11 years ago |
Sami Vaarala
|
a2b051ae2c
|
stash concept to api doc
|
11 years ago |
Sami Vaarala
|
10ed9980a6
|
Merge branch 'dukweb-improvements'
|
11 years ago |
Sami Vaarala
|
ff19c80c70
|
add more duktape specific examples to dukweb default input to make it clearer that it is executed with Duktape, not the browser
|
11 years ago |
Sami Vaarala
|
9a1b603ec3
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
0d420709b4
|
array init (MPUTARR,MPUTARRI) avoids string intern for index, fixme cleanups
|
11 years ago |
Sami Vaarala
|
6a000bb9fe
|
refactoring test case
|
11 years ago |
Sami Vaarala
|
31edf40db9
|
implement bytecode executor logical not without stack ops: footprint is slightly larger (~10 bytes) but it's good to avoid api calls in opcodes
|
11 years ago |
Sami Vaarala
|
ad2eed5735
|
fixme cleanups
|
11 years ago |
Sami Vaarala
|
2a47216dff
|
fixme removed
|
11 years ago |
Sami Vaarala
|
1e9ca90304
|
Merge branch 'js-equals-compare-refactor'
|
11 years ago |
Sami Vaarala
|
7a523747ef
|
convert compare helper explicit args to a flags field, quite modest footprint savings
|
11 years ago |
Sami Vaarala
|
b429ed70ec
|
move #if 0 explicit comparison helpers into macros in case they're needed (they call the same helper anyway)
|
11 years ago |
Sami Vaarala
|
204aec4a58
|
fixme removed; tried direct comparison and result is worse (on x64)
|
11 years ago |
Sami Vaarala
|
c3c2b8543e
|
turning 'number equals' into a macro did not help footprint (in fact, increased it)
|
11 years ago |
Sami Vaarala
|
3e03aba0e0
|
simplify number equals / SameValue handling, about 120 bytes saved (and code inlines now to equality helper)
|
11 years ago |
Sami Vaarala
|
c59c880127
|
refactor equals, strict equals, and SameValue into a shared helper (their initial part, for same types, is almost identical); this doesn't save that much footprint (~50 bytes) but the comparison code executed will be the same which is better for caches
|
11 years ago |
Sami Vaarala
|
f794390a11
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
f0edb8f056
|
fixme cleanups
|
11 years ago |
Sami Vaarala
|
efa2391933
|
add some missing .PHONY lines
|
11 years ago |
Sami Vaarala
|
a27a1f8447
|
merge fixmecount target to issuecount, more convenient
|
11 years ago |
Sami Vaarala
|
899b124e95
|
add 'issuecount' convenience target
|
11 years ago |
Sami Vaarala
|
31d86f45d6
|
fixme cleanups
|
11 years ago |
Sami Vaarala
|
772c136abb
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
5eb0b31a7a
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
67a06b45c1
|
api doc for duk_char_code_at()
|
11 years ago |
Sami Vaarala
|
8d81c6e8ec
|
Merge branch 'api-codepoint-at'
|
11 years ago |
Sami Vaarala
|
06d9b40b6e
|
api test for duk_char_code_at()
|
11 years ago |
Sami Vaarala
|
59bdd11360
|
add duk_hstring_misc.c to build
|
11 years ago |
Sami Vaarala
|
5e1208b80d
|
implement duk_char_code_at()
|
11 years ago |
Sami Vaarala
|
b6eb9fcbfd
|
placeholder duk_char_code_at() API call
|
11 years ago |
Sami Vaarala
|
faaf0747b7
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
cbe6aec53a
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
6cd8a4fe02
|
initjs fix, clog now non-enumerable
|
11 years ago |