Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from Konloch:master #67

Merged
merged 186 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
f59823b
Code Style Update / Cleanup / Repackaging
Konloch Sep 26, 2024
dd7e605
Add xapk extension in SUPPORTED_FILE_EXTENSIONS
cloudchamb3r Sep 27, 2024
89df1bb
Merge pull request #514 from cloudchamb3r/fix/missing-xapk-in-file-di…
Konloch Sep 27, 2024
0a74b31
Merge branch 'master' of https://github.com/Konloch/bytecode-viewer
Konloch Sep 27, 2024
ddd31b5
Code Style Cleanup
Konloch Sep 27, 2024
89a2640
Continue Decompiling On Parsing Error
Konloch Sep 27, 2024
9922ec3
Continue Decompiling On Any Parsing Errors (Except IO)
Konloch Sep 27, 2024
5eed22d
Move From CLI Magic Numbers
Konloch Sep 27, 2024
a028bba
Repackage CLI
Konloch Sep 27, 2024
3ab9932
Update Licenses
Konloch Sep 27, 2024
9353c96
Code Style Cleanup / General Code Improvements
Konloch Sep 27, 2024
bfdab8a
Middle-click to close tabs.
Bl3nd Sep 27, 2024
2b70b56
Merge branch 'Konloch:master' into master
Bl3nd Sep 27, 2024
4597dbe
Add null-check for converting event just to be safe.
Bl3nd Sep 27, 2024
c90854c
Merge remote-tracking branch 'origin/master'
Bl3nd Sep 27, 2024
1557cd6
Merge pull request #515 from Bl3nd/master
Konloch Sep 27, 2024
c3841a8
Do not parse if the decompiler used prints out disassembly/bytecode.
Bl3nd Sep 27, 2024
d76644e
Remove adding class reference when it's a "this." expression.
Bl3nd Sep 27, 2024
9ce2b22
Remove anonymous class body ConstructorDeclaration from being parsed.
Bl3nd Sep 28, 2024
d642610
Clean-up
Bl3nd Sep 28, 2024
95eeee0
Merge pull request #516 from Bl3nd/go-to-enhancement
Konloch Sep 29, 2024
784e849
Update Editor Config
Konloch Sep 29, 2024
5f32dff
Run Temporary Plugins
Konloch Sep 29, 2024
95da665
Is JS Engine In Classpath Check
Konloch Sep 29, 2024
5e4d411
Hide Create New JS Plugin If No JS Engine On Classpath
Konloch Sep 29, 2024
cd59dd5
Update English Strings
Konloch Sep 29, 2024
c7dd1be
Syntax Fixes
Konloch Sep 29, 2024
8c9fe29
Better Looking Search Elements
Konloch Sep 29, 2024
269aed2
Cleanup
Konloch Sep 29, 2024
d0b075c
Added GetLastActiveClass
Konloch Sep 29, 2024
62ade7c
Added #472 as External Plugin
Konloch Sep 29, 2024
78a41f5
Cleanup
Konloch Sep 29, 2024
0e38947
Syntax Cleanup
Konloch Sep 29, 2024
70847bc
Revert Token Maker & Exclude In Checkstyle
Konloch Sep 29, 2024
91707fc
Fix Compilation
Konloch Sep 30, 2024
c53d4e9
API Update
Konloch Sep 30, 2024
9b53a74
Code Cleanup
Konloch Sep 30, 2024
88b2c7f
Alert Instead of NPE
Konloch Sep 30, 2024
fb82558
Comment Suppression
Konloch Sep 30, 2024
5dab52b
Code Cleanup
Konloch Sep 30, 2024
c29f0fb
Fix NPE on System Theme
Konloch Sep 30, 2024
805dac8
Better Plugin Writing
Konloch Sep 30, 2024
a0adb9b
Added Task Manager for Background Tasks
Konloch Sep 30, 2024
d343bce
Implemented Task Manager API
Konloch Sep 30, 2024
8b84ae7
Better Synchronization Between On-Disk Editing and In-Memory Editing
Konloch Sep 30, 2024
d78ab84
Update README
Konloch Sep 30, 2024
133526c
Partial Fix For Slow jFileChooser
Konloch Sep 30, 2024
efcbaed
Show Exceptions To Users If It Cancels Their Action
Konloch Sep 30, 2024
ed7865c
Update README.md
Konloch Oct 1, 2024
dac4cee
Fix Change Class File Versions Plugin 'Cancel' Option
Konloch Oct 2, 2024
c713a20
Cleanup
Konloch Oct 2, 2024
938ee3f
Syntax Cleanup
Konloch Oct 2, 2024
406b47b
Use SleepUtil API
Konloch Oct 2, 2024
fb075c8
Syntax Cleanup
Konloch Oct 2, 2024
f5c7cd7
Added Author Tag
Konloch Oct 2, 2024
efcbfc4
Code Cleanup
Konloch Oct 2, 2024
88b9844
InternalCompiler Renamed To AbstractCompiler
Konloch Oct 2, 2024
22e008c
InternalDecompiler Renamed To AbstractDecompiler
Konloch Oct 2, 2024
88aa5a9
New Abstract Decompiler API
Konloch Oct 2, 2024
ff4432f
ASMifier Shouldn't Parse
Konloch Oct 2, 2024
269905d
Editor Config Update
Konloch Oct 2, 2024
250f55c
Code Cleanup
Konloch Oct 2, 2024
87fac67
Added Google Java Format
Konloch Oct 2, 2024
78f61f6
Pom Cleanup
Konloch Oct 2, 2024
13510e3
Update Google Java Format Version
Konloch Oct 2, 2024
3158e83
Format ASMifier
Konloch Oct 2, 2024
9f24455
Pom Cleanup
Konloch Oct 2, 2024
2722b70
Added More Licenses
Konloch Oct 2, 2024
921e6e1
Added Update Warning
Konloch Oct 2, 2024
17e128b
POM Cleanup
Konloch Oct 2, 2024
66b3822
Use Background Thread For Async Saving
Konloch Oct 2, 2024
7e15a9e
Downgrade Java Formatter
Konloch Oct 2, 2024
182d64d
Start Of CLI Rewrite
Konloch Oct 2, 2024
e6f9f16
Fixed Opening Files From Launch Args
Konloch Oct 2, 2024
64de20a
English Command Replaced With Language Command
Konloch Oct 2, 2024
ba0411c
Fix Language Changing
Konloch Oct 2, 2024
a5f0aed
Strict CLI
Konloch Oct 2, 2024
d4a528e
CLI Cleanup
Konloch Oct 2, 2024
32b6f4e
Started New TempFiles API
Konloch Oct 2, 2024
8301a58
Fix getUniqueName
Konloch Oct 2, 2024
5a3820b
Update Procyon Decompiler To New TempFIles API
Konloch Oct 2, 2024
6781473
Better TempFile API
Konloch Oct 2, 2024
626b856
Better Procyon Decompiling
Konloch Oct 2, 2024
e191532
Continued Temp File API
Konloch Oct 2, 2024
b65aad2
Procyon Delete Temporary Files
Konloch Oct 2, 2024
99e4973
Procyon Fixes
Konloch Oct 2, 2024
5ab1fe0
Temp File API Improvements
Konloch Oct 2, 2024
96495c8
Extended Temp File API
Konloch Oct 2, 2024
b69389c
FernFlower Decompiler Changes
Konloch Oct 2, 2024
17e1d62
Cleanup On Decompiler Failure
Konloch Oct 2, 2024
03d74f3
FernFlower Decompiler Refactoring
Konloch Oct 2, 2024
f121870
Procyon Refactoring
Konloch Oct 2, 2024
be2afd4
FernFlower Temp Files API Fix
Konloch Oct 2, 2024
36e6dbf
FernFlower Decompiler Improvements
Konloch Oct 2, 2024
45d722c
FernFlower Catch All
Konloch Oct 2, 2024
3f45802
Procyon Ensure Cleanup
Konloch Oct 2, 2024
7fa7978
JavaP Disassembler Improvements
Konloch Oct 2, 2024
3f407ea
Cleanup
Konloch Oct 2, 2024
334a923
Temp File API Improvements
Konloch Oct 2, 2024
ac025d6
Comments
Konloch Oct 2, 2024
23c125c
JavaP Cleanup
Konloch Oct 2, 2024
95da798
Handle Deleting Folders Better
Konloch Oct 2, 2024
1a5f3fd
JD-GUI Decompiler Improvements
Konloch Oct 2, 2024
e176363
Text Formatting Error
Konloch Oct 2, 2024
f20cdee
Created Exception Utils
Konloch Oct 2, 2024
124fa19
Cleanup Procyon Exceptions
Konloch Oct 2, 2024
a826a8e
Cleanup JD-GUI Exceptions
Konloch Oct 2, 2024
ab2ce70
Cleanup Javap Exceptions
Konloch Oct 2, 2024
8d947b6
Cleanup FernFlower Exceptions
Konloch Oct 2, 2024
a9beeee
Fix Collision Prevention
Konloch Oct 2, 2024
e456952
ZipUtils Cleanup
Konloch Oct 2, 2024
70bde7b
Added Process Utils
Konloch Oct 2, 2024
efb43e6
Silence IO Errors
Konloch Oct 2, 2024
838e40f
FernFlower Exception Cleanup
Konloch Oct 2, 2024
38920b9
Procyon Decompiler Cleanup
Konloch Oct 2, 2024
522ea37
Added Decompiler Simulated Errors
Konloch Oct 2, 2024
97a1425
Code Cleanup
Konloch Oct 2, 2024
f842eca
Added Dev Mode Translation
Konloch Oct 2, 2024
98bacf8
Temporary File API Update
Konloch Oct 2, 2024
2ade8f9
Process Utils API Update
Konloch Oct 2, 2024
7105cf9
Comments
Konloch Oct 2, 2024
ce2d2cd
Abstract Decompiler API Update
Konloch Oct 2, 2024
d398854
Smali Disassembler Error Formatting
Konloch Oct 2, 2024
b9ff7d1
Abstract Decompiler API Update
Konloch Oct 2, 2024
ceeae58
DEV_FLAG Warning
Konloch Oct 2, 2024
9391352
ASMifier Cleanup
Konloch Oct 2, 2024
f94c03d
ASM Disassembler
Konloch Oct 2, 2024
dc6e157
Decompiler Name Adjustments
Konloch Oct 2, 2024
7f5360c
Comments
Konloch Oct 2, 2024
0db6dcb
Decompiler Name Adjustments
Konloch Oct 2, 2024
995c0ff
Better Decompiler API Usage
Konloch Oct 2, 2024
aff69c2
Merged The Two ASMifier Disassemblers
Konloch Oct 2, 2024
45bf02e
Bytecode Disassembler Updates
Konloch Oct 2, 2024
1d5d0bc
CFR Decompiler Updates
Konloch Oct 2, 2024
f89ba2e
Started POC for External Decompiler Processes
Konloch Oct 3, 2024
39491c3
FernFlower Decompiler Update
Konloch Oct 3, 2024
a9dc390
FernFlower Zip Decompiler Fallback
Konloch Oct 3, 2024
ed59212
Added Decompiles Cleanup Flag
Konloch Oct 3, 2024
5bac732
Temp File API Update
Konloch Oct 3, 2024
a625c39
Start of Decompilers Automatically Reformatting Syntax
Konloch Oct 3, 2024
b100479
Added Blank Decompiler Base
Konloch Oct 3, 2024
a094e52
JADX Decompiler Update
Konloch Oct 3, 2024
e029c73
JavaP Disassembler Update
Konloch Oct 3, 2024
edd09c0
JavaP Added Simulated Errors
Konloch Oct 3, 2024
1ac293c
Procyon Decompiler Update
Konloch Oct 3, 2024
136346d
Krakatau Decompiler Update
Konloch Oct 3, 2024
f749603
JD-GUi Decompiler Update
Konloch Oct 3, 2024
2611145
Krakatau Disassembler Simulated Errors
Konloch Oct 3, 2024
5398cda
Cleanup
Konloch Oct 3, 2024
b36c67f
CLI Clean Banner
Konloch Oct 3, 2024
59f45e5
Show Generated Xposed Class In GUI
Konloch Oct 3, 2024
1f13c21
External Plugin Cleanup / Fixes
Konloch Oct 3, 2024
ec47a2d
Switch from using StaticJavaParser to JavaParser so we can handle if …
Bl3nd Oct 3, 2024
a9cbd66
Update JavaParser version
Bl3nd Oct 3, 2024
82789aa
Make methods look for the same method that has the same signature rat…
Bl3nd Oct 3, 2024
340bec4
Attempt at making the code more understandable and a few other things.
Bl3nd Oct 3, 2024
336d60b
Add the possibility that a class does not have a package.
Bl3nd Oct 4, 2024
17d9736
Added Disk-Lib
Konloch Oct 4, 2024
1494eca
Replaced Old Disk-Lib Library
Konloch Oct 5, 2024
998183a
Remove Old Disk Lib Classfiles
Konloch Oct 5, 2024
5cf85f7
Better Deprecated Settings Writing
Konloch Oct 5, 2024
cf92749
Syntax Cleanup
Konloch Oct 5, 2024
471ae44
saveAsJar Should Throw Exceptions
Konloch Oct 5, 2024
29d29e1
Add ability to open class files even when they don't have a package
Bl3nd Oct 5, 2024
14c7ed2
Merge pull request #517 from Bl3nd/go-to-enhancement
Konloch Oct 6, 2024
879b5e6
Fix NPE
Konloch Oct 7, 2024
3f1fd5a
Merge branch 'master' of https://github.com/Konloch/bytecode-viewer
Konloch Oct 7, 2024
d485b9b
Remove error strip markers if you click on an empty line.
Bl3nd Oct 7, 2024
f560fa5
Update a few try-catch's to catch all exceptions.
Bl3nd Oct 7, 2024
9860c9d
Merge branch 'Konloch:master' into go-to-enhancement
Bl3nd Oct 7, 2024
edadceb
Merge pull request #521 from Bl3nd/go-to-enhancement
Konloch Oct 8, 2024
05fa036
Add/Re-add field parsing when scope is from a parameter or variable.
Bl3nd Oct 8, 2024
289d196
Merge remote-tracking branch 'origin/go-to-enhancement' into go-to-en…
Bl3nd Oct 8, 2024
bc67379
Merge branch 'Konloch:master' into go-to-enhancement
Bl3nd Oct 8, 2024
73e9631
Add one more field and method parsing cases
Bl3nd Oct 10, 2024
b0af907
Catch and print any exception during the parse sequence.
Bl3nd Oct 11, 2024
c4ae849
Fix clicking on ErrorStrip brings cursor to the top no matter where y…
Bl3nd Oct 12, 2024
789ceda
A few parser things
Bl3nd Oct 13, 2024
164843a
Update GoToAction
Bl3nd Oct 13, 2024
0c47d5c
Allow FernFlower to know of any inner classes (if it's enabled) so th…
Bl3nd Oct 14, 2024
5291651
Add parsing for things that are not in a method or class declaration.
Bl3nd Oct 17, 2024
a5f3153
Fix JDGUI not finding/decompiling inner classes.
Bl3nd Oct 17, 2024
756c823
[JDGUI] Make sure we do not add the opened class into the inner class…
Bl3nd Oct 18, 2024
00340ec
Remove test field on FernFlowerDecompiler generateMainMethod
Bl3nd Oct 18, 2024
9356ebf
Print error message if an exception is thrown for FieldAccessParser
Bl3nd Oct 18, 2024
5f8fd42
Merge pull request #522 from Bl3nd/go-to-enhancement
Konloch Oct 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ insert_final_newline = true

[*.java]
max_line_length = 120
ij_java_class_brace_style = next_line
ij_java_method_brace_style = next_line
ij_java_block_brace_style = next_line

[*.xml]
indent_size = 2
tab_width = 2
indent_size = 4
tab_width = 4

[*.properties]
indent_size = 2
tab_width = 2
indent_size = 4
tab_width = 4
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Bytecode Viewer - a lightweight user-friendly Java/Android Bytecode Viewer, Decompiler & More.

#### New Features
* Jump to Declaration
* Draggable tabs
* Patched [CVE-2022-21675](https://github.com/Konloch/bytecode-viewer/security/advisories/GHSA-3wq9-j4fc-4wmc) (Make sure to upgrade to v2.11.X)
* Dark mode by default with multiple themes
Expand Down
8 changes: 8 additions & 0 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
-->

<module name="Checker">

<module name="SuppressionFilter">
<property name="file" value="checkstyle_suppression.xml" />
</module>

<property name="severity" value="error"/>
<property name="fileExtensions" value="java, properties, xml"/>

Expand Down Expand Up @@ -65,6 +70,9 @@
<property name="tokens" value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"/>
</module>

<!-- Suppression via comments -->
<module name="SuppressionCommentFilter"/>

<!-- No unused imports -->
<module name="UnusedImports"/>

Expand Down
9 changes: 9 additions & 0 deletions checkstyle_suppression.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0"?>

<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">

<suppressions>
<suppress files="JavaBytecodeTokenMaker\.java" checks="[a-zA-Z0-9]*"/>
</suppressions>
Loading