Commit Graph

75 Commits

Author SHA1 Message Date
Nico Mexis 86fb69f694
Optimize various stuff 2021-12-20 00:24:17 +01:00
Nico Mexis b18bc950e1
Even more applications of the Law of Demeter 2021-08-27 10:49:31 +02:00
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 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
Konloch f0580df2d6 Slightly Better Container API
Allows for quick look ups based on container name
2021-07-27 03:17:57 -07:00
Nico Mexis 308f167553
Fix most leaks 2021-07-25 18:54:08 +02: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 0203a13472 Code Cleanup
Translation errors are now silenced unless developer mode is enabled
2021-07-21 08:20:38 -07:00
Nico Mexis 0653e8583e
Better zoom for images 2021-07-21 11:29:52 +02:00
Konloch efd9f84729 Strict Python Parameters 2021-07-19 11:28:47 -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 05388b574b Better Last Directories 2021-07-19 07:11:14 -07:00
Konloch e8b9f39ddf Merge branch 'master' of https://github.com/Konloch/bytecode-viewer 2021-07-19 05:29:04 -07:00
Nico Mexis a1537d2746
Fix some NPEs 2021-07-19 13:13:55 +02:00
Konloch 69b282aa2d Cleanup 2021-07-19 03:29:39 -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 31cef469d4 More Translations & Cleanup 2021-07-17 13:51:00 -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 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 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 eb225eaa79 Terminology Update
File Container has been changed to Resource Container
2021-07-13 07:33:32 -07:00
Konloch 3df104c86b Resource Refreshing 2021-07-13 03:37:28 -07:00
Konloch 1b5f8e16db Python3 Check 2021-07-12 07:43:14 -07:00
Konloch b81577c6f0 Autodetect Python CLI
Still a WIP
2021-07-12 06:59:26 -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 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
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 540b48f3ee Fixed APK/DEX Importing 2021-07-11 02:31:34 -07:00
Konloch b40c763db9 Comments 2021-07-11 02:22:47 -07:00
Konloch 717b2e466c Main Viewer GUI Cleanup 2021-07-11 02:17:46 -07:00
Konloch 56a6a4ebf3 Resource Container Cleanup 2021-07-11 02:14:42 -07:00