Commit graph

438 commits

Author SHA1 Message Date
Joshua Horton
320b72bd4a Merge branch 'master' into chore/mac/main-build.sh-rework 2024-05-30 09:52:25 +07:00
Shawn Schantz
b068f94537
Merge pull request #11515 from keymanapp/fix/mac/10997-adopt-unified-logging
change(mac): adopt unified logging APIs
2024-05-27 09:11:45 +07:00
sgschantz
1d5ef914ce fix(mac): adopt unified logging
address review comments
2024-05-27 08:58:25 +07:00
sgschantz
ab98086003 fix(mac): adopt unified logging APIs
remove all references to NSLog
adjust log level for some calls to os_log
Fixes #10997
2024-05-23 15:50:50 +07:00
sgschantz
aff9a0e157 fix(mac): use unified logging APIS
remove logDebugMessage API which calls NSLog and call os_log instead
2024-05-22 19:32:40 +07:00
Darcy Wong
629417c1ed chore(mac): Update crowdin strings for DE 2024-05-22 13:54:14 +07:00
sgschantz
e4f7f1d1a1 fix(mac): added unified logging to Keyman Engine for mac
first draft, need to remove some debug statements and replace
others that would be more useful
2024-05-21 12:45:17 +07:00
sgschantz
cc061837d0 fix(mac): added KMLogs class to manage shared log settings
KMLogs creates singleton os_log objects with the subsystem
and categories shared throughout the application
2024-05-20 08:50:05 +07:00
sgschantz
8fa8275584 fix(mac): change to unified logging
delete commented out code and unimplemented method
2024-05-20 08:42:32 +07:00
sgschantz
346ed1f51c chore(mac): revert xib change
no need to change this as part of indentation reformat
2024-05-17 16:52:00 +07:00
Joshua Horton
81600de405 chore(mac): drops one local mac-only helper .sh b/c redundant 2024-05-15 10:10:11 +07:00
sgschantz
746149178a chore(mac): re-indenting to 2 spaces
phase two
2024-05-13 17:07:52 +07:00
Shawn Schantz
9dd227ff2d
Merge branch 'master' into chore/mac/11427-indent-2-spaces 2024-05-13 16:24:45 +07:00
sgschantz
67148475c1 chore(mac): re-indent files for tabs equal to two spaces
phase one
2024-05-13 16:16:30 +07:00
sgschantz
0288b72c84 fix(mac): made osk keys visible again
set clipsToBounds to true for osk and osk key views
This property began defaulting to false with the update to
macOS 14 sonoma causing the osk keys to become so large
that they obscured the entire osk view.
Also replaced and few more deprecated properties and functions.
2024-05-10 14:49:34 +07:00
sgschantz
0dbd47d683 fix(mac): replace deprecated API calls
With the move to Xcode 15.3, there are many APIs called from
Keyman for Mac that were deprecated before our minimum supported
version of macOS (now set to 10.13)
2024-05-07 16:29:04 +07:00
Marc Durdin
f41d1ad178
Merge pull request #11302 from keymanapp/chore/ios/10671-xcode-15-build
chore(ios,mac): support build on Apple Silicon using Xcode 15.3
2024-05-02 14:31:08 +10:00
sgschantz
e88380230d chore(mac): increase maximum size of dmg to 30MB
When upgrading to Xcode 15.3 and a newer version of Sentry, the dmg
template file was too small for the newly generated executable.
2024-04-26 14:57:04 +07:00
sgschantz
99be7c9c34 updated version of Sentry to 8.24.0 2024-04-26 14:30:09 +07:00
sgschantz
ebb6631ab6 change macOS target version to 10.13, update versions in markdown files and Podfile 2024-04-26 10:22:58 +07:00
sgschantz
f40e1ff8d8 change all mac project settings minimum supported version from 10.10 Yosemite to 10.13 High Sierra 2024-04-25 09:13:21 +07:00
sgschantz
5b9e5d80f2 correct method names in log statements 2024-04-19 14:19:58 +07:00
sgschantz
984e6dc47a improve compliance detection, accounting for all delete and insert combinations 2024-04-08 16:24:22 +07:00
Shawn Schantz
71359a7b8f
Merge pull request #11141 from keymanapp/fix/mac-11087-slow-typing
fix(mac): load only 80 characters from context when processing keystrokes
2024-04-04 13:17:56 +07:00
Shawn Schantz
4c881a13c8
fix typo in comment
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2024-04-03 11:48:16 +07:00
sgschantz
6034033dae get a maximum of 80 characters from current context 2024-04-01 13:25:45 +07:00
sgschantz
62eec26901 replace characters during key processing by using deleted_context field from Core 2024-03-27 10:50:27 +07:00
sgschantz
9a8ea596be added issue # in comment 2024-03-11 14:29:42 -05:00
sgschantz
ca32ceb542 removed obsolete input method event handler class 2024-03-07 12:15:45 +07:00
sgschantz
07bf055edb mostly deletions of obsolete pre-core code 2024-02-28 13:25:03 +07:00
sgschantz
10b60006bd added lowLevelBackspaceCount, eliminated redundant keymanCode 0xFF event 2024-02-28 09:37:04 +07:00
Marc Durdin
249ed77835
Merge branch 'epic/core/9999-normalization' into chore/merge-master-into-core/9999-normalization 2024-01-19 17:42:40 +11:00
Darcy Wong
799117a6fa chore(common): Update crowdin strings for Khmer 2024-01-17 10:48:15 +07:00
Marc Durdin
823b7722a0 refactor(mac): remove legacy Core context API calls
Relates to #9999.
2024-01-17 14:44:07 +11:00
Darcy Wong
0515f5c513 chore(common): Update crowdin for Spanish Latin America 2024-01-12 09:01:38 +07:00
Darcy Wong
f963d77546 chore(common): Update crowdin for German 2024-01-12 08:59:19 +07:00
Darcy Wong
f839220b1a chore(mac): Update crowdin for French 2024-01-12 08:57:32 +07:00
Shawn Schantz
a42a2f0d38
comment cleanup
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2023-12-19 15:48:50 +07:00
sgschantz
e34cc9c49f remove Atom editor from hard-coded non-compliant list 2023-12-19 15:26:11 +07:00
sgschantz
e62dd67273 comment changes 2023-12-19 12:47:41 +07:00
sgschantz
5019904932 recalculate compliance on context change, improve auto detection of compliance 2023-12-15 15:11:41 +07:00
Shawn Schantz
55f69ae734
Merge pull request #10066 from keymanapp/chore/mac/use-core-actions-struct
chore(mac): use core actions struct
2023-12-14 11:58:34 +07:00
Shawn Schantz
4b5495e41b
Update mac/Keyman4MacIM/Keyman4MacIM/KeySender.m
add guard clause

Co-authored-by: Marc Durdin <marc@durdin.net>
2023-12-14 11:57:13 +07:00
sgschantz
71d4710d89 changes for review comments 2023-12-13 15:40:16 +07:00
Darcy Wong
e59ef933f2
Merge pull request #10175 from keymanapp/chore/crowdin/mnw
chore(android,mac): Update Mon crowdin strings
2023-12-11 16:54:27 +07:00
Darcy Wong
24195b19c3
Merge pull request #10174 from keymanapp/chore/crowdin/ckl
chore(android,mac): Update Kibaku crowdin strings
2023-12-11 16:54:03 +07:00
Marc Durdin
473bc48ba7 chore(mac): force detach of disk image during build after 5 failures
Fixes #10200.

This is a two-part fix. First, with our normal `set -e` build
environment, the existing loop never ran more than once, so the 5
second delay pattern we used to use in the dim dark past was no longer
being applied. It is likely that in most cases, this will address the
failure to detach.

The second part is to escalate our detach with a `-force` parameter,
after 5 failed polite attempts. This is new and is addressing the
suggestion in #10200, so we'll have to see if it has any impact on
build stability.
2023-12-11 08:15:42 +07:00
sgschantz
27b1236d90 eventTap changes, add delay to queued text event 2023-12-08 11:40:21 +07:00
Darcy Wong
0a2318de81 chore(mac): Update Mon crowdin strings 2023-12-07 11:58:21 +07:00
Darcy Wong
e24a341a32 chore(mac): Update Kibaku crowdin strings 2023-12-07 11:53:02 +07:00