Commit graph

33096 commits

Author SHA1 Message Date
Marc Durdin
a45145ae3d fix(mac): Caps processing was not consistent with core
Fixes #7632.

If Caps Lock was on, rules that did not specify Caps Lock state were
not matched, for example:

```
+ [K_SLASH] > 'foo'
```

The truth table for matches is:

Event    |    Rule     | Result
---------|-------------|-----------
NCAPS    |    0        | match
NCAPS    |    CAPS     | no match
NCAPS    |    NCAPS    | match
CAPS     |    0        | match
CAPS     |    CAPS     | match
CAPS     |    NCAPS    | no match

(Internally, Keyman for Mac currently maps 0 to NCAPS on the event for
simplicity.)

The fix is to ignore the Event Caps Lock state if the rule specifies
neither `CAPS` nor `NCAPS`. If the rule specifies either of these
state masks, then the Caps component of the state mask must match.
2022-11-23 09:25:11 +11:00
Marc Durdin
a70d25839b
Merge pull request #7780 from keymanapp/fix/cherry-pick/7351-merge-stable-history-to-master-automatically
fix: automatically merge changes to history back to master 🍒
2022-11-23 07:15:05 +11:00
Eberhard Beilharz
a2ec10d432
Merge pull request #7783 from keymanapp/fix/linux/warning
fix(linux): Revert "fix(linux): Fix a warning"
2022-11-22 19:51:45 +01:00
Keyman Server
37bf5dfe87
Merge pull request #7794 from keymanapp/auto/version-beta-16.0.110
auto: increment beta version to 16.0.110
2022-11-23 05:03:20 +11:00
Keyman Build Agent
b417c735cd auto: increment beta version to 16.0.110 2022-11-22 13:02:43 -05:00
Eberhard Beilharz
bb54946a8a
fix(linux): Fix warning
Commit acab920de8 didn't really fix
the warning. https://stackoverflow.com/a/2524675/1836776 suggests
to use `%zu` which is what this change does now.
2022-11-22 18:47:11 +01:00
Eberhard Beilharz
da765f1625
fix(linux): Allow to build without patched ibus version
This change makes it possible to compile even when the updated
ibus version is not installed. Of course ordered output won't work
in that case, but at least it will compile and the rest of Keyman
will work.

Fixes #7774.
2022-11-22 18:05:46 +01:00
Eberhard Beilharz
d59423da91
Merge pull request #7742 from keymanapp/fix/linux/lintian
feat(linux): Add symbols file
2022-11-22 08:34:56 +01:00
sgschantz
b572355124 change wording for versions of iOS priot to 16.0 2022-11-22 13:54:21 +07:00
Darcy Wong
107198cfd4 chore(android): Merge branch 'beta' into fix/android/cloud-catalog-for-local-test 2022-11-22 13:21:34 +07:00
Joshua A. Horton
b3724024a1 chore(web): Merge branch 'chore/web/top-level-build-script-rework' into change/web/reorg-source-src-reorg 2022-11-22 12:55:26 +07:00
Joshua A. Horton
794d760c0b fix(web): fixes unit test warnings post-base-branch-update 2022-11-22 12:53:41 +07:00
sgschantz
2be18a9f29 recommend leaving Allow Full Access enabled after Keyman for iOS installation 2022-11-22 12:36:21 +07:00
Joshua A. Horton
52e005a5ca chore(web): Merge branch 'master' into chore/web/top-level-build-script-rework 2022-11-22 12:20:18 +07:00
Darcy Wong
c584f0cb45 chore(common): Add notes about bugfixes 2022-11-22 10:50:21 +07:00
Darcy Wong
aca4a4e6ef
Update ios/help/about/whatsnew.md
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2022-11-22 10:39:36 +07:00
Joshua A. Horton
8bb07b8ffd fix(web): locks page scroll when scrolling lang menu 2022-11-22 10:38:52 +07:00
Darcy Wong
f98b342fee chore(common): Update whatsnew for 16.0 2022-11-22 10:30:44 +07:00
Shawn Schantz
365d934ec9
Merge pull request #7762 from keymanapp/fix/ios/7476-right-alt
fix(mac): Enable right-alt/option key mapping
2022-11-22 08:51:57 +07:00
Shawn Schantz
ed78cfd339
Update mac/Keyman4MacIM/Keyman4MacIM/Privacy/PrivacyConsent.m
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-22 08:49:57 +07:00
Darcy Wong
e21b50a2d5 chore(android/engine): Fix merge conflict error 2022-11-22 08:47:17 +07:00
Joshua A. Horton
bb3a757272 fix(web): some embedded-only code was included in browser-oriented product 2022-11-22 08:41:50 +07:00
Darcy Wong
daa406347b chore(android): Merge remote-tracking branch 'origin/beta' into fix/android/cloud-catalog-for-local-test 2022-11-22 08:39:28 +07:00
Darcy Wong
932636e496
Merge pull request #7788 from keymanapp/fix/android/package-activity-null-pointer
fix(android/engine): Check if kmp.json is null
2022-11-22 08:37:44 +07:00
Joshua A. Horton
f7a5b180da fix(web): test page links - affects CI artifact path resolution 2022-11-22 08:22:07 +07:00
Shawn Schantz
bd3012d593
Merge pull request #7782 from keymanapp/fix/ios/7185-in-app-text-size
fix(ios): make text size of in-app editor consistent with slider
2022-11-22 08:04:12 +07:00
Darcy Wong
41221bfbba fix(android/engine): Check if kmp.json is null 2022-11-22 07:47:59 +07:00
Darcy Wong
8f2d82efdb
Merge pull request #7787 from keymanapp/fix/android/kmp-file-null-checkl
fix(android/engine): Add null check on kmp filename
2022-11-22 07:39:57 +07:00
Darcy Wong
90704d01e7 fix(android/engine): Add null check on kmp filename 2022-11-22 07:23:58 +07:00
Marc Durdin
c939a8b354
Merge pull request #7757 from keymanapp/fix/windows/options-buttons-in-list
fix(windows): buttons should be in list in Options tab
2022-11-22 06:14:48 +11:00
Marc Durdin
92770fb68b
Merge branch 'beta' into fix/windows/options-buttons-in-list 2022-11-22 06:14:15 +11:00
Marc Durdin
a1f38e4ddf
Merge pull request #7756 from keymanapp/fix/windows/7750-arrow-keys-in-options
fix(windows): arrow keys need to select next/prev item in options tab
2022-11-22 06:12:11 +11:00
Marc Durdin
e378feac81 chore(windows): Merge branch 'beta' into fix/windows/7750-arrow-keys-in-options 2022-11-22 06:11:27 +11:00
Keyman Server
086557e089
Merge pull request #7786 from keymanapp/auto/version-master-17.0.11
auto: increment master version to 17.0.11
2022-11-22 05:04:49 +11:00
Keyman Build Agent
e381099b7e auto: increment master version to 17.0.11 2022-11-21 13:04:16 -05:00
Keyman Server
86f9c9e609
Merge pull request #7785 from keymanapp/auto/version-beta-16.0.109
auto: increment beta version to 16.0.109
2022-11-22 05:03:19 +11:00
Keyman Build Agent
7586e58be0 auto: increment beta version to 16.0.109 2022-11-21 13:02:32 -05:00
Eberhard Beilharz
812c7c33b9
fix(linux): Revert "fix(linux): Fix a warning"
This reverts commit acab920de8.

I'm confused - now we're getting the same warning again - claiming
that `size_t` is defined as `long unsigned int` and so we have to
use `%lu`!? Is this related to the platform we're compiling on?
This time, the warning we get is when compiling for x86_64:

```
engine.c: In function ‘get_current_context_text’:
engine.c:224:15: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
  224 |     g_message("%s: current context is:%u:%lu:%s:", __FUNCTION__, km_kbp_context_length(context), buf_size, current_context_utf8);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                  |
      |                                                                  size_t {aka long unsigned int}
engine.c:224:40: note: format string is defined here
  224 |     g_message("%s: current context is:%u:%lu:%s:", __FUNCTION__, km_kbp_context_length(context), buf_size, current_context_utf8);
      |                                       ~^
      |                                        |
      |                                        unsigned int
      |                                       %lu

```

Reverting the previous fix for now.
2022-11-21 16:12:00 +01:00
Eberhard Beilharz
9891239cf0
feat(linux): Add symbols file
Debian/lintian recommends to add a symbols file which allows to
check for API changes. The package build on Jenkins now has an
additional build step that will compare the API of the newly
built package with the committed symbols file and will fail the
build if the API changed and we didn't update the symbols file
yet. The current symbols file gets stored as build artifact, so
it can easily be copied from Jenkins.

During the build of the binary package this check is also run but
won't fail the build.
2022-11-21 12:38:23 +01:00
sgschantz
472d9bf670 altered way that the text size is initialized for the UITextView 2022-11-21 16:25:22 +07:00
Darcy Wong
27cc980b13
Merge pull request #7768 from keymanapp/cherrypick/android/sdk-version-31
chore(android): Update Target SDK Version to 31 🍒
2022-11-21 16:23:39 +07:00
Darcy Wong
749f121acf fix(android/engine): Address additional review comments 2022-11-21 14:20:00 +07:00
Darcy Wong
2b372a889e
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-21 13:51:44 +07:00
Marc Durdin
ec12469487
Merge pull request #7776 from keymanapp/chore/cleanup-history
chore: cleanup history
2022-11-21 17:20:45 +11:00
Darcy Wong
2d0008e2e3 chore(android/app): Engineering test code with sil_cameroon_qwerty 2022-11-21 10:01:42 +07:00
Darcy Wong
ca75980c78 fix(android/engine): Make it easier to test keyboard updates 2022-11-21 10:00:35 +07:00
Marc Durdin
c21cdbe5e9
Merge pull request #7775 from keymanapp/fix/developer/range-check-error-cef
fix(developer): cast to prevent ERangeError for failed http reqs in CEF
2022-11-21 13:18:52 +11:00
Marc Durdin
afce1d44bd
Merge pull request #7760 from keymanapp/chore/windows/7759-remove-unused-option-strings
chore(windows): remove unused options from locales and UI
2022-11-21 13:18:44 +11:00
Marc Durdin
9103703e41 fix: automatically merge changes to history back to master
Fixes #7351.
2022-11-21 13:17:30 +11:00
Marc Durdin
41adf3189e
Merge pull request #7777 from keymanapp/fix/7351-merge-stable-history-to-master-automatically
fix: automatically merge changes to history back to master
2022-11-21 13:16:49 +11:00