Commit Graph

18 Commits

Author SHA1 Message Date
Ryan Kurtz 94ab13066a GP-6747: Upgrading some jars 2026-04-24 07:31:20 -04:00
Johannes Obermayr d160f22f09 Fix build issues with Gradle 9 on --parallel
Fixes: #8621
2026-02-02 06:28:01 -05:00
Jakub Stasiak c17a70b536 pyghidra: Remove print from ghidra_builtins
Starting with [1] there is still technically a print override
applied in pyghidra/script.py

        printer = _build_script_print(self._script.writer)
        super().__setitem__("print", printer)

but its interface is the same as the builtin print:

    def _build_script_print(stdout):
        @functools.wraps(print)
        def wrapper(*objects, sep=' ', end='\n', file=None, flush=False):
            ...
        return wrapper

and very much incompatible with the interface that the stubs used to
declare:

    @typing.overload
    def print(message: typing.Union[java.lang.String, str], color: java.awt.Color):
        ...

    @typing.overload
    def print(message: typing.Union[java.lang.String, str]):
        ...

This is similar to [2] and [3].

[1] 92d0f1dacf ("Python3 support")
[2] cc15fdf691 ("GP-0: ghidra_builtins stubs no longer hides the python set type (Closes #7222)")
[3] https://github.com/NationalSecurityAgency/ghidra/issues/7222
2025-12-30 22:00:10 +01:00
widberg e2fb4d7355 [ghidra-stubs] Add this to ghidra_builtins 2025-11-18 12:22:11 -05:00
widberg b928046d93 [ghidra-stubs] Handle void return type 2025-11-18 12:22:04 -05:00
Ryan Kurtz 656c39d307 GP-0: Fixing javadoc (Closes #8570) 2025-10-17 05:30:38 -04:00
Ryan Kurtz 2e0c098c25 GP-0: Fixing unnecessary semicolon warnings 2025-05-30 06:46:11 -04:00
Ryan Kurtz b965e693a0 GP-5345: New ghidra-stubs with README.md 2025-02-07 07:30:09 -05:00
ghidra1 593fd98e0d GP-1830 BSim migration to gson use. Corrected various bugs with BSim
elasticsearch use.
2024-12-20 17:58:49 -05:00
Ryan Kurtz 56d6af4531 GP-5171: Generating pypredef files for PyDev. Fixing PyDev
errors/warnings in PyGhidra.
2024-12-04 08:05:33 -05:00
Ryan Kurtz cc15fdf691 GP-0: ghidra_builtins stubs no longer hides the python set type
(Closes #7222)
2024-11-26 08:38:32 -05:00
Ryan Kurtz 89198b3bf9 Merge branch 'GP-0_ryanmkurtz_PR-7152_hippietrail_two-spellos' 2024-11-05 08:45:31 -05:00
hippietrail f531fc0513 misspellings of "choosen" and "preceed" 2024-11-05 19:36:00 +07:00
DC3-TSD 0ab139eb79 typestub bug fixes 2024-10-30 07:20:01 -04:00
Ryan Kurtz 4a8713162a GP-4816: Certify and other small fixes 2024-09-11 06:35:02 -04:00
Ryan Kurtz 5b81139197 Renaming Pyhidra to PyGhidra 2024-09-09 10:50:12 -04:00
DC3-TSD 92d0f1dacf Python3 support 2024-09-09 09:58:05 -04:00
Ryan Kurtz 90f712fc00 GP-0: Moving JsonDoclet 2024-08-19 13:52:33 -04:00