Skip to content

Commit 49a3c98

Browse files
author
emmanue1
committed
Update website
1 parent e02a717 commit 49a3c98

File tree

9 files changed

+39
-16
lines changed

9 files changed

+39
-16
lines changed

css/jd.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

img/new.png

11.7 KB
Loading

index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

js/jd.min.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ task copyImg(type: Copy) {
3232
from 'src/img'
3333
include 'glyphicons-halflings.png', 'glyphicons-halflings-white.png', 'screenshot8.png', 'screenshot16.png',
3434
'screenshot17.png', 'paypal-donate.gif', 'Icon_java_64.png', 'bullet.gif', 'sub_bullet.gif', 'win.gif',
35-
'linux.gif', 'osx.gif', 'java.png', 'github.png', 'link.gif', 'eclipse.png', 'intellij.png'
35+
'linux.gif', 'osx.gif', 'java.png', 'github.png', 'link.gif', 'eclipse.png', 'intellij.png', 'new.png'
3636
into '../img'
3737
}
3838

website/src/css/jd.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,5 @@ footer{margin-bottom:15px;}
6969
.navbar .nav > li > a {padding: 10px 10px;}
7070
img.screenshot{box-shadow: 0 3px 2px #AAAAAA; margin: 0 0 5px 0;}
7171
}
72+
73+
#new{width:100px; height:100px; margin-top:-100px; position:relative; left:335px; top:23px;}

website/src/img/new.png

11.7 KB
Loading

website/src/index.html

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ <h1>Java Decompiler</h1>
4242

4343
<div class="container">
4444
<div class="row">
45-
4645
<section id ="jd-project">
4746
<div class="span12">
4847
<div class="page-header">
@@ -51,9 +50,11 @@ <h1>JD Project</h1>
5150
</div>
5251
<div class="offset1 span11">
5352
<div class="tabbable">
53+
<img id="new" src="img/new.png">
5454
<ul class="nav nav-tabs">
5555
<li class="active"><a id="jd-project-overview-tab" href="#jd-project-overview" data-toggle="tab">Overview</a></li>
5656
<li><a id="jd-project-main-features-tab" href="#jd-project-main-features" data-toggle="tab">Main Features</a></li>
57+
<li><a id="jd-gui-jd-core-preview-tab" href="#jd-gui-jd-core-preview" data-toggle="tab">JD-Core 1.0.0 preview</a></img></li>
5758
</ul>
5859
<div class="tab-content">
5960
<div class="tab-pane active" id="jd-project-overview">
@@ -89,11 +90,6 @@ <h1>JD Project</h1>
8990
<li><a class="link" href="http://docs.oracle.com/javase/tutorial/java/javaOO/localclasses.html">Local method classes</a> are not decompiled correctly.</li>
9091
</ul>
9192
</li>
92-
<li>Java 5
93-
<ul>
94-
<li><a class="link" href="http://docs.oracle.com/javase/1.5.0/docs/guide/language/static-import.html">Static Imports</a> are not displayed, but decompiled source codes are correct.</li>
95-
</ul>
96-
</li>
9793
<li>Java 7
9894
<ul>
9995
<li>The <a class="link" href="http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html">Auto-Closeable</a> syntactic sugar is not recognized.</li>
@@ -110,11 +106,34 @@ <h1>JD Project</h1>
110106
</li>
111107
</ul>
112108
</div>
109+
<div class="tab-pane" id="jd-gui-jd-core-preview">
110+
<h2>Preview</h2>
111+
<ul class="release">
112+
<li class="java">
113+
<div><a href="https://github.com/java-decompiler/jd-gui/releases/download/v1.4.1/jd-gui-1.4.1-jd-core-1.0.0-preview-20190315.zip"><strong>jd-gui-1.4.1-jd-core-1.0.0-preview-20190315.zip</strong></a></div>
114+
<div>Size : 9.62 MB</div>
115+
</li>
116+
</ul>
117+
<h2>Description</h2>
118+
<p>JD-Core 0.x.y is a first-generation Java decompiler, published in 2008. Like <a class="link" href="http://www.javadecompilers.com/jad">JAD</a>, JD-Core 0.x.y is powered by a "simple" byte-code pattern recognition engine. Decompiled source codes are often satisfactory, but this kind of decompiler has several structural limitations.</p>
119+
<p>More recent decompilers have not made this choice. <a class="link" href="https://github.com/JetBrains/intellij-community/tree/master/plugins/java-decompiler/engine">Fernflower</a> and <a class="link" href="https://bitbucket.org/mstrobel/procyon">Procyon</a> have introduced a new quality standard.</p>
120+
<p>In 2015, I started to rewrite from scratch a new Java decompiler. This new version uses <a class="link" href="https://en.wikipedia.org/wiki/Control-flow_graph">CFG</a>, includes many unit tests, and is design to be expandable.</p>
121+
<p>JD-Core 1.x.y can display now:</p>
122+
<ul class="list">
123+
<li>the <a class="link" href="http://docs.oracle.com/javase/tutorial/java/javaOO/localclasses.html">local method classes</a> (Java 1.1).</li>
124+
<li>the <a class="link" href="http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html">try-with-resources statements</a> (Java 7).</li>
125+
<li>the <a class="link" href="http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html">lambda expressions</a> (Java 8).</li>
126+
<li>the <a class="link" href="http://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html">default methods</a> in interfaces (Java 8).</li>
127+
</ul>
128+
<p>This preview allows you to compare JD-Core 0.7.1 and JD-Core-1.0.0.</p>
129+
<h2>How to launch the preview ?</h2>
130+
<p>Execute <i>"java -jar jd-gui-x.y.z.jar"</i> or <i>"java -classpath jd-gui-x.y.z.jar org.jd.gui.App"</i></p>
131+
</div>
113132
</div>
114133
</div>
115134
</div>
116-
</section>
117-
135+
</section>
136+
118137
<section id ="jd-gui" class="container">
119138
<div class="span12">
120139
<div class="page-header">

website/src/js/jd.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ var _gaq = [['_setAccount', 'UA-4144628-1'],
44
(function($) {
55
$(document).ready(function() {
66
// Google Analytics
7-
$('#jd-project-overview-tab') .on('mousedown', function() { _gaq.push(['_trackPageview', '/jd-project-overview']); });
8-
$('#jd-project-main-features-tab') .on('mousedown', function() { _gaq.push(['_trackPageview', '/jd-project-main-features']); });
7+
$('#jd-project-overview-tab') .on('mousedown', function() { _gaq.push(['_trackPageview', '/jd-project-overview']); });
8+
$('#jd-project-main-features-tab') .on('mousedown', function() { _gaq.push(['_trackPageview', '/jd-project-main-features']); });
9+
$('#jd-gui-jd-core-preview-tab') .on('mousedown', function() { _gaq.push(['_trackPageview', '/jd-core-1.0.0-preview']); });
910

1011
$('#jd-gui-overview-tab') .on('mousedown', function() { _gaq.push(['_trackPageview', '/jd-gui-overview']); });
1112
$('#jd-gui-download-tab') .on('mousedown', function() { _gaq.push(['_trackPageview', '/jd-gui-download']); });

0 commit comments

Comments
 (0)