Commit graph

40726 commits

Author SHA1 Message Date
Andreas Kling
72bacba97b LibWeb: Make CSSStyleDeclaration GC-allocated 2022-09-06 00:27:09 +02:00
Andreas Kling
12042f0757 LibWeb: Make CSSRule and all its subclasses GC-allocated 2022-09-06 00:27:09 +02:00
Andreas Kling
5d6cb9cbdb LibWeb: Make CSSRuleList GC-allocated 2022-09-06 00:27:09 +02:00
Andreas Kling
5366924f11 LibWeb: Make StyleSheetList GC-allocated 2022-09-06 00:27:09 +02:00
Andreas Kling
5d60212076 LibWeb: Make StyleSheet and CSSStyleSheet GC-allocated 2022-09-06 00:27:09 +02:00
Andreas Kling
0fe923e355 LibWeb: Add an "internal" JS realm & window object
These will be used to host JS objects that don't belong in one of the
web-facing global objects.
2022-09-06 00:27:09 +02:00
Andreas Kling
4ae2390554 LibWeb: Support NoInstanceWrapper extended attribute on interfaces
This tells the wrapper generator that there is no separate wrapper class
for this interface, and it should refer directly to the C++ "Foo" object
instead of "FooWrapper".
2022-09-06 00:27:09 +02:00
Andreas Kling
b33b426b2e LibWeb: Add a mechanism to opt out of generating instance wrappers
To enable incremental movement towards the removal of DOM object
instance wrappers, this patch adds a NO_INSTANCE argument that can be
passed to libweb_js_wrapper().
2022-09-06 00:27:09 +02:00
Andreas Kling
91ed6125fd LibWeb: Add Bindings::LegacyPlatformObject base class
This will be inherited by "legacy platform objects", i.e objects that
need to hijack indexed and/or named property access as described in the
IDL spec: https://webidl.spec.whatwg.org/#dfn-legacy-platform-object

Instead of overriding JS::Object virtuals, subclasses only need to
implement a very simple interface for property queries.

Note that this code is taken verbatim from code generator output.
I didn't write any of this now, so it's effectively "moved" code.
2022-09-06 00:27:09 +02:00
Andreas Kling
f6c61940f6 LibWeb: Add PlatformObject class
This represents the "platform object" concept from the IDL spec, which
refers to an object that implements an IDL interface.
2022-09-06 00:27:09 +02:00
Jelle Raaijmakers
71c7ac3510 Ports: Remove invalid copy action from PrBoom+ build
This was a test that should have been removed in the previous PR.
2022-09-05 23:26:18 +02:00
electrikmilk
98fb0727a4 Base: Make open folder icons consistent
This changes the open parent directory, open recent, and open folder
16x16 icons to be more consistent with the other folder icons. This
also improves the other elements on these icons by adding tinting
and shading.
2022-09-05 21:40:16 +01:00
electrikmilk
67eee46319 Base: Add shell script file type icon
This adds a file type icon for shell scripts.
2022-09-05 20:34:42 +01:00
Timothy Flynn
9e860d973e LibLocale: Move locale source files to the LibLocale library
Everything is now setup to create the LibLocale library and link it
where needed.
2022-09-05 14:37:16 -04:00
Timothy Flynn
f082b6ae48 LibUnicode: Generate a separate Locale enumeration for special casing
The UCD only cares about a few locales for special casing rules (az, lt,
and tr). Unfortunately, LibUnicode cannot use LibLocale once the
libraries are separate because LibLocale will need to use LibUnicode for
many more things; thus there would be a circular dependency. Instead,
just generate the small enum needed for this one use case.
2022-09-05 14:37:16 -04:00
Timothy Flynn
b2d2bb43ce LibLocale: Move locale test files to the LibLocale folder 2022-09-05 14:37:16 -04:00
Timothy Flynn
43a3471298 LibLocale: Move locale source files to the LibLocale folder
These are still included in LibUnicode, but this updates their location
and the include paths of other files which include them.
2022-09-05 14:37:16 -04:00
Timothy Flynn
ff48220dca Userland: Move files destined for LibLocale to the Locale namespace 2022-09-05 14:37:16 -04:00
Timothy Flynn
88504b89e1 LibLocale: Rename a couple CLDR generator structures
When LibLocale is placed in the Locale namespace, this will conflict
with the Locale structure in each CLDR generator. Rename this to
"LocaleData", and rename its parent UnicodeLocaleData to just "CLDR"
to avoid confusion between LocaleData and UnicodeLocaleData.
2022-09-05 14:37:16 -04:00
Timothy Flynn
6c7b05a0ff LibUnicode+LibJS: Move Unicode::get_available_currencies() to Locale.h
This is generated by GenerateLocaleData, which will soon be in the
Locale namespace. Move it out of CurrencyCode.h, as that will continue
to live in the Unicode namespace.
2022-09-05 14:37:16 -04:00
Timothy Flynn
1e0276f541 LibLocale+LibUnicode: Move generated CLDR data files to LibLocale folder
They are still included into LibUnicode, but this moves their generated
location to be under LibLocale.
2022-09-05 14:37:16 -04:00
Timothy Flynn
fc8bf7ac3e LibUnicode+Userland: Migrate generated CLDR data to LibLocaleData
Currently, LibUnicodeData contains the generated UCD and CLDR data. Move
the UCD data to the main LibUnicode library, and rename LibUnicodeData
to LibLocaleData. This is another prepatory change to migrate to
LibLocale.
2022-09-05 14:37:16 -04:00
Timothy Flynn
89d1813b5d LibUnicode: Move CLDR data generators to a LibLocale subfolder
To prepare for placing all CLDR generated data in a new library,
LibLocale, this moves the code generators for the CLDR data to the
LibLocale subfolder.
2022-09-05 14:37:16 -04:00
Timothy Flynn
e3e0602833 LibUnicode: Fully qualify use of AK::Variant in Locale.h
The generated locale data contains an enum also named Variant, as
variants are part of locale strings. This hasn't been an issue, but as
includes are reordered, the order in which the enum and AK::Variant are
included may cause an ambiguity error.
2022-09-05 14:37:16 -04:00
Timothy Flynn
85994d6115 LibJS: Remove unused include from JS::Temporal::Calendar 2022-09-05 14:37:16 -04:00
electrikmilk
ac316d9847 Base: Add 32 new emojis
🦊 - U+1F98A FOX
🦉 - U+1F989 OWL
🥔 - U+1F954 POTATO
🍣 - U+1F363 SUSHI
🎖️ - U+1F396 MILITARY MEDAL
🏆 - U+1F3C6 TROPHY
🏅 - U+1F3C5 SPORTS MEDAL
🎳 - U+1F3B3 BOWLING
📱 - U+1F4F1 MOBILE PHONE
📲 - U+1F4F2 MOBILE PHONE WITH ARROW
📼 - U+1F4FC VIDEOCASSETTE
💰 - U+1F4B0 MONEY BAG
🗄️ - U+1F5C4 FILE CABINET
🚪 - U+1F6AA DOOR
🛒 - U+1F6D2 SHOPPING CART
🚬 - U+1F6AC CIGARETTE
🕎 - U+1F54E MENORAH
🇧🇫 - U+1F1E7 U+1F1EB FLAG: BURKINA FASO
🇧🇭 - U+1F1E7 U+1F1ED FLAG: BAHRAIN
🇧🇾 - U+1F1E7 U+1F1FE FLAG: BELARUS
🇨🇩 - U+1F1E8 U+1F1E9 FLAG: CONGO - KINSHASA
🇨🇫 - U+1F1E8 U+1F1EB FLAG: CENTRAL AFRICAN REPUBLIC
🇨🇴 - U+1F1E8 U+1F1F4 FLAG: COLOMBIA
🇭🇲 - U+1F1ED U+1F1F2 FLAG: HEARD & MCDONALD ISLANDS
🇰🇬 - U+1F1F0 U+1F1EC FLAG: KYRGYZSTAN
🇲🇪 - U+1F1F2 U+1F1EA FLAG: MONTENEGRO
🇵🇷 - U+1F1F5 U+1F1F7 FLAG: PUERTO RICO
🇶🇦 - U+1F1F6 U+1F1E6 FLAG: QATAR
🇸🇬 - U+1F1F8 U+1F1EC FLAG: SINGAPORE
🇹🇴 - U+1F1F9 U+1F1F4 FLAG: TONGA
🇺🇿 - U+1F1FA U+1F1FF FLAG: UZBEKISTAN
🇼🇸 - U+1F1FC U+1F1F8 FLAG: SAMOA
2022-09-05 19:36:05 +01:00
Tim Schumacher
854792c340 Meta: Don't generate emoji.txt into the source tree 2022-09-05 09:50:31 -04:00
Tim Schumacher
e2c55ee0a8 LibC: Move dlfcn_integration.h to the bits directory 2022-09-05 10:12:02 +01:00
Tim Schumacher
be941c13e3 LibC: Reduce reliance on the dlfcn internals for regex functions 2022-09-05 10:12:02 +01:00
Tim Schumacher
39477e923f Toolchain: Remove references to -ldl 2022-09-05 10:12:02 +01:00
Tim Schumacher
da0e28dccc LibC: Remove the LibDl interface target 2022-09-05 10:12:02 +01:00
Tim Schumacher
8778bb3473 Everywhere: Fully remove the separate LibDl directory 2022-09-05 10:12:02 +01:00
Tim Schumacher
226608a48f LibDl: Move the dlfcn implementation to LibC 2022-09-05 10:12:02 +01:00
Tim Schumacher
27bfb81702 Everywhere: Refer to dlfcn*.h by its non-prefixed name 2022-09-05 10:12:02 +01:00
electrikmilk
9b728fbe56 Base: Improve 1 emoji
 - U+2614 UMBRELLA WITH RAIN DROPS
2022-09-05 09:26:31 +01:00
electrikmilk
ec7c9839a0 Base: Add 5 new emoji
☠️ - U+2620 SKULL AND CROSSBONES
🌂 - U+1F302 CLOSED UMBRELLA
☂️ - U+2602 U+FE0F UMBRELLA
⛑️ - U+26D1 RESCUE WORKER’S HELMET
 - U+2651 CAPRICORN
2022-09-05 09:26:31 +01:00
electrikmilk
6247bbc65b Base: Add Ruby File Type Icon
This adds a file type icon for Ruby (.rb) files.
2022-09-05 09:24:15 +01:00
networkException
9b6fab264f LibGUI: Implement basic rubber band selections in ColumnsView
This patch adds the ability to select multiple entries in a column using
a rubber band selection. Currently the implementation is lacking support
for expanding a selection using the ctrl modifier.
2022-09-05 09:23:36 +01:00
networkException
f0a20fc902 LibGUI: Add granular ColumnView helpers for column and index at events
This patch extracts logic for getting colum at an event position and for
getting an index in a column at an event position from
index_at_event_position into separate functions.
2022-09-05 09:23:36 +01:00
networkException
707b4f83eb WebServer: Make bound socket a clickable hyperlink :^)
This patch adds a hyperlink that can be hovered over and clicked on to
open the WebServer's index page in Browser.
2022-09-05 09:23:20 +01:00
networkException
b29fbe96dd LibVT: Handle non file urls in on hover tooltips
Previously we would simply compute the basename of the hovered url's
path and display it as the resource that will be opened. This patch adds
a fallback for non file urls to simply show the full url, making http
urls show up properly.
2022-09-05 09:23:20 +01:00
Linus Groh
4abb4317aa Meta: Add frhun to the contributors list :^) 2022-09-04 20:05:04 +01:00
FrHun
00acf56e94 LibGUI: Add Widgets before the ResizeCorner by default in Statusbar
Before this, any Widgets added through e.g. GML appeared after the
ResizeCorner, which didn't make sense. (see FileManager)
2022-09-04 20:01:43 +01:00
Jesse Buhagiar
8df09f6e13 Utilities/lsusb: Fix uninitialized variable error
The variable `print_verbose` (which prints verbose information about the
USB devices connected to the system) was uninitialized in `lsusb`. This
was causing the verbose information to be printed if `-v` was NOT seen
on the command line.
2022-09-04 13:26:05 -04:00
Xexxa
7661b8ca02 Base: Add more emoji
👂 - U+1F442 EAR
👃 - U+1F443 NOSE
🎅 - U+1F385 SANTA CLAUS
🏃 - U+1F3C3 PERSON RUNNING
🏌️ - U+1F3CC PERSON GOLFING
🏊 - U+1F3CA PERSON SWIMMING
🏋️ - U+1F3CB PERSON LIFTING WEIGHTS
🐽 - U+1F43D PIG NOSE
🐾 - U+1F43E PAW PRINTS
🐳 - U+1F433 SPOUTING WHALE
🐋 - U+1F40B WHALE
🐬 - U+1F42C DOLPHIN
🐚 - U+1F41A SPIRAL SHELL
🐛 - U+1F41B BUG
🏭 - U+1F3ED FACTORY
🏰 - U+1F3F0 CASTLE
🏏 - U+1F3CF CRICKET GAME
🎿 - U+1F3BF SKIS
🎚️ - U+1F39A LEVEL SLIDER
🎛️ - U+1F39B CONTROL KNOBS
💿 - U+1F4BF OPTICAL DISK
📀 - U+1F4C0 DVD
🎞️ - U+1F39E FILM FRAMES
2022-09-04 08:00:07 +01:00
electrikmilk
6dd7a536c6 Base: Improve 1 emoji
 - U+264B CANCER
2022-09-03 21:10:05 +01:00
electrikmilk
f171cfaa0e Base: Add 24 new emojis
💟 - U+1F49F HEART DECORATION
🚺 - U+1F6BA WOMEN’S ROOM
🛐 - U+1F6D0 PLACE OF WORSHIP
⚛️ - U+269B ATOM SYMBOL
🕉 - U+1F549 OM (unqualified)
✡️ - U+2721 STAR OF DAVID
☸️ - U+2638 WHEEL OF DHARMA
☯️ - U+262F YIN YANG
✝️ - U+271D LATIN CROSS
☦️ - U+2626 ORTHODOX CROSS
☪️ - U+262A STAR AND CRESCENT
☮️ - U+262E PEACE SYMBOL
🔯 - U+1F52F DOTTED SIX-POINTED STAR
 - U+2648 ARIES
 - U+2649 TAURUS
 - U+264A GEMINI
 - U+264C LEO
 - U+264D VIRGO
 - U+264E LIBRA
 - U+264F SCORPIO
 - U+2650 SAGITTARIUS
 - U+2652 AQUARIUS
 - U+2653 PISCES
 - U+26CE OPHIUCHUS
2022-09-03 21:10:05 +01:00
Xexxa
dacd7baf0b Base: Add more emoji
🧞 - U+1F9DE GENIE
🐤 - U+1F424 BABY CHICK
🐢 - U+1F422 TURTLE
🎢 - U+1F3A2 ROLLER COASTER
🏀 - U+1F3C0 BASKETBALL
🎮 - U+1F3AE VIDEO GAME
🎥 - U+1F3A5 MOVIE CAMERA
🪙 - U+1FA99 COIN
🪃 - U+1FA83 BOOMERANG
🧯 - U+1F9EF FIRE EXTINGUISHER
2022-09-03 20:53:07 +01:00
Joel Hansen
9ff54648ca Base: Add 11 new emoji
🎱 - U+1F3B1 Pool 8 Ball
💭 - U+1F4AD Thought Balloon
🌼 - U+1F33C Blossom
🍚 - U+1F35A Cooked Rice
🍬 - U+1F36C Candy
🌐 - U+1F310 Globe with Meridians
🌸 - U+1F338 Cherry Blossom
🍁 - U+1F341 Maple Leaf
🍦 - U+1F366 Soft Ice Cream
🐦 - U+1F426 Bird
🥣 - U+1F963 Bowl with Spoon
2022-09-03 20:51:07 +01:00
kleines Filmröllchen
c1c2e6f7d7 PixelPaint: Introduce a vectorscope
Vectorscopes are a standard tool in professional video/film color
grading. *Very* simply, the Vectorscope shows image colors with hue as
the angle and saturation as the radius; brightness for each point in the
scope is determined by the number of "color vectors" at that point. More
specifically, the Vectorscope shows a 2D UV histogram of the image,
where U and V are the chroma ("color") channels of the image.

Co-authored-by: MacDue <macdue@dueutil.tech>
2022-09-03 16:57:37 +01:00