1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-31 10:22:45 +00:00
serenity/Base/res
Lucas CHOLLET 1a97382305 LibGUI: Make Application's construction fallible
The pattern to construct `Application` was to use the `try_create`
method from the `C_OBJECT` macro. While being safe from an OOM
perspective, this method doesn't propagate errors from the constructor.
This patch make `Application` use the `C_OBJECT_ABSTRACT` and manually
define a `create` method that can bubble up errors from the
construction stage.

This commit also removes the ability to use `argc` and `argv` to
create an `Application`, only `Main`'s `Arguments` can be used.

From a user point of view, the patch renames `try_create` => `create`,
hence the huge number of modified files.
2023-05-05 16:41:21 +01:00
..
apps Userland: Remove "Inspector" program and related utilities 2023-04-25 14:48:40 +02:00
color-palettes Base: Add pastel color palette 2022-02-10 10:22:17 +00:00
color-schemes Everywhere: Move Base/res/terminal-colors to Base/res/color-schemes 2022-12-31 04:20:59 -07:00
cursor-themes Base: Remove an upscaled version of a Hidden cursor 2022-09-01 14:27:07 +01:00
devel/templates LibGUI: Make Application's construction fallible 2023-05-05 16:41:21 +01:00
emoji Base: Add 7 new emojis 2023-03-21 17:31:49 +00:00
fonts Base: Complete Mathematical Operators in Katica Regular 10 2023-04-14 21:43:40 +02:00
graphics Base+Minesweeper: Move assets from /icons/ to /graphics/ 2023-05-05 11:52:33 +01:00
html Base: Add some SVG <radialGradient> examples 2023-05-04 16:50:01 +02:00
icons Base+Minesweeper: Move assets from /icons/ to /graphics/ 2023-05-05 11:52:33 +01:00
js/Spreadsheet Spreadsheet: Fix maxIf and minIf name in documentation 2022-10-29 06:29:11 +03:30
keymaps Base: Add US English Apple Macintosh keymap 2023-04-14 10:00:06 +02:00
themes Themes: Add color schemes to all themes 2022-12-31 04:20:59 -07:00
wallpapers Base: Add back the OG grid wallpaper from back in the day, now as a PNG 2020-04-30 12:31:02 +02:00
fortunes.json Base: Add a quote to the fortunes database 2023-02-13 12:10:27 +00:00
words.txt Games: Add MasterWord 2022-03-18 04:55:21 -07:00