Commit Graph

200 Commits

Author SHA1 Message Date
László Monda
15b27271a0 Move the gist of KeyActions to UhkArray and rename it as ClassArray. Make KeyActions descend from ClassArray. Improve array buffer dumping. 2016-04-04 00:06:18 +02:00
László Monda
0a0eb4c718 Chop off the tail of overly long JSONs. 2016-04-03 21:10:41 +02:00
László Monda
35da91b6ee Fix method name. 2016-04-03 19:23:50 +02:00
László Monda
5c4e9d5912 Dump Serializable.toBinary() 2016-04-03 19:18:01 +02:00
László Monda
b0b7a642a4 Dump UhkBuffer.toJsObject() 2016-04-03 19:09:49 +02:00
László Monda
a0ed4bd5a7 Further tweak the display of the buffer dump. 2016-04-03 19:05:55 +02:00
László Monda
c92831907b Dump buffer operations in a nicer and more compact way. 2016-04-03 02:47:06 +02:00
László Monda
ec65753246 Dump Serializable.fromBinary() 2016-04-03 02:38:23 +02:00
László Monda
2b91aa3152 Add UhkArray. Don't dump arrays. 2016-04-03 01:25:07 +02:00
László Monda
7841779b46 Make Serializable dump fromJsObject() calls. 2016-04-02 00:58:06 +02:00
László Monda
2dca5c1c14 Ignore uhk-config-serialized.bin 2016-04-01 23:38:48 +02:00
László Monda
f17448c59b Compare binary configurations. 2016-04-01 23:35:38 +02:00
László Monda
c8498eab5e Fix the rest of serialization problems and make test-serialize.ts compare the original and resulting JSON. 2016-04-01 23:08:37 +02:00
László Monda
4d5f8161e1 Fix the serialization of MouseAction.mouseAction 2016-04-01 22:48:40 +02:00
László Monda
fb5ac38188 Make SwitchLayerAction serialize the correct layer. 2016-04-01 22:33:55 +02:00
László Monda
0ea8fdf5da Add a KeystrokeWithModifiersAction to the to uhk-config.json 2016-04-01 18:18:19 +02:00
László Monda
d775a3db3c Make test-serializer.ts serialize and deserialize the configuration. 2016-04-01 18:15:04 +02:00
László Monda
3840d0a623 Add Buffer.getBufferContent() 2016-04-01 17:42:14 +02:00
László Monda
fc9e8efdda Update repository URL. 2016-04-01 17:29:24 +02:00
László Monda
6f1097b29a Rename serializeConfig.* to test-serializer.* 2016-04-01 17:28:49 +02:00
László Monda
fa5a420838 Update README.md 2016-04-01 16:01:00 +02:00
Arpad Csanyi
891d29ab2d Add design for the key titles. #27
On this picture there are good and bad examples as well. Check the
corresponding ticket for further information.
2016-04-01 10:34:11 +02:00
László Monda
bf223ddc3e Write the binary representation of the JSON configuration. 2016-04-01 03:46:19 +02:00
László Monda
1697d673f2 Use the members of the newly added KeyActionType object because static members were uninitialized. Handle PlayMacroAction in the KeyActionFactory. 2016-04-01 03:43:34 +02:00
László Monda
fcd0d5b5b3 Move assert functions to assert.ts 2016-04-01 02:42:40 +02:00
László Monda
aa812a477b Initialize array. 2016-04-01 02:29:25 +02:00
László Monda
adca007cac Add KeyActionFactory. Add compact length related methods to UhkBuffer. Add KeyActions. 2016-04-01 01:55:34 +02:00
László Monda
ae6342911c Make KeyAction able to instantiate every KeyAction subclass. 2016-03-31 16:36:40 +02:00
László Monda
ad5118a62c Remove tasks. 2016-03-31 12:52:45 +02:00
László Monda
9029476d37 Update the path of typings. 2016-03-31 12:45:42 +02:00
László Monda
fda7efab8b Ignore the typings directory. 2016-03-31 12:35:31 +02:00
László Monda
f8b0f6bd4c Pull type definition files in the post install phase. 2016-03-31 12:20:53 +02:00
László Monda
49e804ea6d Move typings.json to the root directory. 2016-03-31 12:15:04 +02:00
László Monda
5e55e8436c Move tslint.json to the root directory. Add the lint task to run tslint. 2016-03-31 12:04:06 +02:00
László Monda
386882e1c6 Rename SwitchLayerAction.ts to SwitchKeymapAction.ts and vice versa, so that these files contain their relevant classes. 2016-03-31 11:30:50 +02:00
László Monda
3cb91ad478 Add assert decorator functions. 2016-03-31 10:12:41 +02:00
László Monda
d2f3ec62f0 Use template strings where needed. 2016-03-30 22:17:07 +02:00
László Monda
45dc8a520f Make layer toggleable. 2016-03-30 17:55:10 +02:00
László Monda
bbd3227645 Add SwitchLayerAction. 2016-03-30 17:43:27 +02:00
László Monda
5b6f62c113 Make the first byte of KeyAction items purely denote their type. Make the binary representation of KeyAction items variable-length. 2016-03-30 17:19:09 +02:00
László Monda
4bd1c8b3e9 Let's not duplicate part of the KeyActionId enum as LongPressActionId because duplication should only cause troubles down the road. 2016-03-30 12:59:03 +02:00
László Monda
5bd6c0a8a0 Use KeyActionId values wherever possible. Add some further value checks. Assign this.mouseAction properly. 2016-03-30 12:31:53 +02:00
László Monda
17e56fdf7c Add KeyActionId enum. 2016-03-30 02:19:10 +02:00
László Monda
0edde3236a Add TypeChecker and use its methods wherever possible. 2016-03-30 01:59:05 +02:00
László Monda
94e5d55d8f Add DualRoleKeystrokeAction. 2016-03-30 01:48:08 +02:00
László Monda
7660bdb729 Rename copy-pasted identifiers. 2016-03-29 23:03:38 +02:00
László Monda
a721dd3212 Add SwitchKeymapAction 2016-03-29 23:02:36 +02:00
László Monda
1b75c067f4 Add PlayMacroAction. 2016-03-29 22:56:51 +02:00
László Monda
5f6727b53a Rename KeyActionNone to NoneAction. 2016-03-29 13:07:33 +02:00
László Monda
00827b1b94 Add MouseAction. 2016-03-29 13:05:48 +02:00