Commit Graph

1432 Commits

Author SHA1 Message Date
Cody
d642610d72 Clean-up 2024-09-28 00:12:42 -06:00
Cody
9ce2b22f2a Remove anonymous class body ConstructorDeclaration from being parsed. 2024-09-27 23:34:38 -06:00
Cody
d76644ee05 Remove adding class reference when it's a "this." expression. 2024-09-27 17:53:28 -06:00
Cody
c3841a8493 Do not parse if the decompiler used prints out disassembly/bytecode. 2024-09-27 16:58:53 -06:00
Konloch
1557cd67a3
Merge pull request #515 from Bl3nd/master
Middle Click on Tabs
2024-09-27 15:11:24 -07:00
Cody
c90854c3b7 Merge remote-tracking branch 'origin/master' 2024-09-27 10:33:48 -06:00
Cody
4597dbef7a Add null-check for converting event just to be safe. 2024-09-27 10:33:32 -06:00
Cody
2b70b564e7
Merge branch 'Konloch:master' into master 2024-09-27 10:27:40 -06:00
Cody
bfdab8ac4b Middle-click to close tabs.
- We could now also add the popup menu on the tab itself if we want to instead of just the button.
2024-09-27 10:27:07 -06:00
Konloch
9353c968be Code Style Cleanup / General Code Improvements 2024-09-27 05:51:50 -06:00
Konloch
3ab993242e Update Licenses 2024-09-27 05:45:03 -06:00
Konloch
a028bba00b Repackage CLI 2024-09-27 04:23:42 -06:00
Konloch
5eed22ddb2 Move From CLI Magic Numbers 2024-09-27 04:22:17 -06:00
Konloch
9922ec389c Continue Decompiling On Any Parsing Errors (Except IO)
More of a pre-caution - if parsing fails we should still attempt to display the decompiled code. I've encountered a few errors and manually added them in, but I'm worried I missed one. To fix that I figure we just catch everything that isn't an IO Error.

IO-Errors are probably user related (lack of space, insufficient permissions, etc) - So these errors we should forward to the user, the rest we can silence for developer eyes
2024-09-27 03:58:06 -06:00
Konloch
89a26407f8 Continue Decompiling On Parsing Error 2024-09-27 01:34:46 -06:00
Konloch
ddd31b58d7 Code Style Cleanup 2024-09-27 01:34:28 -06:00
Konloch
0a74b31bf3 Merge branch 'master' of https://github.com/Konloch/bytecode-viewer 2024-09-27 01:33:27 -06:00
Konloch
89df1bbd14
Merge pull request #514 from cloudchamb3r/fix/missing-xapk-in-file-dialog
Add xapk extension in SUPPORTED_FILE_EXTENSIONS
2024-09-27 00:33:07 -07:00
cloudchamb3r
dd7e605db5 Add xapk extension in SUPPORTED_FILE_EXTENSIONS 2024-09-27 11:05:37 +09:00
Konloch
f59823b185 Code Style Update / Cleanup / Repackaging 2024-09-26 03:41:20 -06:00
Konloch
515495e378 Implement Checkstyle 2024-09-25 23:40:58 -06:00
Konloch
d307f566d8 Added Checkstyle 2024-09-25 23:40:50 -06:00
Konloch
58abfef9fb Added .editorconfig 2024-09-25 23:39:35 -06:00
Konloch
0e7bd2bba1 Code Style Update 2024-09-25 23:39:22 -06:00
Konloch
fda1ecab66 Code Style Update 2024-09-25 21:40:07 -06:00
Konloch
c85a8a21f3 Update Build Tool Plugins 2024-09-25 20:59:59 -06:00
Konloch
6bfe74fe0c Start Of Middle-Click Close 2024-09-25 20:52:33 -06:00
Konloch
d811272f9c Catch Thrown Exceptions During Parsing Failure 2024-09-25 20:39:31 -06:00
Konloch
ec67ba8ada Prevent NPE on classFileContainer during markOccurrences 2024-09-25 20:39:08 -06:00
Konloch
88ae27a94a Cleanup TabComponent Close Pane 2024-09-25 20:31:02 -06:00
Konloch
68da280933 Class Cleanup 2024-09-25 20:09:07 -06:00
Konloch
02749d6913 Removed Unused Tab Code 2024-09-25 19:58:24 -06:00
Konloch
13a35b12a9
Merge pull request #497 from Bl3nd/master
Tabs and fix for splitpanes being reset during resize
2024-09-25 18:28:04 -07:00
Cody
1f92ccf4ab Merge/resolving conflicts. 2024-09-25 18:41:09 -06:00
Konloch
5f1e75c284
Merge pull request #513 from Bl3nd/go-to-enhancement
Token Parsing
2024-09-25 16:05:46 -07:00
Cody
06e6117175 Add ability to use 'CTRL' + LMB for go to action. 2024-09-23 21:59:51 -06:00
Cody
9a08a5f100 Token parsing updates.
- Fixed a few bugs
- Added methods and classes (highlighting and go-to)
2024-09-21 23:15:58 -06:00
Cody
7b7f8976ea Bug: Fixed imports with '.*'.
- Also added a resolver to help resolve classes within the jar.
2024-09-18 22:28:13 -06:00
Cody
00319e9537 Add a little documentation and rename a few variables for clarity. 2024-09-18 20:26:39 -06:00
Cody
e756324245 [Go-To] Move caret to requested field.
- Also added enum constant declarations to the token parser.
2024-09-16 18:22:15 -06:00
Konloch
77f84d9d39
Merge pull request #511 from ThexXTURBOXx/master
Update dependencies
2024-09-16 07:39:40 -07:00
Nico Mexis
db4c0823bc
Update dependencies 2024-09-15 15:37:44 +02:00
Cody
afeab95f0b Add ability to open an accessed fields parent class. 2024-09-12 18:42:35 -06:00
Cody
262a408c95 Add left padding to search panel buttons. 2024-09-09 22:28:04 -06:00
Cody
86bc66e0d4 Merge remote-tracking branch 'origin/go-to-enhancement' into go-to-enhancement 2024-09-07 19:22:30 -06:00
Cody
8dc70a581c Added the "Go-To" action to bring the caret to the variables declaration. Also:
- BUG: Tokens with only one character would not get shown if the caret was before the character
- ADD: Made the caret visible
2024-09-07 19:22:10 -06:00
Cody
7063e4f48e
Merge branch 'Konloch:master' into go-to-enhancement 2024-09-06 21:09:59 -06:00
Cody
a24c4c0fb6 Moved the search panel to its own panel.
- Fixes search panel glitch
- Fixes markers mismatching with scrollbar thumb.
2024-09-06 21:08:48 -06:00
Cody
850da2dc4f Add parameter and local field token markers. 2024-09-05 18:25:08 -06:00
Cody
db26cd2758 Start of token parsing. 2024-09-05 17:51:09 -06:00