Commit graph

717 commits

Author SHA1 Message Date
glasseyes
c2bf41a6e9 add -s short format option to list_installed_kmp.py 2018-05-22 14:21:07 +07:00
glasseyes
c0a9eef98a open Go to Keyman link in default webbrowser 2018-05-21 16:58:10 +07:00
glasseyes
7132bf2dca more handling of ini files
list_kmp: detect ini files that can't be handled
more docstring
install_kmp: install kmn if in kmp
2018-05-21 14:57:52 +07:00
glasseyes
c6eafb6d41 add some docstring 2018-05-21 12:49:08 +07:00
glasseyes
6d6316f53f cope with inf file with Files but no Keyboardx 2018-05-21 10:41:15 +07:00
glasseyes
8c2cb890fa install kmp with kmp.inf and no kmp.json 2018-05-18 14:52:46 +07:00
glasseyes
2f1681c09a start processing kmp.inf 2018-05-16 17:09:42 +07:00
glasseyes
823fbf51b9 prototype webkit kmp installer 2018-05-16 17:08:45 +07:00
glasseyes
94bbd31080 gui prototype now lists languages and keyboards
default to region Africa because it takes too
long to load region All
2018-05-15 16:40:21 +07:00
glasseyes
6ae5ed93e1 list installed kmp and data about them
use that data to only install kmp if it is newer
than existing one
2018-05-15 16:35:40 +07:00
glasseyes
e4413f1e28 initial experimental keyman-config gui
set regions
2018-05-11 17:06:23 +07:00
glasseyes
bd271d560a download kmn as well as kmp for install by id
check response status is ok for downloads
2018-05-11 15:36:05 +07:00
glasseyes
f667a129e8 list_kmp.py list available keyboards
goodkmp - has kmp with kmp.json
nojson - has kmp but no kmp.json
nokmp - no kmp
nodata - no web api data
2018-05-10 23:19:37 +07:00
glasseyes
0e271838a2 download and install kmp file
only if keyboard webapi for the id knows packageFilename
and if the kmp packages contains kmp.json
2018-05-10 17:03:48 +07:00
glasseyes
3a4c96890a parse web api languages file
cache webapi request for 1 day
(0.5s vs 2.5s for using cache cf web request)
2018-05-10 13:44:05 +07:00
glasseyes
f95d17abc9 parse web api keyboards file 2018-05-09 10:02:47 +07:00
glasseyes
bc95db6ecb install and uninstall kmp
unpack kmp
parse metadata from kmp.json
install main files to /usr/local/share/keyman/<id>
install doc file to /usr/local/share/doc/keyman/<id>
install fonts to /usr/local/share/fonts/keyman/<id>
2018-05-08 22:19:15 +07:00