Commit graph

2487 commits

Author SHA1 Message Date
Marc Durdin
166e4bce97
Merge pull request #10379 from keymanapp/refactor/linux/10365-context-debug
refactor(linux): use `km_core_state_context_debug` 🌱
2024-01-16 13:38:46 +11:00
Marc Durdin
df177569a5 chore(linux): libkeymancore.symbols to .244 2024-01-16 05:55:02 +07:00
Marc Durdin
ba3290de75 chore(core): Merge branch 'master' into feat/core/10365-context-debug
Note: resolved merge conflict with action_api.cpp by shifting new code
into state_context_api.cpp.
2024-01-16 05:46:36 +07:00
Eberhard Beilharz
15d87963b2
chore(core): Ignore C++ symbols
We have a C API, but (internal) C++ template instantiations are visible
and so get flagged by `dpkg-gensymbols`. This change ignores the one
use of C++ by marking it optional. This is listed as a usage scenario
in the dpkg-gensymbols man page.

Note this requires a change how we call dpkg-gensymbols: if the `-O`
parameter is specified, the file is not treated as being a template file
(see man deb-src-symbols) and so the tags are not interpreted.
Additionally the file gets overwritten with the non-tag version. So this
change removes the `-O` parameter, and changes the archiving of the
generated file.
2024-01-15 18:47:53 +01:00
Sabine
f43ca566a6 feat(linux): mcompile disable comments 2024-01-15 17:53:52 +01:00
Marc Durdin
307f7da846 refactor(linux): use km_core_state_context_debug
Relates to #10365.
Fixes #10378.
2024-01-15 08:27:01 +07:00
Marc Durdin
1b29ad32f9 chore(linux): update .symbols 2024-01-15 08:26:43 +07:00
Sabine
c4d723e9fc feat(linux): mcompile review comments 2024-01-12 16:30:37 +01:00
Sabine
417c9bb6aa feat(linux): mcompile review code 2024-01-12 16:23:48 +01:00
Sabine
6a310276f5 feat(linux): mcompile opened some deadkey-functions 2024-01-12 15:37:47 +01:00
Marc Durdin
9830f9ea24 refactor(core): use km_core_state_context_clear where possible
Relates to #10365.

Use `km_core_state_context_clear()` instead of `km_core_context_clear()`
as part of eliminating use of `km_core_state_context()`.
2024-01-12 12:05:00 +07:00
Sabine
474d5d6518 feat(linux): mcompile KMX_VirtualKey KMX_VirtualKey(KMX_HKL hkl,UINT virtualKey, GdkKeymap **keymap) 2024-01-11 17:46:45 +01:00
Sabine
4132d5f43b feat(linux): mcompile work on _S2 comments 2024-01-11 11:13:02 +01:00
Eberhard Beilharz
9b768c57d7
refactor(linux): Use km_core_state_context_set_if_needed
Also update comment on `km_core_state_context_set_if_needed` to make it
clearer that it's expecting a UTF-16 string.

Closes #10212.
2024-01-10 18:57:41 +01:00
Sabine
1ac467bff5 feat(linux): mcompile check files 2024-01-10 13:32:15 +01:00
Sabine
a17ed9f16f feat(linux): mcompile check deadkeys.cpp/h 2024-01-10 10:48:13 +01:00
rc-swag
1cb288144c chore(core): Merge branch 'master' into fix/core/clear-core-context-invalidate 2023-12-19 09:13:43 +10:00
rc-swag
aef718c56b fix(core): update linux test load_source call 2023-12-15 14:05:37 +10:00
Steven R. Loomis
2c852e7530 chore(linux): docker: make emscripten version customizable
Fixes: chore(linux): script deprecation warning from nodesource #10024
2023-12-13 23:23:55 +00:00
Sabine
7cc51bfe7e feat(linux): mcompile minor changes2 2023-12-13 20:04:35 +01:00
Steven R. Loomis
bf08c73f22 chore(linux): docker: fix Node.js install, make customizable
- fix the Node.js install script deprecation
- also make items configurable such as Ubuntu version and Node version

Fixes: chore(linux): script deprecation warning from nodesource #10024
2023-12-13 18:26:01 +00:00
Sabine
0f124814d4 feat(linux): mcompile minor changes 2023-12-13 17:47:15 +01:00
Sabine
0d00533153 feat(linux): mcompile lots of cleanup 2023-12-13 16:13:14 +01:00
Sabine
60c3d89bb0 feat(linux): mcompile LayoutRow 2023-12-13 14:40:28 +01:00
Sabine
bc478f7254 feat(linux): mcompile LayoutRow started 2023-12-12 23:06:26 +01:00
Sabine
65ff317e10 feat(linux): mcompile renaming converting functions 2023-12-12 13:26:13 +01:00
Sabine
349fe17770 feat(linux): mcompile renaming func 2023-12-12 09:48:33 +01:00
Sabine
6ace426d84 feat(linux): mcompile cleanup 2023-12-11 23:07:19 +01:00
Sabine
e932ba5c29 feat(linux): mcompile new KMX_ToUnicodeEx 2023-12-11 19:14:46 +01:00
Marc Durdin
0a99733c7a
Merge pull request #10187 from keymanapp/chore/merge-master-into-linux-mcompile
chore: merge master into linux-mcompile 🐘
2023-12-11 12:07:06 +11:00
Eberhard Beilharz
5069d8c67b
chore(linux): Small refactoring to make it easier to read 2023-12-08 18:50:38 +01:00
Weng Xuetian
4517c03f1d
Do not restart Fcitx
1. Fcitx does not need restart to load newly installed keyman keyboard
2. Restart fcitx may cause issue on kwin/weston Wayland where input
   method have to be spawned by compositor process.
2023-12-07 13:41:21 -08:00
Sabine
60534b1c79 feat(linux): mcompile start ImportRule deadkey(therefore created ImportRule_bak) 2023-12-07 16:17:31 +01:00
Sabine
25957c5350 feat(linux): mcompile sort converting functions IV 2023-12-07 14:51:47 +01:00
Sabine
f2d22ebc3f feat(linux): mcompile sort converting functions III 2023-12-07 14:28:26 +01:00
Sabine
e1f2972230 feat(linux): mcompile sort converting functions II 2023-12-07 14:08:54 +01:00
Sabine
aad0191a5b feat(linux): mcompile sort converting functions I 2023-12-07 13:58:43 +01:00
Sabine
9122080c1e feat(linux): mcompile allow keycode 94 in getKeyvalsFromKeyCode 2023-12-07 12:51:08 +01:00
Sabine
3d7175455b feat(linux): mcompile changes in KMX_ConvertDeadkey 2023-12-06 16:24:16 +01:00
Sabine
5a5fd432eb feat(linux): mcompile KMX_ConvertDeadkey finished 2023-12-05 16:50:06 +01:00
Sabine
01c7a110e0 feat(linux): mcompile open KMX_ConvertDeadkey/KMX_GetDeadkeys 2023-12-04 16:48:30 +01:00
Sabine
f29d6f1de1 feat(linux): mcompile open KMX_ConvertDeadkey 2023-12-04 16:10:34 +01:00
Sabine
4b84604eb4 feat(linux): mcompile new file deadkey.h/.cpp and function createDK_ComposeTable 2023-12-02 17:20:23 +01:00
Sabine
9014296717 feat(linux): mcompile tidy up 2023-12-01 23:07:01 +01:00
Sabine
0c5dab947e feat(linux): mcompile open more functions for deadkeys 2023-12-01 21:56:26 +01:00
Eberhard Beilharz
742ae5379e
chore(linux): Update debian changelog
(cherry picked from commit e4385e284e)
2023-12-01 15:09:55 +01:00
Sabine
70efd21e09 feat(linux): mcompile open functions for deadkeys and start to exchange with KMX_ 2023-12-01 12:28:00 +01:00
Eberhard Beilharz
688f9f34d9
chore(linux): Add support for loong64 architecture
Closes Debian bug
[#1057134](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057134).

(cherry picked from commit f50eccc4c0)
2023-11-30 18:01:18 +01:00
Sabine
5f857de3d8 feat(linux): mcompile fill rgkey with deadkey 2023-11-30 17:40:02 +01:00
Sabine
3d0980103b feat(linux): mcompile leave rgkey; use SC; sort by VK_US (instead of VK_DE) 2023-11-30 14:40:08 +01:00