Commit graph

591 commits

Author SHA1 Message Date
Marc Durdin
593aa1448b chore: move to .localhost for local server URLs
Match website-local-proxy nginx server setup.

Test-bot: skip
2026-05-18 13:15:51 +02:00
Shawn Schantz
7f203cd6c7 fix(mac): removed unused code and extra logging 2026-03-26 06:27:04 -04:00
sgschantz
b22b036f6b maint(mac): upgrade to Xcode 26
change cocoa-sentry version to one compatible with
Xcode 26
2026-03-26 06:17:55 -04:00
Shawn Schantz
4c4643644e fix(mac): surrogate pair backspace handling
replaces with surrogate pair or single character
but not with a larger composed character or
grapheme cluster

Fixes: #15543
2026-02-26 11:30:27 -05:00
Shawn Schantz
f8e9f72210 fix(mac): improved adherence to backspace rule
deals with preceding character being a surrogate pair
when a delete occurs

Fixes: #15543
2026-02-14 16:02:53 -05:00
Shawn Schantz
553a2e5571
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2026-02-10 21:54:00 -05:00
Shawn Schantz
c2a667635a
Update mac/Keyman4MacIM/Keyman4MacIM/KMInputMethodEventHandler.m
Co-authored-by: Marc Durdin <marc@durdin.net>
2026-02-10 21:53:05 -05:00
Shawn Schantz
65c151b33c fix(mac): improved adherence to backspace rule
introduces an alternative to approach to backspace
for compliant apps by using the insertText API to
replace a character to be deleted and the preceding
character from the context with only the character
from the context

Fixes: #15543
2026-02-04 14:40:43 -05:00
Darcy Wong
356ef54c86 chore(common): Update Crowdin strings for de 2026-01-29 16:38:12 +07:00
Darcy Wong
665e82a104 chore(common): Update Crowdin strings for Italian 2026-01-13 09:37:15 +07:00
Darcy Wong
f0fc8f9d13
Merge branch 'master' into chore/common/crowdin-pt 2025-12-19 06:02:14 +07:00
Darcy Wong
cbca7630e1 chore(common): Update crowdin strings for PT 2025-12-18 16:13:25 +07:00
Marc Durdin
5451c70743 fix(mac): ensure retry for mac disk detach actually repeats
Increment needed a guard in order to not abort the script. I have tested
locally (stubbing out hdiutil and replacing with false!) -- so I am more
confident this time.

Test-bot: skip
Build-bot: skip
Follows: #15176
2025-12-09 18:04:44 +00:00
Shawn Schantz
323a2f99fc
Merge pull request #14972 from keymanapp/chore/mac/key-trace-log
chore(mac): add keyTrace log
2025-11-20 13:26:25 -05:00
Marc Durdin
9940de591c maint(mac): handle hdiutil detach failure correctly in make-km-dmg.sh
Fixes: #10201
Test-bot: skip
Build-bot: skip release:mac
2025-11-15 06:57:22 +01:00
Shawn Schantz
30897514e4 chore(mac): additional log statements 2025-10-16 17:07:22 -04:00
Shawn Schantz
7811ac92a8 chore(mac): added keyTrace logger
this logger is used to categorize statements related
to the processing of a KeyDown event by Keyman for
more effective debugging of unexpected output
2025-10-16 12:05:05 -04:00
Shawn Schantz
4fd2adc8b0
Merge pull request #14940 from keymanapp/fix/mac/14160-bengali-word
fix(mac): add Microsoft Word to non-compliant app list
2025-10-14 21:14:41 -04:00
Shawn Schantz
9f755c075d fix(mac): add Microsoft Word to non-compliant app list
addresses issue with Bengali text

Fixes: #14160
2025-10-10 16:52:11 -04:00
Darcy Wong
c38f488986 chore(common): Update crowdin strings for Vietnamese 2025-10-09 11:40:18 +07:00
Marc Durdin
377b1056ec maint(resources): rename KEYMAN_VERSION_FOR_PR_FILENAME
Address review comment from #14703.

Test-bot: skip
Build-bot: skip
Relates-to: #14703
Relates-to: #10521
2025-09-10 11:17:41 +02:00
Marc Durdin
b061944223 maint(mac): use versioned filenames for PR artifacts
Relates-to: #10521
Test-bot: skip
Build-bot: skip release:mac
2025-09-08 12:44:57 +02:00
Marc Durdin
a81138c62b
Merge pull request #14449 from keymanapp/maint/common/14065-consolidate-builder-scripts
maint(common): consolidate builder scripts 🐸
2025-08-12 10:41:09 +07:00
Marc Durdin
f95b26ac1f
Merge pull request #14446 from keymanapp/maint/common/14275-rename-and-cleanup-shellHelperFunctions.sh
maint(common): rename shellHelperFunctions.sh to utils.inc.sh 🐸
2025-08-12 10:40:59 +07:00
Darcy Wong
afd4256ce6 chore(common): Update Crowdin strings for Spanish 2025-08-06 11:36:52 +07:00
Marc Durdin
f394245636 maint(common): consolidate builder scripts
Clarifies the confusing builder.inc.sh / build-utils.sh distinction by
giving the scripts more appropriate names. Most build scripts should use
builder-full.inc.sh; some helper scripts can use builder-basic.inc.sh.
Documented in resources/build/README.md.

Renames:
* resources/build/builder.inc.sh to resources/build/builder-full.inc.sh
* resources/build/build-utils.sh to resources/build/builder-basic.inc.sh

Other changes:
* Moves Android-specific functions out of builder-basic.inc.sh and into
  android/build.sh.
* Renames functions in builder-basic.inc.sh

More functions may be moved from builder-basic.inc.sh into utils.inc.sh
or other scripts in the future.

Fixes: #14065
Build-bot: build all
Test-bot: skip
2025-08-02 08:11:24 +10:00
Marc Durdin
65158a0526 maint(common): rename shellHelperFunctions.sh to utils.inc.sh
Adds documentation for various functions, removes unused functions (a
couple of simple, very lightly used functions were unDRYed; these could
go back the other way across all shell scripts if necessary). TODO items
noted for follow-up refactoring.

Fixes: #14275
Relates-to: #14269
Build-bot: build all
Test-bot: skip
2025-08-02 06:58:40 +10:00
Eberhard Beilharz
51ca604b47
chore(common): Merge remote-tracking branch 'origin/master' into maint/common/14109_isOsFuncs 2025-07-21 09:20:12 +02:00
Eberhard Beilharz
bcc6ecc3eb
maint(mac): consolidate write-download_info
Mac had a separate `write-download_info.sh` script that duplicates what
is done in the `write_download_info` function. Also remove the unused
`dl_info_display_usage` function that is unused and seems to be related
to the script we're deleting.

Test-bot: skip
2025-07-09 19:12:29 +02:00
Eberhard Beilharz
3b136fcec9
maint(common): consolidate functions to determine OS
- add `builder_is_windows`, `builder_is_macos` and `builder_is_linux`
  functions
- add/move `BUILDER_OS` env variable to `resources/builder.inc.sh`
- use the new functions and env variable

Fixes: #14109
Test-bot: skip
2025-07-09 18:33:09 +02:00
Darcy Wong
ed0b747722
Merge pull request #13871 from keymanapp/chore/crowdin-it
chore(mac,windows): Update Crowdin strings for Italian
2025-05-16 09:00:49 +07:00
Shawn Schantz
79d5347c80
Merge pull request #13876 from keymanapp/fix/mac/13718-sanskrit-unicode-crash
fix(mac): handle PackageInfo section in kmp.inf file
2025-05-13 15:48:55 +07:00
Shawn Schantz
df21808616
Merge pull request #13848 from keymanapp/fix/mac/replace-km-binary-file-format
chore(mac): remove obsolete key processing code
2025-05-12 18:39:40 +07:00
Shawn Schantz
299f37e48b fix(mac): clarify file format differences for kmp.inf 5.0 and 6.0 2025-05-12 16:21:30 +07:00
Shawn Schantz
c45135d5b2 fix(mac): handle [PackageInfo] section in kmp.inf file
also prevent crash when no package name found

Fixes: #13718
2025-05-09 18:29:54 +07:00
Darcy Wong
c22963f302 chore(mac): Update Crowdin comments for Italian 2025-05-09 10:28:56 +07:00
Eberhard Beilharz
4d81589f48
maint(common): use unique names for Keyman version variables
Previously the builder scripts defined a readonly `VERSION` environment
variable for the Keyman version. That caused problems when another
(external) script tried to define a `VERSION` variable. We encountered
this problem when trying to move the TC build steps of a configuration
into a single script (#13399) when we tried to source `~/.nvm/nvm.sh`.

This change uses a Keyman specific prefix for the version variables and
renames `VERSION` → `KEYMAN_VERSION` etc. Unfortunately these variables
are used in a lot of places, so this turned out to be a bit of a yak
shave.

Test-bot: skip
2025-05-07 18:46:51 +02:00
Shawn Schantz
cd59c298a8 chore(mac): remove NSString extension 2025-05-07 12:36:17 +07:00
Shawn Schantz
e827827bb4 chore(mac): removed references to groups and load only system stores 2025-05-06 17:06:29 +07:00
Darcy Wong
30dc85f484 chore(common): Update crowdin strings for Spanish Latin America 2025-04-09 07:44:32 +07:00
Darcy Wong
0d2c001e48
Merge pull request #13681 from keymanapp/chore/common/crowdin-km
chore(android,mac,windows): update Crowdin strings for Khmer
2025-04-07 15:57:35 +07:00
Darcy Wong
d6c612104c chore(mac): Update crowdin strings for Khmer 2025-04-07 08:52:26 +07:00
Darcy Wong
005f1674ad chore(mac): Update crowdin strings for Czech 2025-04-07 08:41:12 +07:00
Shawn Schantz
114a7479a3
Merge pull request #13550 from keymanapp/fix/mac/13465-word-table-output
fix(mac): reevaluate API compliance for each change in context
2025-04-03 09:40:09 +07:00
Darcy Wong
4d4508d4c7
Merge pull request #13595 from keymanapp/chore/crowdin/mon
chore(common): Update crowdin strings for Mon
2025-04-02 10:38:41 +07:00
Darcy Wong
938bfcea76 chore(mac): Clean up comment 2025-04-01 10:16:25 +07:00
Darcy Wong
39eebaa257 chore(common): Update crowdin strings for Mon 2025-03-28 09:15:42 +07:00
Darcy Wong
ca4034d953 chore(mac): Update crowdin strings for Italian 2025-03-28 09:00:31 +07:00
Shawn Schantz
21494ab192 fix(mac): remove context logging
Fixes: #13465
2025-03-27 13:20:52 +07:00
Darcy Wong
39c76a68f7 chore(mac): Remove typos in comment
Addresses review comment

>  The word "need" should be deleted.
2025-03-24 10:36:50 +07:00