Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	build.gradle.kts
#	dist/cfr.js
#	docs/index.html
  • Loading branch information
zlataovce committed Jul 11, 2024
2 parents c6ea2d3 + 23234a1 commit b808305
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 18 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

val thisVersion = "0.1.0"

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

Expand All @@ -23,7 +23,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
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 b808305

Please sign in to comment.