Commit graph

380 commits

Author SHA1 Message Date
dragonmacher
76c4017e4a Fixed copy action bug in table that caused wrong columns to get copied
Closes #1628
2020-09-22 12:05:00 -04:00
dragonmacher
3cfbf7b26a GP-171 - Fixed table rendering bug caused by weak reference getting
garbage collected

Closes #1706
2020-09-17 11:52:11 -04:00
ghidravore
b23e3a9047 Merge remote-tracking branch 'origin/GP-134_DebuggerMainlineChanges--SQUASHED' 2020-09-16 13:21:56 -04:00
ghidravore
724df5a44c GP-134: Mainline changes cherry-picked from Debugger branch 2020-09-16 13:20:45 -04:00
ghidra1
254707577f ignore close on null dialog 2020-09-10 11:50:06 -04:00
dragonmacher
49ac34e31e GP-148 - Fixed 'Rename' action in Front End table 2020-09-09 10:54:15 -04:00
dragonmacher
68399ff336 Test Fixes for error dialog changes 2020-09-04 11:56:46 -04:00
ghidravore
31f25f24d1 Merge remote-tracking branch 'origin/GP-92_ghidravore_dockingwindows_restore_snapshots--SQUASHED' 2020-09-03 12:19:41 -04:00
ghidravore
98f2110d3d GP-92 fixed tool xml restore for snapshots. 2020-09-02 17:25:09 -04:00
ghidravore
fc994cda95 Merge remote-tracking branch 'origin/GP-65-dragonmacher-error-dialog' 2020-09-02 14:37:55 -04:00
dragonmacher
fc247aa499 GP-65 - Error Dialog - updated the error dialog to accumulate errors
while it is open instead of repeatedly showing new dialogs
2020-09-02 14:25:05 -04:00
ghidravore
5692ea4b11 Changed GTable selectionManager to not restore view posistion if the selection did not change. 2020-09-01 16:31:21 -04:00
ghidravore
f84300819b Merge remote-tracking branch 'origin/program_graph_updates2--SQUASHED' 2020-08-25 13:02:59 -04:00
Tom Nelson
2f447ae0d0 added javadoc and updated jungrapht versions to 1.0-RC9
fixed vertex naming to create labels if no label at address.
removed local vertex renaming
vertex-only selection enabled and grow selection
made yellow edges darker
fix initial layout scaling for subgraph display
address warnings and increase stroke size for vertices
comments and adjusting initial layout area size calculation
multiselection strategy
moved buttons out of function so they can be re-enabled in popup menu
cleaned up and documented selection menus
improve selection following by sending only one event, filtering hidden elements, and disabliing the butten when selection is complete
improve grow selection to grow from all selected vertices
better generics, simplified root predicate. added flag so multiaction does not have to fire an action on the first item
support renaming from the graph view
added rename popup. corrected some errors
use function to control mincross work based on graph size
fixed LayoutWorkingDialog close issue a better way.
use toggle button for magnifier and connect with Lens kill switch
html escape the attributes in case they include things like < and >
changed thread stop and added initial dimension function
2020-08-25 15:21:57 +00:00
ghidravore
765bd8aa3d Revert "GP-65 - Error Dialog - updated the error dialog to accumulate errors while it is open instead of repeatedly showing new dialogs"
This reverts commit 6d3ff619fd.
2020-08-24 15:34:17 -04:00
ghidravore
723214d48a fixed small gtree call that needed to be in swing thread 2020-08-21 11:44:27 -04:00
ghidravore
0e2f48607a Merge remote-tracking branch 'origin/GP-65-dragonmacher-error-dialog' 2020-08-21 11:19:51 -04:00
ghidravore
64da286d3d Merge remote-tracking branch 'origin/GP-61-dragonmacher-clear-keybindings' 2020-08-21 11:15:31 -04:00
dragonmacher
6d3ff619fd GP-65 - Error Dialog - updated the error dialog to accumulate errors
while it is open instead of repeatedly showing new dialogs
2020-08-20 19:14:26 -04:00
dragonmacher
aa11179cf1 GT-61 - Key Bindings - updated to allow for clearing of default key
bindings
2020-08-19 17:13:38 -04:00
ghidravore
f831929548 Added concept of displayName to GTree. 2020-08-18 18:27:22 -04:00
ghidravore
4506acddf9 Merge remote-tracking branch 'origin/GP-XX_jpleasu_open_external_browser_from_help' 2020-08-05 17:33:25 -04:00
ghidravore
706b2b8aba fixed hashcode method in ColumnTypeMapper to handle null source types 2020-08-05 16:34:51 -04:00
Jason P. Leasure
2719ce5b88 open external links in help with an external browser 2020-08-05 12:51:43 -04:00
dragonmacher
b7b6424021 GT-3648 - Fixed CSV exporter to escape quotes and commas 2020-08-03 15:51:34 -04:00
Jason P. Leasure
2e05da019f move bundle path manager to core as a ComponentProvider for bundle status
- PathManager was most of a ComponentProvider anyway, so this isn't a
  huge change
- this makes bundle status available w/out the GhidraScript component
- it's no longer modal, e.g. script directory list updates are immediate
2020-07-28 16:56:07 -04:00
Jason P. Leasure
931a9e8230 add bundlepathmanager for scripting
- move bundle host into GhidraScriptMgrPlugin
- remove access to script class files and bin directory
- remove JavaScriptClassLoader
- add loadClass to JavaScriptProvider to load non-GhidraScript classes
2020-07-28 16:56:07 -04:00
ghidravore
a3ea51aff8 GT-1 removed return value on setEnabled() in DockingAction 2020-07-24 15:22:39 -04:00
ghidravore
38af2fbff2 Fixed gtree unloadChildren to fire nodeStructureChanged event so that
the internal jtree cache is kept in sync.
2020-07-24 13:10:14 -04:00
ghidravore
4d48d6f180 Fixed issue with GTreeModel's fireNodeChanged() method not actually
telling the tree which node changed.
2020-07-20 16:57:59 -04:00
Alessandro Gatti
c018200027 Allow exclamation marks as filter delimiters. 2020-07-17 10:26:43 +02:00
ghidra1
4271af3623 Merge remote-tracking branch 'origin/GP-31_dev747368_fix_directory_list_cell_width' 2020-07-13 14:44:48 -04:00
dev747368
14d1811bad GP-31 - more comments per codereview 2020-07-10 13:28:56 -04:00
ghidravore
60cbb74bc3 Merge remote-tracking branch 'origin/GT-3629-dragonmacher-table-copy-bug' 2020-07-10 12:14:07 -04:00
ghidravore
f02520a713 GT-3623 fixed location filter behavior where it kept popping up dialog
about external filter changed

added equals method to ColumnTypeMapper to fix
2020-07-10 11:33:36 -04:00
dev747368
c759dd1609 GP-31 - fix Ghidra File chooser rendering on high dpi displays
Filename display in the directory list mode were getting incorrectly
truncated and shown with ellipses on high DPI display mode.

The previous method was to manually calculate the necessary width of the
directory list's cell renderer, but for some reason we were getting
slightly different values when measuring strings when doing it in our
code vs when swing's JLabel was painting, possible causing our manually
sized cell renderer to be a few pixels too small.

This fix is to yank all that out and let swing measure each element of
the list to determine the necessary width.

Also fixes the directory list cell renderer to inherit the
-Dfont.size.override=XX setting from its parent panel instead of
reseting the font back to non-overidden default.
2020-07-09 17:13:30 -04:00
dragonmacher
edc19158fd GT-3629 - Table Copying - updated tables so that the Copy action will
copy the table's cell text as it is renderered to the user
2020-07-08 15:27:00 -04:00
ghidravore
7188df41ed Merge remote-tracking branch 'origin/GT-3610-dragonmacher-narrow-analysis-log-dialog' 2020-07-08 14:29:03 -04:00
dragonmacher
c662990948 GT-3630 - File Chooser Selection - updated the file chooser to clear the
filename text field upon a multi-selection
2020-07-08 13:27:01 -04:00
ghidravore
777bcbef17 fixed accidental checkin of debug code. 2020-06-26 17:10:00 -04:00
ghidravore
b7e6faf2dc fixes #1810 broken toolbar actions on nodes in the function graph 2020-06-26 14:35:34 -04:00
ghidravore
3ea11259d1 GitHub-1996 changes from review 2020-06-25 14:40:18 -04:00
dragonmacher
d52c417327 GT-3610 - Updated the analysis log message dialog to not stretch the
entirety of the screen; fixed flax in MessageLog
2020-06-24 12:56:55 -04:00
ghidravore
9bd4358594 Github-1996 duplicate actions appearing in ProjectDataDialog. Also,
actions that don't belong in DataTreeDialog showing up.
2020-06-19 16:21:05 -04:00
ghidravore
410af5a272 GT-3317
moved generic graph interfaces to features graph module
created graph service broker

first commit of program graph module adapted to new graph api

GT-3317 connected listeners, documented and prettied up code
changed GhidraGraph to preserve order of created graph. Removed edge
filtering from initial program graph display

GT-3317 added exporters for supported formats

GT-3317 fixed GhidraGraph bug where it lost edges

updates

changed to new action builder
removed icons, improved AttributeFilters

removed DialogComponentProviderBuilder
fixed generic alphabet soup

added vertex name updating.

GT-3317 added threading to sugiyama
adapted to take advantage of multi-threaded edge crossing reduction in
circle layout
eliminated parallel edges, improved sizing, updated jungrapht version

GT-3317 fixing AST graph and moving modules and packages
started help
GT-3317 updated min-cross and color selections
uses min-cross that optimizes for graph size

GT-3317 help, javadocs

changes from review comments and cleaning up warnings and simplifying
exporter code
fixing warnings, simplifying unnecessarily complicated code
more changes from review
more changes from review, simplifications. removed unnecessary
threading, renamed vertex, edge, etc
GT-3317 squashed many commits to make rebase easier. Mostly changes from
first code review.
2020-05-13 15:58:03 -04:00
ghidravore
397a073bf6 changes per review 2020-05-01 16:30:08 -04:00
ghidravore
5354ac64ba Fixed issue with linux rendering of big fields. The standard graphics
clipping wasn't working for painting text at offsets far offscreen.
Added internal clipping to avoid problem
2020-04-24 13:11:38 -04:00
ghidravore
4e05b576b5 Merge remote-tracking branch 'origin/GT-3542-dragonmacher-symbol-tree-flashing' 2020-03-20 17:58:20 -04:00
ghidravore
005872394c Merge remote-tracking branch 'origin/GT-3607-dragonmacher-number-dialog-big-integer' 2020-03-20 17:57:15 -04:00
ghidravore
70305cd572 Merge remote-tracking branch 'origin/GT-3604-dragonmacher-table-upate-delay' 2020-03-20 17:56:10 -04:00