summaryrefslogtreecommitdiff
path: root/Userland/Applets/Network
AgeCommit message (Collapse)Author
2022-01-03Applets/Network: Propagate errors using custom try_createcreator1creeper1
We now move-construct the bitmaps into the NetworkWidget.
2022-01-03Applets/Network: Propagate errors with try_set_main_widgetcreator1creeper1
Use try_set_main_widget instead of set_main_widget.
2021-11-28Everywhere: Use default execpromises argument for Core::System::pledgeBrian Gianforcaro
2021-11-23Applets/Network: Port to LibMain :^)Andreas Kling
This opens up using TRY() for syscalls and Core::Object creation.
2021-11-17AK: Make JSON parser return ErrorOr<JsonValue> (instead of Optional)Andreas Kling
Also add slightly richer parse errors now that we can include a string literal with returned errors. This will allow us to use TRY() when working with JSON data.
2021-11-08LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file()Andreas Kling
This was used in a lot of places, so this patch makes liberal use of ErrorOr<T>::release_value_but_fixme_should_propagate_errors().
2021-11-02Applications: Fix visibility of Object-derivative constructorsBen Wiederhake
Derivatives of Core::Object should be constructed through ClassName::construct(), to avoid handling ref-counted objects with refcount zero. Fixing the visibility means that misuses like this are more difficult.
2021-10-27Everywhere: Rename left/right-click to primary/secondaryFiliph Sandström
This resolves #10641.
2021-08-03Userland: Make representation of 'null' IPv4-address friendlierThomas Wagenveld
Show an empty column rather than 'null' in SystemMonitor and show 'no IP' in the network applet if the adapter has no IPv4-address configured.
2021-08-03Userland: Add network adapter link status to SystemMonitor and appletThomas Wagenveld
Add a column named 'Link status' to the Network tab in SystemMonitor showing the speed and duplex if the link is up. Add the link speed behind the existing text in the applet or show 'down' if the link is down.
2021-07-22NetworkApplet: Omit unnecessary newline in tooltipFrHun
2021-07-21LibGfx: Use "try_" prefix for static factory functionsAndreas Kling
Also mark them as [[nodiscard]].
2021-06-17Everywhere: Add component declarationsGunnar Beutner
This adds component declarations so that users can select to not build certain parts of the OS.
2021-05-31Applets/Network: Replace fprintf(stderr) with dbgln()Linus Groh
This is an applet, so we're not going to see its stderr anyway.
2021-05-22Userland: Rename loop0 to loopGunnar Beutner
Now that the kernel picks a different name for the loopback adapter we should update userland to account for this.
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-12LibCore+Everywhere: Move OpenMode out of IODeviceAli Mohammad Pur
...and make it an enum class so people don't omit "OpenMode".
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-17Network.Applet: Avoid JsonObject copy and use StringBuilder::appendff()Andreas Kling
2021-04-05Network: Make the applet use an alpha channelDawid Wolosowicz
2021-04-04WindowServer+LibGUI: Rename WindowType::MenuApplet => AppletAndreas Kling
2021-04-04Userland: Rename *.MenuApplet => *.AppletAndreas Kling
These are no longer displayed in the menu, so it doesn't make sense to call them menu applets. :^)