Commit graph

90 commits

Author SHA1 Message Date
Jannis Weis
47e069c44f
Move loadResourceAsString to Resource class
It doesn't make much sense for this function to sit
inside IconResources, as it isn't an IconResource.
2022-04-25 23:48:39 +02:00
Jannis Weis
a19be490f7
Update darklaf to version 3.0.0
This resolves an outstanding issue allowing us to remove the
temporary fix for it. Also, the "frame.svg" icon is now loaded
using the official API and no longer relies on the exact location
of the resource.
2022-04-17 23:48:17 +02:00
Konloch
cb6acf6c82 Fix Compile Error 2022-03-23 14:23:04 -05:00
Sculas
6e7db39e66
use null-safe equals 2022-03-22 17:03:56 +01:00
Sculas
ea48ec9800
fix plugin writer with compiled java plugins 2022-03-22 16:49:19 +01:00
Nico Mexis
4ccfb6021f
General code quality changes 2022-02-25 15:52:53 +01:00
Konloch
9d3b1d461d Code Cleanup 2022-01-22 13:54:17 -06:00
Nico Mexis
347b6acf0f
Better language detection 2022-01-03 22:51:00 +01:00
Nico Mexis
54fc4e5e48
Use RSTA's file type detector 2022-01-03 20:05:56 +01:00
Nico Mexis
86fb69f694
Optimize various stuff 2021-12-20 00:24:17 +01:00
Nico Mexis
35613f01da
Remove deprecations for JDK 17 2021-09-16 13:56:01 +02:00
Nico Mexis
b18bc950e1
Even more applications of the Law of Demeter 2021-08-27 10:49:31 +02:00
Nico Mexis
20920eab5a
Make use of the Law of Demeter
I mean, most of the time, we do make use of it... But sometimes, we don't. This fixes this "issue" in some places :)
2021-08-26 23:59:37 +02:00
weisj
758d6b7dcd
Fix issue with darklaf JMenuBar. 2021-08-07 00:37:11 +02:00
Konloch
ec722e664c Re-Add One Plugin At A Time Limit 2021-07-26 21:31:00 -07:00
Nico Mexis
308f167553
Fix most leaks 2021-07-25 18:54:08 +02:00
Konloch
932d135ceb Exception Tab Title Fix 2021-07-23 20:51:55 -07:00
Konloch
ff793b5fc3 Tabbed Plugin Exceptions 2021-07-23 20:26:23 -07:00
Konloch
5328862cc6 Free Software License Header
Adds the big free software license header into the ones that are missing it
2021-07-23 19:25:51 -07:00
Konloch
84c1834ada Plugin API Update
With the plugin manager tab changes  the plugin console no longer needs the active resource container name. It only needs the plugin name
2021-07-23 15:50:18 -07:00
Konloch
10df99c750 Plugin Fixes 2021-07-23 15:46:19 -07:00
Konloch
15df6abfc9 Tabbed Windows
This gives the option to open all of the window dialogs as tabbed resources. The plugin writer and plugin console tab could be merged into a single pane at a later date. The error dialog might be over-kill and should remain an external window.

This is mostly an experiment for better UIs, because of this everything is optional and can be turned off within the configuration class
2021-07-23 15:12:53 -07:00
Konloch
7819fe6575 Removed Duplicate File Filters 2021-07-21 09:52:01 -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
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
05388b574b Better Last Directories 2021-07-19 07:11:14 -07:00
Konloch
f30714f340 Better Plugin Writer 2021-07-19 04:22:29 -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
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
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
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
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
e9f3163e1b Added Change ClassFile Versions Plugin 2021-07-13 03:33:49 -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
c2a9c0f51e Icon Resources API Change 2021-07-11 07:10:42 -07:00
Konloch
0325c2008e Restored Resource Exporting 2021-07-11 06:55:30 -07:00
Konloch
21fe12b4a7 Lots
Fixes, API Changes, Cleanup, etc.
2021-07-11 05:33:18 -07:00
Konloch
cf42e4bf67 Added View Manifest Plugin 2021-07-11 04:26:03 -07:00
Konloch
5cbe3122e5 Added Plugin View APK Android Permissions 2021-07-11 04:16:54 -07:00
Konloch
d98f3d3e31 Improved Importing 2021-07-10 09:05:08 -07:00
Konloch
342d60536b Verbose Fix 2021-07-08 02:24:28 -07:00
Konloch
dca90245e5 Better Plugin Integration
Instead of plugins running instantly you are given the option to edit them using the Plugin Writer
2021-07-08 01:50:57 -07:00