Luke Wilde
7431f6073b
LibWeb: Implement ChildNode.replaceWith
2022-01-31 15:25:36 +01:00
Luke Wilde
5a5e3a6ec3
LibWeb: Implement ChildNode.after
2022-01-31 15:25:36 +01:00
Luke Wilde
1bbe40c5af
LibWeb: Implement ChildNode.before
2022-01-31 15:25:36 +01:00
Luke Wilde
d1bc9358c1
LibWeb: Implement ParentNode.replaceChildren
2022-01-31 15:25:36 +01:00
Luke Wilde
34dfdc3f37
LibWeb: Implement ParentNode.append
2022-01-31 15:25:36 +01:00
Luke Wilde
d5c96c3ccf
LibWeb: Implement ParentNode.prepend
...
`convert_nodes_to_single_node` is inside its own file so ChildNode can
include and use it without having to include other headers such as
DOM/Node.h. This is to prevent circular includes.
2022-01-31 15:25:36 +01:00
Luke Wilde
d7998c5dbd
LibWeb: Accept array pairs in URLSearchParams constructor
2022-01-31 15:25:36 +01:00
Luke Wilde
68813fbe70
LibWeb: Add initial support for passing union types into IDL functions
...
This currently does not accept ArrayBuffer, DataView, TypedArrays,
callback functions, nullable types, dictionaries, records and frozen
arrays.
2022-01-31 15:25:36 +01:00
Luke Wilde
fb7ca09f04
LibWeb: Add support for passing sequences into IDL functions
2022-01-31 15:25:36 +01:00
Kenneth Myhra
9773c3cabc
pape: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
0dc46da99f
open: Use more StringView instead of const char*
2022-01-31 15:25:07 +01:00
Kenneth Myhra
71c004b75f
open: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
73f431a7cb
ntpquery: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
5d41f993cd
notify: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
a64b44377d
nl: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
cf207ad938
mount: Use more StringView instead of const char*
2022-01-31 15:25:07 +01:00
Kenneth Myhra
9d48406312
mount: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
46c4988568
lsof: Use more StringView instead of const char*
2022-01-31 15:25:07 +01:00
Kenneth Myhra
262161481f
lsof: Port to LibMain
2022-01-31 15:25:07 +01:00
Kenneth Myhra
6a7ffcddba
lsirq: Port to LibMain
2022-01-31 15:25:07 +01:00
Luke Wilde
4a69072c3a
Ports/fontconfig: Add freetype dependency
...
When I did a fresh build of ports, I got this while building fontconfig:
```
checking for FREETYPE... no
configure: error: Package requirements (freetype2 >= 21.0.15) were not
met:
No package 'freetype2' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables FREETYPE_CFLAGS
and FREETYPE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
```
2022-01-31 03:31:40 +01:00
Timothy Flynn
fb08a5a896
LibJS: Implement Intl.supportedValuesOf
...
This is a stage 3 ECMA-402 proposal:
https://tc39.es/proposal-intl-enumeration/
2022-01-31 00:32:41 +00:00
Timothy Flynn
a120e85596
LibJS: Provide public access to list of sanctioned unit identifiers
2022-01-31 00:32:41 +00:00
Timothy Flynn
98348d9a33
LibJS: Allow calling Array::create_from without allocating a Vector
...
This method works as-is with a Span instead of a Vector (with some minor
const correctness adjustments).
2022-01-31 00:32:41 +00:00
Timothy Flynn
2e1db1b090
LibTimeZone: Use new generator util to generate all time zones
...
Added the call to generate_available_values(), then realized it is the
exact same as the existing, manually written implementation. So let's
use the new utility.
2022-01-31 00:32:41 +00:00
Timothy Flynn
bb0f548614
LibUnicode: Generate a list of available currencies
2022-01-31 00:32:41 +00:00
Timothy Flynn
481ced53d8
LibUnicode: Generate a list of available numbering systems
2022-01-31 00:32:41 +00:00
Timothy Flynn
ebd33e580b
LibUnicode: Generate a list of available calendars
2022-01-31 00:32:41 +00:00
Jelle Raaijmakers
48eecaad64
LibGUI: Remove Window
background color
...
The `m_background_color` field was not used anywhere. Both `Terminal`
and the `ColorPicker` widget invoked `set_background_color()` to no
avail.
2022-01-31 00:38:15 +01:00
Timothy Flynn
687276fc38
LibJS: Implement ECMA-402 BigInt.prototype.toLocaleString
2022-01-30 20:05:27 +00:00
Timothy Flynn
d6e926e5b1
LibJS: Support BigInt number formatting with Intl.NumberFormat
2022-01-30 20:05:27 +00:00
Timothy Flynn
a0253af8c1
LibJS: Generalize Intl.NumberFormat to operate on Value types
...
Intl.NumberFormat is meant to format both Number and BigInt types. To
prepare for formatting BigInt types, this generalizes our NumberFormat
implementation to operate on Value instances rather than doubles. All
arithmetic is moved to static helpers that can now be updated with
BigInt semantics.
2022-01-30 20:05:27 +00:00
Idan Horowitz
4ba4e4c777
LibJS: Implement Intl %SegmentsPrototype%[@@iterator]
2022-01-30 19:47:01 +00:00
Idan Horowitz
6c26a02aa8
LibJS: Start implementing Intl Segment Iterator objects
2022-01-30 19:47:01 +00:00
Idan Horowitz
9802b16298
js: Implement pretty-printing of Intl Segments objects
2022-01-30 19:47:01 +00:00
Idan Horowitz
9001a8cbe1
LibJS: Implement Intl.Segmenter.prototype.segment
2022-01-30 19:47:01 +00:00
Idan Horowitz
bbacea255f
LibJS: Start implementing Intl Segments objects
2022-01-30 19:47:01 +00:00
Idan Horowitz
891dfd9cbb
LibJS: Implement Intl.Segmenter.prototype.resolvedOptions
2022-01-30 19:47:01 +00:00
Idan Horowitz
6b8dfefc20
LibJS: Implement Intl.Segmenter.supportedLocalesOf
2022-01-30 19:47:01 +00:00
Idan Horowitz
7cf3f11815
js: Implement pretty-printing of Intl.Segmenter
2022-01-30 19:47:01 +00:00
Idan Horowitz
a3bc06bb23
LibJS: Start implementing Intl.Segmenter
2022-01-30 19:47:01 +00:00
Liav A
88c5992e0b
Kernel/Interrupts: Initialize two spurious handlers when PIC is disabled
...
Even if the PIC was disabled it can still generate noise (spurious IRQs)
so we need to register two handlers for handling such cases.
Also, we declare interrupt service routine offset 0x20 to 0x2f as
reserved, so when the PIC is disabled, we can handle spurious IRQs from
the PIC at separate handlers.
2022-01-30 21:07:20 +02:00
Liav A
7028a64997
Kernel: Use a constexpr declaration for the disabled PIC IRQ base
2022-01-30 21:07:20 +02:00
Linus Groh
ab976667c4
Ports: Update Python to 3.10.2
...
Released on 2022-01-14.
https://www.python.org/downloads/release/python-3102/
2022-01-30 17:40:39 +00:00
davidot
6b5c882af3
LibJS: Add support for JSON modules
...
We now have one supported assertion: 'type' if that is 'json' we attempt
to parse the module as JSON.
2022-01-30 17:40:20 +00:00
davidot
202de6ed25
LibJS: Expose JSON.parse as an intrinsic value of the global object
...
This will allow us to safely call it if we need to parse JSON within
LibJS.
2022-01-30 17:40:20 +00:00
davidot
f568939568
LibJS: Implement the import assertions proposal
...
The hard part of parsing them in import statements and calls was already
done so this is just removing some check which threw before on
assertions. And filtering the assertions based on the result of a new
host hook.
2022-01-30 17:40:20 +00:00
davidot
e0e4ead2c8
LibJS: Follow the spec with storing im- and export entries
...
Because we can have arbitrary in- and export names with strings we can
have '*' and '' which means using '*' as an indicating namespace imports
failed / behaved incorrectly for string imports '*'.
We now use more specific types to indicate these special states instead
of these 'magic' string values.
Do note that 'default' is not actually a magic string value but one
specified by the spec. And you can in fact export the default value by
doing: `export { 1 as default }`.
2022-01-30 17:40:20 +00:00
Daniel Bertalan
8473f6caee
AK+Tests: Make null strings compare less than non-null strings
...
This behavior regressed in ca58c71faa
.
Fixes #12213
2022-01-30 17:23:02 +00:00
Tobias Christiansen
3bb580ba1d
Base: Add hieroglyph characters that have transliterations to Pebbleton
...
All the glyphs that have a 'transliterated as' comment in the unicode
document at https://unicode.org/charts/PDF/U13000.pdf have been added.
The following codepoints now have glyphs in the font:
U+1308B: EGYPTIAN HIEROGLYPH D021
U+1309D: EGYPTIAN HIEROGLYPH D036
U+130A7: EGYPTIAN HIEROGLYPH D046
U+130C0: EGYPTIAN HIEROGLYPH D058
U+13121: EGYPTIAN HIEROGLYPH F032
U+1313F: EGYPTIAN HIEROGLYPH G001
U+13153: EGYPTIAN HIEROGLYPH G017
U+13171: EGYPTIAN HIEROGLYPH G034
U+13191: EGYPTIAN HIEROGLYPH I009
U+13193: EGYPTIAN HIEROGLYPH I010
U+131CB: EGYPTIAN HIEROGLYPH M017
U+1320E: EGYPTIAN HIEROGLYPH N029
U+13216: EGYPTIAN HIEROGLYPH N035
U+13219: EGYPTIAN HIEROGLYPH N037
U+13254: EGYPTIAN HIEROGLYPH O004
U+13283: EGYPTIAN HIEROGLYPH O034
U+132AA: EGYPTIAN HIEROGLYPH Q003
U+132F4: EGYPTIAN HIEROGLYPH S029
U+1337F: EGYPTIAN HIEROGLYPH V013
U+1339B: EGYPTIAN HIEROGLYPH V028
U+133A1: EGYPTIAN HIEROGLYPH V031
U+133BC: EGYPTIAN HIEROGLYPH W011
U+133CF: EGYPTIAN HIEROGLYPH X001
U+133ED: EGYPTIAN HIEROGLYPH Z004
U+133EE: EGYPTIAN HIEROGLYPH Z004A
U+1340D: EGYPTIAN HIEROGLYPH AA001
2022-01-30 15:30:53 +00:00