Commit Graph

915 Commits

Author SHA1 Message Date
László Monda
181d864126 Move Numpad keys to the end of the scancode list. 2017-06-28 22:04:25 +02:00
László Monda
da1f9b29b5 Rearrange navigation keys. 2017-06-28 21:57:55 +02:00
László Monda
202463488e Use singular "Modifier" just like for "Layer switcher". 2017-06-28 16:45:09 +02:00
László Monda
2a37be94f2 Get rid of the scancodes of 00 and 000. 2017-06-28 10:17:32 +02:00
László Monda
d19539972d Clean up scancodes. 2017-06-28 10:11:09 +02:00
László Monda
70b57a901a Refine the phrasing of the bottom macro buttons. 2017-06-27 22:47:12 +02:00
József Farkas
6c271c219a fix: Key macro action saving (#322)
Fixes #321
2017-06-27 22:28:37 +02:00
Attila Csanyi
22a59160fb renaming config-serializer upper camel case file names to dash case (#320)
* renaming: config-serializer upper camel case file names to dash case (closes #305)

* fix: remove then add same source with lowercase

* fix: d.ts file with lowercase
2017-06-27 09:41:07 +02:00
Róbert Kiss
121807a65a Add 'New update available' dialog to the electron version (#299)
* build(tsconfig): Rename root tsconfig.json -> tsconfig.base.json

* feat(auto-update): Add update dialog

When new update available than new message will visible of the top of the screen with 2 buttons 'Update' and 'Close'.
- Update button: Update the application (close and restart)
- Close button: Hide the updatePanel

* fix(auto-update): Add types to the event methods

* style: Add comma after SafeStylePipe import

I forgot add the comma when I rebased the branch

* fix(auto-update): Use electron-is-dev package to detect dev build

I removed the isDev() function from the shared util library because it is electron specific code.

* ci: Change osx_image: xcode8.3

Recommended after the last travis upgrade

* feat(auto-update): Add auto update settings page and save config save on electron platform

* ci: Fix osx image

* ci: Upgrade the electron builder -> 19.6.1

The builder now use the 2 package.json structure and build only
the necessary dependencies.
2017-06-22 14:22:54 +02:00
Attila Csanyi
2598109f8c Add new system scan codes (#316)
Closes #304
2017-06-21 20:09:39 +02:00
László Monda
6e23b2a91b Make the text size of the "Layers:" text next to the layer buttons the same size as the text size of the buttons. 2017-06-21 19:20:05 +02:00
Attila Csanyi
bf435f9e82 use bootstrap button group instead of separate buttons (#317) 2017-06-21 17:33:26 +02:00
József Farkas
b7b56ca491 Fix invalid scancode option match in KeypressTab 2017-06-19 20:51:39 +02:00
Róbert Kiss
438aab5c71 fix(keymap): Save keymap user configuration after changed (#313)
* fix(keymap): Save keymap user configuration after changed

fix #308 issue

* fix(keymap): remove unused imports

* fix(keymap): change switchMap to map
2017-06-17 21:35:29 +02:00
József Farkas
609fcb9a4a Keyboard split/merge animation (#311) 2017-06-17 21:19:44 +02:00
J??zsef Farkas
ecd495b7c2 perf: Cache SvgModules
It will prevent them to be parsed multiple times.
2017-06-17 14:31:25 +02:00
József Farkas
10f44f974a Enable OnPush cd strategy in SvgKeyboardKeyComponent 2017-06-17 14:17:56 +02:00
József Farkas
baa48f2a72 refactor animation imports 2017-06-17 13:49:54 +02:00
József Farkas
bd7add80cf Update dependencies
Angular 4.2.3
2017-06-17 10:56:12 +02:00
József Farkas
3ab808c61e Update electron-builder 2017-06-17 10:14:57 +02:00
Attila Csanyi
559fec139f Issue 201 - Mark selected key with blue (#290)
* issue-201: initial try

* revert: remove first solution related changes

* feature: change the colour of selected key to blue (empty key selection case not covered)

* typescript: prevent errors in editors due to missing tsconfig for shared

* cleanup: remove unused import

* fix: solve empty key case, pass down selected layerId, moduleId and keyId

* cleanup: remove console.log statement

* cleanup: remove extra line

* review: animation delay shorter, exactly as short as the animation delay of the popover

* review: prevent remaining signature blue when click twice on a key in rapid succession

* review: right signature colour after blending (http://colorblendy.com/#!/multiply/4099e5/cccccc)

* review comments fixes

* review: use simplified condition with help of ‘?’
2017-06-16 15:06:12 +02:00
László Monda
1d376cad55 Fix typo. 2017-06-15 23:59:02 +02:00
József Farkas
16596d8a18 Fix flags restoration in KeystrokeAction fromBinary 2017-06-15 23:51:21 +02:00
László Monda
4414d9cfba Treat keystroke actions as none actions when no scancode, modifiers and long press action is specified. 2017-06-15 23:19:51 +02:00
László Monda
0843ecd89e Fix readCompactLength() 2017-06-15 13:03:02 +02:00
József Farkas
975c4709b4 Remove unwanted SwitchKeymapAction 2017-06-13 23:16:28 +02:00
József Farkas
aa38762c42 ANSI and ISO layout handling (#309)
* Read left and right modules

* Add missing styles

* Calculate indices from ids

* Skip missing keys

* Align key actions to match the order specified by the svg

* Fix svg key hover

* Fix key hover

Without using css important
2017-06-13 23:04:57 +02:00
József Farkas
f246900cd5 Fix converting to JsonObject in Module 2017-06-13 22:18:05 +02:00
József Farkas
1150f9d0ce Fixes on individual QWERTY keymap 2017-06-13 22:15:03 +02:00
József Farkas
59b546cb6a Fix invalid scancodes on QWERTY fn layer 2017-06-13 21:27:53 +02:00
József Farkas
1420e93a1b Register some missing media icons 2017-06-13 21:27:13 +02:00
Róbert Kiss
367bc42457 refactor(store): Refactor reducer initialisation (#298)
* refactor(store): Refactor reducer initialization

Refactored the ngrx/store reducer initialization, because hard to extend the original solution.
Bad practise the object initialization inside the components / services. The new solution use angular DI everywhere.
Separated the web and electron configuration store.

* Media key support (#294)

* Introduce type for KeystrokeAction

* Increment dataModelVersion

New property 'type' for KeystrokeAction

* Mapping for media keys

* Media key selecting support for KeypressTab

* refactor: Use more meaningful name (selectedScancodeOption)

* Store the keystroke type in key action type instead of a new field

* Fix NoneAction validation
Fixes #301

* Update electron version

It fixes electron build. The types are part of the electron package itself.

* Fix keystroke selection when additional field is given but no scancode (#306)

* Additional media keys with icons (#307)

* Add missing scancodes for media keystrokes

* Use icons for media keys

* Fix media scancodes.

* Create README.md

* build: upgrade electron and typescript version

Electron contains the typings files.

* refactor(store): Refactor reducer initialization

Refactored the ngrx/store reducer initialization, because hard to extend the original solution.
Bad practise the object initialization inside the components / services. The new solution use angular DI everywhere.
Separated the web and electron configuration store.

* build: upgrade electron and typescript version

Electron contains the typings files.

* fix(store): Remove the I prefix from IDataStorageRepositoryService

* fix(store): fix observer operator import

* fix(store): Add missing rxjs imports to user-config effect

* fix(store): Add missing rxjs imports to keymap effect
2017-06-13 14:41:40 +02:00
László Monda
679e20d915 Create README.md 2017-06-12 23:10:47 +02:00
József Farkas
1a456c2ced Additional media keys with icons (#307)
* Add missing scancodes for media keystrokes

* Use icons for media keys

* Fix media scancodes.
2017-06-12 20:46:06 +02:00
József Farkas
a8a659dadd Fix keystroke selection when additional field is given but no scancode (#306) 2017-06-11 17:04:03 +02:00
József Farkas
e2fef4fb3e Update electron version
It fixes electron build. The types are part of the electron package itself.
2017-06-11 16:16:27 +02:00
József Farkas
c4b25aab9b Fix NoneAction validation
Fixes #301
2017-06-11 16:02:27 +02:00
József Farkas
efe7e95b3e Media key support (#294)
* Introduce type for KeystrokeAction

* Increment dataModelVersion

New property 'type' for KeystrokeAction

* Mapping for media keys

* Media key selecting support for KeypressTab

* refactor: Use more meaningful name (selectedScancodeOption)

* Store the keystroke type in key action type instead of a new field
2017-06-11 12:11:12 +02:00
Róbert Kiss
8e823b57b4 style(editorconfig): Add json rule to editor config (#297)
We aggreed to use 2 indent size in json files. The reason is npm use 2 indent in package.json and this is the defacto
2017-06-07 08:57:56 +02:00
Attila Csanyi
85db54b00f change macro layout on xs and lg devices 2017-06-06 21:49:21 +02:00
Attila Csanyi
91a4447f2c clicking on a non-active macro action or on the title of the active macro action should cancel the editing of the current macro action 2017-06-06 20:59:55 +02:00
Attila Csanyi
fc002ccd4f use pointer cursor type over the whole macro action title bar (better solution) 2017-06-06 20:50:09 +02:00
Attila Csanyi
5fedf94346 use pointer cursor type over the whole macro action title bar 2017-06-06 20:42:44 +02:00
László Monda
118cdc1ff4 Update release script variables. 2017-06-06 00:55:22 +02:00
László Monda
fb799bd032 Add Travis secure token. 2017-06-06 00:42:59 +02:00
László Monda
e4a905d2e1 chore(release): 1.0.0 2017-06-05 23:44:16 +02:00
László Monda
29ef50047b Update AppVeyor secure token. 2017-06-05 23:42:44 +02:00
Róbert Kiss
f2b358ba96 Add electron-builder packager (#293)
* style(.editorconfig): Add json rule to editorconfig file

* build(build): Add application images

These images need to create installers
Contains images for:
- Win
- Mac
- Linux

* fix(device): Mac is not allow excusive right to use USB

* build(npm): Add standard-version script

* chore(device): Fix comment in UhkDeviceService

* chore(release): 1.0.0-alpha.1

* ci(travis): Change travis to c language and add osx, linux build matrix

* build(build): Windows icon size must be at least 256x256

* ci(appveyor): Add temporary GH_TOKEN to test msi installer

* build(tsconfig): Optimalize tsconfigs

Needed a tsconfig.json in the shared/src library because if it not exist the code builded after the second build on mac, and travis linux. Reproduce the error:
- Delete node_modules directory
- npm i
- npm run build
- error occured (ERROR in ./shared/src/polyfills.ts
Module build failed: error while parsing tsconfig.json)
Created a new tscfonfig.json in the project root folder.
The old config files extends this root configs.

* build(tsconfig): in tsconfig-electron-main not override module version

* chore(editorconfig): Delete json rule

* style: Reformat the main package.json to apply editorconfig style
2017-06-05 23:34:46 +02:00
László Monda
6c31088da8 Add Appveyor badge. 2017-05-31 23:05:58 +02:00
Róbert Kiss
14392fe580 Add appveyor CI integration (#292)
* build(npm): Add .nvmrc file

* style(.editorconfig): Add json rule to editorconfig file

* build(npm): Add test srcipt command to the package.json file

* build(appveyor): Add appveyor CI

* build(appveyor): not npm upgrade to the latest version

* style(editorconfig): Revert json rule
2017-05-31 21:30:55 +02:00