Commit graph

17 commits

Author SHA1 Message Date
Eberhard Beilharz
3cc9f09d82
fix(linux): Replace deprecated Image.ANTIALIAS
Fixes #9244.
2023-07-11 12:14:26 +02:00
Eberhard Beilharz
eedf7545c8
refactor(linux): Refactor some code 2023-07-11 12:13:45 +02:00
Eberhard Beilharz
117ef77160
chore(linux): Sorting of imports 2022-07-18 15:19:50 +02:00
Eberhard Beilharz
685eaa6ffc
fix(linux): Don't crash if we lack permissions
Also deal with other file I/O related exceptions and report them
as warnings.

This fixes #6171.
2022-01-28 18:37:54 +01:00
Eberhard Beilharz
79244650b1
feat(linux): Don't create Sentry critical events for handled errors
We don't want to send events to Sentry for errors that we handled.
2022-01-06 18:43:28 +01:00
Eberhard Beilharz
f519c2447d
fix(linux): Improve bitmap conversion
Converting some bitmaps fail with a truncation error. This change
allows to successfully convert the bitmap files.

Fixes #5400.
2021-06-30 18:57:22 +02:00
Eberhard Beilharz
9d7be1b6b5
feat(linux): Log some errors as critical
Some errors we want to be reported on Sentry, so we change those
to critical.
2021-04-20 11:45:07 +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
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
Darcy
2beb0aa8f6 Save ico/bmp files to png 2019-09-11 10:06:44 +07:00
Darcy
9498ce237d Catch file handling exception 2019-09-10 16:23:07 +07:00
Darcy
6be88b8263 Attempt to handle both .ico and .bmp files 2019-09-09 15:16:53 +07:00
Darcy
7edb254fc0 Squash commits from #1679 2019-09-09 12:02:06 +07:00
Daniel Glassey
3f474c64fe
[linux] convert kb icons to png instead of bmp (#1191)
* [linux] convert kb icons to png instead of bmp

make them antialiased 64x64 so that can be resized ok in the
ibus status indicator and the ibus keyboard selector

* [linux] move linux specific gitignore to linux/.gitignore
2018-09-18 15:28:53 +07:00
glasseyes
51dcd4a33b [linux] use python logging module to control cl output
for all scripts
add option -v for info messages
-vv for debug messages

remove creation of test ldml output file
2018-09-12 17:14:05 +07:00
glasseyes
51ebb7300a rename keymanconfig to keyman_config 2018-09-01 12:28:16 +07:00
Renamed from linux/keyman-config/keymanconfig/convertico.py (Browse further)