Idan Horowitz
|
ba39a54bb8
LibJS: Convert DateConstructor functions to ThrowCompletionOr
|
vor 3 Jahren |
Linus Groh
|
5832de62fe
LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr
|
vor 3 Jahren |
Idan Horowitz
|
40eb3a39d4
LibJS: Rename define_native_function => define_old_native_function
|
vor 3 Jahren |
Idan Horowitz
|
20163c0584
LibJS: Add ThrowCompletionOr versions of the JS native function macros
|
vor 3 Jahren |
Idan Horowitz
|
f6a5ff7b00
LibJS: Convert to_i32() to ThrowCompletionOr
|
vor 3 Jahren |
Idan Horowitz
|
20d990563c
LibJS: Convert to_number() to ThrowCompletionOr
|
vor 3 Jahren |
Linus Groh
|
4d8912a92b
LibJS: Convert to_string() to ThrowCompletionOr
|
vor 3 Jahren |
Andreas Kling
|
0c63f0bf73
LibJS: Parse date strings like "Wed Apr 17 23:08:53 +0000 2019"
|
vor 3 Jahren |
Idan Horowitz
|
5a4c90fcb1
LibJS: Convert ordinary_create_from_constructor<T> to ThrowCompletionOr
|
vor 3 Jahren |
Linus Groh
|
a647f0abf6
LibJS: Make parse_simplified_iso8601() use Optional<int> instead of -1
|
vor 4 Jahren |
Linus Groh
|
39cdffd78d
LibJS: Make Date.now() return a floor()'d milliseconds value
|
vor 4 Jahren |
Idan Horowitz
|
eeb4c1eec9
LibJS: Reorder and add missing name & length properties to Built-ins
|
vor 4 Jahren |
Idan Horowitz
|
a6b8291a9b
LibJS: Add define_direct_property and remove the define_property helper
|
vor 4 Jahren |
Idan Horowitz
|
581f20e6f2
LibJS: Accept FlyStrings in the NativeFunction constructors
|
vor 4 Jahren |
Andreas Kling
|
ba9d5c4d54
LibJS: Rename Function => FunctionObject
|
vor 4 Jahren |
Linus Groh
|
8f6ac0db1c
LibJS: Use OrdinaryCreateFromConstructor() in a bunch of constructors
|
vor 4 Jahren |
Andreas Kling
|
39ad705c13
LibJS: Use the new is_ascii_foo() helpers from AK
|
vor 4 Jahren |
Gunnar Beutner
|
d476144565
Userland: Allow building SerenityOS with -funsigned-char
|
vor 4 Jahren |
Linus Groh
|
8d1e6e9175
LibJS: Don't repeat attributes in {Date,Symbol}Constructor
|
vor 4 Jahren |
Linus Groh
|
7327a28ccc
LibJS: Add ECMA-262 section/title/URL comments almost everywhere
|
vor 4 Jahren |
Idan Horowitz
|
f65cb63aab
LibJS: Check dates are below the `time_clip` threshold
|
vor 4 Jahren |
Idan Horowitz
|
46214f0657
LibJS: Store Date milliseconds as signed to support negative offsets
|
vor 4 Jahren |
Idan Horowitz
|
44926b3f80
LibJS: Ignore arguments in Date's constructor when called as a function
|
vor 4 Jahren |
Linus Groh
|
ba9d3bc38c
LibJS: Create 1970-01-01 00:00:00 local time Date for invalid ctor call
|
vor 4 Jahren |
Linus Groh
|
ebdeed087c
Everywhere: Use linusg@serenityos.org for my copyright headers
|
vor 4 Jahren |
Brian Gianforcaro
|
1682f0b760
Everything: Move to SPDX license identifiers in all files.
|
vor 4 Jahren |
Petróczi Zoltán
|
ca49f96b78
LibJS Date: Added "Invalid Date".
|
vor 4 Jahren |
Andreas Kling
|
5d180d1f99
Everywhere: Rename ASSERT => VERIFY
|
vor 4 Jahren |
Linus Groh
|
2ed7f75e95
LibJS: Return empty value on exception in Date.parse(), not NaN
|
vor 4 Jahren |
Linus Groh
|
db340ae7aa
LibJS: Add missing exception check in Date() constructor
|
vor 4 Jahren |