Commit Graph

118 Commits

Author SHA1 Message Date
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
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
polkaulfield
2dcd6e0644
Added the preference menu for display resolution and scale (Just the GUI) (#214) 2023-03-06 19:31:32 +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
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
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
8bb8be1cb1 Fixed cursor positioning in right-to-left layout. 2023-02-05 08:56:01 +02:00
Twaik Yont
daa3485234 Fix early screen size measuring and JNI exception when terminating applicaiton. 2023-02-05 01:09:44 +02:00
Twaik Yont
96b35a45f3 Fix hanging when user presses "Exit" in notification... 2023-02-05 00:40:35 +02:00
Twaik Yont
3d075f72df Fixing cursor size and transparency. Fixing keyboard appearance in both reseeding and non-reseeding modes. 2023-02-04 23:52:07 +02:00
Twaik Yont
3794838b76 Cursor is not visible here. Replacing rendering with GL with blitting to Surface. 2023-02-03 16:07:22 +02:00
Twaik Yont
a868f37c8a Fixes #211 (seemly random wayland server hangs).
Fixes regenerating xkbmap file after applicaion updates.
Fixes the following Xwayland warning:
```
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 569, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
```
2023-02-02 14:42:47 +02:00
Twaik Yont
9174992b5d Fixed appearing of additional keyboard when no software keyboard is shown. Fixes #188
Stub screen when no client is connected...
Fixing linter warnings about `onPictureInPictureModeChanged`
2023-02-02 02:09:23 +02:00
Twaik Yont
92605729cc Setting the touchpad mode as default due to the fact that in most cases it is not usable. 2023-02-01 18:59:54 +02:00
Twaik Yont
3e9e9a2cb9 From now we can capture Alt+Tab, Alt+F4, Meta+smth key combinations on Dex-compatible devices... 2023-02-01 18:51:03 +02:00
Twaik Yont
cc9553524a Disabling annoying toast message and disabling annoying PIP mode... 2023-02-01 17:28:22 +02:00
Twaik Yont
09a0fca185 Fixes #40 2023-02-01 17:17:53 +02:00
Twaik Yont
13718d94cf Still preparing renderer to work with GLSurfaceView...
Fixes #98
2023-02-01 17:07:10 +02:00
Twaik Yont
336077033e Basic code for GettingStarted screen from @agnostic-apollo . 2023-02-01 02:50:11 +02:00
Twaik Yont
caa1edc690 Making everything snake case... 2023-02-01 01:17:06 +02:00
Twaik Yont
4a37640b5c Cleaning up and preparing renderer to work with GLSurfaceView 2023-01-31 23:52:03 +02:00
polkaulfield
9de5f2f0de
Added a fullscreen toggle. (#206)
* Added a setting to enable immersive fullscreen on the device display.
Co-authored-by: Twaik Yont <twaikyont@gmail.com>
2023-01-31 23:30:17 +02:00
Twaik Yont
56fdbe2cde Updating API of native part. Part 4. Cleaning up. 2023-01-31 20:39:18 +02:00
Twaik Yont
34ebec1476 Updating API of native part. Part 4. Cleaning up. 2023-01-31 20:32:26 +02:00
Twaik Yont
f9e6a8d2ab Updating API of native part. Part 3. Wayland compositor and surface APIs. 2023-01-31 20:01:43 +02:00
Twaik Yont
be07eab2a4 Updating API of native part. Part 2. Wayland shell and output APIs. 2023-01-31 17:19:35 +02:00
Twaik Yont
bae01ab655 Updating API of native part. Part 1. Makefiles and wayland seat api. 2023-01-31 15:46:12 +02:00
Twaik Yont
1a9146a3f7 Updating API of native part. Part 1. Wayland C++ API and it's generator. 2023-01-31 08:56:29 +02:00
Twaik Yont
5b73f8f497 Getting rid of xkbcommon and xkb-config. In current form they are useless. Preparing to replace them with xcb client tracking current layout. 2023-01-30 06:04:34 +02:00
dependabot[bot]
fc9cb2b8b6
Bump runner from 1.5.1 to 1.5.2 (#192)
Bumps runner from 1.5.1 to 1.5.2.

---
updated-dependencies:
- dependency-name: androidx.test:runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 15:03:32 +02:00
dependabot[bot]
e51d88d488
Bump espresso-core from 3.5.0 to 3.5.1 (#191)
Bumps espresso-core from 3.5.0 to 3.5.1.

---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 15:01:53 +02:00
dependabot[bot]
b928ab75d7
Bump runner from 1.5.0 to 1.5.1 (#174)
Bumps runner from 1.5.0 to 1.5.1.

---
updated-dependencies:
- dependency-name: androidx.test:runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 15:39:07 +02:00
dependabot[bot]
5d1881d05b
Bump espresso-core from 3.4.0 to 3.5.0 (#172)
Bumps espresso-core from 3.4.0 to 3.5.0.

---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 13:04:24 +02:00
dependabot[bot]
e9a931c548
Bump runner from 1.4.0 to 1.5.0 (#173)
Bumps runner from 1.4.0 to 1.5.0.

---
updated-dependencies:
- dependency-name: androidx.test:runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 13:00:49 +02:00
dependabot[bot]
0b2e056fa6
Bump annotation from 1.4.0 to 1.5.0 (#161)
Bumps annotation from 1.4.0 to 1.5.0.

---
updated-dependencies:
- dependency-name: androidx.annotation:annotation
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-22 18:17:57 +03:00
Leonid Pliushch
45f7a1ab9c
rename dev_keystore.jks to testkey_untrusted.jks
Hopefully the new name of keystore file would provide to potential user
more info about what it actually is.
2022-09-21 10:45:47 +03:00
David Kramer
b3969fe410
Added: Launch fullscreen on external HDMI display (#158) 2022-09-16 08:35:55 +03:00
Twaik Yont
c9ac9957ff Do not increase targetSdkVersion or socket sharing will stop working. 2022-07-26 13:22:48 +03:00
Twaik Yont
30ea104036 Removing x11 backend which is unusable. It was needed only for developing basic code and now it is unneeded. 2022-07-26 12:56:53 +03:00
Twaik Yont
3afcae5cec Various changes:
1. Fix for https://github.com/termux/termux-packages/issues/10940 working inside shell_loader
2. Getting rid of using `Reflection` API and `CrossVersionReflectedMethod` in the project
3. Unhiding some non-SDK API's to the project using gradle's `compileOnly` dependency
4. Getting rid of library unpacking and making loader open it directly from apk ( 6cdfb75c44 (commitcomment-77856313) ). @agnostic-apollo is the best!!!

Some cleanup...
Bumping versionCode
2022-07-25 16:17:56 +03:00
dependabot[bot]
16924683b4 Bump annotation from 1.3.0 to 1.4.0
Bumps annotation from 1.3.0 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.annotation:annotation
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 00:46:07 -04:00
agnostic-apollo
757c3e34ae Fixed: Fix ClassCastException for LAUNCHED_BY_COMPATION extra passed to MainActivity
com.termux.x11 W/Bundle: Key com.termux.x11.launched_by_companion expected String but value was a java.lang.Integer.  The default value <null> was returned.
com.termux.x11 W/Bundle: Attempt to cast generated internal exception:
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
        at android.os.BaseBundle.getString(BaseBundle.java:1199)
        at android.content.Intent.getStringExtra(Intent.java:8248)
        at com.termux.x11.MainActivity.onCreate(MainActivity.java:62)
2022-07-06 02:38:47 +05:00
agnostic-apollo
333de111dd Changed: Use compileSdkVersion 30 and do not use buildToolsVersion 2022-07-05 08:19:02 +05:00