Commit Graph

534 Commits

Author SHA1 Message Date
Konloch
6d3a383c96 Cleanup 2021-07-21 16:21:45 -07:00
Konloch
52927e678f Update Check Fallback 2021-07-21 16:19:27 -07:00
Konloch
a4cf3a2337 Version Prompt 2021-07-21 15:55:42 -07:00
Konloch
8fa494ada6 Force Prompt Update 2021-07-21 15:54:28 -07:00
Konloch
ce015c4f50 Fix Version Check 2021-07-21 15:54:17 -07:00
Konloch
0c629833dd Code Cleanup 2021-07-21 15:28:48 -07:00
Nico Mexis
859a60f059
Add more translations 2021-07-21 23:47:41 +02:00
Nico Mexis
da06975535
Merge remote-tracking branch 'origin/master' into fixes 2021-07-21 23:32:07 +02:00
Nico Mexis
b72d47bef9
Document Hex Editor better 2021-07-21 23:31:05 +02:00
Konloch
42feadc630 Translations 2021-07-21 14:26:22 -07:00
Nico Mexis
fa85fd7479
Better Hex Editor in Dark Mode 2021-07-21 23:20:42 +02:00
Nico Mexis
a67d8012c2
Revert German translation back 2021-07-21 23:07:48 +02:00
Konloch
561f0ce99c v2.11.0 2021-07-21 13:12:14 -07:00
Konloch
a7fe68e801 Fixed Refresh Button Lock 2021-07-21 13:11:46 -07:00
Konloch
e63676e92a Repackaging 2021-07-21 12:55:20 -07:00
Konloch
d8c88b18d1 Refactored The Version Checker
Now the version checker supports downloading for every single BCV release
2021-07-21 12:55:03 -07:00
Konloch
7b227bb10e Better About Draft
Still a work in progress. Formatting for the pre tag is broken and should be replaced with something else
2021-07-21 11:17:43 -07:00
Konloch
84d3b36454 Fixed Versioning
The downloader is still broken and seems to have issues with the entire v2.10.x line so any version prompt cannot happen till everyone is on v2.11.x or it will just be a remote error

that also means the downloader needs to be fixed for v2.11.0
2021-07-21 10:47:56 -07:00
Konloch
7056c0bd40 Reload Resource Fix
This fixes the resources being added twice but introduced a new bug, now reload resources resets the resource list.

A better solution would be to preserve the original list, then add or remove anything new that was found, while updating the byte[] and ClassNodes of the existing resource containers
2021-07-21 10:05:05 -07:00
Konloch
7819fe6575 Removed Duplicate File Filters 2021-07-21 09:52:01 -07:00
Konloch
296227360a Translations & Cleanup 2021-07-21 09:20:25 -07:00
Konloch
0898588be6 More Translations 2021-07-21 09:06:00 -07:00
Konloch
87ff4bd291 Better Translation Error Information 2021-07-21 08:29:45 -07:00
Konloch
0203a13472 Code Cleanup
Translation errors are now silenced unless developer mode is enabled
2021-07-21 08:20:38 -07:00
Konloch
e3d16031b8 Visual Bug Fix
Language and CFR settings dialog display the bug best
2021-07-21 07:58:23 -07:00
Konloch
173b1937ff Zoomable Exception UI
This also provides support for the global font setting
2021-07-21 07:50:09 -07:00
Konloch
eeaafa48eb Comments & Constants Cleanup 2021-07-21 07:44:25 -07:00
Konloch
ed709b07e2 Code Cleanup 2021-07-21 07:28:37 -07:00
Konloch
c07185a3fc Developer Mode
If the maven version can't be found, assume developer mode
2021-07-21 07:28:30 -07:00
Konloch
d9bf1dedb8 Fix Resources Opening Twice
This may need to be re-added if anyone notices this removed functionality
2021-07-21 07:19:37 -07:00
Konloch
30385ee7f1 Prevent No View From Opening 2021-07-21 07:18:33 -07:00
Konloch
69c751372a More Translations 2021-07-21 07:06:51 -07:00
Konloch
aa46334396 Translation Cleanup
This provides more clear documentation on the translation keys and updates the naming to reflect the current codebase
2021-07-21 06:54:29 -07:00
Konloch
479e884a06 Fallback For No JS Engine 2021-07-21 06:28:07 -07:00
Konloch
3fc02c46fa Better Tab Fallback Names
If the active resource cannot be found (Plugin Console created outside of execution function) - Name the tabs in numerical order of the resources processed
2021-07-21 06:25:59 -07:00
Konloch
ce86445ad3 JS Engine Compatibility
Probably not needed, more testing is required
2021-07-21 06:19:24 -07:00
Konloch
18e1c101fd Plugin Console Bugfix 2021-07-21 06:14:49 -07:00
Konloch
6a121dd9e1 Graal.JS/JDK-15 Fixes
Dropped Rhino to fully support Nashorn fallback with Graal.JS. this should work for pre-jdk-8 and jdk-15+
2021-07-21 06:05:09 -07:00
Konloch
605721b378 Mouse Wheel Zoom On All Scrollable Windows
Plugin Writer, Consoles and the Hex-Viewer can now be zoomed in/out and support font control
2021-07-21 05:10:40 -07:00
Konloch
30bf371101 Code Cleanup 2021-07-21 05:02:32 -07:00
Konloch
075cbd1012 JDK-15 2021-07-21 05:00:28 -07:00
Konloch
6ef91b49b9 Merge branch 'master' of https://github.com/Konloch/bytecode-viewer 2021-07-21 04:33:09 -07:00
Konloch
612f89cd1c Changing Font Size On Hex Viewer 2021-07-21 04:20:15 -07:00
Konloch
4e57bd03e4 JHexEditor Dark Theme Support 2021-07-21 03:53:46 -07:00
Nico Mexis
6354e1ce15
Add TODOs 2021-07-21 12:44:33 +02:00
Nico Mexis
b782af642e
Add bug TODOs 2021-07-21 12:33:55 +02:00
Nico Mexis
37343ec4e0
Safer way to set font size 2021-07-21 12:33:50 +02:00
Nico Mexis
a291fec941
Fix newer JDKs 2021-07-21 12:26:32 +02:00
Nico Mexis
0653e8583e
Better zoom for images 2021-07-21 11:29:52 +02:00
Konloch
cbb826d586 Bootloader Repackaging 2021-07-21 02:23:32 -07:00
Nico Mexis
09b120ee89
Fix FileViewer not reading font size from settings 2021-07-21 10:56:37 +02:00
Konloch
34a9d1e54b Base64 No Longer Needed 2021-07-20 13:40:57 -07:00
Konloch
d6e3eec4cc Moved Bootloader 2021-07-20 13:15:00 -07:00
Konloch
cc781c07f2 Comments 2021-07-20 10:03:17 -07:00
Nico Mexis
adb403f89a
Fix compile error 2021-07-20 18:13:52 +02:00
Nico Mexis
27d1dea9dd
Read version directly from POM 2021-07-20 18:11:39 +02:00
Nico Mexis
57b9f0e2b3
Warn user if no decompiler is selected 2021-07-20 18:11:39 +02:00
Konloch
8c761e78f6 Updated Comments 2021-07-20 08:32:30 -07:00
Konloch
78b55ee28f Merge branch 'master' of https://github.com/Konloch/bytecode-viewer 2021-07-20 08:24:09 -07:00
Hassan Igbaria
74b4de9101
Update arabic.json
Grammar fixes for translations
2021-07-20 14:05:03 +03:00
Konloch
77661fa85e More Translations 2021-07-20 00:23:45 -07:00
Konloch
7467571c6f Guess Java Binary Path 2021-07-19 12:23:25 -07:00
Konloch
efd9f84729 Strict Python Parameters 2021-07-19 11:28:47 -07:00
Konloch
c2d2f6627d Strict Security Manager
A lot needs to be done but this blocks most of the security manager escapes
2021-07-19 10:46:35 -07:00
Konloch
74c88d3933 Smarter Security Manager
Removed the blocking concept and replaced with a hardcoded whitelist
2021-07-19 08:39:59 -07:00
Konloch
b7b72f957f Last Directory Bug Fix 2021-07-19 07:36:40 -07:00
Konloch
05388b574b Better Last Directories 2021-07-19 07:11:14 -07:00
Konloch
b8b4312e37 Settings Dialogue Graphical Bug 2021-07-19 06:24:35 -07:00
Konloch
c70c052f53 Prefer Process Builder 2021-07-19 06:23:42 -07:00
Konloch
f21cf41455 Multiple Decompilers At Once 2021-07-19 06:23:30 -07:00
Konloch
e8b9f39ddf Merge branch 'master' of https://github.com/Konloch/bytecode-viewer 2021-07-19 05:29:04 -07:00
Konloch
1328a258b2 Security Manager Fix
Fixes #246
2021-07-19 05:28:59 -07:00
Konloch
0eb9622634 Settings Dialogues 2021-07-19 05:23:57 -07:00
Konloch
b678d98949 GUI Cleanup 2021-07-19 04:22:50 -07:00
Konloch
3971923102 Last Directory Bug Fix 2021-07-19 04:22:38 -07:00
Konloch
f30714f340 Better Plugin Writer 2021-07-19 04:22:29 -07:00
Nico Mexis
a1537d2746
Fix some NPEs 2021-07-19 13:13:55 +02:00
Konloch
9a866831c8 Code Cleanup 2021-07-19 04:09:34 -07:00
Konloch
244ed68599 Code Cleanup 2021-07-19 03:56:52 -07:00
Konloch
69b282aa2d Cleanup 2021-07-19 03:29:39 -07:00
Konloch
8116cacd49 Better Decompiler Options 2021-07-19 02:37:56 -07:00
Konloch
902eaf6b7c Consume The Scroll Event 2021-07-18 23:50:09 -07:00
Konloch
18c0607c8e Better CTRL + Mouse Wheel Zoom
This adds mouse wheel zoom functionality onto all of the searchable text panes. This also fixes a scrolling bug.
2021-07-18 22:36:19 -07:00
Konloch
1805df4c97 More Translations
Automated with online translation services
2021-07-18 16:01:48 -07:00
Konloch
a6a6eb5147 More Translations
All of the settings should have their English translation keys added now
2021-07-18 14:36:00 -07:00
Konloch
0973dfdf41 Better Functioning Last Directories
This makes it easier on the user by making the directory picking process a bit better
2021-07-18 12:53:30 -07:00
Konloch
3349dd65b7 Translations & Cleanup 2021-07-18 12:11:34 -07:00
Konloch
f6ce37f439 More Translations 2021-07-18 02:11:45 -07:00
Konloch
31cef469d4 More Translations & Cleanup 2021-07-17 13:51:00 -07:00
Konloch
d8c5d935b2 Fixed Indent 2021-07-17 13:14:43 -07:00
Konloch
37a05d5959 Hex-Only-View
To enable hex-only-view: Set Pane 1 to the Hex-Viewer, then set Pane 2 & 3 to None
2021-07-16 19:25:24 -07:00
Konloch
37df1802a9 Fixed Hex Viewer
This fixes the hex viewer as a decompiler option, it also attempts to solve #315 by allowing the contents in the hex editor to draw dynamically

This is just temporary until the hex editor is replaced
2021-07-16 18:41:33 -07:00
Konloch
80c4b4fb72 Code Cleanup 2021-07-16 14:55:46 -07:00
Konloch
cf6378d334 Added Default Component Icons
Fixes #84
2021-07-16 14:49:32 -07:00
Konloch
995158a8d2 JTree Rewrite
This is a better implementation of the managing the JTree. Instead of destroying and creating the tree each time a resource is imported. It's now preserved and the tree nodes are managed by the resource container
2021-07-16 13:55:03 -07:00
Konloch
130eddc7cc Merge branch 'master' of https://github.com/Konloch/bytecode-viewer 2021-07-16 12:16:06 -07:00
Konloch
0d8c1b96aa Reordered The English Translation Keys 2021-07-16 12:12:13 -07:00
Nico Mexis
78c6aac941
Dynamic ASM API 2021-07-16 20:30:53 +02:00
Konloch
4696818056 Workspace Refactoring 2021-07-15 20:50:05 -07:00
Konloch
45c9cd5d1a Display Opened File Path
A bit better for debugging which file the user has opened
2021-07-15 12:39:43 -07:00
Konloch
068c3c5560 Fixes Class Resource Reloading
Editing may have also been broken with this bug
2021-07-15 12:34:33 -07:00
Konloch
46f703db34 Unnecessary Class Check
This check isn't needed anymore, importing through importKnownFile does this already
2021-07-15 10:45:35 -07:00
Konloch
29c237bed4 Resource Types/Fixes 2021-07-15 10:38:32 -07:00
Konloch
39233ca3eb Swing Fixes
Call on the tree update from the swing thread
2021-07-15 08:29:42 -07:00
Konloch
0d27212f07 Rename Javap
Like Javac the official name contains a lowercase letter at the end
2021-07-15 08:28:47 -07:00
Konloch
9f50385717 Strict Resource Icons
Known resource type icons are now only shown for non-directories, or the root directory for each resource
2021-07-15 01:47:04 -07:00
Konloch
7b01aa607c Automatically Import Known Resources
Still a work in progress. If you open a know file-type through the resource list in BCV it will now attempt to automatically import that resource instead of displaying the binary text
2021-07-15 01:26:18 -07:00
Konloch
4d0021f2ef Cleanup 2021-07-15 00:55:18 -07:00
Konloch
170512023a Code Cleanup 2021-07-14 22:45:56 -07:00
Konloch
ced48c76fd Tabbed Console
A better solution to the plugin console for when you have multiple resources inside of BCV
2021-07-14 21:59:18 -07:00
Konloch
3e82f29b59 Console TODO 2021-07-14 07:42:15 -07:00
Konloch
206ca32dc0 Better Console Logging 2021-07-14 07:42:09 -07:00
Konloch
4ace08867c Fixed Python Paths 2021-07-14 07:41:23 -07:00
Konloch
d8e2e6ab0f Resource Refactoring
This introduces the Resource object which can be either a ClassFile or any other File type

ClassFiles get opened as a ClassViewer with mutliple BytecodeViewPanels

Everything else gets opened as a FileViewer
2021-07-14 04:58:35 -07:00
Konloch
b9b8d44cc1 Improved Resource Updating
Still a work in progress
2021-07-14 04:33:20 -07:00
Konloch
434d5cd58f Improved BCV Error Handling 2021-07-14 04:09:46 -07:00
Konloch
35561fa5ca More Resource Types 2021-07-14 03:34:45 -07:00
Konloch
07bbfaf299 Better Resource Importing 2021-07-14 03:29:36 -07:00
Konloch
c38bc180d9 Slightly Better Resource Importing 2021-07-14 03:25:02 -07:00
Konloch
ad660815f3 Improved Directory Importing 2021-07-14 03:11:59 -07:00
Konloch
c259ac70a2 Resource File Types
File Header Magic Numbers still need to be implemented but it's a start
2021-07-14 02:59:36 -07:00
Konloch
e684316844 New Translations
Added Estonian, Latvian, Lithuanian, Romanian, Slovak and Slovenian translations
2021-07-13 09:19:40 -07:00
Konloch
0a4d216f5a Improved Translations
Thank you to @ThexXTURBOXx
2021-07-13 08:59:51 -07:00
Konloch
7fddde9139 Merge branch 'master' of https://github.com/Konloch/bytecode-viewer 2021-07-13 08:27:48 -07:00
Konloch
eb225eaa79 Terminology Update
File Container has been changed to Resource Container
2021-07-13 07:33:32 -07:00
Nico Mexis
f6fde27253
Even better translations 2021-07-13 15:47:06 +02:00
Nico Mexis
cad751ecf0
Better German translation 2021-07-13 15:13:20 +02:00
Konloch
52803f410b Comments/TODOs 2021-07-13 05:34:04 -07:00
Konloch
1eda5e7f78 Updated For Plugin API Changes
This will make it easier on the user to inform them which file the class resources are in
2021-07-13 05:10:24 -07:00
Konloch
fc68fde546 Better Plugin Handling
This isn't a perfect solution since it will create a new console window for each resource, however it maintains compatibility and makes it easy on plugin authors

A new plugin class would be a good idea for a better alternative, then more advanced plugins could use that as the class base instead of just the.bytecode.club.bytecodeviewer.api.Plugin
2021-07-13 04:46:21 -07:00
Konloch
9f1877a81c Suggest PyPy 2021-07-13 04:05:44 -07:00
Konloch
2d289d1f9b Dark Theme Scrollbar Fixes
The actual fix is to use com.github.weisj.darklaf.components.OverlayScrollPane but this works for now
2021-07-13 04:05:38 -07:00
Konloch
5041fc5712 LAF Expansion
Thank you @weisJ!

This includes:
+ Better DarkLAF combability #317
+ More LAF Themes to select from
+ More translations
2021-07-13 03:44:03 -07:00
Konloch
3df104c86b Resource Refreshing 2021-07-13 03:37:28 -07:00
Konloch
33ec3f3fdb Extended BetterJOptionPane
This adds the showInputDialogue functions as well as the fixes for them
2021-07-13 03:36:39 -07:00
Konloch
67e2e0dfd0 Javap Fixes
Because of the design of using sysout it fails when being ran concurrently. Until the system has been redesigned to not use sysout (or a better solution for it is added) I've synchronized the javap disassembler

thankfully javap is fast so this shouldn't be that noticeable but it should be fixed one day
2021-07-13 03:35:48 -07:00
Konloch
e9f3163e1b Added Change ClassFile Versions Plugin 2021-07-13 03:33:49 -07:00
Konloch
ccd7f278bc Merge branch 'master' of https://github.com/Konloch/bytecode-viewer 2021-07-13 02:20:44 -07:00
Kalen (Konloch) Kinloch
cd3c9732a5
Merge pull request #318 from antonymcgreen/patch-1
russian translation fix
2021-07-13 01:39:15 -07:00
Konloch
410189fce6 Security Manager Fix 2021-07-13 00:44:51 -07:00
antonymcgreen
c6f12baef2
russian translation fix 2021-07-13 10:21:47 +03:00
Konloch
1b5f8e16db Python3 Check 2021-07-12 07:43:14 -07:00
Konloch
c27db9be9b Improved Javap 2021-07-12 07:42:56 -07:00
Konloch
c8b23818a4 Fixed Enjarify 2021-07-12 07:37:07 -07:00
Konloch
1d5c500ba8 Security Manager Fix 2021-07-12 07:18:36 -07:00
Konloch
b81577c6f0 Autodetect Python CLI
Still a WIP
2021-07-12 06:59:26 -07:00
liuxilu
b2d6818842
mandarin translation improved 2021-07-12 21:39:16 +08:00
Konloch
106549658f Resolved JFrameConsole Text Bug
This fixes the bug with large Strings causing the swing thread to lock up
2021-07-12 06:18:55 -07:00
Konloch
f349e6a8f1 Improved Javap 2021-07-12 05:50:23 -07:00
Konloch
600b88e05e Improved Javap 2021-07-12 05:18:22 -07:00