Commit graph

2890 commits

Author SHA1 Message Date
andv2
eda95d9f55
Allow white-spaces in GHIDRA_PATH for createPdbXmlFiles.bat 2020-08-03 23:16:50 +02:00
ghidra1
1f54ed8a17 Merge remote-tracking branch 'origin/PR-1977_thestr4ng3r_remove-dead-declarations' 2020-07-31 09:50:25 -04:00
ghidra1
b18cf34065 Merge remote-tracking branch 'origin/PR-966_thestr4ng3r_forward-decl' 2020-07-31 09:50:13 -04:00
ghidra1
a77dcf7276 Merge branch 'GT-0_ghidra1_PR-1906_ryanmkurtz_IgnoreForkFiles' 2020-07-30 13:55:43 -04:00
ghidra1
0c316a9236 Merge branch 'GT-0_ghidra1_PR-1929_astrelsky_ExtensionJavaVersion' 2020-07-30 13:44:33 -04:00
ghidra1
ecaa97fda4 GP-38 corrected register alias bug introduced with recent change 2020-07-30 12:29:34 -04:00
ghidra1
aac0c2229f Merge branch 'GT-0_ghidra1_PR-2136_TheBitshifter_ElfNoBitsSize' 2020-07-30 09:49:31 -04:00
astrelsky
4ef1da7053
Set source and target compatibility to 11 for extensions 2020-07-29 18:09:39 -04:00
Mark Goldman
27c149f60d ELF NOBITS sections don't need bits
Elf sections that are NOBITS aren't backed by data in the file,
consequently, we shouldn't check to see if the size of the section is
reasonable by comparing it against the file size
2020-07-29 15:25:01 -04:00
ghidra1
31a0857395 Merge remote-tracking branch 'origin/GT-3522_jpleasu_analysis_manager_test_fix' 2020-07-29 14:58:43 -04:00
ghidorahrex
6677daca41 Merge remote-tracking branch 'origin/GP-44_x64_sleigh_fixes' 2020-07-29 10:15:50 -04:00
Jason P. Leasure
1a598f26b2 make sure the user scripts dir exists before creating a script in it 2020-07-29 10:02:27 -04:00
Jason P. Leasure
9c227cbff4 fix after rebase 2020-07-28 17:30:36 -04:00
Jason P. Leasure
dab1a33e5b fix comments and names per review suggestions 2020-07-28 16:56:10 -04:00
Jason P. Leasure
c9c37e9957 avoid occlusion of import error by build 2020-07-28 16:56:10 -04:00
Jason P. Leasure
509f82594a respect @importpackage costraints in bndtool manifest generation 2020-07-28 16:56:10 -04:00
Jason P. Leasure
1317e0ad4d do dependency checking across bundles with static capabilities checking 2020-07-28 16:56:10 -04:00
Jason P. Leasure
9c4523858a update help documentation 2020-07-28 16:56:10 -04:00
Jason P. Leasure
49998a8235 avoid adding duplicate bundles and fix a typo 2020-07-28 16:56:09 -04:00
Jason P. Leasure
72ecf05ab2 add bundle status manager tests 2020-07-28 16:56:09 -04:00
Jason P. Leasure
93b1d3f697 fix build error propagation and bundle status concurrent access
- fire a bundleBuilt even when nothing has changed
- clear activation error summary when reactivating
- put accesses to bundle statuses on swing thread
2020-07-28 16:56:09 -04:00
Jason P. Leasure
299c56f5dc fix another JavaFileManager resource leak 2020-07-28 16:56:09 -04:00
Jason P. Leasure
cc4e8a6fee fix leaks
- Files.list and Files.walk streams must be closed
- JavaFileManager used by compiler needs closing
2020-07-28 16:56:09 -04:00
Jason P. Leasure
6060888ce6 add override for bugged file in felix framework
- includes reference to felix jira:
  https://issues.apache.org/jira/browse/FELIX-6297
2020-07-28 16:56:09 -04:00
Jason P. Leasure
36afd459e7 bundle status tests: fix path for windows 2020-07-28 16:56:09 -04:00
Jason P. Leasure
6237c5785b add test class for bundle status manager 2020-07-28 16:56:09 -04:00
Jason P. Leasure
4694639d9a fix path seperators in bundle tests 2020-07-28 16:56:09 -04:00
Jason P. Leasure
eb5cc0097e fix leaks caused by Files.list Stream not being closed 2020-07-28 16:56:09 -04:00
Jason P. Leasure
b3ee8cacfa response to review, resource leak fixes, disable means disable 2020-07-28 16:56:09 -04:00
Jason P. Leasure
a3320ef3ab clean up OSGi state reporting and help page 2020-07-28 16:56:09 -04:00
Jason P. Leasure
fbd564caca update help html 2020-07-28 16:56:09 -04:00
Jason P. Leasure
dd82dc5f24 osig status -> osgi state, and it's actually the osgi state 2020-07-28 16:56:09 -04:00
Jason P. Leasure
fa30cba0ed bundle status manager: fix path column sort order 2020-07-28 16:56:09 -04:00
Jason P. Leasure
321331c1c6 use SwingUpdateManager for refresh
- this keeps GhidraScriptTableModel accesss on the swing thread and
  prevents unnecessary disk accesses on multiple bundle enable/disable
2020-07-28 16:56:09 -04:00
Jason P. Leasure
d8ec1784ec bundle status gui updates
- remove most actions from toolbar
- change "activate/deactivate" to "enable/disable"
- move column view to table model
2020-07-28 16:56:09 -04:00
Jason P. Leasure
cc0ed57c35 activate bundles when they're enabled 2020-07-28 16:56:09 -04:00
Jason P. Leasure
6fe16f73ee activate new bundles when added, deactivate bundles before removing 2020-07-28 16:56:09 -04:00
Jason P. Leasure
2d7b0d33b8 add refresh button, show activation w/ color 2020-07-28 16:56:09 -04:00
Jason P. Leasure
934e4948ef use DynamicTableColumn methods for width and renderer. 2020-07-28 16:56:09 -04:00
Jason P. Leasure
795b1c816a bundle status: GDynamicColumnTableModel instead of AbstractSortedTableModel 2020-07-28 16:56:09 -04:00
Jason P. Leasure
47c77efef9 suggestions from review
- use AtomicBoolean instead of boolean[]
2020-07-28 16:56:09 -04:00
Jason P. Leasure
2f0e118017 use copy on write array for BundleHost listeners 2020-07-28 16:56:09 -04:00
Jason P. Leasure
8f7f69d116 put GhidraScriptTableModel table changed events into the swing thread 2020-07-28 16:56:09 -04:00
Jason P. Leasure
3eb3e9d8ba fix refreshBundleSynchronously to work like Karaf 2020-07-28 16:56:09 -04:00
Jason P. Leasure
fda2e2adda set width of bundle status type column 2020-07-28 16:56:09 -04:00
Jason P. Leasure
7f9d82fa47 fix: refresh bundles synchronously
- remove unnecessary waits during synchronous activate/deactivate
2020-07-28 16:56:09 -04:00
Jason P. Leasure
0d520dae16 style fixes for review 2020-07-28 16:56:09 -04:00
Jason P. Leasure
2015f13542 style fixes in ghidra.app. {plugin.core.script script} 2020-07-28 16:56:09 -04:00
Jason P. Leasure
6bc33bdf65 style fixes for ghidra.app.plugin.core.osgi 2020-07-28 16:56:09 -04:00
Jason P. Leasure
5832d95cdd disable undo/redo buttons when no undos/redos 2020-07-28 16:56:09 -04:00