-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b6a86f
commit 72fde57
Showing
119 changed files
with
1,702 additions
and
1,335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
<classpathentry excluding="com/jacoco/mcdata/nbtparser/" kind="src" path="src"/> | ||
<classpathentry kind="src" path="resources"/> | ||
<classpathentry kind="lib" path="D:/Development/json-simple-1.1.jar"/> | ||
<classpathentry kind="lib" path="D:/Source Code/enigma/enigma-0.15.153-all.jar"/> | ||
<classpathentry kind="lib" path="D:/Development/jd-core-1.1.3.jar"/> | ||
<classpathentry kind="lib" path="D:/Development/rsyntaxtextarea-3.0.4.jar"/> | ||
<classpathentry kind="lib" path="D:/Development/antlr-4.5-complete.jar"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>MCData</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>MCData</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Order is important : 'GenericContainerFactoryProvider' must be the last | ||
org.jd.gui.service.container.KarContainerFactoryProvider | ||
org.jd.gui.service.container.JavaModuleContainerFactoryProvider | ||
org.jd.gui.service.container.EarContainerFactoryProvider | ||
org.jd.gui.service.container.WarContainerFactoryProvider | ||
org.jd.gui.service.container.JarContainerFactoryProvider | ||
org.jd.gui.service.container.GenericContainerFactoryProvider |
1 change: 1 addition & 0 deletions
1
resources/META-INF/services/org.jd.gui.spi.ContextualActionsFactory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.jd.gui.service.actions.CopyQualifiedNameContextualActionsFactory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
org.jd.gui.service.fileloader.AarFileLoaderProvider | ||
org.jd.gui.service.fileloader.ClassFileLoaderProvider | ||
org.jd.gui.service.fileloader.EarFileLoaderProvider | ||
org.jd.gui.service.fileloader.JarFileLoaderProvider | ||
org.jd.gui.service.fileloader.JavaFileLoaderProvider | ||
org.jd.gui.service.fileloader.JavaModuleFileLoaderProvider | ||
org.jd.gui.service.fileloader.KarFileLoaderProvider | ||
org.jd.gui.service.fileloader.LogFileLoaderProvider | ||
org.jd.gui.service.fileloader.WarFileLoaderProvider | ||
org.jd.gui.service.fileloader.ZipFileLoaderProvider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
org.jd.gui.service.indexer.DirectoryIndexerProvider | ||
org.jd.gui.service.indexer.ClassFileIndexerProvider | ||
org.jd.gui.service.indexer.EjbJarXmlFileIndexerProvider | ||
org.jd.gui.service.indexer.JavaFileIndexerProvider | ||
org.jd.gui.service.indexer.JavaModuleFileIndexerProvider | ||
org.jd.gui.service.indexer.JavaModuleInfoFileIndexerProvider | ||
org.jd.gui.service.indexer.MetainfServiceFileIndexerProvider | ||
org.jd.gui.service.indexer.TextFileIndexerProvider | ||
org.jd.gui.service.indexer.WebXmlFileIndexerProvider | ||
org.jd.gui.service.indexer.ZipFileIndexerProvider | ||
org.jd.gui.service.indexer.XmlBasedFileIndexerProvider | ||
org.jd.gui.service.indexer.XmlFileIndexerProvider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.jd.gui.service.mainpanel.ContainerPanelFactoryProvider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.jd.gui.service.pastehandler.LogPasteHandler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
org.jd.gui.service.preferencespanel.UISingleInstancePreferencesProvider | ||
org.jd.gui.service.preferencespanel.UITabsPreferencesProvider | ||
org.jd.gui.service.preferencespanel.DirectoryIndexerPreferencesProvider | ||
org.jd.gui.service.preferencespanel.ClassFileSaverPreferencesProvider | ||
org.jd.gui.service.preferencespanel.ClassFileDecompilerPreferencesProvider | ||
org.jd.gui.service.preferencespanel.ViewerPreferencesProvider | ||
org.jd.gui.service.preferencespanel.MavenOrgSourceLoaderPreferencesProvider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.jd.gui.service.sourceloader.MavenOrgSourceLoaderProvider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
org.jd.gui.service.sourcesaver.ClassFileSourceSaverProvider | ||
org.jd.gui.service.sourcesaver.DirectorySourceSaverProvider | ||
org.jd.gui.service.sourcesaver.FileSourceSaverProvider | ||
org.jd.gui.service.sourcesaver.PackageSourceSaverProvider | ||
org.jd.gui.service.sourcesaver.ZipFileSourceSaverProvider |
34 changes: 34 additions & 0 deletions
34
resources/META-INF/services/org.jd.gui.spi.TreeNodeFactory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
org.jd.gui.service.treenode.ClassesDirectoryTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.ClassFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.CssFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.DirectoryTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.DtdFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.EarFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.EjbJarXmlFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.FileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.HtmlFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.JarFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.JavaFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.JavascriptFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.JavaModuleFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.JavaModulePackageTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.JsonFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.JspFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.KarFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.ManifestFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.MetainfDirectoryTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.MetainfServiceFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.ModuleInfoFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.PackageTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.PropertiesFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.SqlFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.SpiFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.TextFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.WarFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.WarPackageTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.WebinfLibDirectoryTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.WebXmlFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.XmlBasedFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.XmlFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.ZipFileTreeNodeFactoryProvider | ||
org.jd.gui.service.treenode.ImageFileTreeNodeFactoryProvider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
org.jd.gui.service.type.ClassFileTypeFactoryProvider | ||
org.jd.gui.service.type.JavaFileTypeFactoryProvider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.jd.gui.service.uriloader.FileUriLoaderProvider |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package com.jacoco.mcdata; | ||
|
||
import java.io.File; | ||
import java.io.FileOutputStream; | ||
import java.io.InputStreamReader; | ||
import java.io.PrintWriter; | ||
import java.net.URL; | ||
import java.nio.channels.Channels; | ||
import java.nio.channels.ReadableByteChannel; | ||
|
||
import org.json.simple.JSONArray; | ||
import org.json.simple.JSONObject; | ||
import org.json.simple.JSONValue; | ||
|
||
public class DownloadLatestVersion { | ||
|
||
public static void main(String[] args) throws Exception { | ||
URL manifestUrl = new URL("https://launchermeta.mojang.com/mc/game/version_manifest_v2.json"); | ||
JSONObject jo1 = (JSONObject) JSONValue.parse(new InputStreamReader(manifestUrl.openStream())); | ||
JSONObject version = (JSONObject) ((JSONArray) jo1.get("versions")).get(0); | ||
String id = version.get("id").toString(); | ||
URL url = new URL(version.get("url").toString());; | ||
File versionsDir = new File(Utils.getMinecraftDir(), "versions"); | ||
File versionDir = new File(versionsDir, id); | ||
versionDir.mkdirs(); | ||
|
||
JSONObject jo2 = (JSONObject) JSONValue.parse(new InputStreamReader(url.openStream())); | ||
PrintWriter writer = new PrintWriter(new File(versionDir, id + ".json")); | ||
writer.write(jo2.toString()); | ||
writer.close(); | ||
|
||
URL jarUrl = new URL(((JSONObject) ((JSONObject) jo2.get("downloads")).get("client")).get("url").toString()); | ||
ReadableByteChannel channel = Channels.newChannel(jarUrl.openStream()); | ||
FileOutputStream outStream = new FileOutputStream(new File(versionDir, id + ".jar")); | ||
outStream.getChannel().transferFrom(channel, 0, Long.MAX_VALUE); | ||
outStream.close(); | ||
channel.close(); | ||
} | ||
} |
Oops, something went wrong.