summaryrefslogtreecommitdiff
path: root/Userland/Demos
AgeCommit message (Collapse)Author
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-03-26Demos/LibGfxScaleDemo: Use BGRA8888 bitmap in canvasMacDue
Previously BGRx8888 was used, which produces artifacts with the new antialiased window frames with border radii, which require alpha blending whilst painting.
2022-03-18Userland: Change static const variables to static constexprLenny Maiorani
`static const` variables can be computed and initialized at run-time during initialization or the first time a function is called. Change them to `static constexpr` to ensure they are computed at compile-time. This allows some removal of `strlen` because the length of the `StringView` can be used which is pre-computed at compile-time.
2022-03-18Eyes: Add 'Contents' action to help menuLinus Groh
2022-03-14Kernel: Sandbox each GPU3DDevice file description into own host contextSahan Fernando
2022-03-09Demos: Create demo for VirGL gpu deviceSahan Fernando
This is a simple demo for VirGL, that does the bare minimum required to create and render a spinning cube (with one color per face).
2022-03-08Mandelbrot: Add Help menu with standard About actionPaulo Henrique Silva
Noticed that Mandelbrot didn't use the standard About action in the Help menu. As a first patch to Serenity, this patch fixes it.
2022-03-02Demos/CatDog: Show different messages depending on statekleines Filmröllchen
There are two new sets of messages for the new application-dependent main states of CatDog. With the current Array-based system, all message collections must have the same number of messages, but that's not a problem.
2022-03-02Demos/CatDog: Introduce inspector & artist states based on open programskleines Filmröllchen
These two new main states are determined by looking at the programs the user has open. The artist state, using the new artist catdog, is triggered by PixelPaint and FontEditor, and the inspector state is triggered by Inspector, Profiler and SystemMonitor. This requires CatDog to unveil /proc/all, and, for some reason, /etc/passwd.
2022-03-02Demos/CatDog: Refactor the main stateskleines Filmröllchen
CatDog's state was previously handled by a bunch of booleans that all needed to be in sync pretty accurately, but some of these are exclusive (like alerted and sleeping). This commit introduces a simple enum for the main states of CatDog which exclude the roaming and direction states. The main state determines the standing image of CatDog and will have further effects in the future.
2022-03-02Demos/CatDog: Let the speech bubble know about the CatDog widgetkleines Filmröllchen
This will allow us to have better interaction between CatDog's state and what it's saying.
2022-02-25Userland: Rename WindowServerConnection=>ConnectionToWindowServerItamar
This was done with CLion's automatic rename feature.
2022-02-23LibGUI+Apps: Adjust Splitter spacingsthankyouverycool
Different thread highlights between widgets lead to different visual weights between splitters, even when they have the same width or height. This means some splitters look best at odd sizes while others even. This sets the default spacing to the most commonly used, depending on orientation, and adjusts spacing for a few apps based on the new paint rect. The most consistent look across apps requires some manual tweaking occassionally. Knurlheads, use your discretion!
2022-02-15Demos: Use default constructors/destructorsLenny Maiorani
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
2022-02-13Userland: Run gml-formatIdan Horowitz
This brings the existing GML files up to spec with the new requirements
2022-02-07Meta+Userland: Run the GML formatter on CI and pre-commitkleines Filmröllchen
Now that the GML formatter is both perserving comments and also mostly agrees to the existing GML style, it can be used to auto-format all the GML files in the system. This commit does not only contain the scripts for running the formatting on CI and the pre-commit hook, but also initially formats all the existing GML files so that the hook is successfull.
2022-02-01Starfield: Add app iconJagger De Leo
Previously, Starfield used app-screensaver icon.
2022-01-20Userland: Add horizontal mouse scroll supportDmitry Petrov
2022-01-07Everywhere: Fix spelling mistakesmjz19910
2022-01-07Everywhere: Fix many spelling errorsmjz19910
2021-12-24LibGUI+Userland: Make SortingProxyModel::create() return ErrorOrSam Atkins
Unfortunately, most of the users are inside constructors, (and two others are inside callback lambdas) so the error can't propagate, but that can be improved later.
2021-12-18WidgetGallery: Convert to try_create_default_iconAstraeus-
2021-12-18Mouse: Convert to try_create_default_iconAstraeus-
2021-12-18ModelGallery: Convert to try_create_default_iconAstraeus-
2021-12-18LibGfxScaleDemo: Convert to try_create_default_iconAstraeus-
2021-12-18LibGfxDemo: Convert to try_create_default_iconAstraeus-
2021-12-18Eyes: Convert to try_create_default_iconAstraeus-
2021-12-18CatDog: Convert to try_create_default_iconAstraeus-
2021-12-05Demos: Cast unused smart-pointer return values to voidSam Atkins
2021-11-28Everywhere: Use default execpromises argument for Core::System::pledgeBrian Gianforcaro
2021-11-25WidgetGallery: Use TRY() a lot more :^)pbrw
2021-11-25Starfield: Use TRY() a lot more :^)pbrw
2021-11-25Screensaver: Use TRY() a lot more :^)pbrw
2021-11-25Mouse: Use TRY() a lot more :^)pbrw
2021-11-25ModelGallery: Use TRY() a lot more :^)pbrw
2021-11-25Mandelbrot: Use TRY() a lot more :^)pbrw
2021-11-25LibGfxScaleDemo: Use TRY() a lot more :^)pbrw
2021-11-25LibGfxDemo: Use TRY() a lot more :^)pbrw
2021-11-25Fire: Use TRY() a lot more :^)pbrw
2021-11-25Eyes: Use TRY() a lot more :^)pbrw
2021-11-25Cube: Use TRY() a lot more :^)pbrw
2021-11-25CatDog: Use TRY() a lot more :^)pbrw
2021-11-23WidgetGallery: Port to LibMain :^)Andreas Kling
2021-11-23LibCore+LibSystem: Move syscall wrappers from LibSystem to LibCoreAndreas Kling
With this change, System::foo() becomes Core::System::foo(). Since LibCore builds on other systems than SerenityOS, we now have to make sure that wrappers work with just a standard C library underneath.
2021-11-22Everywhere: Use Application::construct() with Main::Arguments directlyMustafa Quraish
Use the updated API everywhere we are currently manually passing in `arguments.argc` and `arguments.argv`.
2021-11-22Everywhere: Use ArgsParser::parse() with Main::Arguments directlyMustafa Quraish
Use the updated API everywhere we are currently manually passing in `arguments.argc` and `arguments.argv`.
2021-11-22Starfield: Port to LibMainPedro Pereira
Simplified two pledge() by using TRY().
2021-11-21Starfield: Modify speed by Plus or Minus keypressesPedro Pereira
Although this is supposed to be a screensaver, it makes all the sense in the world that it should support modifying the speed interactively. :^)
2021-11-21Starfield: Modify speed by command argumentPedro Pereira
This change allows us to change the speed variable by passing a -s or --speed argument.
2021-11-21Starfield: Support variable speedPedro Pereira
This change allows us to modify the speed in which the Starfield is generated. Increasing the speed also increases the length of each trail.