Commit graph

5162 commits

Author SHA1 Message Date
jahorton
f0a0aa379d chore(common): PR review adjustments 2022-06-20 07:57:50 +07:00
Marc Durdin
74dbce6ccc
Merge pull request #6709 from keymanapp/chore/windows/move-scfontcombobox
chore(windows): move scfontcombobox to developer 🎢
2022-06-18 11:45:45 +10:00
Marc Durdin
d41268978a
Merge pull request #6708 from keymanapp/chore/windows/move-mbcolor
chore(windows): move mbcolor to developer 🎢
2022-06-18 11:45:36 +10:00
Marc Durdin
00b38c39d5
Merge pull request #6695 from keymanapp/chore/windows/move-dcpcrypt
chore(windows): move dcpcrypt to common/windows 🎢
2022-06-18 11:45:20 +10:00
jahorton
f06c5b0c8c docs(web): almost lost a significant doc-comment 2022-06-17 08:11:32 +07:00
jahorton
c0a6f082ba chore(web): pr cleanup per suggestions 2022-06-17 08:08:49 +07:00
Marc Durdin
0741b88dc2 fix(web): crash on custom modifier keys
Fixes #6788.
Fixes KEYMAN-WEB-22.
Fixes KEYMAN-DEVELOPER-BQ.
Fixes KEYMAN-ANDROID-160.

Fixes a crash introduced in #6473 which was trying to prevent modifier
keys from triggering "fat finger" alternate lookups, due to incomplete
nullish coalescing.

Related to this, from what I can see, a secondary side-effect of the fix
in #6473 was that some key events may have never had their ruleBehaviors
finalized if they matched the `isOnlyLayerSwitchKey` heuristic, leading
to potential issues with edge case 'deadkey+layer switch' keys or keys
that set store values, for example. So this fix also makes the
`isOnlyLayerSwitchKey` test more targeted.

Identified this when adding a Caps Lock layer to sil_euro_latin and
testing the layer switching. At time of fix, the error had been raised
in KeymanWeb, Keyman Developer and Keyman for Android, but not yet
Keyman for iPhone and iPad.
2022-06-17 05:22:19 +10:00
Marc Durdin
1da25df6f7 chore(windows): remove unused WebBrowserManager 2022-06-16 05:50:13 +10:00
Marc Durdin
5902c6ac75 chore(windows): address review comments 2022-06-16 04:47:53 +10:00
Eberhard Beilharz
f2de89bcc2
chore(common): Merge branch 'master' into chore/common/move-common-core-desktop-to-core 2022-06-15 09:00:32 +02:00
Marc Durdin
0212727b98 chore: Merge branch 'master' into chore/beta-to-master-A16S4 2022-06-15 12:54:35 +10:00
jahorton
474634a90e fix(web): fixes pred-text local karma-testin config 2022-06-14 15:23:25 +07:00
jahorton
e801406640 fix(common/models): replaces the single 'startsWith' use 2022-06-14 14:41:56 +07:00
jahorton
0a29496cc1 chore(web): removes iOS 9 pred-text required pseudo-polyfill 2022-06-14 10:54:37 +07:00
Marc Durdin
ba642cf06d chore(windows): rearrange global/delphi/ui units
Moves:
* Keyman.System.Util.RenderLanguageIcon.pas -> common
* UfrmKeymanBase.dfm -> kmshell
* UfrmKeymanBase.pas -> kmshell
* UfrmWebContainer.dfm -> kmshell
* UfrmWebContainer.pas -> kmshell
* XMLRenderer.pas -> kmshell
* UFixupMissingFile.pas -> kmshell

Also:
* Removes duplicate GenericXMLRenderer.pas
* Removes unused unit references in keyman.dpr
2022-06-13 10:01:39 +10:00
Marc Durdin
bdfebe0e46 chore(windows): move global/delphi/web to common 2022-06-13 06:59:55 +10:00
Marc Durdin
1eff4dbca4 chore(windows): move global/delphi/visualkeyboard to common 2022-06-13 06:57:46 +10:00
Marc Durdin
6a56fca2d6 chore(windows): move global/delphi/tlb to common 2022-06-13 06:29:23 +10:00
Marc Durdin
cbda56f3e5 chore(windows): move global/delphi/standards to common 2022-06-13 06:15:47 +10:00
Marc Durdin
af2a538e72 chore(windows): move global/delphi/setup to common 2022-06-13 06:03:37 +10:00
Marc Durdin
b297e5f701 chore(windows): move global/delphi/chromium to common 2022-06-13 06:00:50 +10:00
Marc Durdin
99b04a4240 chore(windows): move global/delphi/charmap to common
Moves character map units to common folder, and updates project refs.
2022-06-13 05:54:23 +10:00
Marc Durdin
3632582522 chore(windows): move keymanversion.h to common 2022-06-12 13:56:13 +10:00
Marc Durdin
754c1295aa chore(windows): cleanup keyman64.h usage
keyman64.h is now only used by keyman32/keyman64. Shared components have
been moved to legacy_kmx_memory.h - KMX structures in-memory, as used by
kmanalyze, kmdecomp.

Removed unnecessary references to keyman64.h from kmtip.

Also removed aiDebugger.* which are obsolete files.

One day in the future, we could merge keyman64.h with keymanengine.h.
2022-06-12 13:44:56 +10:00
Marc Durdin
d8f3a5598a chore(windows): move various headers to common
* moved ConvertUTF.h -> common/windows/cpp/include
* moved crc32.h -> common/windows/cpp/include
* moved keymansentry.h -> common/windows/cpp/include
* moved registry.h -> common/windows/cpp/include
* moved unicode.h -> common/windows/cpp/include
* moved xstring.h -> common/windows/cpp/include

and updated corresponding references. Deleted a bunch of old references
to missing headers from .vcxproj files. Updated vkeys.h and vkeys.cpp
references in .vcxproj to use $(KEYMAN_ROOT) instead of relative paths.
2022-06-12 13:18:45 +10:00
Marc Durdin
c5332ea20a chore(windows): move keynames.h to common 2022-06-12 12:54:24 +10:00
Marc Durdin
5119f8d808 chore(windows): merge vkeys.h and move to common
Moves vkeys.h to common, turns it into a proper header and adds
corresponding vkeys.cpp so that we don't include the data multiple times
in a project.

Removes duplication of vkeys.h in kmcmpdll and global/inc.

Updates all projects to reference the common files, except kmdecomp,
coming in the next commit, as it is more complex.
2022-06-12 07:18:36 +10:00
Marc Durdin
e5b31669af chore(developer): move and rename compiler.h
The name compiler.h was misleading, so renamed to legacy_kmx_file.h, as
it largely describes .kmx files. There are two declarations in the file
which are specific to kmcmpdll, at the bottom of the file, but
everything else is all related to the .kmx file format. (We may move
those in a future update to kmcmpdll, but that should wait until the
kmcmpdll cross-platform refactor is complete.)

Moved to common/windows/cpp/include/ because it is used by both
Developer and Windows projects.

Where possible, removed redundant references, as compfile.h includes
legacy_kmx_file.h anyway.
2022-06-12 06:31:38 +10:00
Marc Durdin
0b95f31f34 chore(windows): remove unused rc4.h, rc4.cpp 2022-06-11 10:44:38 +10:00
Marc Durdin
3897fb2141 chore(windows): move unicode.cpp to common 2022-06-11 09:44:25 +10:00
Marc Durdin
4e91476ad4 chore(windows): move global/vc to common and global/cpp 2022-06-11 08:39:08 +10:00
Keyman Build Agent
0a6ffa137a auto: increment beta version to 15.0.260 2022-06-10 14:02:55 -04:00
Joshua Horton
dd5dfca2fd
Merge pull request #6718 from keymanapp/change/web/browser-test-timeouts
change(web): browser test timeout tweaks
2022-06-10 15:12:06 +07:00
Marc Durdin
0a1d4b6241 chore(windows): move unicodedata to common
Also makes common/windows/bin/tools more consistent.
2022-06-10 13:26:07 +10:00
Marc Durdin
cb240e259f chore(windows): move schemas to common 2022-06-10 13:26:05 +10:00
Marc Durdin
18395670bb chore(windows): move signtime.bat to common 2022-06-10 13:25:29 +10:00
Marc Durdin
320ff7f38c chore(windows): move msbuild-wrapper.bat to common 2022-06-10 13:24:27 +10:00
Marc Durdin
16eaf4d1d2 chore(windows): move mkver.sh to common 2022-06-10 13:24:06 +10:00
Marc Durdin
6f50259724 chore(windows): move cef-checkout.sh to common 2022-06-10 13:23:45 +10:00
Marc Durdin
4f233a3a0d chore(windows): move test-klog to common and add call to Developer build 2022-06-10 12:00:47 +10:00
Marc Durdin
78a2b9de06 chore(windows): update Makefiles for sentrytool 2022-06-10 11:39:19 +10:00
Marc Durdin
221d6e336b chore(windows): move sentrytool files to common 2022-06-10 11:35:34 +10:00
Marc Durdin
57da5ec288 chore(windows): remove test certificates
Including test certificates in the repo is convenient, but not safe.
Each developer building Keyman should have their own test certificates,
which `nmake test-certificates` will do for them.

Updated instructions accordingly.
2022-06-10 11:33:25 +10:00
Marc Durdin
c2fce6bed2 chore(windows): cleanup refs to devtools in makefiles 2022-06-10 07:27:36 +10:00
Marc Durdin
a36c476848 chore(windows): move devtools to common 2022-06-10 07:26:21 +10:00
Marc Durdin
fe9c4917ac chore(windows): move buildunidata to common 2022-06-07 11:37:24 +10:00
Marc Durdin
e535d3c437 chore(windows): fixup clean-tools target 2022-06-07 11:37:01 +10:00
Marc Durdin
be93f9d017 chore(windows): move build_standards_data to common 2022-06-07 11:22:20 +10:00
Keyman Build Agent
f9537ee2a2 auto: increment beta version to 15.0.259 2022-06-06 14:02:30 -04:00
Marc Durdin
0ceae8b87c chore(windows): update cef4delphi makefiles 2022-06-06 16:06:12 +10:00