aboutsummaryrefslogtreecommitdiffstats
path: root/server/patch_server.py
diff options
context:
space:
mode:
authorblasty <blasty@local>2026-07-23 01:00:19 +0200
committerblasty <blasty@local>2026-07-23 01:00:19 +0200
commitcdf1a241e5f9af21d002ec19c97ce62ec016425f (patch)
treef9e838dac9ee1ad6faf86787f93ebec05defb6c5 /server/patch_server.py
parentfix: crash on an unnamed function (None name) in the symbol palette (diff)
downloadida-tui-cdf1a241e5f9af21d002ec19c97ce62ec016425f.tar.gz
ida-tui-cdf1a241e5f9af21d002ec19c97ce62ec016425f.tar.xz
ida-tui-cdf1a241e5f9af21d002ec19c97ce62ec016425f.zip
app: on startup, land on main() (else pop the symbol picker)
Instead of staring at an empty pane after the function list loads, jump somewhere useful: once the index is complete and nothing's open yet, open main() (tries main/_main/wmain/WinMain/wWinMain in order); if there's no entry function, pop the fuzzy symbol picker so you can pick one. Fires exactly once (guarded by _cur + _did_auto_land) and never steals focus from a user who already navigated during load. Tests: new auto_land scenario covers both branches (jump-to-main when present, picker fallback otherwise) + the idempotency guard. Boot/startup now key "load complete" off _func_index.complete instead of the status string (auto-land legitimately overwrites the "N functions" status with the landed fn). Full suite 120 pass / 1 pre-existing flaky (filter).
Diffstat (limited to 'server/patch_server.py')
0 files changed, 0 insertions, 0 deletions