[Lldb-commits] [PATCH] D85123: Truncate long lines/names if needed in lldb gui

2020-08-05 Thread Luboš Luňák via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGfc0e8fb7874a: [lldb][gui] truncate long lines/names if needed (authored by llunak). Herald added a project: LLDB. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.or

[Lldb-commits] [PATCH] D85123: Truncate long lines/names if needed in lldb gui

2020-08-05 Thread Luboš Luňák via Phabricator via lldb-commits
llunak updated this revision to Diff 283155. llunak added a comment. Use SteamString. Repository: rLLDB LLDB CHANGES SINCE LAST ACTION https://reviews.llvm.org/D85123/new/ https://reviews.llvm.org/D85123 Files: lldb/source/Core/IOHandlerCursesGUI.cpp lldb/test/API/commands/gui/viewlar

[Lldb-commits] [PATCH] D85123: Truncate long lines/names if needed in lldb gui

2020-08-04 Thread Greg Clayton via Phabricator via lldb-commits
clayborg added inline comments. Comment at: lldb/source/Core/IOHandlerCursesGUI.cpp:438-450 +va_list args; +va_start(args, format); +int size = vsnprintf(nullptr, 0, format, args); +va_end(args); +if (size <= 0) + return; +++size; // for \0 --

[Lldb-commits] [PATCH] D85123: Truncate long lines/names if needed in lldb gui

2020-08-03 Thread Luboš Luňák via Phabricator via lldb-commits
llunak updated this revision to Diff 282607. llunak added a comment. Handle properly also the "<<< Thread 1: breakpoint 1.1" marker. Repository: rLLDB LLDB CHANGES SINCE LAST ACTION https://reviews.llvm.org/D85123/new/ https://reviews.llvm.org/D85123 Files: lldb/source/Core/IOHandlerCu

[Lldb-commits] [PATCH] D85123: Truncate long lines/names if needed in lldb gui

2020-08-03 Thread Luboš Luňák via Phabricator via lldb-commits
llunak created this revision. llunak added a reviewer: clayborg. llunak requested review of this revision. Without this, sources with long lines or variable names may overwrite panel frames, or even overrun to the following line. There's currently no way to scroll left/right in the views, so tha