summaryrefslogtreecommitdiff
path: root/Userland/Services/Taskbar/main.cpp
AgeCommit message (Collapse)Author
2021-06-30AK+Everywhere: Add and use static APIs for LexicalPathMax Wipfli
The LexicalPath instance methods dirname(), basename(), title() and extension() will be changed to return StringView const& in a further commit. Due to this, users creating temporary LexicalPath objects just to call one of those getters will recieve a StringView const& pointing to a possible freed buffer. To avoid this, static methods for those APIs have been added, which will return a String by value to avoid those problems. All cases where temporary LexicalPath objects have been used as described above haven been changed to use the static APIs.
2021-06-22Taskbar: Check if executable in .af exist in filesystemPAUL007
This adds access X_OK check in discover_apps_and_categories() to see executable specified in .af files exist before registering them for start menu.
2021-06-04Taskbar: Allow creating menus for sub-categoriesGunnar Beutner
This change allows creating sub-categories in app files, e.g. with Category=Games/Puzzles.
2021-05-13Userland: Tighten a *lot* of pledges! :^)Andreas Kling
Since applications using Core::EventLoop no longer need to create a socket in /tmp/rpc/, and also don't need to listen for incoming connections on this socket, we can remove a whole bunch of pledges!
2021-05-08AK: Add missing GenericTraits<NonnullRefPtr>Itamar
This enables us to use keys of type NonnullRefPtr in HashMaps and HashTables. This commit also includes fixes in various places that used HashMap<T, NonnullRefPtr<U>>::get() and expected to get an Optional<NonnullRefPtr<U>> and now get an Optional<U*>.
2021-05-03Userland: Make IPC results with one return value available directlyGunnar Beutner
This changes client methods so that they return the IPC response's return value directly - instead of the response struct - for IPC methods which only have a single return value.
2021-05-03Userland: Update IPC calls to use proxiesGunnar Beutner
This updates all existing code to use the auto-generated client methods instead of post_message/send_sync.
2021-04-25Userland+Base: Add "ladyball" logo for the system :^)Andreas Kling
Thanks to Katalin Kult for the artwork!
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-17Taskbar: Use WM connection for window management operationssin-ack
Since WM operations are moved to a separate endpoint pair, Taskbar now uses those to perform window management related operations. Additionally, it now explicitly declares to WindowServer that it is a window manager.
2021-03-26Taskbar: Add more prominent Help app icon in the start menuAndreas Kling
2021-03-26Taskbar: Move "About SerenityOS" to the top of the start menuAndreas Kling
2021-03-25Taskbar: Add start menu :^)Andreas Kling
This will replace the system menu in the top left of the screen. The button behavior doesn't feel quite perfect yet, but this will work for now!
2021-03-25Taskbar: Integrate clock widget into taskbar windowAndreas Kling
Instead of running the clock widget as a separate menu applet, let's just draw a clock here in the taskbar window.
2021-03-12Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)Andreas Kling
Good-bye LogStream. Long live AK::Format!
2021-01-16Everywhere: Drop "shared_buffer" in most GUI programs, pledge "recvfd"Andreas Kling
Now that WindowServer broadcasts the system theme using an anonymous file, we need clients to pledge "recvfd" so they can receive it. Some programs keep the "shared_buffer" pledge since it's still used for a handful of things.
2021-01-15WindowServer+Taskbar: Send WM icon updates as Gfx::ShareableBitmapAndreas Kling
Window icons in Taskbar were previously received in WM events with shbuf ID's. Now that Gfx::ShareableBitmap is backed by anonymous files, we can easily switch to using those.
2021-01-15Everywhere: Pledge "sendfd" in WindowServer client programsAndreas Kling
This is needed for the new way we transfer window backing stores.
2021-01-12Services: Move to Userland/Services/Andreas Kling