mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
Fix 13 logic bugs and UI issues across editor, controller, and core
Round 1: Fix updateCommandRow offset, structTypeName undo, changeNodeKind macro, shift-click kCommandRowId leak, type filter byte-vs-column bug. Round 2: Move kFooterIdBit to core.h, add RcxEditor destructor for cursor cleanup, defer refresh during batch ops, use newline separator in type picker, narrow selection on double-click edit, clear hover on keyboard scroll, guard 0x prefix from deletion, cap array count at 100k.
This commit is contained in:
@@ -48,10 +48,6 @@ file(WRITE ${_combine_script} "
|
||||
set(_out \"${CMAKE_BINARY_DIR}/h_cpp_combined.txt\")
|
||||
file(WRITE \${_out} \"\")
|
||||
foreach(_f
|
||||
\"${CMAKE_SOURCE_DIR}/src/providers/provider.h\"
|
||||
\"${CMAKE_SOURCE_DIR}/src/providers/buffer_provider.h\"
|
||||
\"${CMAKE_SOURCE_DIR}/src/providers/null_provider.h\"
|
||||
\"${CMAKE_SOURCE_DIR}/src/providers/process_provider.h\"
|
||||
\"${CMAKE_SOURCE_DIR}/src/core.h\"
|
||||
\"${CMAKE_SOURCE_DIR}/src/editor.h\"
|
||||
\"${CMAKE_SOURCE_DIR}/src/editor.cpp\"
|
||||
@@ -117,4 +113,13 @@ if(BUILD_TESTING)
|
||||
target_link_libraries(test_provider_getSymbol PRIVATE psapi)
|
||||
endif()
|
||||
add_test(NAME test_provider_getSymbol COMMAND test_provider_getSymbol)
|
||||
|
||||
add_executable(test_controller tests/test_controller.cpp
|
||||
src/editor.cpp src/compose.cpp src/format.cpp src/controller.cpp
|
||||
src/processpicker.cpp src/processpicker.ui)
|
||||
target_include_directories(test_controller PRIVATE src)
|
||||
target_link_libraries(test_controller PRIVATE
|
||||
Qt6::Widgets Qt6::PrintSupport Qt6::Test
|
||||
QScintilla::QScintilla dbghelp psapi)
|
||||
add_test(NAME test_controller COMMAND test_controller)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user