Commit Graph

1410 Commits

Author SHA1 Message Date
Konloch
efcbaed2e2 Show Exceptions To Users If It Cancels Their Action 2024-09-29 22:04:49 -06:00
Konloch
133526c0c6 Partial Fix For Slow jFileChooser
Start of fixing #272

This is a Swing / JDK bug - Using a different JDK is the recommended fix, but this work around helps cut the time waited by a lot.
2024-09-29 22:03:26 -06:00
Konloch
d78ab844e1 Update README 2024-09-29 21:19:30 -06:00
Konloch
8b84ae74c0 Better Synchronization Between On-Disk Editing and In-Memory Editing
Probably introduced a bug or two. Compare issues with the previous implementation as that was tested slightly more.
2024-09-29 21:16:11 -06:00
Konloch
d343bce350 Implemented Task Manager API 2024-09-29 20:56:08 -06:00
Konloch
a0adb9bb44 Added Task Manager for Background Tasks 2024-09-29 20:55:54 -06:00
Konloch
805dac8e36 Better Plugin Writing
Resolves #394

You can now write plugins from the Plugin Writer in BCV, or from disk. BCV will read the last edit dates on both and use the latest version.

As a bonus BCV will self-update the pane to keep the BCV plugin writer synced with your local file. Local files are also overwritten when the plugin writer is used to edit the plugin, then ran.
2024-09-29 20:24:17 -06:00
Konloch
c29f0fbb21 Fix NPE on System Theme 2024-09-29 20:11:05 -06:00
Konloch
5dab52bfd3 Code Cleanup 2024-09-29 19:47:50 -06:00
Konloch
fb825589c3 Comment Suppression 2024-09-29 19:46:49 -06:00
Konloch
88b2c7f68d Alert Instead of NPE 2024-09-29 19:44:10 -06:00
Konloch
9b53a74b05 Code Cleanup 2024-09-29 19:44:08 -06:00
Konloch
c53d4e997b API Update 2024-09-29 19:39:08 -06:00
Konloch
91707fc67a Fix Compilation 2024-09-29 19:37:25 -06:00
Konloch
70847bc11d Revert Token Maker & Exclude In Checkstyle 2024-09-29 10:33:26 -06:00
Konloch
0e3894751b Syntax Cleanup 2024-09-29 09:56:05 -06:00
Konloch
78a41f5a85 Cleanup 2024-09-29 09:51:55 -06:00
Konloch
62ade7c877 Added #472 as External Plugin 2024-09-29 09:27:18 -06:00
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