Commit graph

3262 commits

Author SHA1 Message Date
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
671973baab refactor(core): split context API from Core primary API
Relates to #9999.
Fixes #10384.

The context API endpoints should no longer be considered as part of the
standard Core API. The only consumers that have a need to access these
APIs are the IMX integration in Engine for Windows, and the Keyman
Developer Debugger.

These symbols are currently used by Developer:
* `km_core_context` struct
* `km_core_context_type` enum
* `km_core_context_item` struct
* `KM_CORE_CONTEXT_ITEM_END` macro
* `km_core_state_context()`
* `km_core_context_set()`
* `km_core_context_clear()`

These symbols are currently used by Windows IMX:
* `km_core_context` struct
* `km_core_context_type` enum
* `km_core_context_item` struct
* `KM_CORE_CONTEXT_ITEM_END` macro
* `km_core_context_items_dispose()`
* `km_core_context_item_list_size()`
* `km_core_state_get_intermediate_context()`

The following functions and symbols are moving to
keyman_core_api_context.h:
* `km_core_context` struct
* `km_core_context_type` enum
* `km_core_context_item` struct
* `KM_CORE_CONTEXT_ITEM_END` macro
* `km_core_state_context()` function
* `km_core_state_get_intermediate_context()` function
* `km_core_context_set()` function
* `km_core_context_clear()` function
* `km_core_context_get()` function
* `km_core_context_items_from_utf16()` function
* `km_core_context_items_from_utf8()` function
* `km_core_context_items_to_utf8()` function
* `km_core_context_items_to_utf16()` function
* `km_core_context_items_to_utf32()` function
* `km_core_context_items_dispose()` function
* `km_core_context_length()` function
* `km_core_context_append()` function
* `km_core_context_shrink()` function
* `km_core_context_item_list_size()` function
2024-01-17 14:44:25 +11:00
Marc Durdin
7cd7ab3346 refactor(windows): use km_core_state_context_debug
Relates to #10365.
2024-01-15 08:29:27 +07: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
Marc Durdin
06409e0c0b
Merge pull request #10312 from keymanapp/fix/windows/10308-readme-embedded-images
fix(windows): serve images for readme files in Keyboard Install
2024-01-11 18:39:46 +11:00
Nguonnyny Tan
4dc61300b0
Update character-map.md
add [
2024-01-10 12:23:18 +07:00
Marc Durdin
126a657715 fix(windows): serve images for readme files in Keyboard Install
Fixes #10308.

When a file is requested without a tag parameter, we need to look to
the referer to find out what the tag is, so we can associate it with
the correct readme file.
2024-01-03 14:10:20 +07:00
Marc Durdin
3d5506ef3e chore(windows): move reportExceptions check in exception handler to caller 2023-12-11 20:44:53 +07:00
Marc Durdin
3a91c7d197 chore(developer): move IDEOptions key responsibility into KeymanDeveloperOptions
First part of addressing #10161 is to refactor the existing usage of the
registry values into the common KeymanDeveloperOptions unit. This was
mostly straightforward except for the changes to KeymanSentryClient,
which happens to be the most important part of this particular fix.
2023-12-11 13:48:43 +07:00
rc-swag
21c012208b
Merge pull request #10176 from keymanapp/fix/windows/keyman64-dll-debug-build
fix(windows): debug includes libcmtd vs libcmt.dll
2023-12-08 09:40:48 +10:00
rc-swag
42a089a84d fix(windows): debug includes libcmtd vs libcmt.dll 2023-12-07 15:20:05 +10:00
rc-swag
63e4371513 chore(windows): fix argument passed into to km_core_state_context_set_if_needed 2023-11-30 12:51:52 +10:00
rc-swag
23da871f18 chore(windows): remove res from PR change resetcontext 2023-11-24 07:52:16 +10:00
rc-swag
08b3764496
chore(windows): review comments
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-11-24 07:48:23 +10:00
rc-swag
2dbad870ca chore(windows): add comments ReadContext 2023-11-23 22:01:26 +10:00
rc-swag
4480a05412 chore(windows): removed cached context windows engine
Removed the cached context from the windows engine
2023-11-23 16:58:41 +10:00
Marc Durdin
5224affd38 chore(windows): remove unused globals relating to old keyboard debugging
Fixes #10056.

Removes:
* Globals::miniContext
* Globals::miniContextIfLen
* Globals::indexStack
* Globals::msgbuf
* GLOBAL_ContextStackSize
* GLOBAL_MsgStackSize
* GLOBAL_MaxKeyboards
* INI struct (and commented-out usage of this)
2023-11-23 11:30:57 +10:00
Marc Durdin
df2b258c89 chore(windows): remove legacy LoadKeyboard
Fixes #10053.

Removes `LoadKeyboard` and related functions used only by it.
2023-11-23 11:22:32 +10:00
Marc Durdin
ee1f972b13 chore(windows): remove wm_keymandebug messages and functions
Fixes #10050.

Removes the following unused identifiers:
* ::wm_kmdebug
* ::wm_keymandebug
* AppInt::DebugControlled()
* AITIP::WM_KEYMANDEBUG_CANDEBUG
* AITIP::WM_KEYMANDEBUG_GETUNICODESTATUS
* AITIP::WM_KEYMANDEBUG_GETCONTEXT
* AITIP::WM_KEYMANDEBUG_ACTION
* AITIP::WM_KEYMANDEBUG_RULEMATCH
* AITIP::DebugControlled()
* AITIP::IsDebugControlWindow()
* AITIP::GetDebugControlWindow()
* AITIP::Debug_FillContextBuffer()
* AIDEBUGINFO struct
* ::FillStoreOffsets()
* AIDEBUGKEYINFO struct

Removes overloads which are now no-ops:
* AITIP::HandleWindow()
* AITIP::IsWindowHandled()
* AITIP::QueueAction()
2023-11-23 10:49:58 +10:00
Marc Durdin
40cdd49c28 fix(windows): setup handle whitespace in setup.inf 2023-11-14 12:47:13 +07:00
Marc Durdin
f4c1cc10bd fix(windows): setup.inf generation had whitespace
This is a regression coming out of #9616. The new setup.inf generation
process is done in a Makefile and inadvertently added significant
whitespace, which was not being trimmed by setup.
2023-11-14 10:28:52 +07:00
Marc Durdin
6f6e07975b chore(developer): remove compile.pas and CompileErrorCodes.pas
Fixes #9923.

These are no longer used because we now use kmc for builds. This also
means that the kmcomp-x64-structures test is no longer required, because
that was used to keep the Delphi and C++ structures in sync.

There are some minor details around error message identifiers that are
still present in a handful of places, but they are work for another
time.
2023-11-02 13:12:28 +07:00
Marc Durdin
82177013e9 chore(core): Merge branch 'master' into feat/core/9720-actions-apis 2023-10-24 20:55:10 +07:00
Marc Durdin
0aa86501c6 chore(core): fix types and compile errors
Fixes #9832. Addresses a couple of other cross-platform compile issues.
2023-10-24 09:25:08 +07:00
Eberhard Beilharz
fdc9baadb2
chore(linux): Merge remote-tracking branch 'origin/master' into chore/linux/9733_RenameLibknmkbp 2023-10-20 12:31:14 +02:00
Eberhard Beilharz
b177df2ceb
Merge pull request #9794 from keymanapp/chore/linux/9733_RenameDefines
chore(linux): Rename KBP to CORE 〽️
2023-10-20 12:29:24 +02:00
rc-swag
9054c48c47
Merge pull request #9689 from keymanapp/docs/windows/9391/add-win11-references
docs(windows): update text and images for windows 11
2023-10-19 20:57:09 +10:00
Eberhard Beilharz
52bb859817
chore(linux): Rename (lib)kmnkbp to (lib)keymancore 2023-10-19 10:35:09 +02:00
Eberhard Beilharz
2f073f7778
chore(linux): Rename KMN_CORE to KM_CORE_LIBRARY 2023-10-19 08:51:29 +02:00
rc-swag
cd9fe82079
docs(windows): apply code review suggestions
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-10-19 13:24:34 +10:00
Eberhard Beilharz
b5c6f31b05
chore(linux): Rename KBP to CORE 2023-10-18 15:48:21 +02:00
rc-swag
d94b84154f docs(windows): remove text_services_framework page
Removed the text services framework page and all links
2023-10-17 17:53:19 +10:00
Eberhard Beilharz
965b8e5ecc
chore(linux): Rename kbp_state_get_intermediate_context to km_core_...
A previous rename missed this.
2023-10-16 19:39:18 +02:00
Darcy Wong
fec3a85ce1 chore(android,windows): Update crowdin strings for Kannada 2023-10-11 09:11:10 +07:00
Marc Durdin
f61e65ceb9
Merge pull request #9736 from keymanapp/chore/merge-master-into-package-metadata
chore: merge master into package-metadata
2023-10-11 11:28:07 +11:00
Marc Durdin
78061924f1
Merge pull request #9724 from keymanapp/chore/core/9722-rename-km_kbp_-to_km_core_
chore: rename km_kbp_ to km_core_
2023-10-10 11:57:20 +11:00
Marc Durdin
a3bcc8b594
Merge pull request #9723 from keymanapp/chore/core/9721-rename-keyboardprocessor.h-to-keyman_core_api.h
chore(core): rename keyboardprocessor.h to keyman_core_api.h
2023-10-10 11:57:12 +11:00
Marc Durdin
db76e2541d chore: rename KM_KBP_ to KM_CORE_ 2023-10-09 14:53:22 +07:00
Marc Durdin
ba5f18defd chore: rename km_kbp_ to km_core_ 2023-10-09 14:53:13 +07:00
Marc Durdin
906a0a2ed7 chore: fix typo 2023-10-09 14:41:01 +07:00
Marc Durdin
4ef18f5e29 chore(core): rename keyboardprocessor.h to keyman_core_api.h
Fixes #9721.

Also tweaks some documentation references to keyboardprocessor, but does
not touch those relating to debian/control.
2023-10-09 14:21:01 +07:00
Marc Durdin
702b3a0582 chore(windows): fix typo 2023-10-06 10:11:08 +07:00
Marc Durdin
9461a3b583 chore(windows): fix path in Makefile 2023-10-06 09:45:22 +07:00
Marc Durdin
eeb755f76a fix(windows): re-enable signature check
Fixes #9692.

Signature checking was skipped because we missed a ".virtual" to force
nmake to build the test and test_i3633 targets. This opened up a small
cascade of related formatting issues on Makefiles, and the fact that the
test_i3633 (has there ever been a more poorly named project?) Makefile
did not even work.

Refactored significantly, added same tests to Developer Makefile, and
also now verifying the .msi and installer executable.

We can improve this further but I'd like to get this in to avoid further
critical issues with code signing given the current broken signing
configuration.
2023-10-06 09:14:35 +07:00
rc-swag
55edc376b1 docs(windows): List some apps that use TSF 2023-10-05 14:51:01 +10:00
rc-swag
5764fd228f docs(windows): update text and image for windows 11 2023-10-05 13:38:50 +10:00
Marc Durdin
e0c2778199
Merge pull request #9644 from keymanapp/chore/merge-master-into-package-metadata
chore: merge master into package-metadata 🎺
2023-10-04 03:43:45 +02:00
Marc Durdin
cb3d526310
Merge pull request #9619 from keymanapp/chore/developer/9551-remove-keyboard_info-sources
chore(developer): remove .keyboard_info sources 🎺
2023-10-03 15:38:37 +02:00