Commit graph

33096 commits

Author SHA1 Message Date
SabineSIL
236d4d87d8
Merge pull request #11887 from keymanapp/feat/linux/mcompile-rework_mcompile
feat(linux): comments on module mcompile and filesystem 🐘
2024-07-04 18:12:49 +02:00
SabineSIL
4424c23f73
Merge branch 'feat/linux/mcompile-rework_keymap_part2' into feat/linux/mcompile-rework_mcompile 2024-07-04 18:11:15 +02:00
Sabine
e6f212ce77 feat(linux): changes in convert_rgkey_Shiftstate_to_LinuxShiftstate 2024-07-04 17:56:08 +02:00
Sabine
83f079e685 feat(linux): remove count 2024-07-04 17:16:45 +02:00
Sabine
5a70d83b4f feat(linux): new fun convert_rgkey_Shiftstate_to_LinuxShiftstate() 2024-07-04 17:09:31 +02:00
Eberhard Beilharz
8a4cdcedf4
feat(core): add CI image for building Keyman Core 2024-07-04 16:12:48 +02:00
Eberhard Beilharz
23d8a014fd
feat(android): add CI image for building Keyman for Android 2024-07-04 16:12:48 +02:00
Eberhard Beilharz
2767765c5a
feat(web): add CI image for building Keyman Web 2024-07-04 16:12:47 +02:00
Eberhard Beilharz
72bc6c7b8b
feat(linux): add CI image for building Keyman for Linux
This change allows to build a docker image that can build Keyman
for Linux with test coverage reports, and installs the necessary
dependencies for running integration tests.
2024-07-04 16:12:47 +02:00
Eberhard Beilharz
5c337bec8e
feat(common): add base CI image 2024-07-04 16:12:47 +02:00
Sabine
17eea39b4b feat(linux): ensureValidInputForKeyboardTranslation more 2024-07-04 15:00:57 +02:00
Sabine
f6a969b111 feat(linux): ensureValidInputForKeyboardTranslation 2024-07-04 14:24:25 +02:00
Eberhard Beilharz
d554415b1c
change(common): add readme and build.sh 2024-07-04 13:14:13 +02:00
Eberhard Beilharz
2dffec366c
docs(common): improve formatting of builder.md 2024-07-04 13:14:13 +02:00
Eberhard Beilharz
9c7e2c879a
change(common): preliminary update of min node version
This updates the minimum required node version to Node 20. The latest
version of Node 18 still contains the npm bug
(https://github.com/npm/cli/issues/7072) whereas Node 20 got updated to
a npm version that contains a fix. Node 20 is known to work with our
current code, so this change updates to that as an intermediate step
before we investigate if we can update to Node 22 as discussed for
Keyman 18.
2024-07-04 13:14:13 +02:00
Eberhard Beilharz
88f6c95803
fix(core): allow to successfully build on Ubuntu 24.04
Without this change trying to build on Ubuntu 24.04 fails with
"error: 'intptr_t' has not been declared in '::'". I'm not sure
why that is happening, but this is an easy fix.
2024-07-04 13:07:10 +02:00
Dr Mark C. Sinclair
82d041aa4a fix(developer): combine tests from #11910 and this PR 2024-07-04 11:21:54 +01:00
Dr Mark C. Sinclair
7efd46f5f3 chore(developer): merge #11910 into #11894
Merge branch 'fix/developer/11814-kmx_u16-buffer-overrun' into fix/developer/correct-use-of-u16chr-when-second-parameter-could-be-null
2024-07-04 11:05:56 +01:00
Sabine
81abbafc55 feat(linux): remove declaration of fun without definition 2024-07-04 12:01:40 +02:00
Dr Mark C. Sinclair
34859c3020 fix(developer): change file/class nomenclature to match #11910 2024-07-04 10:51:48 +01:00
Sabine
89f8ee7289 feat(linux): run and DoConvert without argv_gdk 2024-07-04 11:35:15 +02:00
Marc Durdin
6fe81cb256
Merge branch 'master' into refactor/windows/cleanup-engine-logging 2024-07-04 10:23:00 +10:00
Marc Durdin
f13f13b960
Merge pull request #11920 from keymanapp/refactor/windows/11917-remove-wm_keyman_key
refactor(windows): remove wm_keyman_keydown and wm_keyman_keyup
2024-07-04 06:58:30 +10:00
Marc Durdin
4f39c75ae7
Merge pull request #11906 from keymanapp/refactor/windows/11904-merge-keyman32-keyman64
refactor(windows): merge keyman64 build into keyman32
2024-07-04 06:58:19 +10:00
Marc Durdin
35e4d10e9d
chore(windows): remove incorrect architecture description from build.sh
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2024-07-04 06:58:08 +10:00
Darcy Wong
e29bdf743f fix(oem/firstvoices): Update a-finals keyboard names
Names per @HopsAndHops suggestion
2024-07-03 15:22:46 -05:00
Keyman Server
c5e4ac5503
Merge pull request #11924 from keymanapp/auto/version-master-18.0.68
auto: increment master version to 18.0.68
2024-07-03 11:03:13 -07:00
Keyman Build Agent
25642f4ec9 auto: increment master version to 18.0.68 2024-07-03 14:02:40 -04:00
Sabine
e6b108ac1e feat(linux): macro max to std::max; wprintf->printf in run() 2024-07-03 17:04:05 +02:00
Sabine
e9d158fffe feat(linux): remaining comments on u16 2024-07-03 14:10:38 +02:00
Sabine
d40ef153e4 feat(linux): prevent buffer overrun #11910 2024-07-03 13:31:31 +02:00
Marc Durdin
1be73a9c2e refactor(windows): clean up logging
* Remove unused parameters from SendDebugMessage functions
* Add SendDebugEntry and SendDebugExit functions for tracking
  function entry/exit
* Add indenting and function names to log entries
* Remove unused debug functions
* Eliminate now-unused hwnd parameter in initialization functions
* Replace Log,LogEntry,LogExit functions with SendDebug equivalents in
  kmtip

Many functions now have SendDebugEntry/SendDebugExit (or
return_SendDebugExit) pairs. It is important to SendDebugExit on all
returns from a function to keep the log indent depth consistent. In some
cases I chose not to add these logging calls, e.g. on frequently called
functions such as the message hooks.
2024-07-03 21:28:37 +10:00
Joshua Horton
2f3a0cbf14
Merge pull request #11867 from keymanapp/refactor/common/models/priority-queue-as-util
refactor(common/models): move TS priority-queue implementation to web-utils 📚
2024-07-03 08:13:53 +07:00
Marc Durdin
aace36963e refactor(windows): remove wm_keyman_keydown and wm_keyman_keyup
Also cleanup the use of state.msg as that had no relevant data in it.

Fixes: #11917
2024-07-03 09:34:44 +10:00
Marc Durdin
63ca95ed76 fix(developer): prevent invalid values in targets store
Fixes: #11773
2024-07-03 08:33:15 +10:00
Sabine
536ef54457 feat(linux): macro max to std::max; wprintf->printf in run() 2024-07-02 21:06:52 +02:00
Keyman Server
2bc041f353
Merge pull request #11914 from keymanapp/auto/version-master-18.0.67
auto: increment master version to 18.0.67
2024-07-02 11:04:29 -07:00
Keyman Build Agent
b1c99893f2 auto: increment master version to 18.0.67 2024-07-02 14:03:53 -04:00
Eberhard Beilharz
f7d6ebd6e1
refactor(web): fix TypeScript errors and warnings
Previously we didn't pre-compile this code and so we didn't notice these
errors and warnings.
2024-07-02 18:54:26 +02:00
Eberhard Beilharz
587c7094c7
refactor(web): fix TypeScript errors/warnings 2024-07-02 18:54:25 +02:00
Dr Mark C. Sinclair
728537906b chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-2 2024-07-02 17:20:16 +01:00
Dr Mark C. Sinclair
5135a6c2a6
Merge pull request #11815 from keymanapp/fix/developer/handle-second-parameter-of-index-correctly-in-kmcmplib-compiler
fix(developer): handle second parameter of index correctly in kmcmplib compiler
2024-07-02 16:34:42 +01:00
Dr Mark C. Sinclair
c3707c7571 chore(developer): Merge branch 'master' into fix/developer/handle-second-parameter-of-index-correctly-in-kmcmplib-compiler
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2024-07-02 15:32:42 +01:00
Marc Durdin
69d8b30d3b fix(developer): prevent buffer overrun in u16tok
Relates-to: #11814
See-also: #11894
2024-07-02 21:46:25 +10:00
Marc Durdin
4138ec4796 chore(windows): core dep 2024-07-02 19:01:30 +10:00
Marc Durdin
98a261d4ae chore(windows): correct deps for keyman32 x64 2024-07-02 17:50:34 +10:00
Marc Durdin
643ebca530 refactor(windows): merge keyman64 build into keyman32
Merges the build settings for keyman64.dll vc++ project into the
keyman32.dll project, so they are both built from the same project, in
preparation for ARM support, to minimize repetition in the source tree.

There should be no material differences to the built libraries.

Also cleans up some noise in keyman32.vcxproj which made it easier to
verify the changes.

Fixes: #11904
2024-07-02 17:00:38 +10:00
rc-swag
14310a1186 feat(windows): rename files to new delphi pattern 2024-07-02 15:39:45 +10:00
Marc Durdin
8011c258b5 feat(developer): comments for kmc-generate 2024-07-02 15:25:16 +10:00
Joshua A. Horton
f84c76cdc7 refactor(web): extract the correct-and-raw-predict blocks into their own method 2024-07-02 10:40:57 +07:00