summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-21Kernel: Get rid of the "cool globals" thingy.Andreas Kling
This was something I used while debugging with Computron. I haven't needed it for months, so let's get rid of it. It's trivial to readd if needed.
2019-04-21WindowServer: Limit paint request rects to the visible window rect.Andreas Kling
Don't send unnecessarily large paint requests to clients. This avoids some unnecessary work and fixes choppiness when dragging widgets outside the visible part of a VisualBuilder form.
2019-04-21Snake+Minesweeper: Exit process when game window is closed.Andreas Kling
2019-04-21Include Makefile.common in all other Makefiles.Andreas Kling
2019-04-21Add a Makefile.common with stuff shared by all Makefiles.Andreas Kling
Compiler names, CXXFLAGS, and such. I should have done this ages ago.
2019-04-21LibC: Minor compat tweak, move struct timezone to sys/time.hAndreas Kling
2019-04-20LibGUI: Allow GActions to be scoped either globally or widget-locally.Andreas Kling
This makes it possible for e.g GTextEditor to create a bunch of actions with popular shortcuts like Ctrl+C, etc, without polluting the global shortcut namespace. Widget-local actions will only activate while their corresponding widget has focus. :^)
2019-04-20Snake: Show the highest score achieved so far (in this session.)Andreas Kling
2019-04-20LibGUI+Minesweeper: Add GWindow::set_resizable().Andreas Kling
2019-04-20Snake: Add a window icon. :^)Andreas Kling
2019-04-20Snake: Disable double-buffering for the game window.Andreas Kling
There's no need to use automatic double-buffering here since we manage the backing store manually.
2019-04-20ProcessManager: Exclude colonel process from process listing.Andreas Kling
2019-04-20GTableView: Tweak appearance of key column with alternating rows.Andreas Kling
2019-04-20Kernel: Remove "restorer" field from SignalActionData.Andreas Kling
I was originally implementing signals by looking at some man page about sigaction() to see how it works. It seems like the restorer thingy is system-specific and not required by POSIX, so let's get rid of it.
2019-04-20Kernel: Remove some more unnecessary Thread members.Andreas Kling
2019-04-20Kernel: Shrink Thread by making kernel resume TSS heap-allocated.Andreas Kling
2019-04-20Snake: Add some more fruit types.Andreas Kling
2019-04-20Snake: Tweak game speed so it's not too easy.Andreas Kling
2019-04-20WindowServer+LibGUI: Coalesce multiple client paints into GMultiPaintEvents.Andreas Kling
This allows GWindow to paint up to 32 separate rects before telling the WindowServer to flip the buffers. Quite a bit smoother. :^)
2019-04-20WindowSerer+LibGUI: Send multiple rects in invalidation/flush messages.Andreas Kling
This patch moves to sending up to 32 rects at a time when coordinating the painting between WindowServer and its clients. Rects are also merged into a minimal DisjointRectSet on the server side before painting. Interactive resize looks a lot better after this change, since we can usually do all the repainting needed in one go.
2019-04-20Kernel: Make the colonel run at "Idle" priority (the lowest possible.)Andreas Kling
This means it won't hog the CPU for more than a single timeslice. :^)
2019-04-20LibGUI: Bundle up update() invalidations and send them on next event loop.Andreas Kling
2019-04-20Snake: Try to only repaint the parts that actually changed between ticks.Andreas Kling
2019-04-20Meta: Remove convert-raw-to-rgb thingy since we have PNG support nowadays.Andreas Kling
2019-04-20Meta: Update build instructions to build GCC with --with-newlib.Andreas Kling
2019-04-20WindowServer: Introduce a WM event mask so Taskbar can ignore window rects.Andreas Kling
Taskbar was waking up to do nothing every time a window rect changed.
2019-04-20AK: Add String::copy(BufferType) helper.Andreas Kling
This will create a String from any BufferType that has data() and size().
2019-04-20Sprinkle use of AK::Vector in various places.Andreas Kling
Some of these are less helpful than others. Avoiding a bunch of mallocs in the event loop wakeup code is definitely nice.
2019-04-20AK: Give Vector the ability to have an inline capacity.Andreas Kling
This makes Vector malloc-free as long as you stay within the templated inline capacity. :^)
2019-04-20LibC: Get rid of the now-unneeded AK/kmalloc.cppAndreas Kling
2019-04-20Get rid of SERENITY macro since the compiler already defines __serenity__Andreas Kling
This makes it a bit easier to use AK templates out-of-tree.
2019-04-20WindowServer: Fix minor header dependency issue.Andreas Kling
2019-04-20LibCore: Hide deferred_invoke() debug spam.Andreas Kling
2019-04-20Snake: Use a vegetable icon for the fruit.Andreas Kling
2019-04-20Snake: Clear the movement queue on game reset.Andreas Kling
2019-04-20Snake: Use a queue for the movement inputs.Andreas Kling
This makes it a lot less finicky to make rapid moves like staircasing and sudden turns.
2019-04-20Snake: Flesh out a basic snake game :^)Andreas Kling
2019-04-20Snake: Import skeleton of a new snake game.Andreas Kling
2019-04-19VisualBuilder: Expose some more widget properties.Andreas Kling
2019-04-19VisualBuilder: Emit on_widget_selected() when appropriate.Andreas Kling
This allows the properties window to stay in sync with what's happening. For multi-widget selections, we don't show any properties.
2019-04-19VisualBuilder: Make widget deletion work properly.Andreas Kling
2019-04-19VisualBuilder: Multiple-widget selection support.Andreas Kling
This is pretty damn nice, now I can move and resize entire groups of widgets together. Diagonal group resizing feels a bit strange but I wasn't expecting it not to. :^)
2019-04-19AK: And one more RetainPtr::operator==() G++ complains about in LibGUI.Andreas Kling
2019-04-19AK: Add RetainPtr::operator==() overload G++ is whining about.Andreas Kling
2019-04-19LibGUI: Remove GListBox since it was not kept up-to-date.Andreas Kling
I'll come back and add a GListView eventually, but this is not good enough.
2019-04-19VisualBuilder: Expose GGroupBox name property.Andreas Kling
2019-04-19VisualBuilder: Remove the separate property editor box in favor of inline.Andreas Kling
Also make the property names show up in bold text. :^)
2019-04-19VisualBuilder: Hook up everything needed for widget property editing.Andreas Kling
It's now possible to edit widget properties inline in the properties window. We're currently relying on the basic GVariant conversion functions to do all the "parsing" but that's not gonna be good enough.
2019-04-19LibGUI: Move editing logic from GTableView up to GAbstractView.Andreas Kling
GAbstractView should be able to manage the high-level editing logic, as long as subclasses implement content_rect(GModelIndex) so we know where to put the editing widgets. :^)
2019-04-18LibGUI: Move the editing widget along with the content when scrolling.Andreas Kling