Commit Graph

21 Commits

Author SHA1 Message Date
Mis012
ab5b600bf1 run whitespace_format.py --add-new-line-marker-at-end-of-file --remove-trailing-whitespace --remove-trailing-empty-lines --new-line-marker=linux --normalize-non-standard-whitespace=remove on src/ 2025-02-05 16:27:17 +01:00
Julian Winkler
0dfcb9324f drop GTK < 4.14 ifdefs 2024-12-22 23:40:11 +01:00
Julian Winkler
f3bc468a1c drop Skia dependency
Everything is implementede using GTK Scene Graph now. Skia is no longer
needed.
2024-12-22 12:30:29 +01:00
Julian Winkler
bf610d3504 implement Activity.isInMultiWindowMode() 2024-12-22 10:24:54 +01:00
Mis012
0803848c6d api-impl: misc stubs/additions 2024-11-30 18:54:53 +01:00
Daniel Panero
5f6943fd81 Add backbutton 2024-11-17 23:37:10 +00:00
Julian Winkler
0d5150083a remove spacial handling for Activity.recreateActivity()
This prevents the onStart() method being called twice for the toplevel
Activity.
2024-10-07 11:55:33 +02:00
Julian Winkler
1b46d728e3 implement Activity.onPostCreate() and onPostResume()
These are used by androidx to handle the Fragment lifecycle
2024-10-05 22:45:17 +02:00
Julian Winkler
f3092fd4bd implement file sharing by file descriptor
Using custom gdbus code, as libportal doesn't expose the raw
org.freedesktop.portal.OpenURI.OpenFile method.
2024-10-03 15:57:44 +02:00
Julian Winkler
1309eb223a replace deprecated GtkFileChooserNative with GtkFileDialog
Keeping the old implementation inside ifdef for backwards
compatibility with gtk < 4.10
2024-07-31 11:10:45 +00:00
Julian Winkler
2f4cd3917f implement some APIs needed for OctoDroid 2024-04-09 18:19:13 +02:00
Julian Winkler
6513195b9e implement file chooser using GtkFileChooserNative 2024-03-17 22:39:13 +01:00
Julian Winkler
276b5ca7ef add more APIs needed for NewPipe 2024-03-17 20:02:50 +01:00
Mis012
6d587a19e5 misc stuff to make glmark2 run 2024-03-05 17:07:21 +01:00
Mis012
da0971e88f Activity: implement Activity.recreate 2024-02-19 16:29:09 +01:00
Mis012
056b911637 handle 'SEND' intent by copying to clipboard, make Activity subclass ContextWrapper, code style fixes 2024-02-10 20:58:38 +01:00
Mis012
5574d60b10 /api-impl-jni/app/android_app_Activity.c: fix typo 2023-10-08 13:58:04 +02:00
Mis012
4e22428a27 api-impl-jni/app/android_app_Activity.c: call OnWindowFocusChanged in activity_update_current
also rename apk_main_activity to activity since that's the class it's now for
2023-09-25 19:54:25 +02:00
Julian Winkler
b35cbea099 implement URL opening using libportal 2023-09-01 16:05:26 +02:00
Julian Winkler
3399c84e84 fix multi Activity support
jobjects have to be compared with env->IsSameObject()
and each Activity needs its own Window instance.
The GtkWindow is still shared between all Activities
2023-08-22 22:29:20 +02:00
Julian Winkler
18ca242096 support multiple Activities 2023-08-11 18:15:19 +02:00