Add TODOs
This commit is contained in:
parent
7a5f679ac8
commit
6354e1ce15
2 changed files with 3 additions and 2 deletions
|
@ -112,6 +112,8 @@ import static the.bytecode.club.bytecodeviewer.util.MiscUtils.guessLanguage;
|
|||
* ^ Easiest way to do this is to read the file header CAFEBABE on resource view
|
||||
* + Add BCEL Support:
|
||||
* ^ https://github.com/ptnkjke/Java-Bytecode-Editor visualizer as a plugin
|
||||
* + Add animated GIF support to image viewer
|
||||
* + Add drag support to images (allow not only to zoom, but also to drag the image)
|
||||
*
|
||||
* @author Konloch
|
||||
* @author The entire BCV community
|
||||
|
|
|
@ -83,7 +83,6 @@ public class FileViewer extends ResourceViewer
|
|||
if (!MiscUtils.isPureAscii(contentsAsString) || hexViewerOnly)
|
||||
{
|
||||
//TODO:
|
||||
// + Webp?
|
||||
// + Add file header checks
|
||||
// + Check for CAFEBABE
|
||||
// + ClassRead then quick-decompile using Pane1 Decompiler
|
||||
|
@ -97,7 +96,7 @@ public class FileViewer extends ResourceViewer
|
|||
{
|
||||
canRefresh = true;
|
||||
|
||||
image = MiscUtils.loadImage(image, contents); //gifs fail because of this
|
||||
image = MiscUtils.loadImage(image, contents);
|
||||
if (image == null) {
|
||||
JHexEditor hex = new JHexEditor(contents);
|
||||
mainPanel.add(hex);
|
||||
|
|
Loading…
Reference in a new issue