Commit Graph

234 Commits

Author SHA1 Message Date
Twaik Yont
e5ca171126 Fixing GLX screen destroying sequence, changing companion package name. 2023-06-05 15:33:49 +03:00
Twaik Yont
be324728ea Reduce apk size: exclude libc++_shared from build. 2023-06-04 17:51:57 +03:00
Twaik Yont
c10176a140 Various changes
Final APK size optimization (removing Mesa's GL and swrast_dri libraries from build).
Making statusbar black while app is active.
Fixing scrolling (false positives for pinch checking in original detector algorythm).

Signed-off-by: Twaik Yont <twaikyont@gmail.com>
2023-06-04 15:05:32 +03:00
Twaik Yont
1645740cce Some fixes for Samsung Dex mode... 2023-05-29 07:25:04 +03:00
Twaik Yont
e400b39498 Fixing keyboard intercepting. 2023-05-29 03:20:01 +03:00
Twaik Yont
b7ec6fe417 Cleanup, fixing dependencies of companion packages, fixing default "Touchscreen input mode" choise 2023-05-29 01:22:15 +03:00
Arvind Kaushik
2eaab20938
make separate artifacts (#323) 2023-05-28 14:05:51 +03:00
Twaik Yont
f3f8cde246 Some fixes.
Another attempt to fix server patching.
DPI setting was removed from preferences. The recommended way to change dpi is to use `-dpi N` option of X server.
Fix for captureless Dex touchpad handler. Now it should work.
2023-05-28 13:26:50 +03:00
Twaik Yont
e5c34a1e41 Various fixes
Fixes #327
Fixes `_XSERVTransmkdir: ERROR: euid != 0,directory /data/data/com.termux/files/usr/tmp/.X11-unix/ will not be created.` error
Fixes cursor appearing on X server startup.
Disabling listening TCP on startup (`-listen tcp` is still available).`
2023-05-28 05:13:49 +03:00
Twaik Yont
75a6529121 Removing some debug messages, fixing XKB_CONFIG_ROOT stuff. 2023-05-25 10:12:43 +03:00
Twaik Yont
c65f0bebf7
Fix xcb building (in workflow) 2023-05-25 07:55:06 +03:00
Twaik Yont
c76ebd911a
Adding missing build dependencies to debug_build.yml 2023-05-25 07:43:53 +03:00
Twaik Yont
c94abc1924
Adding missing build dependencies to debug_build.yml 2023-05-25 07:37:04 +03:00
Twaik Yont
267c6316fb Fix xcb building (in workflow) 2023-05-25 07:28:23 +03:00
Twaik Yont
2ddb1f4675 Update Java in workflows. 2023-05-25 07:15:51 +03:00
Twaik Yont
5ce0aeb863 Submodules fix 2023-05-25 07:08:00 +03:00
Twaik Yont
4769520ba3 Submodules fix 2023-05-25 07:03:55 +03:00
Twaik Yont
77808336ef Fix submodules 2023-05-25 06:45:01 +03:00
Twaik Yont
ee2224e474
Big update. Replacing Xvfb and Xwayland with builtin X server. 2023-05-25 06:27:03 +03:00
Twaik Yont
62bf17ddf8 Added custom resolution setting. 2023-03-26 16:45:27 +03:00
Twaik Yont
af8b57ac85 Cleanup 2023-03-26 14:15:56 +03:00
Twaik Yont
91daff9390 Making project work with unpatched libwayland: ffi building, generating wayland sources 2023-03-26 14:08:29 +03:00
Twaik Yont
e0b509fccb
Update README.md 2023-03-26 09:59:16 +03:00
Twaik Yont
b96c785513 Getting rid of wayland scanner, bumping dependencies versions, fixing fake compositor to work with Xwayland 23.1.0. 2023-03-26 09:38:39 +03:00
dependabot[bot]
2f5bc33a80
Bump ReactiveCircus/android-emulator-runner from 2.27.0 to 2.28.0 (#278)
Bumps [ReactiveCircus/android-emulator-runner](https://github.com/ReactiveCircus/android-emulator-runner) from 2.27.0 to 2.28.0.
- [Release notes](https://github.com/ReactiveCircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ReactiveCircus/android-emulator-runner/compare/v2.27.0...v2.28.0)

---
updated-dependencies:
- dependency-name: ReactiveCircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-23 17:29:28 +02:00
Twaik Yont
f930dfebdb
Implementing experimental X11 client.
* [EXPERIMENTAL] Experimental X11 client.
* Moving fake compositor to CmdEntryPoint, getting rid of background service, making MainActivity work as X11 client...
* Reconnecting to existing session.
* Basic multiple layout support (using setxkbmap). 
* ExtraKeys support 
* Added toggling ExtraKeys bar with triple finger swipe down.
* Adding an ability to output logcat of `com.termux.x11` via TERMUX_X11_DEBUG=1 environment variable.
* Initial changes to use separate lookup table for external keyboard.
* Input of custom unicode characters.
* Optimized starting logcat in com.termux.x11 userspace. 
* Reducing apk size.
* Fixed broken logging, appearing of extra keys with `--no-xwayland-start`.
* Initial Xvfb support.
* Improving drawing speed by using NEON on arm devices. 
* Making session reconnect if it is fault for some reason.
* Updating README.md and adding option to disable horizontal scrolling.
* fix: shortcut icon color.
* fix shortcut icon color in dark mode
* restore cache (#259)
* Experimental virtual resolution feature. Settings screen is updated.
* Initial uploading keyboard to Android feature.
* Added memfd support (for server needs).
* Added the ability to change extra keys list.

---------

Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: Arvind Kaushik <61283438+ask9027@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: polkaulfield <mr.tamuraa@gmail.com>
Co-authored-by: Ivan Max <mixython@gmail.com>
Co-authored-by: Wisest_wizard <12suhangp34@gmail.com>
Co-authored-by: agnostic-apollo <agnosticapollo@gmail.com>
2023-03-09 02:31:15 +02:00
Arvind Kaushik
e72507690a
Update run_tests.yml (#261) 2023-03-06 20:22:07 +02:00
Arvind Kaushik
caa28b1509
restore cache (#259) 2023-03-06 20:21:21 +02:00
polkaulfield
2dcd6e0644
Added the preference menu for display resolution and scale (Just the GUI) (#214) 2023-03-06 19:31:32 +02:00
github-actions[bot]
3bed766051
Update Gradle Wrapper from 8.0.1 to 8.0.2. (#252)
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-03-04 23:19:50 +02:00
Arvind Kaushik
f1c43b60e9
fix: shortcut icon color.
* fix shortcut icon color in dark mode
2023-03-03 16:49:21 +02:00
Twaik Yont
bdf9a3d1ba
Update debug_build.yml 2023-03-03 02:59:53 +02:00
dependabot[bot]
6e77faec9e
Bump com.android.tools.build:gradle from 7.4.1 to 7.4.2 (#243)
Bumps com.android.tools.build:gradle from 7.4.1 to 7.4.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 11:50:16 +02:00
gradle-update-robot
1d7602bcdb Update Gradle Wrapper from 7.6 to 8.0.1.
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-02-27 15:22:17 +05:30
Twaik Yont
df47767670 Current [non]progress with RANDR. 2023-02-24 01:30:07 +02:00
Twaik Yont
954e239cfc Still fixing build... 2023-02-23 16:51:26 +02:00
Twaik Yont
317665bf26 Still fixing build... 2023-02-23 16:46:44 +02:00
Twaik Yont
02be838b10 Still fixing build... 2023-02-23 16:32:24 +02:00
Twaik Yont
f003024a65 Fix building experimental module... 2023-02-23 14:15:55 +02:00
Twaik Yont
275411e339 Fixing segfault caused by pointer motion. Current pretty-unusable-xcb-client progress. 2023-02-23 14:06:51 +02:00
Twaik Yont
da37e1f570
Preparing to implement X client... (#233)
* Preparing to implement X client...
* Fixing crashes after upgrading xwayland in termux packages repos. Removing delay between event and drawing cursor.
2023-02-23 00:39:28 +02:00
Twaik Yont
84d410a34b Small fixes.
Added caveat about using submodules.
Added static shortcut to access preferences from launcher.
Added setting allowing to disable system shortcut interception. Fixes #224 .
Fixed touch modes list. Fixes #230 .
2023-02-20 17:12:34 +02:00
Twaik Yont
d00145414c third try to fix submodule building 2023-02-18 19:17:50 +02:00
Twaik Yont
8d85d8bded Second try to fix build enabling submodules checkout? 2023-02-18 18:43:06 +02:00
Twaik Yont
765cedc96c Making ant fail not being cause of build fail. 2023-02-17 17:04:24 +02:00
Twaik Yont
85c65566d4 Getting rid of prebuilts, libwayland should be built from sources. 2023-02-17 16:59:20 +02:00
Twaik Yont
540dcbebc8 Getting rid of buggy direct touch mode which does not seem to work with modern DEs. 2023-02-17 13:40:04 +02:00
Twaik Yont
8e38aa670a Cursor positioning fix. Starter is moved to main apk. Implemented shell-loader which loads started dynamically from main apk to avoid version mismatches between main apk and starter. 2023-02-17 13:22:08 +02:00
Twaik Yont
aa53a085d5 Fix build 2023-02-13 14:59:24 +02:00
Twaik Yont
db5c9bf10f Preparing starter to send broadcasts to main app in case termux-app has no SYSTEM_ALERT_WINDOW permission. 2023-02-13 14:07:50 +02:00