- add reusable-buffer String::toUtf8() conversion
  - extract shared find-bar CSS into UIFindBarStyle
  - reuse the shared style from UIDocFindReplace

  ecode:
  - enable terminal find, next, and previous shortcuts
  - install terminal bindings after conflicting editor bindings are removed

  eterm:
  - add searchable terminal history with plain text, RegEx, and LuaPattern modes
  - support case-sensitive and whole-word matching across wrapped rows
  - debounce searches and avoid unnecessary string allocations
  - add an animated find bar with status and wrapped result navigation
  - expose find commands through configurable keybindings and the context menu
  - render and navigate search matches in terminal history
  - forward right-button releases when applications capture the mouse
  - fix UITabWidgetSplitter ownership during shutdown

  tests:
  - cover UTF-8 buffer reuse and terminal search behavior
  - verify wrapped lines, Unicode, pattern modes, invalid expressions, and navigation
  - verify SGR right-button release encoding

  tooling:
  - clarify the mandatory optimized build workflow for performance work
  - require direct release test execution before falling back to Xvfb
This commit is contained in:
Martín Lucas Golini
2026-09-10 00:57:56 -03:00
parent a294d78733
commit 95d52cdbb3
25 changed files with 1067 additions and 120 deletions

View File

@@ -100,6 +100,13 @@ UTEST( String, reusableFormattingAndUtf8Assignment ) {
const std::string utf8Text = text.toUtf8();
EXPECT_STREQ( "áβ中", utf8Text.c_str() );
EXPECT_EQ( textStorage, text.getString().data() );
std::string reusableUtf8;
reusableUtf8.reserve( 128 );
const char* utf8Storage = reusableUtf8.data();
text.toUtf8( reusableUtf8 );
EXPECT_STREQ( "áβ中", reusableUtf8.c_str() );
EXPECT_EQ( utf8Storage, reusableUtf8.data() );
}
UTEST( FileSystem, fileCountLines ) {