Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

ASM long -> 3 int transformation for light engine #84

Open
wants to merge 65 commits into
base: MC_1.18
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 57 commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
050d5c8
Add processCubeUnloads to ASM transformer
Barteks2x Feb 18, 2021
c9847d5
Add scheduleCubeUnload to ASM transformer
Barteks2x Feb 18, 2021
857a540
Add saveAllCubes to ASM transformer, prepare for adding cubeSave
Barteks2x Feb 18, 2021
206349d
Add cubeSave to ASM transformer
Barteks2x Feb 18, 2021
972d662
Added basic remapping
BelgianSalamander Sep 27, 2021
ffa599f
ASM to change computedLevels and queues in DynamicGraphMinFixedPoint …
CursedFlames Sep 25, 2021
4f3033f
Fixed method remapping
BelgianSalamander Sep 28, 2021
3cc91ca
Added data flow analysis
BelgianSalamander Sep 30, 2021
be9196f
SkyLightEngine now remaps fine
BelgianSalamander Oct 5, 2021
6ec4ba5
Created LinkedInt3HashSet. Still very buggy
BelgianSalamander Oct 7, 2021
0d30ddf
Fixed LinkedInt3HashSet
BelgianSalamander Oct 7, 2021
7348981
Added LinkedInt3HashSet to DynamicGraphMinFixedPoint
BelgianSalamander Oct 7, 2021
70ddf6e
implement a fast hashmap for 3D integer points to unsigned byte values
DaMatrix Oct 7, 2021
06eaac7
add poll method to Int3UByteLinkedHashMap
DaMatrix Oct 7, 2021
d0ff0fe
Added removeIf, MinPoint abstract methods and annotations
BelgianSalamander Nov 17, 2021
b9c1df6
Nearly finished DynamicGraphMinFixedPoint transform
BelgianSalamander Nov 19, 2021
b1592f0
Added TypeTransformer system
BelgianSalamander Jan 3, 2022
aa0be02
Started fixing DUP and SWAP
BelgianSalamander Jan 4, 2022
7e1b02e
Fixed new getSyntheticEmitter
BelgianSalamander Jan 10, 2022
d16ad40
Created TypeTransformerMethods test
BelgianSalamander Jan 11, 2022
eef8984
Can now load pre-transformed classes from .mixin.out
BelgianSalamander Jan 11, 2022
0ff1e11
Added basic support for mixin's invokers
BelgianSalamander Jan 12, 2022
9ddf891
Fixed unit test
BelgianSalamander Jan 12, 2022
f09903c
Added interface system
BelgianSalamander Jan 13, 2022
70336fc
Added variables to JSONBytecodeFactory. Worlds load!!!
BelgianSalamander Jan 13, 2022
44c87ed
Fixed last warning!
BelgianSalamander Jan 13, 2022
59668b9
Removed class duplication
BelgianSalamander Jan 31, 2022
2cdd66c
Add ConstructorReplacer
BelgianSalamander Jan 31, 2022
e2be851
Replaced interface system with better invoker replacement
BelgianSalamander Jan 31, 2022
e548cbc
Small cleanup
BelgianSalamander Feb 1, 2022
48e4060
Temporary fix for CubicAquifer ArrayIndexOutOfBoundsException for lar…
BelgianSalamander Feb 1, 2022
854ec76
Fixed checkstyle syntax issues
BelgianSalamander Feb 1, 2022
72b9ea7
Passes CheckStyle
BelgianSalamander Feb 1, 2022
a88cecf
Documentation
BelgianSalamander Feb 8, 2022
16f3602
Fixed something from previous commit
BelgianSalamander Feb 9, 2022
c381b0e
Added type inference unit test
BelgianSalamander Feb 10, 2022
733c15c
Added test for config
BelgianSalamander Feb 11, 2022
9e68f02
Merge branch 'MC_1.17' into MC_1.17_lightEngineAsm
BelgianSalamander Feb 13, 2022
b776291
Fixed mistake from merge
BelgianSalamander Feb 19, 2022
f0f63e6
Start adding info to crash log
BelgianSalamander May 22, 2022
31449f4
Merge 1.18 into ASM
BelgianSalamander Nov 15, 2022
4d8dda3
Automatically map the tt config
BelgianSalamander Nov 18, 2022
bd522ad
Get type info at compile time
BelgianSalamander Nov 18, 2022
271a93c
Actually load type info
BelgianSalamander Nov 20, 2022
c50ddd6
Worlds load!
BelgianSalamander Nov 22, 2022
7fe5b81
Fix Aquifer
BelgianSalamander Nov 22, 2022
9f0d28f
Much needed clean-up
BelgianSalamander Nov 22, 2022
8bea7aa
Make tests work
BelgianSalamander Nov 22, 2022
f8b060b
Merge with upstream
BelgianSalamander Apr 28, 2023
af0c492
Fix loom issues
BelgianSalamander Apr 28, 2023
ba21029
Remove method alias system - don't know why I added it in the first p…
BelgianSalamander Jun 25, 2023
bc4109a
Start docs
BelgianSalamander Jun 25, 2023
660f14a
Bump dasm and javaheaders version to get around jitpack issues
Barteks2x Jun 25, 2023
7b77abc
Remap names in ASMConfigPlugin for dasm
Barteks2x Jun 25, 2023
85a4c56
Fix checkstyle and CubicChunksCore submodule
Barteks2x Jun 25, 2023
48cc80a
Merge remote-tracking branch 'upstream/MC_1.18' into MC_1.17_lightEng…
BelgianSalamander Jun 25, 2023
b5dc953
Small merge fixes
BelgianSalamander Jun 25, 2023
06fa6e1
Make type hint specification more sensible
BelgianSalamander Jul 1, 2023
a0db0a3
Start addressing minor review comments
BelgianSalamander Jul 4, 2023
91e9a13
Fix unit test issue
BelgianSalamander Jul 5, 2023
c933a82
More small fixes + renaming
BelgianSalamander Jul 16, 2023
5c31315
pass checkstyle
CursedFlames Jul 16, 2023
69b25f4
remove unused invokers field on Config
CursedFlames Jul 16, 2023
e330b41
misc minor tweaks
CursedFlames Jul 16, 2023
5f647d8
Int3List bounds checking + misc
CursedFlames Jul 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ forge*changelog.txt

# Files generated by ./gradlew check ?
/logs/latest.log
/logs/
/logs/

# JVM crash logs
**pid*.log
2 changes: 1 addition & 1 deletion .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@file:Suppress("INACCESSIBLE_TYPE", "UnstableApiUsage")

import io.github.opencubicchunks.gradle.GeneratePackageInfo
import io.github.opencubicchunks.gradle.TypeTransformConfigGen
import org.gradle.internal.os.OperatingSystem
import java.util.*

Expand All @@ -18,6 +19,7 @@ plugins {
id("io.github.opencubicchunks.gradle.mcGitVersion")
id("io.github.opencubicchunks.gradle.mixingen")
id("io.github.opencubicchunks.gradle.dasm")
id("io.github.opencubicchunks.gradle.tt")
}

val minecraftVersion: String by project
Expand Down
3 changes: 1 addition & 2 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ repositories {
}

dependencies {
implementation "com.github.OpenCubicChunks:dasm:83a8175258"

implementation 'net.fabricmc:fabric-loom:1.1-SNAPSHOT'
implementation 'net.fabricmc:mapping-io:0.2.1'
implementation 'com.github.OpenCubicChunks:dasm:9709b98'
implementation 'org.ow2.asm:asm:9.3'
implementation 'org.ow2.asm:asm-tree:9.1'
implementation 'org.ow2.asm:asm-util:9.1'
Expand Down
Loading