summaryrefslogtreecommitdiff
path: root/Userland/Demos/CatDog
AgeCommit message (Collapse)Author
2021-05-18CatDog: Remove global menu and add context menuMarcus Nilsson
There was no way to close catdog since it relied on global menus, this adds a context menu for opening the about dialog and quitting. Fixes #7252
2021-05-13Userland: Tighten a *lot* of pledges! :^)Andreas Kling
Since applications using Core::EventLoop no longer need to create a socket in /tmp/rpc/, and also don't need to listen for incoming connections on this socket, we can remove a whole bunch of pledges!
2021-05-12Everywhere: Add Alt shortcuts to remaining top-level menusLinus Groh
Not sure why some menus did have one and others didn't, even in the same application - now they all do. :^) I added character shortcuts to some menu actions as well.
2021-05-09CatDog: Help the user debug their programsGunnar Beutner
This adds helpful speech bubbles to CatDog. CatDog just wants to help, that's all.
2021-05-09CatDog: Rename root_widget to catdog_widgetGunnar Beutner
2021-05-09CatDog: Move the main widget into its own fileGunnar Beutner
2021-05-03Userland: Update IPC calls to use proxiesGunnar Beutner
This updates all existing code to use the auto-generated client methods instead of post_message/send_sync.
2021-05-01Everywhere: Rename app_menu to file_menu or game_menuAndreas Kling
2021-04-29Userland: Fix two misaligned copyright headersLinus Groh
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-13Everywhere: It's now "Foobar", not "FooBar", and not "foo bar"Andreas Kling
I hereby declare these to be full nouns that we don't split, neither by space, nor by underscore: - Breadcrumbbar - Coolbar - Menubar - Progressbar - Scrollbar - Statusbar - Taskbar - Toolbar This patch makes everything consistent by replacing every other variant of these with the proper one. :^)
2021-03-25Userland: Turn all application menus into window menus :^)Andreas Kling
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
(...and ASSERT_NOT_REACHED => VERIFY_NOT_REACHED) Since all of these checks are done in release builds as well, let's rename them to VERIFY to prevent confusion, as everyone is used to assertions being compiled out in release. We can introduce a new ASSERT macro that is specifically for debug checks, but I'm doing this wholesale conversion first since we've accumulated thousands of these already, and it's not immediately obvious which ones are suitable for ASSERT.
2021-02-21CatDog: Fix wake-sleep "loop" when cursor is over right-top of headTom
Because re-evaluation of the hovered window may trigger sending a MouseMove event to a window we should only wake it if the mouse position actually has changed.
2021-02-15CatDog: Set window hit testing to opaque pixels onlyTom
2021-01-22LibGUI: Resolve cyclic inclusionBen Wiederhake
Application.h includes Widget.h which includes Application.h. I'm not entirely sure what the semantics are in this case, but avoiding this seems to be the safer approach. In this case, Widget does not actually use Application, so let's just remove the unused include.
2021-01-16Everywhere: Drop "shared_buffer" in most GUI programs, pledge "recvfd"Andreas Kling
Now that WindowServer broadcasts the system theme using an anonymous file, we need clients to pledge "recvfd" so they can receive it. Some programs keep the "shared_buffer" pledge since it's still used for a handful of things.
2021-01-15Demos+Games: Pledge "sendfd" in demos and gamesTheMorc
2021-01-15Everywhere: Pledge "sendfd" in WindowServer client programsAndreas Kling
This is needed for the new way we transfer window backing stores.
2021-01-12Demos: Move to Userland/Demos/Andreas Kling