Sami Vaarala
|
202a850b0d
|
initial draft of String.prototype.indexOf()
|
12 years ago |
Sami Vaarala
|
58a83802a5
|
add empty string tests to indexOf() and lastIndexOf()
|
12 years ago |
Sami Vaarala
|
c8a48a1ae5
|
fix string comparison and localeCompare() handling of empty strings
|
12 years ago |
Sami Vaarala
|
f2473ca364
|
string comparison testcase additions
|
12 years ago |
Sami Vaarala
|
86aa20e127
|
fix localeCompare() testcase issue, add specific comparison tests for empty strings
|
12 years ago |
Sami Vaarala
|
8191b6c8f9
|
embedded NUL tests, localeCompare() and string comparison
|
12 years ago |
Sami Vaarala
|
e986e3db1b
|
implement String.prototype.localeCompare(), some duk_builtin.string.c reorg
|
12 years ago |
Sami Vaarala
|
756fde6fac
|
String.prototype.localeCompare() test case fixes
|
12 years ago |
Sami Vaarala
|
b01b1828d5
|
reorg duk_builtin_string.c, implement slice()
|
12 years ago |
Sami Vaarala
|
d40e403a3a
|
use DUK_ASSERT_TOP() instead of DUK_ASSERT(duk_get_top(ctx) == ...) in many places
|
12 years ago |
Sami Vaarala
|
68d17a77dc
|
use DUK_ASSERT_TOP() instead of DUK_ASSERT(duk_get_top(ctx) == ...) in many places
|
12 years ago |
Sami Vaarala
|
dd939e1353
|
implement String.prototype.substr()
|
12 years ago |
Sami Vaarala
|
a432fd4c7b
|
testcase for String.prototype.substr()
|
12 years ago |
Sami Vaarala
|
b3ba7cbc78
|
fix clamping in String.prototype.substring(), add duk_to_int_clamped()
|
12 years ago |
Sami Vaarala
|
1e29ccba24
|
implement String.prototype.concat()
|
12 years ago |
Sami Vaarala
|
69b1709f97
|
add duk_push_this_coercible_to_string(), refactoring
|
12 years ago |
Sami Vaarala
|
70793b556e
|
refactor Object hasOwnProperty() and propertyIsEnumerable() to use duk_hobject_props.c helper directly
|
12 years ago |
Sami Vaarala
|
6e72902745
|
add a couple of isSealed() and isFrozen() tests; the test objects are created such that they're sealed and/or frozen without explicit seal/freeze calls
|
12 years ago |
Sami Vaarala
|
176081795c
|
ditz issue update
|
12 years ago |
Sami Vaarala
|
e709c5ce28
|
fix defineProperty() testcase, expected value was from V8 which coerces twice (which seems incorrect)
|
12 years ago |
Sami Vaarala
|
fbc5558dfd
|
comment cleanups
|
12 years ago |
Sami Vaarala
|
3a48f6d208
|
defineProperty() fix: detect attempt to change an accessor property to a data property correctly; fix getOwnPropertyDescriptor() result prototype from null to Object.prototype
|
12 years ago |
Sami Vaarala
|
d324ba764c
|
update defineProperty() bug testcase description
|
12 years ago |
Sami Vaarala
|
6fa88d593c
|
testcase to demonstrate current defineProperty() bug
|
12 years ago |
Sami Vaarala
|
3062518a55
|
trivial cleanup
|
12 years ago |
Sami Vaarala
|
db6a97ffa2
|
bug testcase for getOwnPropertyDescriptor() result prototype
|
12 years ago |
Sami Vaarala
|
aadb483ef1
|
implement Object.prototype propertyIsEnumerable() and hasOwnProperty()
|
12 years ago |
Sami Vaarala
|
61e06de928
|
fix ordering issue in Object.getOwnPropertyNames() testcase
|
12 years ago |
Sami Vaarala
|
636a70c57f
|
cleanup DUK_ASSERT(duk_get_top...) assertions to DUK_ASSERT_TOP(); implement Object.prototype.isPrototypeOf
|
12 years ago |
Sami Vaarala
|
08155bce48
|
implement Object.prototype.toLocaleString()
|
12 years ago |
Sami Vaarala
|
8830c6c41e
|
refactor duk_push_this() variants, add duk_push_this_to_object() helper
|
12 years ago |
Sami Vaarala
|
54af437337
|
refactor getOwnPropertyNames(), implement keys()
|
12 years ago |
Sami Vaarala
|
c61299d0e5
|
slightly better placeholder for number parsing, detects trailing garbage
|
12 years ago |
Sami Vaarala
|
939e9d6dcd
|
include String object 'length' in enumeration if non-enumerable properties are requested
|
12 years ago |
Sami Vaarala
|
2eb9929df8
|
demonstrate getOwnPropertyNames() bug for String object non-enumerable 'length' property
|
12 years ago |
Sami Vaarala
|
839696e18b
|
utf-8 enc/dec testcase which uses escape/unescape and decodeURIComponent/encodeURIComponent for hacky utf-8 encoding/decoding
|
12 years ago |
Sami Vaarala
|
4862b7aa49
|
fix include guard names, don't use leading underscores as they are reserved
|
12 years ago |
Sami Vaarala
|
3189e3e5a8
|
add ugly workaround to base64 testcase (caused by print() buffer printing change)
|
12 years ago |
Sami Vaarala
|
0bcddab917
|
remove accidentally added pyc file
|
12 years ago |
Sami Vaarala
|
3fe12609ea
|
implement seal(), freeze(), preventExtensions()
|
12 years ago |
Sami Vaarala
|
5628b0adc3
|
fix defineProperty() return value
|
12 years ago |
Sami Vaarala
|
c4ac81dc25
|
fix defineProperties() to only check own properties of proplist
|
12 years ago |
Sami Vaarala
|
74bb7c74a6
|
first draft of Object.create()
|
12 years ago |
Sami Vaarala
|
0c4188e2e4
|
add 'is number' assertions to tval switch default cases
|
12 years ago |
Sami Vaarala
|
673a5a4b36
|
mark URI encode/decode bruteforce test slow (timed out)
|
12 years ago |
Sami Vaarala
|
da79714acc
|
ditz issue update
|
12 years ago |
Sami Vaarala
|
951537d80e
|
remove unnecessary testcases
|
12 years ago |
Sami Vaarala
|
a56d3da967
|
add coercion tests and fix a bug in String.prototype.trim() testcase
|
12 years ago |
Sami Vaarala
|
2906a97ffb
|
placeholder for parseFloat(), fix later when proper decimal number parsing is added
|
12 years ago |
Sami Vaarala
|
2cd4afb98e
|
first draft of parseInt(), inaccurate for radix 10
|
12 years ago |