Commit Graph

13 Commits

Author SHA1 Message Date
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
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
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
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
J??zsef Farkas
f6744b737a Update angular to 4.0.0 2017-03-24 19:24:31 +01:00
József Farkas
ca31e5bb4d Add new tslint rules and fix rule breaks 2017-03-18 23:43:32 +01:00
Farkas J??zsef
67c8b12eac Update to webpack 2.x 2017-03-12 15:47:09 +01:00
Farkas József
715b924be0 UHK detection
Closes #258
2017-02-18 19:04:35 +01:00
Farkas József
8aa2029f55 Add keymap downloading
Closes #199
2017-02-14 20:35:50 +01:00
Farkas József
e87f64b5e3 Show github ribbon only in web build
Closes #264
2017-02-12 22:39:07 +01:00
Farkas József
f1f8a8d64e Add the whole user configuration to the AppState
Closes #252
Fixes #219
2017-02-11 10:08:04 +01:00
Farkas József
bd05da4316 Replace template/styles with templateUrl/styleUrls 2017-02-05 21:39:18 +01:00
Farkas József
983eb72892 Seperate electron and web target building 2017-02-05 20:31:52 +01:00