Commit Graph
1085 Commits
Author SHA1 Message Date
Duy Tran Khanh 12862ca5f3 Update SurfaceViewController.m 2022-02-18 16:24:58 +07:00
Duy Tran Khanh 8575e9f2f6 Bug fixes
- Random infinite game launching process
- Input not working on 1.13+ when `Restart before launching game` is
enabled.
2022-02-18 16:21:48 +07:00
Adam Tunnic 6f7a8a7af2 Disable virgl 2022-02-14 09:14:55 -05:00
Adam Tunnic a736c900c0 Update LauncherPreferencesViewController.m 2022-02-14 08:57:12 -05:00
Adam Tunnic 959a4e2290 Merge branch 'backend-virgl' into main 2022-02-14 08:52:10 -05:00
Silly Sock a022974429 Update README.md (#324) 2022-02-14 08:47:06 -05:00
Duy Tran Khanh a23f0cf30e CC editor: view controller now follow bounds(#326) 2022-02-14 06:04:43 +07:00
Duy Tran Khanh f48408ced0 Only load Alderis.framework when needed 2022-02-13 04:36:49 +07:00
Duy Tran Khanh 8e0bff8ce6 Remove codesign from Alderis + thin lib 2022-02-10 10:32:48 +07:00
Adam Tunnic 2c573318bf Add A7 warning 2022-02-08 09:58:43 -05:00
Adam Tunnic 12731b5079 Update informational.yml 2022-02-08 09:20:29 -05:00
Duy Tran Khanh e14e945a68 Fixes swipeable button state handling 2022-02-08 07:06:58 +07:00
Adam Tunnic 3ece9e2ccb Workflow changes part 2 2022-02-07 01:13:35 -05:00
Adam Tunnic 2d19f389e4 Workflow changes and typo fix 2022-02-07 01:08:23 -05:00
Adam Tunnic bec85f6962 FAQ changes 2022-02-07 00:57:50 -05:00
Adam Tunnic b9d2d2042b Add changelog for 2.1 release 2022-02-07 00:45:16 -05:00
Adam Tunnic 50a8cf7adf Merge branch 'main' of [email protected]:PojavLauncherTeam/PojavLauncher_iOS.git 2022-02-06 19:44:25 -05:00
Adam Tunnic 0c0472e6f4 Why did I add set -e 2022-02-06 19:44:05 -05:00
Duy Tran Khanh bd6ba67745 Bug fix: Arc DNS injector breaks on Java 16+
This is caused by a missing function in our class loader.

Error:
System class loader does not define the
appendToClassPathForInstrumentation method
Unable to add
/Applications/PojavLauncher.app/libs/arc_dns_injector.jar to system
class path - the system class loader does not define the
appendToClassPathForInstrumentation method or the method failed
FATAL ERROR in native method: processing of -javaagent failed,
appending to system class path failed
2022-02-07 05:20:05 +07:00
Duy Tran Khanh c967c3df7a Change how the login progress is displayed
Login progress now displays on the title bar instead of a dialog. This
will prevent infinite loading in case a connection error occurs.
Closes #315
2022-02-06 15:14:56 +07:00
Adam Tunnic b4aa54c50e Minor bug fix for Arc capes switch 2022-02-05 11:30:44 -05:00
Adam Tunnic 372831bc9e Add Arc capes 2022-02-05 11:28:51 -05:00
Duy Tran Khanh e5018cc094 Bug fix: Fabric 1.17+ crash at startup(fixes #304)
Microsoft account now set accountType to msa.
Minor change in custom control view controller.
2022-02-05 16:47:04 +07:00
Duy Tran Khanh d607cf346f Fix broken share log 2022-02-04 06:40:49 +07:00
Duy Tran Khanh 29865b9584 I’m too tired of getting dpkg exits, so it’s here 2022-02-02 08:31:05 +07:00
Duy Tran Khanh dc5c5a9c65 [Custom controls] Added color picker for iOS < 14
Might aswell add an option to optionally use this instead of the system
color picker on iOS 14+. Used library: Alderis

Other changes
- [Custom controls] The editor is now fullscreen due to the
presentation of the color picker.
- Fixes scroll wheel input is always int
2022-02-01 21:58:54 +07:00
Adam Tunnic 30e51de2cd oops 2022-01-30 10:47:34 -05:00
Adam Tunnic df8c8fc85f use gnproc and nproc (for procursus on macos)
on the road development is bumpy
2022-01-30 10:45:04 -05:00
Adam Tunnic 5dd76bc294 Bump to Xcode 13.2.1 pt 2 2022-01-29 23:20:22 -05:00
Adam Tunnic f5dc3f3f8f Bump to Xcode 13.2.1 2022-01-29 23:19:54 -05:00
Duy Tran Khanh 6ddcfbe47d Makefile: multi-jobs building native code 2022-01-30 06:51:04 +07:00
Adam Tunnic fcfa3d6d28 Fix issue with text alignment 2022-01-28 18:16:48 -05:00
3105c754a4 Merge unjailbroken changes with main (#313)
* fix that lol

* IPABuilder moment

* typo moment

* Hooking changes
Now hook only dladdr and realpath, JRE works now. However, need to obtain libffi.

* Sole more changes

Add RPATH to libraries
Hook dlopen since loading libawt_headless somehow point to Frameworks
directory.

* Update development.yml

* Update development.yml

Co-authored-by: Duy Tran Khanh <[email protected]>
Co-authored-by: Duy Tran Khanh <[email protected]>
2022-01-28 17:42:22 -05:00
Duy Tran Khanh 71271fbed4 Added readable MSA errors 2022-01-26 08:49:10 +07:00
Adam Tunnic 623f336c6f Merge remote-tracking branch 'refs/remotes/origin/main' 2022-01-23 20:46:46 -05:00
Adam Tunnic cedfe8f38c Finish make ipa
Still requires proper codesigning afterwards, and until I figure out the depends folder you'll need to download a copy of the Azul JDK artifact on our android-openjdk-build-multiarch repository and extract it to depends/jre. Tested and working on my MacBook Pro, although I need to find out why libjsig.dylib is defined twice (this issue doesn't hinder the build though, install_name_tool just doesn't apply changes).
2022-01-23 20:46:31 -05:00
Duy Tran Khanh 2f292c7a15 Better click handling 2022-01-22 06:52:18 +07:00
khanhduytran0 fbde4948d5 Various bug fixes
- Input cursor movement seems too fast, attempt to reduce it by setting larger font size in the hidden text field.
- latestlog.txt doesn't log in 1.12+ since Log4j patch. Fixed by adding some config lines.
- Makefile: building is broken when run make from a path with space(s). Fixed by handling spaces with backslashes.
- text2speech is not overridden properly. Fixed by excluding it from download list and adding launcher.jar itself to the classpath.
- XML log output in < 1.12 since Log4j patch. Fixed by using our own configuration file.

Some more changes:
- Commented out a debug line in LWJGLX
- Fix a typo.
- JavaLauncher: use (ObjC)BOOL instead of (std)bool.
2022-01-17 08:18:06 +07:00
Duy Tran Khanh 50bdb73ab8 Update LauncherPreferencesViewController.m
This line was mistakenly removed
2022-01-14 13:25:19 +07:00
Duy Tran Khanh c226931441 Added VGPU renderer
Commit:
https://github.com/PojavLauncherTeam/VGPU/commit/9f4ded5934b24c62368d70
1647855c9c9077d903
2022-01-14 12:37:16 +07:00
Adam Tunnic cd811d9aca Consolidate some more code, fix my dumb mistake 2022-01-12 11:45:58 -05:00
Adam Tunnic 3084243fec Fix undeclared identifier 2022-01-12 11:15:55 -05:00
Adam Tunnic 08b94c340d Merge remote-tracking branch 'refs/remotes/origin/main' 2022-01-12 09:56:53 -05:00
Adam Tunnic 77a817d937 Consolidate some code 2022-01-12 09:56:40 -05:00
Duy Tran Khanh ef2e200e28 Bug fix: inputStringLength is not set back to 40
This caused a bug that clears the text when pressing backspace after
the keyboard is displayed again.
2022-01-12 07:02:05 +07:00
khanhduytran0 82dc17cd9c Support for input cursor movement from keyboard
New class: TrackedTextField. This class keeps track of the pointer in the text field. The hidden text field now has 40 placeholder spaces and the pointer is placed at the middle. When typing, placeholder spaces won't get removed as before. Autocorrect seem to be broken a bit for now.

Additional changes:
- Added missing GLFW functions (array version of other functions)
- Hotbar handling: doubled barWidth and barHeight

Bug fix:
- Touching onto the hotbar breaks the handling of on-screen tap/long-press gestures
2022-01-11 13:58:16 +07:00
Duy Tran Khanh 51b55b0e07 Remove duplicated code 2022-01-04 10:12:04 +07:00
Duy Tran Khanh 93b146d65a Use the old jvm arguments parser back for now
There’s no handling for backslash yet, or ignoring spaces inside delimiters.
2022-01-04 10:06:34 +07:00
khanhduytran0 b6f552df85 Keyboard + Mouse input handling; some cleanups
* Keyboard input: KeyboardInput.m
- Requires iOS 13.4. Used pressesBegan and pressesEnded.
- Not all keys are handled, these will be handled later.

* Mouse input
- Requires iOS 13.0 for hovering. Used UIHoverGestureRecognizer.
- Requires iOS 14.0 for L/R mouse buttons and scroll handling. Used GCMouse for now. We will use iOS 13.4(?)'s API later.
- Pointer lock is not yet handled.

These above apply to iPadOS aswell, not sure about tvOS. iPhone users need to disable "Perform Touch Gestures" in the AssistiveTouch Accessibility settings in order to get the pointer hovering to work.

* Cleanups
- Use asprintf instead of sprintf when possible
- CallbackBridge functions: removed unnecessary JNI fields.
- Condition cleanup (managing virtual mouse position).
2022-01-04 09:55:47 +07:00
Duy Tran Khanh 8624e54630 Bug fix: NPE when setting inherited fields
Unable to insert id=null
java.lang.NoSuchFieldException: id
	at java.lang.Class.getDeclaredField(Class.java:2070)
	at net.kdt.pojavlaunch.Tools.insertSafety(Tools.java:544)
	at net.kdt.pojavlaunch.Tools.getVersionInfo(Tools.java:466)
	at net.kdt.pojavlaunch.PLaunchApp.launchMinecraft(PLaunchApp.java:61)
	at
net.kdt.pojavlaunch.uikit.UIKit.callback_SurfaceViewController_launchMi
necraft(UIKit.java:104)
	at net.kdt.pojavlaunch.uikit.UIKit.launchUI(Native Method)
	at net.kdt.pojavlaunch.PLaunchApp.main(PLaunchApp.java:40)
2022-01-02 06:25:40 +07:00