Commit graph

739 commits

Author SHA1 Message Date
Nico Mexis
a383c52619
Fix possible NPE
Fixes #347
2021-08-27 00:00:04 +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
Nico Mexis
954f29020f
Fetch current Dex2Jar and JADX from Jitpack 2021-08-21 12:42:31 +02:00
Nico Mexis
68383dca5e
Allow change of minSdkVersion via settings 2021-08-11 22:42:15 +02:00
Konloch
0bc6d4a01b Resource List Icon Cache
This is still a work in progress and may cause bugs, specifically when you remove an imported resource without resetting the workspace
2021-08-10 01:45:25 -07:00
Nico Mexis
aebba0d704
Properly fix Smali 2021-08-09 19:37:52 +02:00
Konloch
a8d89ecad0 Restore Original Mimetype 2021-08-07 00:33:50 -07:00
Konloch
8e4582417d Merge branch 'master' of https://github.com/Konloch/bytecode-viewer 2021-08-07 00:31:36 -07:00
Konloch
7d6a945b25
Merge pull request #342 from weisJ/ui_fixes
UI fixes
2021-08-07 00:29:44 -07:00
weisj
758d6b7dcd
Fix issue with darklaf JMenuBar. 2021-08-07 00:37:11 +02:00
Nico Mexis
b507667c75
Retry zip files more aggressively
This doesn't fix any issue, but may be useful in some cases, I guess?
2021-08-05 20:28:32 +02:00
weisj
3ab009dc5b
Set empty border on VisibleComponent
VisibleComponent is a JInternalFrame but never used in a JDesktopPane. Darklaf adds a shadow border around the frame which looks odd in this case. Explicitly setting an empty border solves this issue.
2021-08-05 13:04:44 +02:00
weisj
53750cffa2
Prevent empty popup menu from showing if menu has no child items 2021-08-05 13:04:44 +02:00
Nico Mexis
d26ea523e6
Add even more Antialiasing 2021-08-01 12:11:43 +02:00
Nico Mexis
566527e4a1
Fix file drop that I accidentally broke... 2021-08-01 12:09:31 +02:00
Nico Mexis
770ee15650
Add Antialiasing to blocky text 2021-08-01 11:50:01 +02:00
Konloch
c7cbd60e3d Temporarily Nerf Security Manager
Fixes #339 but introduces remote execution through plugins/EZ-Inject again

A proper solution is to fix the smali disassembler to dump the class into the temp directory
2021-07-30 14:05:45 -07:00
Konloch
d0dd8f4b76 Comments 2021-07-29 21:13:34 -07:00
Konloch
db799f3978 Update HTMLPane.java 2021-07-29 21:00:50 -07:00
Konloch
c94e7e7403 Fix File Chooser Selected Folder 2021-07-29 21:00:40 -07:00
Konloch
01928393c5 Comments 2021-07-29 20:59:52 -07:00
Konloch
2793f278ec Context Menu Update 2021-07-29 20:34:41 -07:00
Konloch
9e08f06327 Extended Context Menu API
This extends the right-click context menu API to support interactions on the search box panel
2021-07-29 20:28:10 -07:00
Konloch
d95b9d0158 Fixed Search Tree Selection
The search box tree selection now functions the same as the resource list tree
2021-07-29 19:37:05 -07:00
Konloch
f4c0e71475 Better Searching
Instead of providing the entire path in the search result now we can return only what the user is looking for
2021-07-29 19:32:32 -07:00
Konloch
e94bee0fb6 Better LDC Search
Strings should be searched with case sensitivity rather than exact comparison
2021-07-29 17:28:35 -07:00
Konloch
f3ccf93c7c Remove Above New 2021-07-29 12:45:56 -07:00
Konloch
ec460020d3 Theme Swap Update Context Menu 2021-07-29 12:03:39 -07:00
Konloch
f45e58fb04 JDK Fix 2021-07-29 11:50:15 -07:00
Konloch
1a9c4c9062 Fixed New Class Inserting
Visually it's still missing the class icon but now you can edit and use the new class
2021-07-29 11:41:04 -07:00
Konloch
d4652f1d1e Merge branch 'master' of https://github.com/Konloch/bytecode-viewer 2021-07-29 11:30:26 -07:00
Konloch
f5a3d41f71 Quick Decompile Clean Up 2021-07-29 11:30:21 -07:00
Konloch
5f72bc435a Quick Edit
This adds quick edit and fixes a bug with the quick decompile displaying as editable
2021-07-29 11:27:26 -07:00
hdfg159
6dda1ea2fa Update mandarin translations 2021-07-29 22:14:10 +08:00
Konloch
2c57424674 Added New Class
Right-click New>Class
2021-07-27 05:02:40 -07:00
Konloch
4d863a6168 Android Tab Grouping 2021-07-27 04:49:25 -07:00
Konloch
9841ca151f Right-Click Context Menu New File
Just a hack at this point, a lot of work is still needed including the new classfile option
2021-07-27 04:05:11 -07:00
Konloch
4c2e72e78e Bug Fix Open Empty Files 2021-07-27 04:00:53 -07:00
Konloch
7d252fd5bc Translations
Context menu translations
2021-07-27 03:18:21 -07:00
Konloch
f0580df2d6 Slightly Better Container API
Allows for quick look ups based on container name
2021-07-27 03:17:57 -07:00
Konloch
a4f01151d5 Cleanup 2021-07-27 01:49:38 -07:00
Konloch
938170b97b Bug fix 2021-07-27 01:25:42 -07:00
Konloch
f22a5b9196 Classfile Header Check
This is still missing a lot and isn't the correct way to do it, plugins won't work for obfuscated classfile names until the importer has been rewritten as well

Some of the decompilers also fail but it's a step in the right direction
2021-07-27 01:13:14 -07:00
Konloch
3abdbf6b68 Right-Click Context Menu API 2021-07-27 00:26:38 -07:00
Konloch
70a205c5d9 Right-Click Context Menu
Adds better control to the resource list and gives a right-click context menu that changes depending on the selected node

More work is needed and a proper context API should be provided
2021-07-26 22:43:36 -07:00
Konloch
f7e47540dc Fix Opening Selected Resource 2021-07-26 21:52:20 -07:00
Konloch
265323f33c Only Open Plugin Console When Prompted
This gives back the plugin developer's control of deciding when the plugin console should be shown
2021-07-26 21:37:46 -07: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
0778113726 Prevent Console Spam 2021-07-23 20:30:02 -07:00
Konloch
ff793b5fc3 Tabbed Plugin Exceptions 2021-07-23 20:26:23 -07:00
Konloch
9bf7e012b3 Formatting 2021-07-23 19:29:45 -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
e371a76c98 Moved BootState 2021-07-23 19:17:20 -07:00
Konloch
d59c5b1445 Updated Intro Draft 2021-07-23 18:57:27 -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
683207d4b0 ClassLoader Fix
This resolves an issue with the String Decrypter plugins
2021-07-23 15:34:26 -07:00
Konloch
0a41fd24c8 Comments 2021-07-23 15:33:34 -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
582dccdb96 Translation Fixes 2021-07-23 10:02:34 -07:00
Konloch
4620507918 Version Downgrade
v2.11.0 will be introduced once v2.10.x is stable, hopefully v2.10.15 will be the last patch
2021-07-23 09:47:45 -07:00
Konloch
2583c95248 More Translations
I had to manually correct a few things so expect issues with this batch. These translations contain template variables which caused formatting issues for some of the translators.
2021-07-23 09:46:52 -07:00
Konloch
05e69c5bb8 Error Log Translations 2021-07-23 09:20:23 -07:00
Konloch
23d6e64a66 Typo 2021-07-22 22:17:20 -07:00
Konloch
08e129b470 Fixes #333
A work around for the SettingsDialog menu being null
2021-07-22 22:10:53 -07:00
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