0
0
mirror of https://github.com/florisboard/florisboard.git synced 2024-09-19 19:42:20 +02:00
Commit Graph

2124 Commits

Author SHA1 Message Date
Patrick Goldinger
83ec842196
Update CONTRIBUTING.md 2024-04-07 15:23:41 +02:00
Patrick Goldinger
4d78110a56
Update ROADMAP.md 2024-04-07 11:47:16 +02:00
Patrick Goldinger
2b1dd31ad7
Upgrade Gradle to 8.4 / Upgrade AGP to 8.3.1 2024-04-05 02:11:26 +02:00
Patrick Goldinger
c5d1d3b31e
Add Rust build support 2024-04-05 01:35:04 +02:00
Patrick Goldinger
c198e8b376
Remove cpp native code from app 2024-04-04 17:48:52 +02:00
Patrick Goldinger
c5e7fea8f2
Remove florisboard/nlp submodule 2024-04-04 17:46:24 +02:00
Patrick Goldinger
397ef1a150
Add emoji data for most important languages (#2437) 2024-04-03 17:02:18 +02:00
Siddhesh Naik
bdd8f660c5
Add Emoji Suggestions for a More Expressive User Experience (#2385)
* Add Emoji Suggestions for a More Expressive User Experience

- Implement EmojiSuggestionProvider:
  - Manages emoji suggestion tasks, including initialization and maintenance of supported emojis.
  - Generates and returns suggestions based on user input and preferences.
- Updates in NlpManager to Include Emoji Suggestions:
  - Adds emoji suggestions when applicable and available.
- Create Custom EmojiSuggestionCandidate Class:
  - Encapsulates individual emoji suggestions for seamless integration.

Future Actions:
- Introduce Espresso tests in Florisboard to validate the emoji suggestion flow.

* Fix review comments

* Addressed review comments

- Added logic to dynamically get the locale file.
- Currently only supports English as related files are added.
- To support other locales in future, we can just add the related file.
- Added en.txt and en_US.txt and updated root.txt to match emojicon 44.1
  version.
2024-04-03 16:43:17 +02:00
Patrick Goldinger
632c4a7134
Merge pull request #2422 from florisboard/fix-clipboard-history-large-item-handling
Fix huge clipboard text items causing clipboard history crash
2024-03-23 15:15:23 +01:00
Patrick Goldinger
43e618333a
Fix huge clipboard text items causing clipboard history crash (#2420) 2024-03-15 23:55:49 +01:00
Patrick Goldinger
6e1c7716dc
Add generated schema 2 of clipboard database 2024-03-15 19:43:55 +01:00
Patrick Goldinger
b2a1e82963
Release v0.4.0-beta01 2024-03-10 23:09:01 +01:00
florisboard-bot
0dd1f90c83 Update translations from Crowdin 2024-03-10 22:59:09 +01:00
Lars Mühlbauer
22b7a675e4
Modularize lib.kotlin (#2404)
* extract dev.patrickgold.florisboard.lib.kotlin to org.florisboard.lib.kotlin

* apply review suggestions
2024-03-07 04:57:31 +01:00
Lars Mühlbauer
74dd67642c
Fix random rotated images in threema (#2369)
* fix random rotated images in threema

* add filter for the projection

* do not filter only for orientation request but also for every other column

* Apply the suggestion

* get the orientation of the image on insert
2024-03-07 00:46:36 +01:00
Patrick Goldinger
44f0c9cd89
Merge pull request #2397 from vorgoron/feature/udmurt-layout
Add Udmurt layouts.
2024-02-29 17:13:19 +01:00
Lars Mühlbauer
28fdb423b4
Fix #2309, #2134, #2112, #2378 and some deprecation warnings (#2388)
* emoji history visibility when locked fix (#2309)

* Add POST_NOTIFICATIONS permission

* remove deprecation warning

* add better naming for readability

* rename QabType to QuickActionBarType for better readability

* add smartbar vibrations (#2134)

* add share to clipboard

* remove strings

* Add Notification permission to startup menu (#2378)

To display Notifications on Android 13+ the app nust request permission to do so.

* remove deprecation warnings (use defaultDeserializer instead of default)

* Rework NotificationPermissionState handeling on Android 13+.
If the permission is NOT_SET (the user installed the app when the permission wasn't necessary), restart the SetupScreen or add this option to the SetupScreen.
If the permission was granted or denied, the user will not be asked again even if he revokes the permission later in the settings.

* Add comments/docs to the NotificationSetup code

* Revert "remove strings"

This reverts commit ee8a62d647.

* fix crash when InputFeedbackManager is not initialized

* apply the usual formatting nitpicks

* Add the bottom sheet to CopyToClipboardActivity

* add strings

* reformat file

* fix resource context not initialized error

* apply the patch of patrick@patrickgold.dev;
Enhance the bottom sheet with swipe gestures;

* Update app/src/main/kotlin/dev/patrickgold/florisboard/FlorisCopyToClipboardActivity.kt

Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>

* Update app/src/main/res/values/themes.xml

Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>

---------

Co-authored-by: Patrick Goldinger <patrick@patrickgold.dev>
2024-02-29 16:41:23 +01:00
Grigory Grigorev
de169e9d0d Add udmurt layouts 2024-02-18 19:30:28 +04:00
Patrick Goldinger
ffbe7696a4
Merge pull request #2396 from florisboard/upgrade-project-dependencies
Upgrade project dependencies
2024-02-15 23:08:18 +01:00
Patrick Goldinger
57254e0ebe
Upgrade about library and fix crash in third-party licenses screen 2024-02-15 03:16:28 +01:00
Patrick Goldinger
4b671b5794
Fix additional Kotlin migration issues 2024-02-15 02:39:47 +01:00
Patrick Goldinger
9cd413f2f3
Fix Android API level issues and suppress compose material import lints 2024-02-15 02:36:13 +01:00
Patrick Goldinger
777bf48b50
Fix usage of deprecated compose API 2024-02-15 02:32:21 +01:00
Patrick Goldinger
11d4ea206d
Upgrade to Kotlin's new .entries shorthand for enums 2024-02-15 02:18:15 +01:00
Patrick Goldinger
8e7311ea01
Upgrade Kotlin to 1.9.22 & Upgrade project dependencies 2024-02-15 01:56:40 +01:00
Siddhesh Naik
e63186bebc
Refine Clipboard Suggestion Validation to Prevent Empty and Invalid Items (#2387)
* Refine Clipboard Suggestion Validation to Prevent Empty and Invalid Items

Summary:
- This PR addresses an issue where empty or invalid clipboard items that
  could lead to incorrect suggestions.
- It introduces validation logic to ensure only meaningful content is suggested.

Context:
- The issue was observed when apps like KDE Connect added empty or special
  character-only items to the clipboard.
- The ClipboardSuggestionProvider previously lacked validation for such cases.

Changes:
- Added validation for empty clipboard items.
- Enhanced validation to handle special characters (newlines, tabs).
- Introduced private methods and constants for improved readability and maintainability.

* Update the validation with Regex
2024-02-06 04:54:48 +01:00
inson1
17ca0c1cb1
Update year in Copyright (#2391) 2024-02-04 18:59:49 +01:00
Patrick Goldinger
c9df7a9f49
Merge pull request #2372 from lm41/add-spacebar-character
Implement option to cycle throu the capitalization modes and add option to set spacebar to the spacebar character
2024-01-13 16:35:55 +01:00
lm41
0e9963bd3b
refactor CapitalizationBehavior to use CapitalizationBehavior enum and resolve the requested changes 2024-01-13 15:31:25 +01:00
lm41
2cde597be6
add option to cycle through the captitalization cycle 2024-01-13 11:21:43 +01:00
Patrick Goldinger
5829ff5d07
Merge pull request #2371 from lm41/fix-wrong-primary-clipboard-entry-accessibility
fix primary clipboard entry accessible while phone is locked
2024-01-13 11:02:14 +01:00
Patrick Goldinger
9a7360bfee
Merge pull request #2370 from lm41/fix-pinned-items-getting-unpinned
fix pinned items getting unpinned when copying the same content again
2024-01-13 10:56:03 +01:00
lm41
2d42ed1c06
add the option to select the spacebar character 2024-01-13 06:38:38 +01:00
lm41
031823c81c
fix primary clipboard entry accessible while phone is locked 2024-01-13 03:51:29 +01:00
lm41
5b8b73ff16
fix pinned items getting unpinned when copying the same content again 2024-01-13 03:13:13 +01:00
Patrick Goldinger
80541095fd
Merge pull request #2366 from lm41/issue-form
[Meta]: Switch to issue forms
2024-01-12 08:46:15 +01:00
lm41
ed7861ec12
Add issue forms 2024-01-12 02:04:58 +01:00
Patrick Goldinger
f6a1a091b5
Merge pull request #2364 from lm41/monochrome-icons
Add the monochrome icon variants
2024-01-12 00:13:26 +01:00
lm41
6d7bbc2df7
Add the monochrome icon variants 2024-01-10 23:15:56 +01:00
Patrick Goldinger
f7b65f788f
Upgrade to Kotlin 1.9.21 2023-12-25 22:56:31 +01:00
Patrick Goldinger
af282693c8
Upgrade AGP to 8.2.0 & Add support for Android library modules 2023-12-25 19:50:04 +01:00
Patrick Goldinger
5bb7c6f786
Release v0.4.0-alpha06 2023-12-23 10:49:12 +01:00
Patrick Goldinger
7e1bce2cea Fix IME enabled/selected checker failing on API 34+ (#2344) 2023-12-23 10:34:09 +01:00
Patrick Goldinger
1c873e4026
Release v0.4.0-alpha05 2023-12-23 00:18:37 +01:00
Patrick Goldinger
964f5d38e5
Update texts in Settings 2023-12-23 00:08:41 +01:00
florisboard-bot
b3c0cf094a Update translations from Crowdin 2023-12-22 22:44:49 +01:00
János Benjamin Antal
6c7a4a6fc0
Add main symbols to Hungarian localization based on letter frequency (#2279) 2023-12-10 23:24:21 +01:00
Mohammad Sadegh At'hari
45aa02ca1f
Add Arabic Kaf to the Persian popup (#2253)
* Remove redundant Kashida key in Persian layout

There is a Kashida(code: 1600) key inside
the popup of Dot key(code: 46). The Kashida is
a very low use character in Persian writing, so
removing it from the main layout improves the
layout usability by increasing the width of the
Space-bar.

* Add Arabic Kaf to the Persian popup

The Arabic Kaf (code: 1603) is part of the standard Persian
keyboard (ISIRI 9147), but it was missing in the current layout.

This commit adds the Arabic Kaf (code: 1603) to the popup of the Persian Kaf
(code: 1705) key, following the convention of other keys that have
both Arabic and Persian variants.
This improves the backward compatibility and accessibility of
the layout for users who need to type both scripts.

---------

Co-authored-by: Mohammad Sadegh At'hari <msadegh64@users.noreply.github.com>
2023-12-10 23:20:33 +01:00
Patrick Goldinger
2e8f06232a
Merge pull request #2339 from florisboard/upgrade-and-cleanup
Upgrade traget SDK to 34 and cleanup code base
2023-12-10 23:16:42 +01:00
msrd0
9a2ba678d0
Add german variant of the dvorak layout (#2335)
* add dvorak-de layout

* fix dvorak_de modifiers

* reset app/build.gradle.kts
2023-12-10 13:38:55 +01:00