mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +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:
parent
38d62563b3
commit
5e1499d104
1615 changed files with 10257 additions and 10257 deletions
|
@ -14,13 +14,13 @@ endpoint WindowServer
|
|||
i32 menu_id,
|
||||
i32 identifier,
|
||||
i32 submenu_id,
|
||||
[UTF8] DeprecatedString text,
|
||||
[UTF8] ByteString text,
|
||||
bool enabled,
|
||||
bool visible,
|
||||
bool checkable,
|
||||
bool checked,
|
||||
bool is_default,
|
||||
[UTF8] DeprecatedString shortcut,
|
||||
[UTF8] ByteString shortcut,
|
||||
Gfx::ShareableBitmap icon,
|
||||
bool exclusive) =|
|
||||
|
||||
|
@ -30,13 +30,13 @@ endpoint WindowServer
|
|||
i32 menu_id,
|
||||
i32 identifier,
|
||||
i32 submenu_id,
|
||||
[UTF8] DeprecatedString text,
|
||||
[UTF8] ByteString text,
|
||||
bool enabled,
|
||||
bool visible,
|
||||
bool checkable,
|
||||
bool checked,
|
||||
bool is_default,
|
||||
[UTF8] DeprecatedString shortcut,
|
||||
[UTF8] ByteString shortcut,
|
||||
Gfx::ShareableBitmap icon) =|
|
||||
|
||||
remove_menu_item(i32 menu_id, i32 identifier) =|
|
||||
|
@ -61,14 +61,14 @@ endpoint WindowServer
|
|||
Optional<Gfx::IntSize> resize_aspect_ratio,
|
||||
i32 type,
|
||||
i32 mode,
|
||||
[UTF8] DeprecatedString title,
|
||||
[UTF8] ByteString title,
|
||||
i32 parent_window_id,
|
||||
Gfx::IntRect launch_origin_rect) =|
|
||||
|
||||
destroy_window(i32 window_id) => (Vector<i32> destroyed_window_ids)
|
||||
|
||||
set_window_title(i32 window_id, [UTF8] DeprecatedString title) =|
|
||||
get_window_title(i32 window_id) => ([UTF8] DeprecatedString title)
|
||||
set_window_title(i32 window_id, [UTF8] ByteString title) =|
|
||||
get_window_title(i32 window_id) => ([UTF8] ByteString title)
|
||||
|
||||
set_window_progress(i32 window_id, Optional<i32> progress) =|
|
||||
|
||||
|
@ -112,12 +112,12 @@ endpoint WindowServer
|
|||
|
||||
set_wallpaper(Gfx::ShareableBitmap wallpaper_bitmap) => (bool success)
|
||||
|
||||
set_background_color(DeprecatedString background_color) =|
|
||||
set_wallpaper_mode(DeprecatedString mode) =|
|
||||
set_background_color(ByteString background_color) =|
|
||||
set_wallpaper_mode(ByteString mode) =|
|
||||
|
||||
set_screen_layout(::WindowServer::ScreenLayout screen_layout, bool save) => (bool success, DeprecatedString error_msg)
|
||||
set_screen_layout(::WindowServer::ScreenLayout screen_layout, bool save) => (bool success, ByteString error_msg)
|
||||
get_screen_layout() => (::WindowServer::ScreenLayout screen_layout)
|
||||
save_screen_layout() => (bool success, DeprecatedString error_msg)
|
||||
save_screen_layout() => (bool success, ByteString error_msg)
|
||||
show_screen_numbers(bool show) =|
|
||||
|
||||
apply_workspace_settings(u32 rows, u32 columns, bool save) => (bool success)
|
||||
|
@ -129,11 +129,11 @@ endpoint WindowServer
|
|||
set_window_cursor(i32 window_id, i32 cursor_type) =|
|
||||
set_window_custom_cursor(i32 window_id, Gfx::ShareableBitmap cursor) =|
|
||||
|
||||
start_drag([UTF8] DeprecatedString text, HashMap<String,ByteBuffer> mime_data, Gfx::ShareableBitmap drag_bitmap) => (bool started)
|
||||
start_drag([UTF8] ByteString text, HashMap<String,ByteBuffer> mime_data, Gfx::ShareableBitmap drag_bitmap) => (bool started)
|
||||
set_accepts_drag(bool accepts) =|
|
||||
|
||||
set_system_theme(DeprecatedString theme_path, [UTF8] DeprecatedString theme_name, bool keep_desktop_background, Optional<DeprecatedString> color_scheme_path) => (bool success)
|
||||
get_system_theme() => ([UTF8] DeprecatedString theme_name)
|
||||
set_system_theme(ByteString theme_path, [UTF8] ByteString theme_name, bool keep_desktop_background, Optional<ByteString> color_scheme_path) => (bool success)
|
||||
get_system_theme() => ([UTF8] ByteString theme_name)
|
||||
refresh_system_theme() =|
|
||||
|
||||
set_system_theme_override(Core::AnonymousBuffer buffer) => (bool success)
|
||||
|
@ -141,10 +141,10 @@ endpoint WindowServer
|
|||
clear_system_theme_override() =|
|
||||
is_system_theme_overridden() => (bool overridden)
|
||||
|
||||
get_preferred_color_scheme() => (Optional<DeprecatedString> path)
|
||||
get_preferred_color_scheme() => (Optional<ByteString> path)
|
||||
|
||||
apply_cursor_theme(DeprecatedString name) =|
|
||||
get_cursor_theme() => (DeprecatedString name)
|
||||
apply_cursor_theme(ByteString name) =|
|
||||
get_cursor_theme() => (ByteString name)
|
||||
|
||||
set_cursor_highlight_radius(int radius) =|
|
||||
get_cursor_highlight_radius() => (int radius)
|
||||
|
@ -152,7 +152,7 @@ endpoint WindowServer
|
|||
set_cursor_highlight_color(Gfx::Color color) =|
|
||||
get_cursor_highlight_color() => (Gfx::Color color)
|
||||
|
||||
set_system_fonts(DeprecatedString default_font_query, DeprecatedString fixed_width_font_query, DeprecatedString window_title_font_query) => (bool success)
|
||||
set_system_fonts(ByteString default_font_query, ByteString fixed_width_font_query, ByteString window_title_font_query) => (bool success)
|
||||
set_system_effects(Vector<bool> effects, u8 geometry, u8 tile_window) =|
|
||||
|
||||
set_window_base_size_and_size_increment(i32 window_id, Gfx::IntSize base_size, Gfx::IntSize size_increment) =|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue