Commit Graph
997 Commits
Author SHA1 Message Date
Duy Tran Khanh bf58df6927 <:fr:855474693208014879> 2021-10-18 06:34:19 +07:00
Duy Tran KhanhandDuy Tran Khanh db0074d1e5 Merge custom control changes (#284)
* Move control loaders to CustomControlsUtils.m

* WIP Drawer support (currently broken)

Also, updated MetalANGLE for helping debug stuff on crash.

* temp

* ControlDrawer: free orientation

* Avoid scrolling the hotbar in grab mode

* Popover: fix the frame inside the arrow

* Changes

- Attempt to allow Microsoft login when offline.
- Custom controls: drawer and sub-buttons are now visible.
- Pickers in Preferences: pre-select at the saved index.

* Bump version code to 4, hide sub-button by default

* Fix text trucanting

* impl scroll buttons, rewrite some parts to objc

* Virtual mouse implementation

Also, possible fix for popover crashes on iPad

Exception type: NSInternalInconsistencyException
> Reason: Tried to set <UIBarButtonItem: 0x10fee5660> menuOnTouchDown
menu=0x2810dce10 image=<UIImage:0x280149050 symbol(system:
ellipsis.circle) {20, 19} baseline=3.5,contentInsets={1, 1.5, 1,
1.5},alignmentRectInsets={-0.5, 0, -0.5, 0}
config=<traits=(UserInterfaceIdiom = Pad, DisplayScale = 2,
DisplayGamut = sRGB, HorizontalSizeClass = Regular, VerticalSizeClass
= Regular, UserInterfaceStyle = Dark, UserInterfaceLayoutDirection =
LTR, PreferredContentSizeCategory = L, AccessibilityContrast =
Normal)>> as sourceView of
<_UIAlertControllerActionSheetRegularPresentationController:
0x12043f5a0>, even though it is not a kind of UIView.

Co-authored-by: Duy Tran Khanh <[email protected]>
2021-10-15 05:16:17 +07:00
Duy Tran Khanh b353a69421 Update README.md
OpenJDK 8 port was done for a long time
2021-10-05 05:40:27 +07:00
Duy Tran Khanh a3954539ea duplicate tag 2021-10-03 13:59:10 +07:00
Duy Tran Khanh c2a0e3ae80 Changes in LauncherPreferencesViewController
- Java arguments edit text box: moved the done button to the return button.
- New option: slideable hotbar. This option allows you to use a finger to slide between hotbar slots.
- View tag IDs are moved to macros.
2021-10-03 12:35:05 +07:00
Duy Tran Khanh b7e2334639 Bug fix: scroll the hotbar
since scrolling is too fast, disable it moment
2021-10-02 14:12:26 +07:00
Duy Tran Khanh ed54dd8474 @doregon didn't like it, so return to blur-then-terminate
but "According to Apple, ~~your app should not terminate on its own~~. Since the user did not hit the Home button, any return to the Home screen gives the user the impression that your app crashed. This is confusing, non-standard behavior and should be avoided."
2021-10-02 09:28:57 +07:00
Duy Tran Khanh 9f2b5be409 changes
Add some asserts in loadPreferences()
`-[UIApplication suspend]` transition
2021-10-01 20:40:47 +07:00
Duy Tran Khanh 4f59e0ffff PojavCore is now inside the main executable
This took so long since there was a failed attempt in unloading and
reloading JVM to support Forge 1.17.x. Next attempt would be rewrite
everything to Objective-C and move the JVM entry point to the start of
the game.
2021-10-01 11:14:05 +07:00
Duy Tran Khanh 7fb5b55d8b Override JNA to 5.8.0
This fixes LabyMod 1.8.9 crashing.
2021-09-27 11:06:15 +07:00
Adam Tunnic aee11c3a22 Update release.yml 2021-09-24 22:52:23 -04:00
Adam Tunnic ca4dd3e3e1 Create release.yml 2021-09-24 22:38:50 -04:00
Adam Tunnic 54fdad03a3 Rename ios.yml to development.yml 2021-09-24 22:37:50 -04:00
Adam Tunnic 2910a6340b Rename CI 2021-09-24 22:37:35 -04:00
Adam Tunnic 9d6a7c0e99 wrong branch but ok 2021-09-24 09:17:26 -04:00
Adam Tunnic c06ebc22f2 Generate dSYM for PojavLauncher main executable 2021-09-24 09:13:36 -04:00
Adam Tunnic 8f0a7a5cab Update ios.yml 2021-09-21 11:59:16 -04:00
Adam Tunnic 4fdc115ed8 Update ios.yml 2021-09-21 11:56:22 -04:00
Adam Tunnic 1153368ed5 Update CI to macOS Big Sur, Xcode 12.5.1 2021-09-21 11:54:36 -04:00
Adam Tunnic d6f3a0e636 1.3 is now 2.0 2021-09-21 11:47:59 -04:00
Duy Tran Khanh a26ce4b499 JRE failsafe: use java 17 when 16 is not installed 2021-09-21 15:27:00 +07:00
Duy Tran Khanh 267f96162b Update README.md 2021-09-18 20:29:15 +07:00
Duy Tran Khanh 699d3a3873 Update README.md 2021-09-18 20:28:27 +07:00
Duy Tran Khanh 64f4042103 Changes
- Downgraded to Mesa 21.0 since 21.2.? goes brrr
- Zink renderer is now visible in the renderer picker.
- Makefile: test multi-line ssh script moment
2021-09-18 19:52:09 +07:00
doregon 4658a55e89 Reorganize java home failsafe code 2021-09-18 02:23:13 -04:00
Adam Tunnic 03074d42f2 PojavCore, not libpojavexec 2021-09-17 20:24:21 -04:00
Duy Tran Khanh 5b68b0648b libpojavexec.dylib -> PojavCore 2021-09-17 07:06:49 +07:00
Duy Tran Khanh b2ffd5edc3 Changes
- libpojavexec.dylib is now PojavCore.framework.
- More changes for Zink renderer. Note that Mesa 21.0 is included instead of 21.2.1 due to the new version seems to be broken, only display glClearColor.
2021-09-17 07:00:14 +07:00
Duy Tran Khanh 8ffbc4f653 :fruhh: 2021-09-16 08:29:50 +07:00
Duy Tran Khanh 48c59f5697 Bug fix: java_home saved as "Java 8/16"
Issue is similar to what happened in #272
2021-09-16 08:17:42 +07:00
Duy Tran Khanh 7cd74e2004 Bug fix: version index is not set
This lead to wrong selected version in some cases.
2021-09-15 09:30:48 +07:00
Duy Tran Khanh 5dcacb6d00 Changes
- Fixes #272
- Replaced MGLLayer with EGL calls
- Re-implemented Zink renderer to work with new Renderer selection system (currently hidden due to unfinished)
2021-09-14 10:57:24 +07:00
Duy Tran Khanh 5d7a1369e6 Added OSMesa header files 2021-09-14 10:50:35 +07:00
Adam Tunnic 6d924a80e8 wtfman i did the same thing again 2 2021-09-13 23:39:09 -04:00
Adam Tunnic 6df3d3ea0b wtfman i did the same thing again 2021-09-13 23:34:24 -04:00
doregon 9c790cd936 Java home is now a UIPicker 2021-09-12 11:28:27 -04:00
doregon 0a979a90bc ahaha that didn't happen
hotfix for renderer switching
2021-09-12 10:44:21 -04:00
doregon a7cc15302c Allow version switches to change without restart 2021-09-12 10:26:42 -04:00
doregon af850c75a4 Merge remote-tracking branch 'refs/remotes/origin/main' 2021-09-11 22:09:50 -04:00
doregon bc2c679cd0 Ok Duy. 2021-09-11 22:09:32 -04:00
Duy Tran Khanh 719ad7e2f0 Update README.md
Change Discord invite link to #general-ios
2021-09-12 08:30:29 +07:00
doregon 38fbfe2b34 Make game directory option a picker
- Create and delete instances from inside the app
- Fix a wrong debug line
- Fix PojavLauncher Discord link (rip vanity url)
2021-09-11 20:34:08 -04:00
Duy Tran Khanh 4c96e6fc16 Added some null check asserts for Mojang login 2021-09-11 07:33:59 +07:00
Duy Tran Khanh 30f1b95693 Prepare for jailed version (no ETA)
I still have no idea how to start implementing JIT, do I just mprotect to swap between RW and RX?
2021-09-10 07:28:02 +07:00
Adam Tunnic 2f5917c8e7 Merge pull request #267 from asdfugil/main
CI Improvements
2021-09-07 07:39:29 -04:00
asdfugil 29d03fa2a5 CI Improvements
bro

Why is this so hard to get right

Hopefully this works

Maybe this will work?

install sed

also install fakeroot

remove space
2021-09-07 19:13:14 +08:00
doregon b38fe4df4e Better checks 2021-09-05 20:43:19 -04:00
doregon 1fe2e380af :waitwhat: Fix renderer issue 2021-09-05 18:40:14 -04:00
doregon 790fca8a5a Remove AppIcon-Black 2021-09-05 15:53:12 -04:00
doregon 0c1122c0ea Debug logging switch, currently not used 2021-09-05 15:01:35 -04:00