Eilionoir Tunnicliff
0f89fdc0e2
Readd hidden sidebar option and fix issue with portrait mode on compact iPhones
2023-03-05 16:08:05 -05:00
Duy Tran Khanh
e83b3a3bb3
Feature: mouse/hotbar gesture switches
...
Closes #519
2023-03-05 22:13:23 +07:00
Duy Tran Khanh
56bd77735c
Refactoring: move initKeycodeTable to CCUtils
2023-03-05 21:45:17 +07:00
Eilionoir Tunnicliff
8c90010b61
An actual workaround for the UI initialization bug without forcing the iPad UI
...
Basically consists of pushing the LauncherNewsViewController from LauncherNavigationController when the app first starts up, and setting the navigation bar items from the LNVC class. This commit also moves the account button to the right of the bar, removes the profile name outside of the list view, and does not appear on the Settings view. Removes the hidden sidebar option in favor of always hidden. Moves PID to the bottom of the General section footer. Tested on my iPad Pro (12.9-inch, 2nd generation), iPhone 14 Pro Max, iPhone 6s Plus, and iPhone SE (1st generation) over a grueling week of staring at code and banging my head against a wall. I'm going to bed now.
2023-03-05 00:23:31 -05:00
Duy Tran Khanh
1114a7a864
Feature: show pid in settings
2023-03-03 21:49:35 +07:00
Duy Tran Khanh
cf2ea1f478
Fix: regression in custom_env parser ignoring lines after comment
2023-03-03 21:49:35 +07:00
Stella
bc6c727163
Wording and grammar updates to README ( #514 )
2023-03-03 09:00:38 -05:00
Duy Tran Khanh
cc7f5e6aaa
Workaround: ptr overwritten issue with jre 17.0.7
2023-02-26 11:55:53 +07:00
Duy Tran Khanh
c431f9eb6f
Fix #512 : move spiral gamedir properties
2023-02-24 04:56:57 +07:00
Duy Tran Khanh
be528eb08a
Fix #511 : fixes for Spiral Knights
2023-02-23 18:17:26 +07:00
Duy Tran Khanh
d2986295ba
Feature(custom controls): menu button
...
When added to custom control, it will replace the traditional swipe
gesture, while also show the menu in place (aka context menu)
2023-02-23 18:13:14 +07:00
Duy Tran Khanh
67e5080cb5
tinygl4angle: add VertexAttrib functions
...
Copy from gl4es:
https://github.com/ptitSeb/gl4es/blob/3b926be6f2fb47a8befd0604e64008db3
e0d779a/src/gl/wrap/gl4eswraps.c#L670-L704
2023-02-21 17:57:30 +07:00
Duy Tran Khanh
aa4bbc90c6
Workaround: set back AVAudioSessionCategoryPlayback
...
Because microphone input is not currently working, audio session category is set back to its previous value to fix low volume issue.
2023-02-20 21:09:04 +07:00
Duy Tran Khanh
78e84807e6
Fix #507 : multipleTouchEnabled is not set
2023-02-17 06:20:49 +07:00
khanhduytran0
c0fa045730
Fix: deadlock UI init when debug_ipad_ui absent, for real
...
Turns out realUIIdiom called before hooking UIKit
2023-02-14 06:26:25 +07:00
khanhduytran0
43f122ad72
Revert "Take 3 billion on fixing the UI init bug temporarily"
...
This reverts commit 4b23d34254 .
2023-02-14 06:16:49 +07:00
Eilionoir Tunnicliff
4b23d34254
Take 3 billion on fixing the UI init bug temporarily
...
hidden sidebar no longer does anything, don't revert this because it's
the only thing we can currently use that works on iPhone, iPad and
iPod. breaks Apple TV but that doesn't matter atm
2023-02-13 17:55:05 -05:00
Eilionoir Tunnicliff
6959cf0322
Fix iPad UI bug
2023-02-13 17:00:36 -05:00
Eilionoir Tunnicliff
f51d87b882
Only force iPad workaround for iPhone/iPod
2023-02-13 10:14:30 -05:00
Duy Tran Khanh
be3a834b33
Fix(UI) empty line in action sheet; include missing header
2023-02-10 18:09:08 +07:00
Duy Tran Khanh
ac0687ca8f
Workaround(Input): treat horizontal scroll as vertical
...
The direction is unchecked: it may need to be inverted
2023-02-10 17:45:39 +07:00
khanhduytran0
03cb93245f
Workaround(iPhone, UI): set default ipados_ui to true
...
This workaround fixes 2 issues:
* Pointer lock does not work for some reason
* iPhones running iOS 15+ do not initialize UI
2023-02-09 21:59:49 +07:00
khanhduytran0
bc084c8112
Revert "Temporary fix for UI initialization bug"
...
This reverts commit 256cd3846d .
2023-02-09 20:05:45 +07:00
Eilionoir Tunnicliff
256cd3846d
Temporary fix for UI initialization bug
...
Using the iOS 14.0+ API for UISplitViewControllers broke init on those systems. Needs more investigation, to be done on another branch to prevent mainline breakage.
2023-02-09 00:14:03 -05:00
Eilionoir Tunnicliff
c42e5478c9
Revert "(Untested) Fix(UI): broken UI init in compact iPhones"
...
Changed the issue from UI not initializing (which affects all devices) to UI not initializing (on 5.5" and bigger) and just not working at all (on 4.7" and smaller) @khanhduytran0
2023-02-05 16:54:53 -05:00
Duy Tran Khanh
35802571f4
FIx(GyroInput): camera jumps + (WIP)orientation
...
Use DeviceMotion (gyroscope + accelerometer) instead of Gyro for less
jittering
FIXME: camera jumps upon rotating screen while gyro is active
2023-02-05 17:47:06 +07:00
Duy Tran Khanh
54c2564c2f
Feature: gyroscope controls
2023-02-05 12:16:46 +07:00
Duy Tran Khanh
5cad42909b
(Untested) Fix(UI): broken UI init in compact iPhones
2023-02-05 11:48:01 +07:00
Duy Tran Khanh
69f92a0209
Fix(settings): hide home indicator always disabled
2023-02-03 06:15:49 +07:00
Duy Tran Khanh
7f65ad1e4f
Fix window size for Minecraft 1.2.1-1.2.4 ( https://github.com/PojavLauncherTeam/PojavLauncher/commit/4c43522 )
2023-01-31 22:15:33 +07:00
Duy Tran Khanh
54a7f2b152
Fix(input_bridge): crash due to window resize called in wrong way
...
Actually, this pick up changes in
https://github.com/PojavLauncherTeam/PojavLauncher/commit/e2641813562c8
4290281c9f01d560ebca39ad595
2023-01-31 21:19:47 +07:00
Duy Tran Khanh
d94fc6a9ac
Chore: move config macros to generator
...
avoid rebuilding the whole project after every git commit
2023-01-31 19:16:50 +07:00
Duy Tran Khanh
f53c3910d5
Refactor(MCDL): cleanup unreachable code
...
turn out this piece of code is not useful now
2023-01-31 18:40:39 +07:00
Duy Tran Khanh
d4f78fda6f
Fix+Refactor(MCDL): simplify fetchLocalVersionList
...
Fix for the previous workaround: modded versions disappear
2023-01-31 18:23:40 +07:00
Duy Tran Khanh
f477db18a0
Workaround(MCDL): modded version breaks if vanilla not installed
2023-01-31 06:34:51 +07:00
Duy Tran Khanh
2d455861de
Fix(setupSlimmed): incorrect string format passed to NSString
...
no idea how this didn’t crash, but it’s better to change it to avoid the check being incorrect
2023-01-31 05:53:54 +07:00
khanhduytran0
9f9a3f706c
Fix: broken TrollStore self-JIT in commit 23d9338
...
This adds a boolean to toggle JIT check between jailbreak and csops
because the jailbreak detection checks for CS_PLATFORM_BINARY, which
is available for both jailbroken and TrollStore
2023-01-31 05:45:34 +07:00
Duy Tran Khanh
b9b0e0959b
Fix: broken mouse coord input again
...
Turns out another fix broke it
2023-01-30 21:59:51 +07:00
Duy Tran Khanh
d3743b3225
chore: set PATH for workflows
2023-01-30 10:20:40 +07:00
Duy Tran Khanh
fd436d9f88
Fix: issues with legacy versions
...
This picks up the following commits from Android repo:
*
https://github.com/PojavLauncherTeam/PojavLauncher/commit/4716e99df12ab
5bfcaade881774e3b07e8e35450: Don't call Display.create in AWTGLCanvas
constructor (fixes Minecraft 1.2.1-1.2.4)
*
https://github.com/PojavLauncherTeam/PojavLauncher/commit/693cff45b09b3
ca09784a3038a3f9c89cacd391f: Infdev cursor grab: the Pojav part +
Window resize on first key even poll (actual on iOS is on grab state
changes because Android's approach does not work)
*
https://github.com/PojavLauncherTeam/PojavLauncher/commit/ee39334bf31ed
0687c750f37229cf6bea8919b4c (Comment out unnecessary calls to resize)
2023-01-30 09:57:15 +07:00
Duy Tran Khanh
4c71a17a35
Fix(version picker): empty array/OOB crashes
2023-01-30 09:07:47 +07:00
Duy Tran Khanh
4e2a62d24b
Move strings to InfoPlist.strings, change AVAudioSession category
...
Change AVAudioSession category to AVAudioSessionCategoryPlayAndRecord
2023-01-30 08:40:27 +07:00
Duy Tran Khanh
9fb19fa211
Revert: Ask for microphone permission when launching the app
...
This partially reverts commit fe2b85ec32
Microphone permission is now only asked on-demand
2023-01-30 08:31:23 +07:00
Eilionoir Tunnicliff
fe2b85ec32
Ask for microphone permission when launching the app, if not already enabled
2023-01-29 13:18:33 -05:00
Eilionoir Tunnicliff
d1cc9ac977
Add "slim" builds ( #494 )
...
* Merge 'main' into 'slim-building' (#493 )
* Remove java-16-openjdk from environmentFailsafes()
Versions that use 16 can use 17 as well. Instead of wasting storage and installing both, use just 17 instead.
* Jailbreak JIT fixes
- palera1n detection
- enable JIT if jailbreak bit is set
* github.dev moment
Fix syntax error
* README changes
* Requirements + tvOS things
* Produce a "slimmed" build
Slimmed builds only include the Java 8 runtime, meaning only 1.16.5 and lower can be played. Made for those tight on storage or only using older versions.
* Move zip around
* No need for the * glob
* Escape globs
* --exclude instead of -x
I literally have no idea what's going on, this probably won't fix it
* Payload
* bruh
2023-01-27 09:18:50 -05:00
Eilionoir Tunnicliff
97c7972f55
Requirements + tvOS things
2023-01-26 11:36:34 -05:00
Eilionoir Tunnicliff
c5581e6342
README changes
2023-01-26 10:58:45 -05:00
Eilionoir Tunnicliff
a27876d187
github.dev moment
...
Fix syntax error
2023-01-26 10:26:01 -05:00
Eilionoir Tunnicliff
23d9338f04
Jailbreak JIT fixes
...
- palera1n detection
- enable JIT if jailbreak bit is set
2023-01-26 10:21:31 -05:00
Eilionoir Tunnicliff
7cb7578c17
Remove java-16-openjdk from environmentFailsafes()
...
Versions that use 16 can use 17 as well. Instead of wasting storage and installing both, use just 17 instead.
2023-01-26 09:45:55 -05:00