Eberhard Beilharz
b764a1c965
fix(linux): Correctly open files linked from help page
...
This works around the issue where browsers installed as snap package
can't access files under `$HOME/.local`. Instead we now only open
external links with the browser. Local non-html files we open with
the default app, and links to local html file we open in webview
(like we did previously with `welcome.htm` files).
Fixes #9600 .
2023-09-20 11:49:53 +02:00
Eberhard Beilharz
4e8e09186c
Merge pull request #9583 from keymanapp/chore/linux/coverage
...
chore(linux): Add coverage action to `ibus-keyman/build.sh`
2023-09-20 08:52:48 +02:00
Eberhard Beilharz
20149b6a2f
chore(linux): Remove obsolete code
...
Addresses code review comment.
2023-09-20 08:52:13 +02:00
Sabine
d4b852a12d
feat(linux): mcompile usable with or without GDK depending on #USE_GDK
2023-09-19 15:22:43 +02:00
Eberhard Beilharz
3f4dae0231
chore(linux): make --report an option instead of action
...
This addresses code review comments.
2023-09-19 10:23:00 +02:00
Sabine
00944bc00b
feat(linux): mcompile add #preprocessor identifier to use mcompile with file or GDK
2023-09-19 09:50:24 +02:00
Sabine
aa53755a34
feat(linux): mcompile new function InsertKeyvalsFromKeymap()
2023-09-19 09:27:51 +02:00
Eberhard Beilharz
a870b9a6c0
chore(linux): Add coverage action to ibus-keyman/build.sh
2023-09-18 19:19:58 +02:00
Eberhard Beilharz
a03eca3d81
refactor(linux): Rename defines to clarify purpose 🏘️
2023-09-18 19:00:29 +02:00
Marc Durdin
49d5cb36f8
Merge pull request #9564 from keymanapp/chore/merge-master-into-linux-mcompile
...
chore: merge master into linux-mcompile 🐘
2023-09-15 17:06:27 +02:00
Eberhard Beilharz
7c7d46720c
chore(linux): Split startup process
...
This change improves the startup method so that it will also work
if ibus hasn't started yet. Also fixes two memory leaks.
2023-09-15 16:58:34 +02:00
Eberhard Beilharz
71c6bfb960
refactor(linux): Reformat file
2023-09-14 11:31:29 +02:00
Eberhard Beilharz
3a042586ab
chore(linux): Exclude environment.sh from build
...
`environment.sh` is used only on Mac. This change modifies `build.sh`
to generate this file only when building on Mac. It also excludes
`environment.sh` from the Linux source tarball.
2023-09-12 18:25:52 +02:00
Darcy Wong
427459ce29
chore(common): Add crowdin strings for Mon
2023-09-12 13:05:44 +07:00
Eberhard Beilharz
456254a896
chore(linux): Log if user not set
2023-09-11 18:21:36 +02:00
Eberhard Beilharz
ffa3324be2
fix(linux): Prevent exception if neither USER, LOGNAME nor SUDO_USER set
...
Closes #9542 .
2023-09-05 09:17:10 +02:00
Eberhard Beilharz
aaef0f3c7f
chore(linux): Add clean target to rules
...
This allows to completely cleanup after a package build. Also fixes
`keyman-config/build.sh` to do a better job with clean.
Fixes #9518 .
2023-08-31 16:18:18 +02:00
Eberhard Beilharz
bcee98486f
docs(linux): Explicitly specify emscripten version
...
emscripten 3.1.44 works, but 3.1.45 fails, so this change modifies
the documentation to explicitly request `3.1.44` instead of `latest`.
2023-08-30 19:38:56 +02:00
Eberhard Beilharz
940d5be5b9
fix(linux): Fix exception in km-kvk2ldml
...
This change fixes an exception that occurs if the user specifies
an outputfile in a non-existing directory. Also catch several other
related exceptions.
Fixes #9522 .
2023-08-29 18:58:07 +02:00
Eberhard Beilharz
ea249da3b3
refactor(linux): Fix warning
...
Follow-up of #4999 (which mentions different warnings). This
change fixes other warnings that we were still getting.
2023-08-28 20:11:41 +02:00
Darcy Wong
9f651d00e6
chore(common): Update crowdin strings for French
2023-08-24 08:31:56 +07:00
Sabine
48df423114
feat(linux): mcompile helper functions(write load/compare Vector of keys)
2023-08-18 19:08:52 +02:00
Sabine
515b42015c
feat(linux): mcompile start importRules
2023-08-18 19:07:38 +02:00
Marc Durdin
f80975716d
chore: Merge branch 'epic/linux-mcompile' into chore/merge-master-into-epic-mcompile-a17s19
2023-08-18 08:21:37 +07:00
Sabine
c0d859e2d2
feat(linux): mcompile open ReportUnconvertedKeyboardRules()
2023-08-15 16:20:13 +02:00
Sabine
e697a5f0ae
feat(linux): mcompile remove more old/unused code
2023-08-10 17:03:45 +02:00
Sabine
cd853716bf
feat(linux): mcompile remove old/unused code
2023-08-10 16:40:19 +02:00
Sabine
0fa6f6680c
feat(linux): mcompile -adapt translateKeyboard
2023-08-10 15:45:10 +02:00
Sabine
1c8ca69de3
feat(linux): mcompile remove helpers.h
2023-08-10 15:43:33 +02:00
Eberhard Beilharz
ab7a1a952a
chore(linux): Disable Mantic builds on Launchpad
...
Mantic builds currently fail because there's a newer ibus version in
the official Ubuntu repos that overrides our patched ibus version.
Ubuntu is trying to get ibus 1.5.29-beta to work so there are often
new packages. We wait until that stabilized before we're providing a
new patched ibus version at which point we can enable building for
Ubuntu 23.10 Mantic.
Closes #9428 .
2023-08-08 14:02:48 +02:00
Eberhard Beilharz
5a03371052
fix(linux): Get name, not version
2023-08-03 17:04:17 +02:00
Eberhard Beilharz
aac11a2c1e
chore(linux): Fix memory leaks
2023-08-03 17:04:16 +02:00
Eberhard Beilharz
9290d2d274
Merge pull request #9383 from keymanapp/docs/linux/8913_BuildOnLinux
...
docs(linux): Add build doc for Keyman Web and Android
2023-08-02 12:25:11 +02:00
Eberhard Beilharz
48e54b13b7
Merge pull request #9380 from keymanapp/chore/linux/jenkins
...
chore(linux): Remove package build on Jenkins for Keyman 17
2023-08-02 11:14:26 +02:00
Marc Durdin
9517883909
Merge pull request #9386 from keymanapp/chore/gha-master
...
chore: add run-name to deb-packaging
2023-08-02 12:41:41 +10:00
Marc Durdin
669198add6
chore(linux): touch linux so we get a build
2023-08-02 09:36:55 +07:00
Eberhard Beilharz
f154c493e3
docs(linux): Add build doc for Keyman Web and Android
...
This adds the documentation how to build Keyman Web as well as
Keyman for Android on Linux. and adds the dependencies to the
`Dockerfile` so that it's now also possible to build Keyman Web
and Keyman for Android with Docker.
2023-08-01 18:13:46 +02:00
Eberhard Beilharz
5afa3c56d9
Merge pull request #9328 from keymanapp/docs/core/8913_BuildOnLinux
...
docs(core): Document how to build Core on Linux
2023-08-01 17:05:55 +02:00
Eberhard Beilharz
b8d0777800
chore(linux): Remove package build on Jenkins for Keyman 17
2023-08-01 15:03:47 +02:00
Sabine
1904947f32
feat(linux): mcompile change type return value of functions from KMX_BOOL/bool to int/KMX_DWORD
2023-08-01 13:08:34 +02:00
Sabine
5096498900
feat(linux): mcompile tidy up wprintf, function names/variable names
2023-08-01 09:22:05 +02:00
Sabine
06db40aa21
feat(linux): mcompile rename functions +tidy up
2023-08-01 00:09:52 +02:00
Sabine
669d3389a9
feat(linux): mcompile use std::map in replaceNamesWithCharacter
2023-07-31 23:07:08 +02:00
Eberhard Beilharz
1d0db5945a
docs(core): Don't put emscripten on the path
...
This change addresses the code review comments. We don't want
emscripten to be in `PATH` and instead set the `EMSCRIPTEN_BASE`
environment variable.
2023-07-31 10:40:34 +02:00
Eberhard Beilharz
c4efba04d9
chore(linux): Don't fail on parallel builds
...
If another build runs on the same build agent at the same time and
installs dependencies at the same time, previously the build failed
because apt/dpkg was already running. This change checks for the
existence of the apt/dpkg lock file and waits until the other process
is finished before starting the installation of dependencies.
2023-07-31 09:54:09 +02:00
Eberhard Beilharz
b4e612d465
Merge pull request #9360 from keymanapp/chore/linux/uploadScript
...
chore(linux): Fix creation of PRs after uploading to Debian
2023-07-31 09:23:40 +02:00
Sabine
a3daee80b5
feat(linux): mcompile tidy up
2023-07-29 21:31:19 +02:00
Sabine
2371f59240
feat(linux): mcompile Version using Vector of KMX_DWORD (instead of Vector of std::string)
2023-07-29 20:46:25 +02:00
Sabine
d50322a995
feat(linux): mcompile tidy up: remove unneccessary code
2023-07-28 18:25:50 +02:00
Sabine
e3fed21dd1
feat(linux): mcompile replace std::cout, std::wcout, MyCout, printf and use wprintf
2023-07-28 17:20:28 +02:00