Commit Graph

300 Commits

Author SHA1 Message Date
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 eb225eaa79 Terminology Update
File Container has been changed to Resource Container
2021-07-13 07:33:32 -07: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 410189fce6 Security Manager Fix 2021-07-13 00:44:51 -07: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
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
Konloch f966f7b29f CLI Java Detection 2021-07-12 05:14:05 -07:00
Konloch 948ae90e50 Security Manager Cleanup 2021-07-12 05:13:35 -07:00
Konloch 216882c58e Flexible Blocking
This allows multiple security manager blocks and unblocks to happen without causing conflictions
2021-07-12 04:18:52 -07:00
Konloch 76aaf8f30f Javap Disassembler 2021-07-11 10:53:15 -07:00
Konloch 789ac13cd1 Cleaned Up Error Alerts 2021-07-11 09:52:07 -07:00
Konloch 7d09510194 Added Javap Disassembler
Solves #93
2021-07-11 09:41:33 -07:00
Konloch 46bee607aa JDK 9 Compatible
This removes the sun package dependency
2021-07-11 07:37:05 -07:00