abouttreesummaryrefslogcommitdiff
path: root/build.gradle
AgeCommit message (Collapse)AuthorFilesLines
2025-09-29Upgrade Gradle (#1097)J. Fronny1-186/+0
* Enable configuration cache and up-to-date checking
2025-08-16gradle: Disable sync_translations (#1076)Jules Aguillon1-11/+0
The diffs created by sync_translations.py creates conflicts with the changes made on Weblate. It is disable to make merging translations from Weblate easier.
2025-07-09Release 1.32.1 (50)Jules Aguillon1-2/+2
2025-07-02Release 1.32.0 (49)Jules Aguillon1-2/+2
2025-05-22Better support for foldable devices (#982)Matej Drobnič1-4/+6
* 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
2025-03-29Release 1.31.1 (48)Jules Aguillon1-2/+2
2025-03-16Release 1.31.0 (47)Jules Aguillon1-2/+2
2025-02-04Improve the check_layout CI and outputJules Aguillon1-5/+1
Change the format of check_layout.output to avoid adding any logs for layouts that do not trigger any warning. Fix the check_layout CI, which was broken since check_layout.py was changed to take arguments.
2024-12-29Release 1.30.3 (46)Jules Aguillon1-2/+2
2024-12-29Release 1.30.2 (45)Jules Aguillon1-2/+2
2024-12-29Drop support for Android 3 and 4Jules Aguillon1-1/+1
Support for Android 4 was broken for several releases and no one noticed. The lowest supported version is now Android 5.
2024-12-24Release 1.30.1 (44)Jules Aguillon1-2/+2
2024-12-22Release 1.30.0 (43)Jules Aguillon1-2/+2
2024-11-18launcher: Animated vector describing swipe gestureJules Aguillon1-1/+1
Replace the short video with an animated vector image that shows the swipe gesture. This is much lighter and reliable than the mp4 video, which failed to play on many devices. Source for the image of the key is in inkscape SVG format in srcs/res and is converted to an android drawable when needed. The swipe animation is hand-written.
2024-09-29Add complex keys (#774)Jules Aguillon1-3/+8
This allows to add new kinds of keys that need more data without making KeyValue's footprint bigger for common keys. This changes the [_symbol] field into [_payload], which holds the same as the previous field for more common keys but can hold bigger objects for keys of the new "Complex" kind. This also adds a complex key: String keys with a symbol different than the outputted string. Unit tests are added as the Java language is not helpful in making robust code.
2024-07-28Update target SDK version to 35Jules Aguillon1-1/+1
2024-07-27Release 1.29.1 (42)Jules Aguillon1-2/+2
2024-07-21Allow extending the compose key (#713)Jules Aguillon1-1/+1
This allows adding more compose sequences without modifying en_US_UTF_8_Compose.pre. This is done by grouping sequences files that should be merged together into a directory. This also allows moving keysymdef.h into that directory.
2024-07-15Release 1.29.0 (41)Jules Aguillon1-2/+2
2024-05-29Release 1.28.0Jules Aguillon1-2/+2
2024-05-29Increase target SDK to 34Jules Aguillon1-2/+2
2024-05-08Pull the emoji list from unicode.org (#612)Quinn Cypher1-0/+8
- Removing unused information (names and descriptions) from the Emoji class - Creating a Gradle task that generates a more efficient res/raw/emojis.txt file from the most recent Unicode standard - Saving recently used emoji preferences as emoji values rather than names - Migrating old user preferences to the new system
2024-03-03Release 1.27.0 (39)Jules Aguillon1-2/+2
2024-03-02compose: Parse json files and fix edge casesJules Aguillon1-1/+1
There's no json file yet, this was part of an experiment. Add a missing escape rule and detect colliding sequences.
2024-02-18Relicense layout definitions under CC0 (#528)Jules Aguillon1-0/+1
* Relicense layouts under CC0 Layout definitions are licensed differently from the rest of the application source code to allow use in other projects related or unrelated to Unexpected Keyboard. Some layouts are not re-licensed and their original copyright continues to apply. The copyright notice is added at the top of the files. * Contributing: Mention layout licensing
2024-02-17compose: Add X11 compose sequencesJules Aguillon1-1/+1
compile.py implements a parser for X11's Compose.pre files. A lot of code is necessary to interpret character names but thanksfully, the name of most characters is contained in the file. The state machine is compiled into two char arrays which unfortunately requires an expensive initialisation and allocation.
2024-02-17Compose keyJules Aguillon1-1/+14
The COMPOSE_PENDING modifier indicate whether a compose sequence is in progress. The new key of kind Compose_pending sets the current state of the sequence. The compose sequences are compiled into a state machine by a python script into a compact encoding. The state of the pending compose is determined by the index of a state.
2024-02-10Fix various linter warningsJules Aguillon1-0/+5
Among others: - Use `apply` instead of `commit` when saving shared preferences. - Avoid inlined Api - Remove unused resources
2024-02-10Drop support for Android versions below 3.0Jules Aguillon1-1/+1
Android 3.0 (API level 11) was released in Feb 2011. These versions were already unsupported due to unavoidable calls to: - MotionEvent.getActionMasked() (API 8) And avoidable calls to: - SharedPreferences.Editor.putStringSet() (API 11)
2024-02-04Release 1.26.0 (38)Jules Aguillon1-2/+2
2024-01-21Move layout definitions into srcs/layoutsJules Aguillon1-11/+16
This separates the layout definitions from the special layouts (bottom_row, greekmath) and other unrelated files (method, settings). This is also a more intuitive location for layouts and make the resource directory easier to navigate. Under the hood, layouts are copied back into build/generated-resources/xml.
2024-01-10CI: Fix debug build due to missing release keystoreJules Aguillon1-4/+6
2024-01-08gradle: Enforce release build is signedJules Aguillon1-11/+7
2024-01-08gradle: Name outputs after the application IDJules Aguillon1-0/+7
2024-01-03Release 1.25.0 (37)Jules Aguillon1-2/+2
2023-12-17prefs: Use QWERTY (US) as the default custom layoutJules Aguillon1-1/+11
This layout definition contains some documentation and is a better default than no text.
2023-11-25Use Gradle (#452)deftkHD1-0/+147