sgschantz
24830f4bc6
change(mac): improved comments and increased delay to 0.25
2024-09-16 10:55:21 +07:00
Marc Durdin
1ec1f0e1e8
refactor(common): move help into common prod/docs/help folders
...
Step 1 -- move all product help into docs/help folders. Next, will
update corresponding scripts.
Relates-to: #12347
2024-09-16 06:13:46 +07:00
sgschantz
4ec6144c64
change(mac): added delays before inputmethod state transition
2024-09-13 14:53:16 +07:00
Sabine
c045b94429
chore (mac): remove argc, use VK_SPACE, use _countof()
2024-09-13 09:50:42 +02:00
sgschantz
d664797359
change(mac): attempt to fix sequoia failure to deactivate
2024-09-13 13:53:08 +07:00
Sabine
f385652435
chore (mac): mac_run and minor things (edits, comments,...)
2024-09-12 18:16:11 +02:00
Sabine
6a8c815c7c
chore (mac): remove (w)main for windows/Linux; define arrays+variables in *.cpp and declare as extern in *.h
2024-09-12 17:34:59 +02:00
Shawn Schantz
a50a089f63
Merge branch 'master' into change/mac/12342-remove-always-show-osk
2024-09-12 20:21:44 +07:00
Shawn Schantz
a99ca4f120
change(mac): overhauled logic for determining input method state
...
uses Carbon APIs to determine current input source
This, combined with text input client is used to determine
whether Keyman is truly active or not.
Removed all code executing on delays and immediately
checks state and shows/hides OSK and
enables/disables eventTap.
2024-09-12 19:57:10 +07:00
Darcy Wong
84dbc1042c
chore(common): Update crowdin strings for Italian
2024-09-12 15:56:22 +07:00
sgschantz
b3651f0dfa
change(mac): renamed property and cleaned up comments
...
Fixes : #12342
2024-09-11 11:03:47 +07:00
sgschantz
b8cbf04ff7
change(mac): added KMInputMethodLifecycle
...
clearly manages the state of the input method and notifies
any observers of changes
Fixes : #12342
2024-09-10 16:06:33 +07:00
Sabine
23c66922ce
chore(mac): change bitmapoffset + bitmapsize to prevent buffer problems
2024-09-09 18:09:15 +02:00
sgschantz
78fd4ee19b
change(mac): renaming, use client map instead of servers array
2024-09-06 16:41:07 +07:00
sgschantz
a032f80230
change(mac): read and write new osk window state
...
persists state whenever user opens or closes OSK
also records location and size
Fixes : #12342
2024-09-04 16:04:59 +07:00
Shawn Schantz
18e7a1e363
change(mac): remove Always show OSK option
...
add simple flag to indicate whether OSK is shown
2024-09-03 20:24:08 +07:00
sgschantz
f5677782b0
fix(mac): check for macOS 11 for PostEvent access
...
CGPreflightPostEventAccess API should be available
with macOS 10.5 (Catalina) but that does not appear
to be true in experience. Changing to check for 11.0
(Big Sur) before using that API instead.
Fixes : #12295
2024-09-03 13:07:25 +07:00
sgschantz
cc2c917bc2
fix(mac): nil window references after dismissing dialogs
...
also delete commented code
2024-09-02 15:56:50 +07:00
sgschantz
b38700cb19
fix(mac): comment cleanup
2024-09-02 09:34:31 +07:00
sgschantz
19cb236fe5
fix(mac): open download info sheet from config window
...
Rather than opening from the keyboard download window
which is supposed to be closed by the download info
sheet. This prevents the download info sheet from
closing its own parent on which it depends.
2024-08-30 15:05:58 +07:00
Shawn Schantz
d6d9feb64c
Merge branch 'master' into fix/mac/9308-no-package-info
2024-08-30 12:55:23 +07:00
Shawn Schantz
0aa4be5584
Merge pull request #12144 from keymanapp/change/mac/2542-use-partial-keyboard-paths
...
change(mac): store partial path in UserDefaults
2024-08-30 12:36:17 +07:00
Shawn Schantz
a283fd1391
Merge pull request #12106 from keymanapp/change/mac/2542-store-keyboards-elsewhere
...
change(mac): store data in Library directory instead of Documents
2024-08-30 12:35:36 +07:00
sgschantz
9ddb7ba329
change(mac): encapsulate active keyboards access in KMSettingsRepository
2024-08-30 09:38:58 +07:00
sgschantz
569a8a8a49
fix(mac): eliminate all use of deprecated API beginSheetModalForWindow
...
beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:
was deprecated in macOS 10.10 and replaced by
beginSheetModalForWindow:completionHandler:
The newer API automatically closes the sheet.
Explicitly closing the sheet also seemed to be causing
the parent windows to close.
Fixes : #9308
2024-08-29 15:38:00 +07:00
Darcy Wong
1d55100cb3
chore(common): Update crowdin strings for Czech
2024-08-29 14:54:48 +07:00
sgschantz
24daed27f7
change(mac): minor comment cleanup
...
Fixes : #2542
2024-08-28 12:54:42 +07:00
Shawn Schantz
31a545bcf2
Merge branch 'change/mac/2542-store-keyboards-elsewhere' into change/mac/2542-use-partial-keyboard-paths
2024-08-28 12:46:27 +07:00
Shawn Schantz
8dd258d485
Merge branch 'master' into change/mac/2542-store-keyboards-elsewhere
2024-08-27 13:09:25 +07:00
sgschantz
ea6e29581b
change(mac): some minor changes after review comments
2024-08-27 13:06:37 +07:00
Shawn Schantz
930221376c
fix(mac): show package info after keyboard install
...
Move to updated APIs that no longer require window dismissal.
Fixes : #9308
2024-08-27 04:19:51 +07:00
Shawn Schantz
2b752bf7ef
Merge branch 'master' into fix/mac/12197-invalid-version-string
2024-08-26 14:02:44 +07:00
sgschantz
24f4a61ada
change(mac): responded to review comments
2024-08-21 17:05:07 +07:00
Shawn Schantz
f074edaccf
Merge branch 'master' into fix/mac/11674-crash-during-compliance-check
2024-08-21 11:19:35 +07:00
sgschantz
a26389bfea
test(mac): removed commented code
2024-08-21 11:12:43 +07:00
sgschantz
5c96f8f769
fix(mac): remove text from short bundle version string
...
in info.plist for both input method and engine, remove
the framing text so that it just contains the version
number triplet
Fixes : #12197
2024-08-20 16:14:40 +07:00
sgschantz
49bfd08fb3
change(mac): persist options fix when dictionary exists
...
testing showed that when an option already existed,
it would be deleted when attempting to update it to
a new value
2024-08-19 12:49:46 +07:00
sgschantz
5364a741da
change(mac): some refactoring
...
Mostly taking advantage of KMSettingsRepository so
that more of the UserDefaults changes happen through it
Still some refactoring remains for active keyboards list
2024-08-16 16:34:19 +07:00
Sabine
dd0ebc4325
chore(mac): add backslash to build.sh
2024-08-16 10:58:41 +02:00
Sabine
d926045725
chore(mac): add mcompile to build.sh
2024-08-16 10:47:13 +02:00
sgschantz
b1685f5865
change(mac): use partial paths in settings
...
converts partial paths to full paths as needed
and vice-versa when moving between file
system access and referencing keyboards
in UserDefaults
2024-08-15 15:41:38 +07:00
Sabine
07edecd17f
chore(mac): disable optimization for mcompile
...
See https://github.com/keymanapp/keyman/pull/11334#issuecomment-2290784399
for details, but with anything other than -O0, the output is not correct
This is intended to be a temporary workaround
2024-08-15 09:08:40 +02:00
Sabine
8c480ac131
feat(mac): add build.sh
2024-08-14 16:00:27 +02:00
Sabine
e79c534335
feat(mac): mcompile remove u16, kmx_file from mcompile-mac and use from common
2024-08-14 15:33:14 +02:00
Sabine
b5ac6e4ce0
Merge branch 'feat/mac/mcompile_mac' of https://github.com/keymanapp/keyman into feat/mac/mcompile_mac
2024-08-14 14:22:10 +02:00
Marc Durdin
684a2dfa2d
Merge branch 'master' into feat/mac/mcompile_mac
2024-08-14 22:21:33 +10:00
Sabine
e889fd8e7b
refactor(mac): use km_types from common
2024-08-14 14:09:58 +02:00
sgschantz
1e805949ae
change(mac): store partial path in UserDefaults
2024-08-09 14:49:37 +07:00
Shawn Schantz
05918b5f04
Merge branch 'master' into change/mac/2542-store-keyboards-elsewhere
2024-08-09 14:38:33 +07:00
sgschantz
5c250cdd6e
chore(mac): updated mac project settings to include Greek localization
2024-08-08 12:25:43 +07:00