Commit Graph
526 Commits
Author SHA1 Message Date
Duy Tran Khanh deae572303 Update README.md 2021-02-21 07:53:13 +07:00
khanhduytran0 d4b962ae75 Completely fixed monitor size is 0x0 (Forge mouse input should work rn) 2021-02-21 07:44:51 +07:00
Duy Tran Khanh 39b21f6380 Update AccountJNI.java 2021-02-20 17:01:53 +07:00
Duy Tran Khanh ad25e21b64 Rewrote the Mojang authentication HTTP post 2021-02-20 16:17:35 +07:00
Duy Tran Khanh 3d951903c2 Remove the bottom offset since nav bar is hidden 2021-02-19 18:17:46 +07:00
Duy Tran Khanh d261fe97d3 Stills fixing x offset of notch 2021-02-19 17:46:40 +07:00
Duy Tran Khanh f51a7fbe20 Update SurfaceViewController.m 2021-02-19 17:23:11 +07:00
Duy Tran Khanh c8b32e6e97 Try to fix X offset of notch 2021-02-19 17:21:33 +07:00
Duy Tran Khanh 79431159fa [Experimental] Add offset for iPhone notch cutout 2021-02-19 16:40:58 +07:00
Duy Tran Khanh a49c4d4ea4 [Gesture] Reduce hold time to 400ms 2021-02-19 16:07:28 +07:00
Duy Tran Khanh 3505510914 Update GLFW.java 2021-02-18 19:02:46 +07:00
Duy Tran Khanh 43092d94e5 Stills fixing forge crashes 2021-02-18 18:54:27 +07:00
Duy Tran Khanh 6721469f6f Update GLFW.java 2021-02-18 17:29:33 +07:00
Duy Tran Khanh 89d47206fe Make the returned fb/window callback never null 2021-02-18 17:20:12 +07:00
Duy Tran Khanh 6a4960368c Update GLFW.java 2021-02-18 17:10:22 +07:00
Duy Tran Khanh 015912d69c Update GLFW.java 2021-02-18 17:04:36 +07:00
Duy Tran Khanh a52d6228ce Initial FramebufferSizeCallback: fix Forge error 2021-02-18 16:57:27 +07:00
Duy Tran Khanh 0976de7038 [Initiap resize] Add null check for Forge set null 2021-02-18 16:20:35 +07:00
Duy Tran Khanh dacd9dd375 Merge branch 'main' of [email protected]:PojavLauncherTeam/PojavLauncher_iOS.git 2021-01-03 15:57:52 +07:00
Duy Tran Khanh 7a62c8e1af Custom ClassLoader (attempt fix Forge and Fabric) 2021-02-18 15:57:24 +07:00
Duy Tran Khanh 25f262b622 Update README.md 2021-02-18 07:07:08 +07:00
Duy Tran Khanh 9079d1ad2e Update SurfaceViewController.m 2021-02-18 07:02:06 +07:00
khanhduytran0 a4a5abba09 Get Minecraft 1.13.2 and below to works 2021-02-18 06:47:15 +07:00
khanhduytran0 724829d164 Fix resize crashes 2021-02-17 18:54:20 +07:00
Duy Tran Khanh eab1fe58cc Update SurfaceViewController.m 2021-02-17 15:07:55 +07:00
Duy Tran Khanh 77efcb5fe3 Update SurfaceViewController.m 2021-02-17 15:06:11 +07:00
Duy Tran Khanh f2ab2d4825 Set preferredFramesPerSecond to 1000 2021-02-17 14:34:01 +07:00
Duy Tran Khanh 00660a2c2e Back to sudo 2021-02-17 06:10:54 +07:00
Duy Tran Khanh 7e2ea1de25 Update build_package.sh 2021-02-17 06:07:42 +07:00
Duy Tran Khanh 8ca90beeb5 Update build_package.sh 2021-02-17 06:04:31 +07:00
Duy Tran Khanh f5d93ea542 Add a chown to fix more crashes 2021-02-17 06:01:07 +07:00
Duy Tran Khanh 58d7216894 Stills fixing LWJGLX window stuff
Attempt to get 1.13.2 and below works.
2021-02-16 20:40:22 +07:00
Duy Tran Khanh 3e425bbc36 Use a dummy implementation of Narrator library 2021-02-16 17:29:04 +07:00
Duy Tran Khanh 8309b43732 Update README.md 2021-02-15 13:31:01 +07:00
Duy Tran Khanh b1f449b91d Prevent from running directly on command line 2021-02-15 12:38:52 +07:00
Duy Tran Khanh 7b136f29d6 Update GLFW.java 2021-02-15 11:30:20 +07:00
Duy Tran Khanh 32ff6237dd Possibility fixes #39: Unsafe.getInt() crashes
# Problematic frame:
# V  [libjvm.dylib+0x982a60]  Unsafe_GetInt(JNIEnv_*, _jobject*,
_jobject*, long)+0x104
J 373  jdk.internal.misc.Unsafe.getInt(Ljava/lang/Object;J)I
java.base@16 (0 bytes) @ 0x0000000d40e0f254
[0x0000000d40e0f1c0+0x0000000000000094]
j  sun.misc.Unsafe.getInt(Ljava/lang/Object;J)I+5 jdk.unsupported@16
j  org.lwjgl.glfw.GLFWVidMode.nblueBits(J)I+10
j  org.lwjgl.glfw.GLFWVidMode$Buffer.blueBits()I+4
j  dey.<init>(Lorg/lwjgl/glfw/GLFWVidMode$Buffer;)V+38
j  der.a()V+47
j  der.<init>(J)V+17
j  eau$$Lambda$2435+0x0000000300729bf8.createMonitor(J)Lder;+5
j  dev.<init>(Ldes;)V+72
j  eau.<init>(Ldjz;)V+19
j  djz.<init>(Ldsz;)V+666
j  net.minecraft.client.main.Main.main([Ljava/lang/String;)V+1250
v  ~StubRoutines::call_stub
j
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflec
t/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
java.base@16
j
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;
[Ljava/lang/Object;)Ljava/lang/Object;+113 java.base@16
j
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Obj
ect;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base@16
j
java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)L
java/lang/Object;+59 java.base@16
j
net.kdt.pojavlaunch.Tools.lambda$launchMinecraft$0(Ljava/util/List;Lnet
/kdt/pojavlaunch/JMinecraftVersionList$Version;[Ljava/lang/String;)V+71
j  net.kdt.pojavlaunch.Tools$$Lambda$69+0x00000003001db880.run()V+12
j  java.lang.Thread.run()V+11 java.base@16
v  ~StubRoutines::call_stub

siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr:
0x000000011fcf8000
2021-02-15 11:16:31 +07:00
Duy Tran Khanh 57e626b3d3 Display error when attempt run on command line 2021-02-14 19:22:44 +07:00
Duy Tran Khanh 40ddae4ec8 Update JavaLauncher.c 2021-02-14 14:05:10 +07:00
Duy Tran Khanh 2ded71b09d Automatically chmod the java commmand
This could fix some crashes (accroding to
https://github.com/PojavLauncherTeam/PojavLauncher_iOS/issues/39#issuec
omment-778659542)
2021-02-14 13:46:28 +07:00
Duy Tran Khanh bd7f9917d4 Disable writing currargs_generated.txt 2021-02-14 12:13:36 +07:00
Duy Tran Khanh 25d22e13ab Try to fix Mojang login 2021-02-14 10:22:36 +07:00
Duy Tran Khanh 49ea01d7e6 Auto create launcher_profiles.json if necessary
This fixes Fabric and OptiFine installer errors.
2021-02-14 06:24:42 +07:00
Duy Tran Khanh 098fcf03f8 Update README.md 2021-02-13 08:14:16 +07:00
Duy Tran Khanh d82d70d631 Fix Microsoft login 2021-02-13 07:57:29 +07:00
Duy Tran Khanh 111e8f9519 [Keyboard] Correct the return button behavior
- Pressing return will send the Enter key to game, but not dismiss the
keyboard since some input boxes in game could be multi-line.
- Press Keyboard (hide keyboard button) no longer trigger Enter key.
v1.0
2021-02-12 11:39:54 +07:00
Duy Tran Khanh de3d9a9c34 More attempt on iOS 12 compatibility 2021-02-12 08:42:49 +07:00
Duy Tran Khanh c533c614bd Try to fix iOS 12 compatibility; Fixes enter key 2021-02-12 08:04:25 +07:00
Duy Tran Khanh 8b895bc0a7 { 2021-02-11 20:24:55 +07:00
Duy Tran Khanh 7c133037cd Bug fix: hide keyboard caused trigger Enter key 2021-02-11 20:20:38 +07:00