1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +00:00

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')
This commit is contained in:
Ali Mohammad Pur 2023-12-16 17:49:34 +03:30 committed by Ali Mohammad Pur
parent 38d62563b3
commit 5e1499d104
1615 changed files with 10257 additions and 10257 deletions

View file

@ -1,22 +1,22 @@
endpoint ConfigServer
{
pledge_domains(Vector<DeprecatedString> domains) =|
pledge_domains(Vector<ByteString> domains) =|
monitor_domain(DeprecatedString domain) =|
monitor_domain(ByteString domain) =|
list_config_groups(DeprecatedString domain) => (Vector<DeprecatedString> groups)
list_config_keys(DeprecatedString domain, DeprecatedString group) => (Vector<DeprecatedString> keys)
list_config_groups(ByteString domain) => (Vector<ByteString> groups)
list_config_keys(ByteString domain, ByteString group) => (Vector<ByteString> keys)
read_string_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key) => (Optional<DeprecatedString> value)
read_i32_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key) => (Optional<i32> value)
read_u32_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key) => (Optional<u32> value)
read_bool_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key) => (Optional<bool> value)
read_string_value(ByteString domain, ByteString group, ByteString key) => (Optional<ByteString> value)
read_i32_value(ByteString domain, ByteString group, ByteString key) => (Optional<i32> value)
read_u32_value(ByteString domain, ByteString group, ByteString key) => (Optional<u32> value)
read_bool_value(ByteString domain, ByteString group, ByteString key) => (Optional<bool> value)
write_string_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key, DeprecatedString value) => ()
write_i32_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key, i32 value) => ()
write_u32_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key, u32 value) => ()
write_bool_value(DeprecatedString domain, DeprecatedString group, DeprecatedString key, bool value) => ()
remove_key_entry(DeprecatedString domain, DeprecatedString group, DeprecatedString key) => ()
remove_group_entry(DeprecatedString domain, DeprecatedString group) => ()
add_group_entry(DeprecatedString domain, DeprecatedString group) => ()
write_string_value(ByteString domain, ByteString group, ByteString key, ByteString value) => ()
write_i32_value(ByteString domain, ByteString group, ByteString key, i32 value) => ()
write_u32_value(ByteString domain, ByteString group, ByteString key, u32 value) => ()
write_bool_value(ByteString domain, ByteString group, ByteString key, bool value) => ()
remove_key_entry(ByteString domain, ByteString group, ByteString key) => ()
remove_group_entry(ByteString domain, ByteString group) => ()
add_group_entry(ByteString domain, ByteString group) => ()
}