mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:27: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:
parent
38d62563b3
commit
5e1499d104
1615 changed files with 10257 additions and 10257 deletions
|
@ -27,7 +27,7 @@ private:
|
|||
void write_back_settings() const;
|
||||
|
||||
static VT::TerminalWidget::BellMode parse_bell(StringView bell_string);
|
||||
static DeprecatedString stringify_bell(VT::TerminalWidget::BellMode bell_mode);
|
||||
static ByteString stringify_bell(VT::TerminalWidget::BellMode bell_mode);
|
||||
|
||||
VT::TerminalWidget::BellMode m_bell_mode { VT::TerminalWidget::BellMode::Disabled };
|
||||
bool m_confirm_close { true };
|
||||
|
@ -51,7 +51,7 @@ private:
|
|||
|
||||
RefPtr<Gfx::Font const> m_font;
|
||||
float m_opacity;
|
||||
DeprecatedString m_color_scheme;
|
||||
ByteString m_color_scheme;
|
||||
VT::CursorShape m_cursor_shape { VT::CursorShape::Block };
|
||||
bool m_cursor_is_blinking_set { true };
|
||||
size_t m_max_history_size;
|
||||
|
@ -59,7 +59,7 @@ private:
|
|||
|
||||
RefPtr<Gfx::Font const> m_original_font;
|
||||
float m_original_opacity;
|
||||
DeprecatedString m_original_color_scheme;
|
||||
ByteString m_original_color_scheme;
|
||||
VT::CursorShape m_original_cursor_shape;
|
||||
bool m_original_cursor_is_blinking_set;
|
||||
size_t m_original_max_history_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue