abouttreesummaryrefslogcommitdiff
path: root/shell.nix
AgeCommit message (Collapse)AuthorFilesLines
2026-04-08Fix building on NixOS (#1219)Jure Varlec1-13/+3
* shell.nix: bump platform version to match target * shell.nix: make gradlew work on NixOS This removes the wrapper provided by `shell.nix`. Folks expect the `./gradlew` wrapper to work, so this approach is more straightforward.
2026-02-02Spell checking (#1137)Jules Aguillon1-0/+2
This adds dictionary-based spell checking to the keyboard. The keyboard looks at the word being typed and matches it against a dictionary to either complete the rest of the word or find alternative spellings. The core of this feature is implemented in cdict, which is included as a submodule in vendor/cidct. Cdict is developped at https://github.com/Julow/cdict The dictionaries are hosted at https://github.com/Julow/Unexpected-Keyboard-dictionaries/ The wordlists used to build the dictionaries are the same ones used by HeliBoard from https://codeberg.org/Helium314/aosp-dictionaries - Add an activity accessible from the launcher app that lists available dictionaries with a download button. The DictionaryListView view shows the list of available dictionaries and handles downloading and installing them. - The Dictionaries class manages installed dictionaries. Dictionaries are installed as individual files into the app's private directory. - Available dictionaries are listed in dictionaries.xml, which is generated when building Unexpected-Keyboard-dictionaries. method.xml mentions the dictionary name for each locales.
2025-09-29Upgrade Gradle (#1097)J. Fronny1-1/+1
* Enable configuration cache and up-to-date checking
2025-09-04shell.nix: Remove repoJsonJules Aguillon1-9/+0
nixpkgs-unstable is now uptodate.
2025-05-22Better support for foldable devices (#982)Matej Drobnič1-2/+2
* Add AndroidX WindowManager unfortunately, this seems to be the only way to get fold state, native Android APIs are internal. To add this, we need to update some dependencies, raise java version and raise compile SDK. * adds separate layouts and separate layout settings for folded and unfolded state of the device. The affected settings are: + the margin bottom settings + the horizontal margin settings + the keyboard height settings * Update shell.nix
2024-12-29Drop support for Android 3 and 4Jules Aguillon1-7/+6
Support for Android 4 was broken for several releases and no one noticed. The lowest supported version is now Android 5.
2024-12-26shell.nix: Emulator for Android 15Jules Aguillon1-2/+37
2024-09-19Improve bone layout (#748)Zitrone1-1/+2
* shell.nix: fix gradle error error was: > \> Task :compileDebugJavaWithJavac FAILED > error: Source option 7 is no longer supported. Use 8 or later. > error: Target option 7 is no longer supported. Use 8 or later. fixed by overriding the jdk version for gradle to openjdk17 * layouts/latn_bone: fix layout - fix alignment with tabs mess - make like actual bone layout, instead of trying to fit it into a 10 key wide keyboard - fixes missing üäö - fix missing $ - moves q and ß where they belong - remove all of the diacritic keys (they can be added through the settings as extra keys) - kept the number row extra keys integration into top row - kept the idea of compressing , and . into the swipe actions of the bottom row - kept the number keys as key4 in the layer4 positions (instead of moving them to a number row, which i also considered)
2024-05-29Increase target SDK to 34Jules Aguillon1-1/+1
2023-11-25shell.nix: Update dependencies and add GradleJules Aguillon1-10/+24
Update OpenJDK to version 17, Android build tools to 33.0.1 and platform to 33. These are required to build with Gradle. Add Gradle to the environment, which must be wrapped to fix a permissions issue. Setting `GRADLE_OPTS` has no effect as it seems not to be passed down to the daemon.
2022-03-24Revert to the previous CIJules Aguillon1-24/+8
The new CI script doesn't work on forks. This reverts commit f3aa218de40a44eeaf1e7ec169bb2b3d4da526ad. This reverts commit 3373c59b903cfcccedf31278f9f18ea305e3a567.
2022-03-23CI: Use nixbuild.netJules Aguillon1-8/+24
The build takes place on the remote, which takes advantage of Nix's caching. The previous workflow used a remote cache but in order to build locally, all the dependencies needed to be downloaded from the cache everytime. The dependencies are 462M, downloading took most of the time.
2022-03-17Stateless build of the special font fileJules Aguillon1-1/+1
Keep the glyphs in SVG format and build the font using a FontForge script. A part of the previous font is kept because the sources is lost. This adds a new dependency to the build system, fontforge.
2022-02-05Use apksigner from the build tools for release builds tooJules Aguillon1-7/+3
2021-12-14Use apksigner for signing the apkJules Aguillon1-5/+7
The Play Store now requires the "Signing Scheme V2", which is implemented by apksigner.
2021-12-12Upgrade to Android SDK version 30Jules Aguillon1-1/+1
2021-09-21Build requires Android Build Tools <= 30.0.3Jules Aguillon1-0/+1
'dx' is missing in 31.0.0.
2021-04-13Change build system to makeJules Aguillon1-4/+2
The ant scripts included in the android SDK were removed recently. The alternative is Gradle. Gradle doesn't work well in this app because it's not possible to use Nix to pull dependencies. Gradle will try to patch the SDK. Also, it's very slow. It turns out the required build script is quite simple.
2021-01-16Use openjdk8Jules Aguillon1-1/+1
2021-01-05Use more recent JavaJules Aguillon1-1/+1
2021-01-04Upgrade the platform version to 29Jules Aguillon1-1/+1
2021-01-04Add 'shell.nix' and build the projectJules Aguillon1-0/+22
Add a working environment and specify Java version