summaryrefslogtreecommitdiff
path: root/Demos
AgeCommit message (Collapse)Author
2020-07-07Demos: Print out ELF Auxiliary Vector in LinkDemoAndrew Kaster
This is a test program anyway, so let's double check that the auxv is done properly here.
2020-07-06LibWeb: Move WebContentView from Demos/WebView into LibWebAndreas Kling
2020-07-06WebContent: Plumb link clicks to the WebContentView :^)Andreas Kling
You can now react to links being clicked via the on_link_click hook.
2020-07-05WebContent: Plumb hovered links from WebContent process over to widgetAndreas Kling
Also add a little GUI::StatusBar to the demo app so we can see the hovered link URL's live. :^)
2020-07-05WebContent: Add double buffering to the WebContentViewAndreas Kling
This removes the remaining flicker in the WebContentView widget and makes it feel pretty good to use it. :^) The increase in memory use is something we'll have to address in the future with more sophisticated solutions like tiling, etc.
2020-07-05WebContent: Plumb scroll-into-view requests from server to clientAndreas Kling
The WebContentView widget will now be able to react to scroll-into-view requests from the WebContent process.
2020-07-05WebContent: Use available size for bitmap (#2701)Kevin Meyer
After adding the scrolling feature, content available space reduced and thus the bitmap size was always larger, than the inner size. This lead to the horizontal scrollbar always beeing engaged.
2020-07-04WebContent: Plumb title changes over to the WebContentViewAndreas Kling
WebContentView now fires its on_title_change hook, like Web::PageView. We use this in the WebView test app to update the window title. :^)
2020-07-04WebContent: Give the WebContentView a proper GUI::Frame look :^)Andreas Kling
2020-07-04WebContent: Translate mouse event coordinates into content spaceAndreas Kling
The WebContentView widget now passes content space coordinates along with the various mouse events. :^)
2020-07-04WebContent: Basic scrolling support! :^)Andreas Kling
The WebContentView widget now inherits from GUI::ScrollableWidget and will pass its scroll offset over to the WebContent process as it's changing. This is not super efficient and can get a bit laggy, but it will do fine as an initial scrolling implementation. Just like the single-process Web::PageView widget, WebContentView also paints scrolled content by translating the Gfx::Painter.
2020-07-04WebContent: Put some debug spam behind an #ifdefAndreas Kling
2020-07-04WebContent: Notify client when web content selection changesAndreas Kling
The WebContentView widgets reacts to this by requesting a repaint.
2020-07-04LibGUI: Make GUI::Application a Core::ObjectAndreas Kling
Having this on the stack makes whole-program teardown iffy. Turning it into a Core::Object allows anyone who needs it to extends its lifetime.
2020-06-21WebContent: Turn it into a MultiInstance service :^)Andreas Kling
Port the WebContent service to the new MultiInstance mechanism that Sergey added. This means that every new WebContentView gets its very own segregated WebContent process.
2020-06-19LibGfxDemo: Fix "90s-bg.png" pathHüseyin ASLITÜRK
Incorrect image file path cause the application to crash on startup.
2020-06-18WidgetGallery: Add Image component demo for png and animated gif filesHüseyin ASLITÜRK
2020-06-17WebContent: Pass mouse events through to the WebContent processAndreas Kling
Just send the incoming mouse events across to the other side and let LibWeb deal with them. :^)
2020-06-17WebContent: Allow the WebContent process to trigger repaintsAndreas Kling
After layout, we may want to repaint the page, so we now listen for the PageClient::page_did_invalidate() notification and use it to drive a client-side repaint. Note that an invalidation request from LibWeb makes a full roundtrip to the WebContent client and back since the client drives painting.
2020-06-17WebContent: Start work on browser process separation :^)Andreas Kling
The "WebContent" service provides a very restricted instance of LibWeb running as an unprivileged user account. This will be used to implement process separation in Browser, among other things. This first cut of the service only spawns a single WebContent process when someone connects to /tmp/portal/webcontent. We will soon switch this over to spawning a new process for each connection. Since this feature is very immature, we'll be bringing it up inside of Demos/WebView as a separate demo program. Eventually this will become a reusable widget that anyone can embed and easily get out-of-process web content in their GUI. This is pretty, pretty cool! :^)
2020-06-10LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSizeAndreas Kling
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much better visual clue about what type of metric is being used.
2020-05-29Meta: Add a script check the presence of "#pragma once" in header filesEmanuele Torre
.. and make travis run it. I renamed check-license-headers.sh to check-style.sh and expanded it so that it now also checks for the presence of "#pragma once" in .h files. It also checks the presence of a (single) blank line above and below the "#pragma once" line. I also added "#pragma once" to all the files that need it: even the ones we are not check. I also added/removed blank lines in order to make the script not fail. I also ran clang-format on the files I modified.
2020-05-25Eyes: Resize the window based on the number of eyesAnotherTest
2020-05-25Eyes: Correctly calculate the eye bounds for arbitrary number of eyesAnotherTest
2020-05-24Demos: Add Eyes demoSergey Bugaev
This is a neat clone of xeyes. It demoes the new ellipse filling functionality, as well as the existing global mouse cursor tracking functionality :^)
2020-05-20Demos: WidgetGallery, Add MessageBox question icon optionHüseyin ASLITÜRK
2020-05-16Demos: Compile LibGfxDemo with the new CMake build systemtgsm
2020-05-14Build: Switch to CMake :^)Sergey Bugaev
Closes https://github.com/SerenityOS/serenity/issues/2080
2020-05-12LibGUI: Include keyboard modifier state with button on_click callsAndreas Kling
This will allow you us to implement special behavior when Ctrl+clicking a button.
2020-05-10LibGfx: Add support for dashed linesLinus Groh
Non-configurable for now.
2020-05-10Demos: Add LibGfx Demo :^)Linus Groh
2020-05-09Demos: Add missing copyright header to Mouse/main.cppLinus Groh
2020-05-07MouseDemo: A more visual approach for MouseEvents :^)pierre
2020-05-04MouseDemo: Add menu, using the new icon :^)Ben Wiederhake
2020-05-02Demos: Add a little "Mouse" demo for showing mouse button statesAndreas Kling
This was very helpful when adding support for 5-button mice! :^)
2020-05-02Screensaver: Add app-screensaver.png 16x16 iconBrendan Coles
2020-05-02Fire: Add app-fire.png 16x16 iconBrendan Coles
2020-05-02Cube: Add app-cube.png 16x16 iconBrendan Coles
2020-04-28Screensaver: Draw screen before first timer iteration and seed srand()Brendan Coles
2020-04-28Fire: Use LibC srand()Brendan Coles
2020-04-23Demos: Add ColorInput, TabWidget and MessageBox demos in WidgetGalleryHüseyin ASLITÜRK
2020-04-19Demos: Add Screensaver demoBrendan Coles
2020-04-18Cube: Two small tweaksAndreas Kling
I noticed these when playing with the demo locally: - Use RGB32 instead of RGBA32 for the bitmap buffer. This avoids some flickering that would sometimes occur. - Clip the gradient fill to the widget rect rather than the painter clip rect. In practice, the painter was always clipped to the widget rect here, but it seems logical to say "fill widget with gradient."
2020-04-18Demos: Add 3D Cube DemoStephan Unverwerth
This renders a spinning 3D cube and demonstrates the 3D math classes from LibGfx.
2020-04-13Debugger: Add DebugSessionItamar
The DebugSession class wraps the usage of Ptrace. It is intended to be used by cli & gui debugger programs. Also, call objdump for disassemly
2020-04-13ptrace: Stop a traced thread when it exists from execveItamar
This was a missing feature in the PT_TRACEME command. This feature allows the tracer to interact with the tracee before the tracee has started executing its program. It will be useful for automatically inserting a breakpoint at a debugged program's entry point.
2020-04-13CPU: Handle breakpoint trapItamar
Also, start working on the debugger app.
2020-03-19WidgetGallery: Remove G prefixes from componentsTibor Nagy
2020-03-04LibCore: Make Core::Object::add<ChildType> return a ChildType&Andreas Kling
Since the returned object is now owned by the callee object, we can simply vend a ChildType&. This allows us to use "." instead of "->" at the call site, which is quite nice. :^)
2020-03-04LibGUI: Use GUI::Window::set_main_widget<WidgetType>() in clientsAndreas Kling