summaryrefslogtreecommitdiff
path: root/MenuApplets
AgeCommit message (Collapse)Author
2020-09-25Meta+MenuApplets: Make clang-format-10 cleanBen Wiederhake
2020-09-19ResourceGraph: Fix graph line position calculationLinus Groh
The calculation was only taking the rect's inner height, but not its top offset into account. Fixes #3540.
2020-09-05ClipboardHistory: Copy metadata when reusing a historical clippingAndreas Kling
2020-09-05ClipboardHistory: Show bitmap width/height/bpp for bitmap clippingsAndreas Kling
2020-09-05ClipboardHistory: Show the size (in bytes) of each remembered clippingAndreas Kling
2020-09-05ClipboardHistory: Cap the history at 20 entries for nowAndreas Kling
Now that we can copy bitmaps, we need some kind of cap here or memory usage quickly skyrockets. This could probably be improved or made adaptive somehow, this is just a simple hard cap for now.
2020-09-05LibGUI: Make the Clipboard API deal in raw byte buffers a bit moreAndreas Kling
To open up for putting not just text/plain content on the clipboard, let's make the GUI::Clipboard API a bit more raw-data-friendly. :^)
2020-08-27Base: Move 16x16 common icons to /res/icons/16x16/thankyouverycool
Drops the '16' suffix from filenames. Resizes inconsistent audio-volume icons to intended size.
2020-08-22MenuApplets: Add a mini calendar to Clock appletthankyouverycool
2020-08-21ResourceGraph: Keep the graph inside the GUI::Frame rectAndreas Kling
Part of the graph was hidden under the frame rect, which had the effect of delaying the appearance of spikes (well, all changes really.)
2020-08-17Clock MenuApplet: Use Core::DateTime to simplify the codeNico Weber
2020-08-16LibGUI: Move GUI::Model::Role to GUI::ModelRoleAndreas Kling
This is preparation for using ModelRole in the ModelIndex API.
2020-08-16AK: Rename KB, MB, GB to KiB, MiB, GiBNico Weber
The SI prefixes "k", "M", "G" mean "10^3", "10^6", "10^9". The IEC prefixes "Ki", "Mi", "Gi" mean "2^10", "2^20", "2^30". Let's use the correct name, at least in code. Only changes the name of the constants, no other behavior change.
2020-08-14ResourceGraph: add tooltips to cpu and memory graphsNico Weber
The tooltip doesn't update while it's visible.
2020-08-04ResourceGraph.MenuApplet: Disown child processes after spawningAndreas Kling
2020-08-04Clock.MenuApplet: Disown child process after spawningAndreas Kling
2020-07-26Base+MenuApplet: Add new controls and icons for AudioAppletthankyouverycool
Adds a classic volume slider to the AudioApplet. Percent text and mute state can now be toggled via checkboxes. Left click opens, right click mutes. Updates existing icons and adds unique icons for muted vs zero volume states.
2020-07-23LibGUI: Rename GUI::Image => GUI::ImageWidgetAndreas Kling
"Image" was a bit too vague, "ImageWidget" is obviously a widget of some sort.
2020-07-21Base: rename audio volume icons with descriptive namesBenoît Lormeau
2020-07-21AudioApplet: Scrolling the Audio applet will adjust the main mix volumeBenoît Lormeau
The Audio applet now dislays the main mix volume next to the speaker icon. A click on the applet still mutes the global mixer. By scrolling the mouse wheel while on the applet, you can decrease/increase the mixer volume. Different icons will be painted depending on the volume and the mute state. Happy listening :^)
2020-07-05Userland+MenuApplets: Replace two more fork/exec with posix_spawnNico Weber
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-29Everywhere: Replace some uses of fork/exec with posix_spawnNico Weber
It's less code, and it's potentially more efficient once posix_spawn is a real syscall.
2020-06-18ClipboardHistory: Use pledge() and unveil() :^)Andreas Kling
2020-06-18ClipboardHistory: Replace IconWidget with GUI::ImageHüseyin ASLITÜRK
2020-06-13AK: JsonParser improvementsMatthew Olsson
- Parsing invalid JSON no longer asserts Instead of asserting when coming across malformed JSON, JsonParser::parse now returns an Optional<JsonValue>. - Disallow trailing commas in JSON objects and arrays - No longer parse 'undefined', as that is a purely JS thing - No longer allow non-whitespace after anything consumed by the initial parse() call. Examples of things that were valid and no longer are: - undefineddfz - {"foo": 1}abcd - [1,2,3]4 - JsonObject.for_each_member now iterates in original insertion order
2020-06-12MenuApplets: Fix using OwnPtr<> with RefCounted typesSergey Bugaev
2020-05-21LibGUI: Get rid of Model::ColumnMetadata and always use auto-sizingAndreas Kling
Auto-sizing of view columns is now enabled by default. This removes the last remaining need for ColumnMetadata, so this patch gets rid of it.
2020-05-20ClipboardHistory: Always place the applet at the same location :^)Andreas Kling
2020-05-20ResourceGraph: Add a thin frame around the graphsAndreas Kling
Make the graph widgets into 1px GUI::Frames for a pleasant 90's feel.
2020-05-16ClipboardHistory: Add a clipboard history applet :^)Sergey Bugaev
It will listen for clipboard content changes in the backgroud. Once you click on its icon, it will pop up a window listing all recorded clipboard contents. You can then double-click on an item to copy it again.
2020-05-14Build: Switch to CMake :^)Sergey Bugaev
Closes https://github.com/SerenityOS/serenity/issues/2080
2020-05-03Meta: Fix Makefile permissions (not executable)Ben Wiederhake
2020-04-11MenuApplets: Support memory usage and custom colors in ResourceGraphLinus Groh
The ResourceGraph menu applet now supports a few command line options: --cpu / -C to display a CPU usage graph --memory / -M to display a memory usage graph --name / -n to set a name which is used to order applets --color / -c to set the graph color (supports anything Gfx::Color::from_string() understands) The SystemServer.ini and WindowServer.ini config files have been updated to spawn and show two ResourceGraph menu applets, one for CPU usage (green) and one for memory usage (cyan) - this matches the colors in the SystemMonitor graphs.
2020-04-11MenuApplets: Rename CPUGraph to ResourceGraphLinus Groh
The plan is to extend what currently is known as "CPUGraph" and let the SystemServer spawn multiple instances of it - which then can show memory or network usages as well :^) Simply renaming the applet is the first step.
2020-04-01Clock menu applet: launch the new Calendar on clickAnotherTest
2020-03-04LibGUI: Use GUI::Window::set_main_widget<WidgetType>() in clientsAndreas Kling
2020-02-25Build: Only look at SUBDIRS with Makefilesjoshua stein
If a directory is renamed or deleted before 'make clean', git will delete the Makefile but leave all of the object and dependency files around. When make would try to recurse into that directory from the wildcard, it would error out since there is no Makefile.
2020-02-23LibGUI: Remove parent parameter to GUI::Widget constructorAndreas Kling
2020-02-23Userspace: Use Core::Object::add() when building interfacesAndreas Kling
2020-02-14LibGUI: Remove some header dependencies from Widget.hAndreas Kling
2020-02-14LibGfx: Add forward declaration headerAndreas Kling
This patch adds <LibGfx/Forward.h> with forward declarations for Gfx.
2020-02-10Audio.MenuApplet: Add window title.=
2020-02-10CPUGraph.MenuApplet: Add window title.=
2020-02-10Clock.MenuApplet: Add window title.=
2020-02-10UserName.MenuApplet: Add window title.=
2020-02-09MenuApplets: Add UserName applet.asliturk
Move code from WindowServer.WSMenuManager to the applet.
2020-02-06LibGUI: Remove leading G from filenamesAndreas Kling
2020-02-06LibAudio: Remove leading A from filenamesAndreas Kling
2020-02-06LibCore: Remove leading C from filenamesAndreas Kling