sgschantz
9865c3d6ec
set context correctly for unit test
2023-09-27 15:19:16 +07:00
sgschantz
99b2fdd81f
core library icu changes, only builds for debug
2023-09-27 13:10:43 +07:00
sgschantz
682d99c2cb
context simplification, legacy app determination integrated into TextCompatibilityCheck
2023-09-26 10:48:43 +07:00
sgschantz
df3c34a711
add back EventTap function to support left and right modifier keys, do not set NoCaps flag in calls to Core when Caps Lock is off
2023-08-24 14:06:49 +07:00
sgschantz
1efce615f0
pass caps lock value to Keyman Core when processing keys
2023-08-22 10:13:59 +07:00
sgschantz
f57b934257
use helper method for string to unichar string
2023-08-16 15:53:42 +07:00
sgschantz
2cb7458829
successfully loading setting options in core -- not behaving predictably until null terminator added
2023-08-15 14:57:30 +07:00
sgschantz
4010c79bf9
handle PersistOption action; persisting but not loading at startup yet
2023-08-10 11:30:12 +07:00
sgschantz
81b069c228
commented out failing unit test
2023-08-03 08:42:11 +07:00
sgschantz
0b8e3f62b4
remove key processing code from engine and move virtual key map to CoreHelper
2023-08-02 16:01:19 +07:00
sgschantz
b2dce47b3f
update context with core when invalidated
2023-07-06 13:57:37 -04:00
sgschantz
7d7fc2e7bc
fix or disable failing unit tests
2023-06-01 08:34:31 +07:00
sgschantz
81d6109783
fixed failing unit tests; added out of range checks on text replacement during insertText
2023-05-30 15:34:28 +07:00
sgschantz
144f4e0b4f
added KMActionOperation to batch text inserts and deletes; improved context updates
2023-05-23 15:34:05 +07:00
sgschantz
ce0dc60a18
added KMContext, cleaned up some header comments
2023-05-16 15:22:29 +07:00
sgschantz
13f0055ac9
comment cleanup
2023-05-15 08:50:36 +07:00
sgschantz
1566e06bea
broke out CoreActionHandler, new path through InputMethod for Keyman Core action processing
2023-05-05 12:52:18 +07:00
sgschantz
10bf9af6df
fix isClientAppLegacy which was always returning true and add unit tests for it
2023-04-11 09:05:52 +07:00
sgschantz
2e28e93bb5
override init to funnel everything to designated initializer for CoreAction
2023-03-27 16:26:32 +07:00
sgschantz
6be8169945
set designated initializer for CoreAction class
2023-03-27 15:55:47 +07:00
sgschantz
29bd741386
added action array optimizer unit tests
2023-03-27 14:33:07 +07:00
sgschantz
7a0eb338c4
added helper and wrapper unit tests
2023-03-21 08:41:41 +07:00
sgschantz
37441c753a
specify ctrl and alt only if not right or left ctrl or alt
2023-03-17 09:11:45 +07:00
sgschantz
4316a3ceea
modifier conversion support for left and right alt and ctrl keys
2023-03-16 14:25:33 +07:00
sgschantz
0251923ec8
set context in core at init time
2023-03-14 14:03:25 +07:00
sgschantz
bc3c8cdc6b
optimize array of actions returned by core to conform to expected actions list
2023-03-14 12:03:54 +07:00
sgschantz
eba89e54cd
preliminary integration of keyman core with keyman engine for mac
2023-03-09 14:07:44 +07:00
Steven R. Loomis
ae45295dc6
Merge remote-tracking branch 'upstream/master' into chore/merge-master-a17s5-REDO-epic-ldml
2023-02-03 16:53:35 -06:00
Marc Durdin
067028cec2
chore: revise tag variable name to VERSION_GIT_TAG
...
Introduce new $VERSION_GIT_TAG environment variable, and update all
references to release@version in all projects to use the new variable.
2023-01-21 17:02:50 +07:00
Steven R. Loomis
bc14f18460
Merge remote-tracking branch 'origin/master' into chore/core/mergemaster4-epic-ldml
2022-12-15 17:55:13 -06:00
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
Steven R. Loomis
d56f6557fb
chore(core): deprecate checksum in 16.0 🙀
...
- do not generate unless version<16.0
- never check checksum
Fixes : #7220
2022-09-16 14:24:01 -05:00
Steven R. Loomis
efd4c83490
chore(core): ignore checksum in 16.0 🙀
...
- mark as deprecated
Fixes : #7220
2022-09-16 14:24:01 -05:00
Marc Durdin
89ccc393ab
chore: make checksum optional
...
Fixes #7222 .
2022-09-09 17:23:07 +10:00
Marc Durdin
d54dd049d2
chore(common): add VERSION_160 to headers
...
Fixes #7044 .
Groundwork for KMXPlus file format for LDML keyboard support.
2022-08-07 07:45:57 -05:00
Marc Durdin
b23df3fbc8
feat(web): &newLayer and &oldLayer
...
Fixes #6364 .
Removes `&layerChanged` and adds `&newLayer` and `&oldLayer` system
stores with the additional nuances around values as described in #6364 .
2022-03-13 08:29:15 +11:00
Marc Durdin
13c176c638
fix(mac): Check for CODE_SETSYSTEMSTORE
...
Fixes #6168 .
This does not any support for changing any system store values, but does
ensure that the statement will be correctly handled when emitting
text.
2022-01-27 13:26:04 +11:00
Marc Durdin
0c0bb420b5
Merge pull request #5963 from keymanapp/feat/web/3621-newcontext-group
...
feat(web): Start of Sentence support - part 1 🕊
2022-01-17 12:04:29 +11:00
Shawn Schantz
4af399612e
Merge pull request #6006 from keymanapp/fix/mac/osk-label-size
...
fix(mac): increase OSK character size by 50%
2021-12-17 15:36:27 +07:00
sgschantz
5ffd91d29b
restore OSK relative label height size to 0.45
2021-12-17 13:58:53 +07:00
sgschantz
a5f39a77d2
decrease OSK relative label height sizeto 0.42
2021-12-09 14:54:15 +07:00
sgschantz
0bff16a643
merge in changes from master
2021-12-09 12:25:08 +07:00
sgschantz
e982812454
fixed indentation
2021-12-07 15:40:06 +07:00
sgschantz
1b27d2b09a
moved package reading out of app delegate to separate class KMPackageReader, conformed to code style guidelines
2021-12-07 15:24:17 +07:00
sgschantz
e7d98edaa2
conforms to style guidelines, adds constants for relative height of key label
2021-12-06 11:49:29 +07:00
sgschantz
6a1803201f
increase size of characters on key by 50% and clip long labels without ellipsis
2021-12-03 11:14:37 +07:00
sgschantz
96c78752b5
load Keyman Package information from kmp.json file and store in new PackageInfo object rather than in existing Dictionary hierarchy
2021-11-25 17:09:01 +07:00
Marc Durdin
ce2aa9a166
feat(web): support for &layerChanged
...
Relates to #3621 .
Add support for `&layerChanged` system store. This store is set to `1`
before a `begin postKeystroke`, if the keystroke it follows resulted in
a layer change, either programatically through a keyboard rule, or
through a `nextlayer` property of the touched key.
2021-11-24 06:45:20 +11:00
Marc Durdin
dcedb15b69
chore: cleanup comments and defines
2021-11-23 16:08:19 +11:00
Marc Durdin
33a2e230f6
chore(developer): enforce file versions for feature
2021-11-11 13:26:56 +11:00