Commit graph

151 commits

Author SHA1 Message Date
Darcy
1bf3fe936b fix(linux): Remove version.sh
Remove version.sh and determine version/tier from the .md files
2020-10-09 13:55:18 +07:00
Darcy Wong
9bcb343e03
Merge pull request #3593 from keymanapp/fix/linux/json-decoder
fix(linux/config): Catch if kmp.json is invalid JSON
2020-09-18 11:42:11 +07:00
Darcy
07d18fa63a chore(linux/config): Tweak error message about keyboard being damaged 2020-09-18 11:19:16 +07:00
Darcy
f95acb6b98 fix(linux/config): Display dialog when metadata is invalid 2020-09-18 11:00:49 +07:00
Darcy
5ff61520e6 fix(linux/config): Catch if kmp.json is invalid JSON 2020-09-17 14:02:48 +07:00
Darcy
a409bfd791 fix(linux/config): Check if file exists before creating hard link 2020-09-17 12:57:55 +07:00
Eberhard Beilharz
55125650fd
feat(linux): Package localizations
This change adds the localization files to the debian package. It
also updates the path to the localization files so that the installed
files will be found.
2020-08-24 19:31:18 +02:00
Eberhard Beilharz
3e5c0aefac
Merge pull request #3495 from keymanapp/feat/linux/terminology
feat(linux): Small UI improvements
2020-08-24 10:36:48 +02:00
Eberhard Beilharz
1c8da049ab
feat(linux): Small UI improvements
- Remove "package" from the tooltips text since that might be
  confusing to users.
- Also make title of Welcome (Help) dialog optionally say "installed"
  instead of always so that we open that dialog via the Help button
  we just display the keyboard name.
- Refactor Keyboard Details dialog to remove an unnecessary box.
- Add padding after keyboard details in Keyboard Details dialog.
2020-08-20 15:22:50 +02:00
Eberhard Beilharz
678a5c0273
feat(linux): Add link to share online
This change modifies the displayed QR code and its text to closer
match the way things are on Windows, i.e. display a hyperlink
instead of just the text to share online.
2020-08-20 14:58:15 +02:00
Eberhard Beilharz
11f018366b
feat(linux): Add i18n for Linux 2020-08-19 19:22:33 +02:00
Eberhard Beilharz
d331518805
Merge pull request #3408 from keymanapp/feat/linux/issue3399
fix(linux): Lookup language tag from keyboard
2020-08-17 16:11:41 +02:00
Eberhard Beilharz
536b074937
chore(linux): Add TODO comment
This should be properly implemented and fixed based on langtags.json
once the algorithm is implemented for Windows.
2020-08-17 16:00:38 +02:00
Eberhard Beilharz
d9c71574f4
chore(linux): Merge branch 'master' into feat/linux/staging-hosts
# Conflicts:
#	linux/keyman-config/keyman_config/__init__.py
2020-08-13 15:49:48 +02:00
Eberhard Beilharz
4652a04581
feat(linux): Hook up Sentry for km-config 2020-07-24 19:43:18 +02:00
Eberhard Beilharz
9047103028
fix(linux): Lookup language tag from keyboard
When installing a keyboard with a bcp47 tag we now look up the
language tag in the keyboard kmp.json file. This fixes #3399 in
case a script subtag is required for the language and will cause
the keyboard to properly show up in the Linux keyboard selection
list.
2020-07-24 17:54:10 +02:00
Eberhard Beilharz
dd1a257872
chore(linux): Unstage downloads
Currently there's no staging site for downloads.keyman.com.
2020-07-24 10:28:50 +02:00
Eberhard Beilharz
03cb1b210c
feat(linux): Add staging for downloads.keyman.com 2020-07-24 09:06:46 +02:00
Eberhard Beilharz
26fc7b48d2
feat(linux): Use new staging site names 2020-07-24 09:06:26 +02:00
Eberhard Beilharz
8fbdebc9df
feat(linux): keyman:// protocol handler
This change implements the custom keyman:// protocol handler which
will cause the browser to launch km-config when it encounters a
URL using the keyman protocol.

Related to #3271.
2020-07-23 17:35:26 +02:00
Eberhard Beilharz
5618133d5d
Merge pull request #3376 from keymanapp/refactor/linux
refactor(linux): Small refactorings
2020-07-21 09:13:06 +02:00
Eberhard Beilharz
d86f381e03
fix(linux): Fix imports of GTK related modules
The version specification needs to come before importing methods.
2020-07-20 18:23:59 +02:00
Eberhard Beilharz
78b4187928
fix(linux): Use language from search when installing keyboard
When installing a keyboard install it under the language the user
searched for (if any).

This fixes #3282.
2020-07-20 11:10:05 +02:00
Eberhard Beilharz
ba0a329cfd
feat(linux): Use staging URLs for alpha version 2020-07-17 19:22:51 +02:00
Eberhard Beilharz
954fdb93ee
refactor(linux): make some methods protected 2020-06-26 10:15:52 +02:00
Eberhard Beilharz
3f430ae7b0
Merge pull request #3288 from keymanapp/feat/issue-3208
fix(linux): Fix crash converting kvk into LDML
2020-06-26 08:32:08 +02:00
Eberhard Beilharz
d1c74f28a9
Merge pull request #3284 from keymanapp/feat/issue-3283
fix(linux): Always restart IBus when installing keyboard
2020-06-26 08:31:03 +02:00
Eberhard Beilharz
5989c752e0
fix(linux): Fix crash converting kvk into LDML
This change fixes a crash that happened installing the
BJCreeUni (east) keyboard. This keyboard contains a OSK that
gets converted to LDML.

This fixes #3208.
2020-06-25 19:21:31 +02:00
Eberhard Beilharz
7842fe3f53
fix(linux): Always restart IBus when installing keyboard
We have to restart IBus even when installing keyboards in Gnome.
Otherwise the new keyboards won't show up in the list of input
sources.

This fixes #3283.
2020-06-25 16:44:23 +02:00
Eberhard Beilharz
f6840a876d
feat(linux): address code review comments of #3278 2020-06-25 16:01:43 +02:00
Eberhard Beilharz
071df63ac7
feat(linux): Install keyboard on Gnome
This change adds the keyboard to the Gnome input sources after
installing the .kmx file, and removes it on uninstall.

This implements #2728.
2020-06-24 19:13:40 +02:00
Eberhard Beilharz
cfbf2a8472
refactor(linux): address code review comments of #3272 2020-06-24 09:02:16 +02:00
Eberhard Beilharz
5f214015c5
refactor(linux): cleanup code
This change adds a config file for flake8 Python linter and fixes
the problems the linter identified.
2020-06-23 17:15:23 +02:00
Eberhard Beilharz
6aa58653e3
chore(linux): fix indentation 2020-06-17 09:19:19 +02:00
Eberhard Beilharz
8b9ad38767
fix(linux): Restart km-config after Install and Uninstall as well 2020-06-05 19:38:00 +02:00
Eberhard Beilharz
f848bf53ce
feat(linux): Make two more windows modal dialogs 2020-06-05 19:36:48 +02:00
Eberhard Beilharz
c18cfc7780
fix(linux): Restart km-config after installing keyboard
This fixes the problem where typing inside of km-config is not
possible after installing a keyboard.
2020-06-05 18:49:19 +02:00
Eberhard Beilharz
24d236c2e1
change(linux): Add comment clarifying limitations of WebKit2 2020-06-05 18:44:34 +02:00
Eberhard Beilharz
5659f6230c
feat(linux): Improve run methods 2020-06-04 19:42:30 +02:00
Eberhard Beilharz
1890016710
feat(linux): Make two windows modal dialogs
This change modifies DownloadKmpWindow and InstallKmpWindow so that
they are modal dialogs. This will cause them to show up in front of
the km-config window and will prevent accidentally open multiple
download windows.

This change also fixes an unused method in ibus_util that was using
a variable that got renamed previously.
2020-06-04 19:13:24 +02:00
Eberhard Beilharz
bfd60e5829
feat(linux): Increase margin in About dialog of km-config
This change increases the padding on the inside of the About
window so that there is more whitespace between the UI elements
and the window border.
2020-05-28 17:11:51 +02:00
Eberhard Beilharz
dabc1a84e4
fix(linux): Disable buttons if no keyboard installed
This change disables the uninstall, about, and help buttons in
km-config if the list of installed keyboards is empty.

This fixes #3181.
2020-05-28 17:09:55 +02:00
Darcy
ce5e994211 fix(linux): Use __release_version__ for downloadkeyboard window
As of 14.0, `resources/build/build-utils.sh` defines the build variables:
```
```

The go/linux links need an #.# version so this PR changes from __majorversion__ to __releaseversion__.
2020-03-23 16:07:38 +07:00
Darcy
925e7d0a45 Merge remote-tracking branch 'origin/beta' into linux-options-dconf 2020-02-05 15:22:33 +07:00
Darcy Wong
0f523d03a0 fix(linux): Fix 'About' keyboard when missing copyright
About keyboard fails to show when package copyright information is missing
2020-02-04 15:02:11 +07:00
Darcy Wong
c83b390601 feat(linux): Add ability to configure keyboard options 2020-01-31 11:43:58 +07:00
Darcy
5ee61dfba2 fix(linux): Conditionally generate QR code
Update so QR code is generated if `qrcode.png` doesn't exist.

Also add python3-qrcode as a dependency
2020-01-13 09:56:30 +07:00
Darcy
5ff83100fb feat(linux): Add QR Code to share keyboards
Addresses Linux for #1535

This puts the QR code at the bottom of the Keyboard package "About" page.

Also added some padding between package and keyboard details.
2020-01-10 14:59:01 +07:00
Darcy
9f9df1fc0e Save icon as .bmp.png 2019-09-12 10:10:05 +07:00
Darcy
686e421206 Start to address comments
* Revert tab whitespace to spaces
* Add sanity check after reading bmp
2019-09-11 17:43:16 +07:00