6 Commits
Author SHA1 Message Date
po-nuvai db6317d63f Everywhere: Fix spelling errors in comments
Fix common spelling mistakes:
- "recieved" -> "received"
- "recieves" -> "receives"
- "reciever" -> "receiver"
- "seperately" -> "separately"
2025-12-29 11:23:17 -05:00
Bastiaan van der Plaat 4efb4e2ff1 LibGUI: Remove spaces from DynamicWidgetContainer config key
The section_label prop is used as config key. But sometimes it
contains spaces. Spaces in config keys are quite ugly and not
following the .ini spec I think, so this commit filters them out.
2025-10-02 22:07:43 +02:00
Bastiaan van der Plaat 3c18c81eec LibGUI: Automatically close detached widget windows 2025-09-03 16:06:59 -04:00
Dan Klishch ccd701809f Everywhere: Add deprecated_ prefix to JsonValue::to_byte_string
`JsonValue::to_byte_string` has peculiar type-erasure semantics which is
not usually intended. Unfortunately, it also has a very stereotypical
name which does not warn about unexpected behavior. So let's prefix it
with `deprecated_` to make new code use `as_string` if it just wants to
get string value or `serialized<StringBuilder>` if it needs to do proper
serialization.
2024-01-12 17:41:34 -07:00
Ali Mohammad Pur 5e1499d104 Everywhere: Rename {Deprecated => Byte}String
This commit un-deprecates DeprecatedString, and repurposes it as a byte
string.
As the null state has already been removed, there are no other
particularly hairy blockers in repurposing this type as a byte string
(what it _really_ is).

This commit is auto-generated:
  $ xs=$(ack -l \bDeprecatedString\b\|deprecated_string AK Userland \
    Meta Ports Ladybird Tests Kernel)
  $ perl -pie 's/\bDeprecatedString\b/ByteString/g;
    s/deprecated_string/byte_string/g' $xs
  $ clang-format --style=file -i \
    $(git diff --name-only | grep \.cpp\|\.h)
  $ gn format $(git ls-files '*.gn' '*.gni')
2023-12-17 18:25:10 +03:30
Torstennator b65e711929 LibGUI: Add DynamicWidgetContainter
Add a new widget "DynamicWidgetContainer" that is used to group it's
child widgets within an collapsable and detachable container. The
DynmnicWidgetContainer is able to persist it's view state if a config
domain has been provided. Having that set will allow the widget to
restore it's view state automatically.
2023-12-14 09:07:20 -07:00