summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-22GAbstractView: Add on_selection callback.Andreas Kling
This callback is fired whenever the model's selection is updated. Note that it only fires when there is a model, and when the index is valid.
2019-06-22GScrollableWidget: Make the scrollbar metrics helpers public.Andreas Kling
2019-06-22GButton: Make it possible to disable focusability.Andreas Kling
2019-06-22GTextEditor: Add select_all() API.Andreas Kling
Take the implementation of Ctrl+A and expose it as an API for clients.
2019-06-22GVariant: Add a constructor that takes const char*.Andreas Kling
This prevents the compiler from selecting the GVariant(bool) constructor which is clearly not what I want when I do GVariant("Hello"). :^)
2019-06-22GWindow: Make destroy-on-close an optional behavior.Andreas Kling
Also add missing implementation of GWindow::is_visible().
2019-06-22LibHTML: Some initial works towards a simple CSS parser.Andreas Kling
2019-06-21LibHTML: Add an empty CSS parser.Andreas Kling
2019-06-21LibHTML: Add a basic default UA stylesheet.Andreas Kling
We can't parse this yet, but we have to start somewhere. :^)
2019-06-21LibHTML: More work on the CSS object model.Andreas Kling
2019-06-21AK: Rename Retainable.h => RefCounted.h.Andreas Kling
2019-06-21AK: Rename RetainPtr.h => RefPtr.h, Retained.h => NonnullRefPtr.h.Andreas Kling
2019-06-21Documentation: Update SmartPointers.md with new pointer names.Andreas Kling
2019-06-21Change "retain" to "ref" in various comments.Andreas Kling
2019-06-21AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.Andreas Kling
2019-06-21AK: Rename Retainable => RefCounted.Andreas Kling
(And various related renames that go along with it.)
2019-06-21WindowServer: Move some event code from WSWindowManager to WSMenuBarKeeper.Andreas Kling
2019-06-21WindowServer: Make most of WSMenuBarKeeper private.Andreas Kling
The outside world doesn't need to know about all this stuff.
2019-06-21WindowServer+Taskbar: Let WindowServer manage the "window menus".Andreas Kling
Taskbar now simply asks the WindowServer to popup a window menu when right clicking on a taskbar button. This patch also implements the "close" menu item, and furthermore makes the window menu show up when you left-click a window's titlebar icon. :^)
2019-06-21LibGUI: Refactor the keyboard activation code a bit to use WeakPtr<GWidget>.Andreas Kling
2019-06-21PaintBrush: Make a little icon for the spray tool.Andreas Kling
2019-06-21WindowServer: Render the global menubar into a separate WSWindow.Andreas Kling
Previously we were rendering the whole menubar on every compose(), even if nothing changed about it. Now it's in its own window and can be invalidated and painted separately.
2019-06-20LibHTML: Add the outline of a CSS stylesheet object graph.Andreas Kling
2019-06-20LibHTML: Add layout() overrides for LayoutText and LayoutBlock.Andreas Kling
2019-06-20LookupServer: Use a CFile for loading /etc/hosts.Andreas Kling
This fixes an issue with the lines having extra bytes at the end due after converting from ByteBuffer to String.
2019-06-20AK: Make StringImpl a bit smaller.Andreas Kling
There's no need for a member char* m_characters if we always store them in the inline buffer. So with this patch, we now do. After that, rearrange the members a bit for ideal packing. :^)
2019-06-19Kernel+LibC: Make page fault crashes a bit more readable.Andreas Kling
We'll now try to detect crashes that were due to dereferencing nullptr, uninitialized malloc() memory, or recently free()'d memory. It's not perfect but I think it's pretty good. :^) Also added some color to the most important parts of the crash log, and added some more modes to /bin/crash for exercising this code. Fixes #243.
2019-06-19Kernel: Symbolicate the crash address too, not just the call stack.Andreas Kling
Also print it in shiny red to make it extra easy to spot. :^) Fixes #244.
2019-06-19AK: Add some convenient functions to JsonValue.Andreas Kling
2019-06-18printf: Support printing negative values with %f or %g.Andreas Kling
2019-06-18WindowServer: Remove unused WSWindowManager::m_windows hash table.Andreas Kling
2019-06-18AK: Add IPv4Address(NetworkOrdered<dword>) constructor.Andreas Kling
2019-06-18AK: Move IPv4Address from Kernel/Net/ to AK/ since it's quite useful.Andreas Kling
2019-06-18printf: Treat %g as %f for now.Andreas Kling
2019-06-18AK: Rename JsonObject::to_string() and pals to serialized().Andreas Kling
And the variant that serializes into a StringBuilder is called serialize().
2019-06-18AK: ScopeGuard.h needs StdLibExtras.hAndreas Kling
2019-06-18AK: Override StringImpl's operator delete to silence valgrind.Andreas Kling
2019-06-18AK: Fix leak in JsonValue::operator=(JsonValue&&).Andreas Kling
Amusingly I introduced this leak while explaining that this type of leak is a common bug, and saying I'm used to looking for it. :^)
2019-06-18AK: Add JsonValue(const char*).Andreas Kling
This should obviously become a string, but if we don't have it, constructing from a string literal ends up creating a boolean value.
2019-06-18AK: Add JsonValue(unsigned) ctor and as_string().Andreas Kling
2019-06-18AK: Including <AK/kstdio.h> should pull in <stdio.h> etc on host builds.Andreas Kling
2019-06-18AK: Make ASSERT_NOT_REACHED() work nicely in host builds.Andreas Kling
2019-06-17AK: Use a single StringBuilder throughout JSON serialization.Andreas Kling
2019-06-17VisualBuilder: Switch to JSON for the form output.Andreas Kling
This makes widgets-within-widgets straightforward instead of confusing. The UI doesn't actually let you put widgets inside one another just yet, but at least now the output format won't be a problem. :^)
2019-06-17AK: Add some classes for JSON encoding.Andreas Kling
This patch adds JsonValue, JsonObject and JsonArray. You can use them to build up a JsonObject and then serialize it to a string via to_string(). This patch only implements encoding, no decoding yet.
2019-06-17PaintBrush: Make spray circular.Sergey Bugaev
2019-06-17LibM: Rewrite trigonometric functions.Sergey Bugaev
This way they seem to actually work as expected ;)
2019-06-17Add a simple spray fill toolRobin Burchell
Could do with some more tweaking no doubt, and it'd be nice to have a circular spray, but this is better than nothing.
2019-06-16Merge pull request #173 from faissaloo/serenity-keysAndreas Kling
SerenityKeys
2019-06-16LibM: Add trigonometric approximations and misc mathematical functionsfaissaloo