Skip to content

Commit

Permalink
chore: switch org
Browse files Browse the repository at this point in the history
  • Loading branch information
zlataovce committed Jul 1, 2024
1 parent c9df421 commit 672bbac
Show file tree
Hide file tree
Showing 15 changed files with 4,787 additions and 4,783 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
alias(libs.plugins.teavm) // order matters?
}

group = "dev.cephx"
group = "run.slicer"
version = "${libs.versions.cfr.get()}-teavm-SNAPSHOT"
description = "A JavaScript port of the CFR decompiler."

Expand All @@ -21,7 +21,7 @@ java.toolchain {
}

teavm.js {
mainClass = "dev.cephx.cfr.Main"
mainClass = "run.slicer.cfr.Main"
moduleType = org.teavm.gradle.api.JSModuleType.ES2015
// obfuscated = false
// optimization = org.teavm.gradle.api.OptimizationLevel.NONE
Expand Down
9,528 changes: 4,764 additions & 4,764 deletions dist/cfr.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

<script src="https://cdn.jsdelivr.net/gh/leonardosnt/java-class-tools@master/dist/java-class-tools.min.js"></script>
<script type="module">
import { decompile } from "https://cdn.jsdelivr.net/gh/cephxdev/cfr@main/dist/cfr.js";
import { decompile } from "https://cdn.jsdelivr.net/gh/slicer-run/cfr@main/dist/cfr.js";

const decoder = new TextDecoder();
const readClassName = (buf) => {
Expand Down
4 changes: 4 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

rootProject.name = "cfr"
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package dev.cephx.cfr;
package run.slicer.cfr;

import dev.cephx.cfr.impl.ClassFileSourceImpl;
import dev.cephx.cfr.impl.OutputSinkFactoryImpl;
import run.slicer.cfr.impl.ClassFileSourceImpl;
import run.slicer.cfr.impl.OutputSinkFactoryImpl;
import org.benf.cfr.reader.api.CfrDriver;
import org.teavm.interop.Async;
import org.teavm.interop.AsyncCallback;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.cephx.cfr;
package run.slicer.cfr;

import org.teavm.jso.JSBody;
import org.teavm.jso.JSObject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.cephx.cfr.impl;
package run.slicer.cfr.impl;

import org.benf.cfr.reader.api.ClassFileSource;
import org.benf.cfr.reader.bytecode.analysis.parse.utils.Pair;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.cephx.cfr.impl;
package run.slicer.cfr.impl;

import org.benf.cfr.reader.api.OutputSinkFactory;

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.cephx.cfr.teavm;
package run.slicer.cfr.teavm;

import org.teavm.vm.spi.TeaVMHost;
import org.teavm.vm.spi.TeaVMPlugin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.cephx.cfr.teavm;
package run.slicer.cfr.teavm;

import org.teavm.model.*;
import org.teavm.model.instructions.ExitInstruction;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package run.slicer.cfr.teavm.classlib.java.util.logging;

public abstract class THandler {
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package dev.cephx.cfr.teavm.classlib.java.util.logging;
package run.slicer.cfr.teavm.classlib.java.util.logging;

import java.util.function.Supplier;
import org.teavm.classlib.PlatformDetector;
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dev.cephx.cfr.teavm.CFRPlugin
run.slicer.cfr.teavm.CFRPlugin
4 changes: 2 additions & 2 deletions src/teavm/resources/META-INF/teavm.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
mapClass|dev.cephx.cfr.teavm.classlib.java.util.logging.TLogger=java.util.logging.Logger
mapClass|dev.cephx.cfr.teavm.classlib.java.util.logging.THandler=java.util.logging.Handler
mapClass|run.slicer.cfr.teavm.classlib.java.util.logging.TLogger=java.util.logging.Logger
mapClass|run.slicer.cfr.teavm.classlib.java.util.logging.THandler=java.util.logging.Handler

0 comments on commit 672bbac

Please sign in to comment.