Repository navigation
Releases
Releases · psifertex/custom_context
Custom Context v1.0.3
UX and robustness improvements in the configure dialog.
- Multi-row block move. Move Up / Move Down now move the whole selection as a block (preserving its internal order and refusing to collapse against the wall when any selected row is at the boundary), instead of only moving the current row.
- Already-in-menu actions are disabled in the available list with an explanatory tooltip — either because they're already in your selection on the right, or because they're a native item in an open view's right-click menu (so the plugin would skip them to avoid a duplicate).
- Visible save failures. If a settings write fails — either with an exception or by the core returning
False(e.g. a schema/type mismatch) — the dialog now shows aQMessageBox.criticalwith the affected key and reason, keeps itself open, and skipsapply_to_open_views()so a partial state isn't pushed to every live view. - Low-noise diagnostic logging on previously-silent menu/view API failures (
addAction,removeAction,getActions,getGroupForAction,setGroupOrdering, theUIContext/ViewFrameenumeration, and the dialog's native probe). Logged at debug level — invisible at the default log level, available with--log-level Debugwhen chasing a UI-lifecycle issue.
Custom Context v1.0.2
- Fix stale menu on view switch. Switching view type within a frame (e.g. linear ↔ graph) reused a cached view that was built before your last config change, so the right-click menu still showed the old items until restart. The plugin now also hooks
OnViewChangeand re-syncs the now-current view on the way in.
Every view is now refreshed at one of three event-driven moments — first build, view switch, or dialog save — without polling or isValid abuse.
Custom Context v1.0.1
Bug fixes and robustness.
- Fixed a settings type mismatch that logged
data_.f.flags & kInt64Flagon every read ofcustomContext.menuOrder(registered as an integer but accessed as a double). - Live updates: changing your selection now applies to already-open views immediately on save — no restart or reopen needed. (
OnContextMenuCreatedonly fires when a view first builds its menu, so the plugin now also re-applies to open tabs/frames directly.) - Robustness: the menu reconciliation is now stateless (recovering its own items via the menu group rather than tracking object identity), avoiding the "Internal C++ object already deleted" GC pitfall.
Custom Context v1.0.0
Initial release.
Adds arbitrary registered UI actions (anything bindable in the keybindings list) to Binary Ninja's right-click context menu.
- Configure from Plugins ▸ Custom Context ▸ Configure Context Menu…: search/add actions, reorder (move up/down or drag-and-drop), remove, and set where the block sits in the menu.
- Selections persist to user settings and apply on the next right-click — no restart.
- Actions appear only in views where they're valid (each action's own isValid logic), and native menu items are never duplicated or disturbed.