Commit Graph

29 Commits

Author SHA1 Message Date
Ryan Kurtz 062f64282a GP-2324: Upgrading Jython to 2.7.3 2022-09-22 05:40:22 -04:00
Ryan Kurtz 9e3052ac3a GP-0: Fixing Python test 2021-07-28 15:22:46 -04:00
Ryan Kurtz cd89f0e00f GP-1099: Supporting the __file__ attribute in Jython scripts 2021-07-06 12:23:25 -04:00
dragonmacher e3b787a524 GP-990 - Scripting - fixed incorrect parsing of certification header for python scripts 2021-05-28 08:56:40 -04:00
dragonmacher 1024a1baa7 GP-843 - PR 2846 - Updated after merge; added tests for certify header
processing
2021-04-07 16:01:16 -04:00
Joel Anderson 829a837a44 fix github 1484 to allow python block comment docstrings
Delegate the definition of block comment start and end patterns to
ScriptProvider classes instead of ScriptInfo.

Move the functionality to handle Java block comments out of the base
`GhidraScriptProvider` class into the `JavaScriptProvider` subclass.
Default behavior is now to not support block comments and rely on
extensions to implement these themselves.

Add a number of tests for Java and Python `ScriptInfo` generation
to ensure that scripts with no block comments, single-line block
comments, and multi-line block comments are all handled appropriately.

Add ScriptInfo tests for detailed Java and Python scripts including
multiline descriptions and additional metadata flags.
2021-04-07 12:33:25 -04:00
ghidra1 19f9d3cecf Merge remote-tracking branch 'origin/patch' 2021-03-23 13:55:44 -04:00
ghidra1 0f235d029c GP-797 Corrected python script info parse - ignore certification header
if present
2021-03-23 13:38:14 -04:00
ghidra1 ce78b860be Merge remote-tracking branch 'origin/patch' 2021-02-10 20:36:21 -05:00
Ryan Kurtz 606eecfa82 GP-668: PyDev debugger now stays on breakpoints appropriately (fixes
#2713)
2021-02-08 09:27:00 -05:00
dev747368 0fad371a83 GP-487 Fix pasting multi-line string into python console 2020-12-15 15:14:38 -05:00
Jason P. Leasure 4c7319c45f Py.newString fails on non-ascii Java strings, use Py.newStringOrUnicode 2020-09-25 14:06:03 -04:00
Ryan Kurtz 2ef6a778b4 Upgrading to Jython 2.7.2 2020-08-25 06:45:04 -04:00
Jason P. Leasure 0af17e4b08 help for Ghidra Bundles, update scripting help, @imports->@importpackage 2020-07-28 16:56:08 -04:00
Jason P. Leasure 5f11c9cf7d update python & headless tests to manage GhidraScriptUtil resource 2020-07-28 16:56:08 -04:00
Jason P. Leasure 7ee2467016 avoid calling GhidraScriptUtils.getScriptSourceDirectories
- when called from the GUI, the bundle host manages paths
- when used to find a script by name, use findScriptByName
2020-07-28 16:56:08 -04:00
Jason P. Leasure 431d7ac752 introduce GhidraBundle, cleanup packages, rename path->status 2020-07-28 16:56:07 -04:00
Jason P. Leasure c660a12ab3 clarify and discourage access to compiled scripts 2020-07-28 16:56:07 -04:00
Ryan Kurtz 148ecd86e6 Moved Jython cache directory from user temp to user settings directory. 2020-06-29 13:25:55 -04:00
dragonmacher b4ce3012d7 GT-3481 - Gnu Demangler - Checkpoint 2 - Most docs and tests done;
analyzer test remains
2020-02-12 18:21:10 -05:00
Ryan Kurtz 6e6bdffe86 Merge branch 'GT-3362_ryanmkurtz_PR-1287_astrelsky_DocumentationFixes'
Conflicts:
	Ghidra/Framework/Docking/src/main/java/docking/action/DockingAction.java
2019-12-02 13:22:08 -05:00
astrelsky ebde7cd6d2 Javadoc Fixes 2019-12-01 21:58:51 -05:00
dragonmacher 3b3b7259bc Tests - fixed flaw in key event processing for non-attached UI
components
2019-11-25 17:55:07 -05:00
Ryan Kurtz c5594d2b91 GT-3334: Changing how we resolve #1250 (fixes #1270). 2019-11-21 09:00:10 -05:00
Ryan Kurtz 4496e51b0b GT-3334: Protected GhidraScript/FlatProgramAPI methods can now be called
from python (fixes #1250)
2019-11-18 12:18:20 -05:00
Ryan Kurtz b2c65d147d GT-2901: Python interpreter keybinding improvements. 2019-06-10 13:48:27 -04:00
dev747368 6448f0da8f GT-2698 refactor JLabel -> GLabel, JComboBox -> GComboBox, renderers. 2019-04-23 17:04:53 -04:00
dev747368 e0c25b0590 GT-2698 refactor UI elements to lock down HTML rendering 2019-04-23 17:04:51 -04:00
Dan 79d8f164f8 Candidate release of source code. 2019-03-26 13:46:51 -04:00