Age | Commit message (Collapse) | Author |
|
Still in early development, Windows support is incomplete.
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
API:CHANGE
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
This surpasses the warning of `Unable to locate method mapping for @At(INVOKE.<target>) 'Lorg/apache/logging/log4j/Logger;warn(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V'`.
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
API:CHANGE
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Otherwise ASAN does not seem to run (if terminated).
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
API:ADD
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
WinSock does not use errno.
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
The former approach, strerror(3), is not working on Win32 errors (GetLastError()) or WinSock errors (WSAGetLastError()).
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
API:CHANGE
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
This patch made several changes to correctly build libac on Windows:
1. Deprecated PkgConfig on Unix. On both platforms, libac requires the JSON-C CMake module to locate libraries (whether is dynamic or static) and headers. On Windows, the common practice is to statically link the library, so libac now provides setup.bat to automatically clone JSON-C and build it. In CMakeLists.txt, libac will automatically pick up the in-tree JSON-C build if it presents. Otherwise, it will use the system default's. Users can override the CMAKE_PREFIX_PATH to supply a custom JSON-C library if it is not found in-tree.
2. Switched from #include <json-c/xxx.h> to <xxx.h>, as the former (current) approach is non-standard and depends on the system header locations. The later (new) approach relies on CMake to supply header search paths, which works on Windows as well.
3. Deprecated --version-script on Unix linkers. Instead, libac now uses -fvisibility (https://gcc.gnu.org/wiki/Visibility) on GCC or LLVM, as well as __declspec(dllexport) on MSVC to export selected symbols. A new macro, LIBAC_EXPORT, is defined in incl.h (new), and all functions needed to export are marked with that macro.
4. Changed several codes (mostly socket-related) to work on Windows.
5. Massive rewrite of CMake in preparation of further installation and static library support.
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
|
|
|
|
java.lang.IllegalAccessError: class net.minecraft.entity.mob.ZombieVillagerEntity tried to access private field net.minecraft.entity.LivingEntity.LOGGER (net.minecraft.entity.mob.ZombieVillagerEntity and net.minecraft.entity.LivingEntity are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @3e77a1ed)
at net.minecraft.entity.mob.ZombieVillagerEntity.writeCustomDataToNbt(ZombieVillagerEntity.java:83)
at net.minecraft.entity.Entity.writeNbt(Entity.java:1506)
at net.minecraft.entity.Entity.saveSelfNbt(Entity.java:1447)
at net.minecraft.entity.Entity.saveNbt(Entity.java:1455)
at net.minecraft.world.storage.EntityChunkDataAccess.method_31734(EntityChunkDataAccess.java:102)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at net.minecraft.world.storage.EntityChunkDataAccess.writeChunkData(EntityChunkDataAccess.java:100)
at net.minecraft.server.world.ServerEntityManager.trySave(ServerEntityManager.java:248)
at net.minecraft.server.world.ServerEntityManager.method_31846(ServerEntityManager.java:314)
at it.unimi.dsi.fastutil.longs.LongIterable.forEach(LongIterable.java:74)
at net.minecraft.server.world.ServerEntityManager.save(ServerEntityManager.java:308)
at net.minecraft.server.world.ServerWorld.save(ServerWorld.java:600)
at net.minecraft.server.MinecraftServer.save(MinecraftServer.java:577)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:823)
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:685)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:290)
at java.base/java.lang.Thread.run(Thread.java:833)
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
|
|
|
|
API:ADD
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
API:CHANGE
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
API:ADDITION
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|
|
Signed-off-by: Trumeet <yuuta@yuuta.moe>
|