Commit Graph

1292 Commits

Author SHA1 Message Date
Konloch
d0b075ca1b Added GetLastActiveClass
To make temporary plugins work with the BCV.getCurrentlyOpenedClassNode() API, we have to store the last active class viewer in memory

There is probably a better way of doing this, but the only code using these APIs are user plugins, so it shouldn't impact the rest of the program if we have a resource mismatch
2024-09-29 09:05:01 -06:00
Konloch
269aed29b2 Cleanup 2024-09-29 08:58:19 -06:00
Konloch
8c9fe299cc Better Looking Search Elements 2024-09-29 08:58:05 -06:00
Konloch
c7dd1be0e6 Syntax Fixes 2024-09-29 08:51:57 -06:00
Konloch
cd59dd5a20 Update English Strings 2024-09-29 08:21:29 -06:00
Konloch
5e4d411b04 Hide Create New JS Plugin If No JS Engine On Classpath
Due to the way the global variable is being created - this may introduce some visual startup delay - will need to profile with JS engines on the classpath
2024-09-29 08:18:35 -06:00
Konloch
95da665548 Is JS Engine In Classpath Check
This may introduce some visual startup delay - will need to profile with JS engines on the classpath
2024-09-29 08:17:46 -06:00
Konloch
5f32dff724 Run Temporary Plugins 2024-09-29 08:15:25 -06:00
Konloch
784e849bd5 Update Editor Config 2024-09-29 07:59:16 -06:00
Konloch
95eeee0e15
Merge pull request #516 from Bl3nd/go-to-enhancement
A few fixes for parsing
2024-09-29 06:44:51 -07:00
Cody
d642610d72 Clean-up 2024-09-28 00:12:42 -06:00
Cody
9ce2b22f2a Remove anonymous class body ConstructorDeclaration from being parsed. 2024-09-27 23:34:38 -06:00
Cody
d76644ee05 Remove adding class reference when it's a "this." expression. 2024-09-27 17:53:28 -06:00
Cody
c3841a8493 Do not parse if the decompiler used prints out disassembly/bytecode. 2024-09-27 16:58:53 -06:00
Konloch
1557cd67a3
Merge pull request #515 from Bl3nd/master
Middle Click on Tabs
2024-09-27 15:11:24 -07:00
Cody
c90854c3b7 Merge remote-tracking branch 'origin/master' 2024-09-27 10:33:48 -06:00
Cody
4597dbef7a Add null-check for converting event just to be safe. 2024-09-27 10:33:32 -06:00
Cody
2b70b564e7
Merge branch 'Konloch:master' into master 2024-09-27 10:27:40 -06:00
Cody
bfdab8ac4b Middle-click to close tabs.
- We could now also add the popup menu on the tab itself if we want to instead of just the button.
2024-09-27 10:27:07 -06:00
Konloch
9353c968be Code Style Cleanup / General Code Improvements 2024-09-27 05:51:50 -06:00
Konloch
3ab993242e Update Licenses 2024-09-27 05:45:03 -06:00
Konloch
a028bba00b Repackage CLI 2024-09-27 04:23:42 -06:00
Konloch
5eed22ddb2 Move From CLI Magic Numbers 2024-09-27 04:22:17 -06:00
Konloch
9922ec389c Continue Decompiling On Any Parsing Errors (Except IO)
More of a pre-caution - if parsing fails we should still attempt to display the decompiled code. I've encountered a few errors and manually added them in, but I'm worried I missed one. To fix that I figure we just catch everything that isn't an IO Error.

IO-Errors are probably user related (lack of space, insufficient permissions, etc) - So these errors we should forward to the user, the rest we can silence for developer eyes
2024-09-27 03:58:06 -06:00
Konloch
89a26407f8 Continue Decompiling On Parsing Error 2024-09-27 01:34:46 -06:00
Konloch
ddd31b58d7 Code Style Cleanup 2024-09-27 01:34:28 -06:00
Konloch
0a74b31bf3 Merge branch 'master' of https://github.com/Konloch/bytecode-viewer 2024-09-27 01:33:27 -06:00
Konloch
89df1bbd14
Merge pull request #514 from cloudchamb3r/fix/missing-xapk-in-file-dialog
Add xapk extension in SUPPORTED_FILE_EXTENSIONS
2024-09-27 00:33:07 -07:00
cloudchamb3r
dd7e605db5 Add xapk extension in SUPPORTED_FILE_EXTENSIONS 2024-09-27 11:05:37 +09:00
Konloch
f59823b185 Code Style Update / Cleanup / Repackaging 2024-09-26 03:41:20 -06:00
Konloch
515495e378 Implement Checkstyle 2024-09-25 23:40:58 -06:00
Konloch
d307f566d8 Added Checkstyle 2024-09-25 23:40:50 -06:00
Konloch
58abfef9fb Added .editorconfig 2024-09-25 23:39:35 -06:00
Konloch
0e7bd2bba1 Code Style Update 2024-09-25 23:39:22 -06:00
Konloch
fda1ecab66 Code Style Update 2024-09-25 21:40:07 -06:00
Konloch
c85a8a21f3 Update Build Tool Plugins 2024-09-25 20:59:59 -06:00
Konloch
6bfe74fe0c Start Of Middle-Click Close 2024-09-25 20:52:33 -06:00
Konloch
d811272f9c Catch Thrown Exceptions During Parsing Failure 2024-09-25 20:39:31 -06:00
Konloch
ec67ba8ada Prevent NPE on classFileContainer during markOccurrences 2024-09-25 20:39:08 -06:00
Konloch
88ae27a94a Cleanup TabComponent Close Pane 2024-09-25 20:31:02 -06:00
Konloch
68da280933 Class Cleanup 2024-09-25 20:09:07 -06:00
Konloch
02749d6913 Removed Unused Tab Code 2024-09-25 19:58:24 -06:00
Konloch
13a35b12a9
Merge pull request #497 from Bl3nd/master
Tabs and fix for splitpanes being reset during resize
2024-09-25 18:28:04 -07:00
Cody
1f92ccf4ab Merge/resolving conflicts. 2024-09-25 18:41:09 -06:00
Konloch
5f1e75c284
Merge pull request #513 from Bl3nd/go-to-enhancement
Token Parsing
2024-09-25 16:05:46 -07:00
Cody
06e6117175 Add ability to use 'CTRL' + LMB for go to action. 2024-09-23 21:59:51 -06:00
Cody
9a08a5f100 Token parsing updates.
- Fixed a few bugs
- Added methods and classes (highlighting and go-to)
2024-09-21 23:15:58 -06:00
Cody
7b7f8976ea Bug: Fixed imports with '.*'.
- Also added a resolver to help resolve classes within the jar.
2024-09-18 22:28:13 -06:00
Cody
00319e9537 Add a little documentation and rename a few variables for clarity. 2024-09-18 20:26:39 -06:00
Cody
e756324245 [Go-To] Move caret to requested field.
- Also added enum constant declarations to the token parser.
2024-09-16 18:22:15 -06:00