Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-22 | GAbstractView: 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-22 | GScrollableWidget: Make the scrollbar metrics helpers public. | Andreas Kling | |
2019-06-22 | GButton: Make it possible to disable focusability. | Andreas Kling | |
2019-06-22 | GTextEditor: Add select_all() API. | Andreas Kling | |
Take the implementation of Ctrl+A and expose it as an API for clients. | |||
2019-06-22 | GVariant: 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-22 | GWindow: Make destroy-on-close an optional behavior. | Andreas Kling | |
Also add missing implementation of GWindow::is_visible(). | |||
2019-06-22 | LibHTML: Some initial works towards a simple CSS parser. | Andreas Kling | |
2019-06-21 | LibHTML: Add an empty CSS parser. | Andreas Kling | |
2019-06-21 | LibHTML: Add a basic default UA stylesheet. | Andreas Kling | |
We can't parse this yet, but we have to start somewhere. :^) | |||
2019-06-21 | LibHTML: More work on the CSS object model. | Andreas Kling | |
2019-06-21 | AK: Rename Retainable.h => RefCounted.h. | Andreas Kling | |
2019-06-21 | AK: Rename RetainPtr.h => RefPtr.h, Retained.h => NonnullRefPtr.h. | Andreas Kling | |
2019-06-21 | Documentation: Update SmartPointers.md with new pointer names. | Andreas Kling | |
2019-06-21 | Change "retain" to "ref" in various comments. | Andreas Kling | |
2019-06-21 | AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr. | Andreas Kling | |
2019-06-21 | AK: Rename Retainable => RefCounted. | Andreas Kling | |
(And various related renames that go along with it.) | |||
2019-06-21 | WindowServer: Move some event code from WSWindowManager to WSMenuBarKeeper. | Andreas Kling | |
2019-06-21 | WindowServer: Make most of WSMenuBarKeeper private. | Andreas Kling | |
The outside world doesn't need to know about all this stuff. | |||
2019-06-21 | WindowServer+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-21 | LibGUI: Refactor the keyboard activation code a bit to use WeakPtr<GWidget>. | Andreas Kling | |
2019-06-21 | PaintBrush: Make a little icon for the spray tool. | Andreas Kling | |
2019-06-21 | WindowServer: 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-20 | LibHTML: Add the outline of a CSS stylesheet object graph. | Andreas Kling | |
2019-06-20 | LibHTML: Add layout() overrides for LayoutText and LayoutBlock. | Andreas Kling | |
2019-06-20 | LookupServer: 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-20 | AK: 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-19 | Kernel+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-19 | Kernel: 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-19 | AK: Add some convenient functions to JsonValue. | Andreas Kling | |
2019-06-18 | printf: Support printing negative values with %f or %g. | Andreas Kling | |
2019-06-18 | WindowServer: Remove unused WSWindowManager::m_windows hash table. | Andreas Kling | |
2019-06-18 | AK: Add IPv4Address(NetworkOrdered<dword>) constructor. | Andreas Kling | |
2019-06-18 | AK: Move IPv4Address from Kernel/Net/ to AK/ since it's quite useful. | Andreas Kling | |
2019-06-18 | printf: Treat %g as %f for now. | Andreas Kling | |
2019-06-18 | AK: Rename JsonObject::to_string() and pals to serialized(). | Andreas Kling | |
And the variant that serializes into a StringBuilder is called serialize(). | |||
2019-06-18 | AK: ScopeGuard.h needs StdLibExtras.h | Andreas Kling | |
2019-06-18 | AK: Override StringImpl's operator delete to silence valgrind. | Andreas Kling | |
2019-06-18 | AK: 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-18 | AK: 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-18 | AK: Add JsonValue(unsigned) ctor and as_string(). | Andreas Kling | |
2019-06-18 | AK: Including <AK/kstdio.h> should pull in <stdio.h> etc on host builds. | Andreas Kling | |
2019-06-18 | AK: Make ASSERT_NOT_REACHED() work nicely in host builds. | Andreas Kling | |
2019-06-17 | AK: Use a single StringBuilder throughout JSON serialization. | Andreas Kling | |
2019-06-17 | VisualBuilder: 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-17 | AK: 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-17 | PaintBrush: Make spray circular. | Sergey Bugaev | |
2019-06-17 | LibM: Rewrite trigonometric functions. | Sergey Bugaev | |
This way they seem to actually work as expected ;) | |||
2019-06-17 | Add a simple spray fill tool | Robin 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-16 | Merge pull request #173 from faissaloo/serenity-keys | Andreas Kling | |
SerenityKeys | |||
2019-06-16 | LibM: Add trigonometric approximations and misc mathematical functions | faissaloo | |