ladybird/Userland/Applications/HexEditor
Idan Horowitz 6704961c82 AK: Replace the mutable String::replace API with an immutable version
This removes the awkward String::replace API which was the only String
API which mutated the String and replaces it with a new immutable
version that returns a new String with the replacements applied. This
also fixes a couple of UAFs that were caused by the use of this API.

As an optimization an equivalent StringView::replace API was also added
to remove an unnecessary String allocations in the format of:
`String { view }.replace(...);`
2021-09-11 20:36:43 +03:00
..
CMakeLists.txt HexEditor: Use FileSystemAccessClient, add unveils 2021-09-04 03:32:58 +02:00
FindDialog.cpp AK: Replace the mutable String::replace API with an immutable version 2021-09-11 20:36:43 +03:00
FindDialog.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
FindDialog.h HexEditor: Add 'Find All' option to Find Dialog to find all matches 2021-05-27 22:57:17 +02:00
GoToOffsetDialog.cpp AK: Replace the mutable String::replace API with an immutable version 2021-09-11 20:36:43 +03:00
GoToOffsetDialog.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
GoToOffsetDialog.h HexEditor: Add 'Go to Offset...' dialog 2021-05-23 18:13:49 +02:00
HexEditor.cpp HexEditor: Use FileSystemAccessClient, add unveils 2021-09-04 03:32:58 +02:00
HexEditor.h HexEditor: Use FileSystemAccessClient, add unveils 2021-09-04 03:32:58 +02:00
HexEditorWidget.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
HexEditorWidget.h HexEditor: Use FileSystemAccessClient, add unveils 2021-09-04 03:32:58 +02:00
HexEditorWindow.gml HexEditor: Add 'Find All' option to Find Dialog to find all matches 2021-05-27 22:57:17 +02:00
main.cpp HexEditor: Remove unveil() for CLI file, use FileSystemAccessServer 2021-09-10 20:46:50 +04:30
SearchResultsModel.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00