summaryrefslogtreecommitdiff
path: root/Userland/DevTools/GMLPlayground
AgeCommit message (Collapse)Author
2023-03-01LibCore+Everywhere: Remove ArgsParser::add*(char const*&)Ali Mohammad Pur
This is not guaranteed to always work correctly as ArgsParser deals in StringViews and might have a non-properly-null-terminated string as a value. As a bonus, using StringView (and DeprecatedString where necessary) leads to nicer looking code too :^)
2023-02-13LibCore: Move Stream-based file into the `Core` namespaceTim Schumacher
2023-01-26LibGfx: Remove `try_` prefix from bitmap creation functionsTim Schumacher
Those don't have any non-try counterpart, so we might as well just omit it.
2023-01-13Userland: Remove a bunch of unveil calls on /sys/kernel/processesLiav A
These are not needed anymore since the introduction of the new get_root_session_id syscall.
2023-01-13GMLPlayground: Add a toolbarSam Atkins
No new features, but it sure makes things look more fancy. :^)
2023-01-13GMLPlayground: Move layout to GMLSam Atkins
There isn't much layout right now, but it felt very wrong to not have the GML editor use GML. :^)
2023-01-07GMLPlayground: Port to `Core::Stream`Lucas CHOLLET
2023-01-07LibGUI+Userland: Rename `try_load_from_gml()` -> `load_from_gml()` :^)Sam Atkins
It's the only one, so the `try` prefix is unnecessary now.
2023-01-07Userland: Replace all uses of `load_from_gml` with `try_load_from_gml`Sam Atkins
MOAR FIXMES! ;^)
2023-01-07LibFileSystemAccessClient: Rename try_* functions to try_*_deprecatedKarol Kosek
These functions return the deprecated `Core::File` class, so let's mark it as such to avoid possible confusion between future non try_* functions which will use Core::Stream family classes and to possibly grab someone's attention. :^)
2023-01-06LibGUI+Everywhere: Use fallible Window::set_main_widget() everywhere :^)Sam Atkins
Rip that bandaid off! This does the following, in one big, awkward jump: - Replace all uses of `set_main_widget<Foo>()` with the `try` version. - Remove `set_main_widget<Foo>()`. - Rename the `try` version to just be `set_main_widget` because it's now the only one. The majority of places that call `set_main_widget<Foo>()` are inside constructors, so this unfortunately gives us a big batch of new `release_value_but_fixme_should_propagate_errors()` calls.
2023-01-05GMLPlayground: Fill preview window with background colorSam Atkins
Without this, the "Widget not registered" error stays visible if the widgets defined by the GML do not themselves fill with their background color. Also tidied up some unused includes.
2023-01-01LibGUI+Userland: Make GML unregistered_child_handler fallibleSam Atkins
2022-12-14LibFileSystemAccessClient: Rename `try_save_file` =>Lucas CHOLLET
`try_save_file_deprecated` This precedes the addition of a new api using `Core::Stream`
2022-12-06Everywhere: Rename to_{string => deprecated_string}() where applicableLinus Groh
This will make it easier to support both string types at the same time while we convert code, and tracking down remaining uses. One big exception is Value::to_string() in LibJS, where the name is dictated by the ToString AO.
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-11-01Everywhere: Mark dependencies of most targets as PRIVATETim Schumacher
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
2022-10-26GMLPlayground: Replace /proc/all unveil with /sys/kernel/processesTimothy Flynn
This was missed before commit dc5b28e26cbbce01af2ce9cc919c0a31f46d565e. Fixes #15809.
2022-10-25Userland: Let applications make use of make_command_palette_action()demostanis
2022-10-24GMLPlayground: Restrict filesystem access using `unveil()`Karol Kosek
2022-10-24GMLPlayground: Open and save files using FileSystemAccessClientKarol Kosek
2022-10-15GMLPlayground: Allow previewing GML in a separate windowSamuel Bowman
Previously, Playground would always preview the rendered GML in a frame next to the editor. This can be annoying when trying to work with small or large widget hierarchies since the size of the preview is tied to the size of the editor. Now there is a view menu which allows you to toggle between the frame or a separate window which can be resized independent of the editor.
2022-09-29AK+Everywhere: Replace "protocol" with "scheme" url helpersnetworkException
URL had properly named replacements for protocol(), set_protocol() and create_with_file_protocol() already. This patch removes these function and updates all call sites to use the functions named according to the specification. See https://url.spec.whatwg.org/#concept-url-scheme
2022-07-12Everywhere: Add sv suffix to strings relying on StringView(char const*)sin-ack
Each of these strings would previously rely on StringView's char const* constructor overload, which would call __builtin_strlen on the string. Since we now have operator ""sv, we can replace these with much simpler versions. This opens the door to being able to remove StringView(char const*). No functional changes.
2022-06-28Playground: Rename the application to GMLPlaygroundLinus Groh
Just "Playground" is too generic and doesn't match the general rule of "application name equals display name minus spaces".