Commit Graph

131 Commits

Author SHA1 Message Date
Corey O'Connor
b3013245fd start refactoring input layer into a nice interface structure 2013-12-21 23:22:49 -08:00
Corey O'Connor
e994b3b5dc rename current_terminal to output_for_current_terminal etc. plus doc fixups 2013-12-21 16:02:51 -08:00
Corey O'Connor
4e45d7c024 rename DisplayRegion module to Prelude 2013-12-19 22:24:56 -08:00
Corey O'Connor
e0faa3af71 add a sprite generator to RougeStory. Stopping on this for now. 2013-12-11 23:12:03 -08:00
Corey O'Connor
dd5e24b592 add empty_picture, add_to_top and add_to_bottom to Graphics.Vty.Picture 2013-11-30 00:23:10 -08:00
Corey O'Connor
829ae9c4df add withVty to Graphics.Vty.Inline. 2013-11-29 01:21:58 -08:00
Corey O'Connor
8237c57123 add prototype of a new rouge level generator 2013-11-29 01:21:41 -08:00
Corey O'Connor
7c1c7894ab adjust vty-rouge some 2013-11-24 19:48:40 -08:00
Corey O'Connor
d05afa18ca improve performance of the rouge game 2013-11-20 15:53:15 -08:00
Corey O'Connor
a1038b2533 just rely on the geo array for collision 2013-11-20 11:56:27 -08:00
Corey O'Connor
0ccb7dce7e change the translate method to allow negative translations.. with a catch. 2013-11-20 11:43:13 -08:00
Corey O'Connor
4fae6a290b rename ClassifyTable to ClassifyTableV1 2013-11-17 20:59:52 -08:00
Corey O'Connor
11db66e055 correct the cap used for function keys to kfN not key_fN 2013-11-17 00:28:21 -08:00
Corey O'Connor
c231f4763e move some function keys to be read from caps. disambiguate some keys. expand input test 2013-11-13 23:23:08 -08:00
Corey O'Connor
d9cf8b9252 separate examples to separate package. add build_examples script for quick testing 2013-11-12 22:22:05 -08:00
Corey O'Connor
4e99fd9719 add another tests and more docs 2013-11-11 22:05:31 -08:00
Corey O'Connor
849fc716a5 refactor the input layer for testing. build first test that actually simulate typing 2013-11-10 20:38:47 -08:00
Corey O'Connor
0d272ac3d1 just stack the info on top of the log 2013-10-26 17:06:35 -07:00
Corey O'Connor
33bf7c8920 add an example program to test input event handling: vty-event-echo 2013-10-26 17:04:52 -07:00
Corey O'Connor
58cf4160df more silly hackery - expand the rouge game 2013-10-26 09:43:16 -07:00
Corey O'Connor
b6caadc7e7 rename strict_text to text' 2013-10-25 22:28:22 -07:00
Corey O'Connor
ce5b5f40f5 Merge branch 'master' of github.com:coreyoconnor/vty 2013-10-25 00:25:13 -07:00
Corey O'Connor
2492366486 disable failing span for layers generation tests 2013-10-25 00:24:56 -07:00
Corey O'Connor
0620fdc350 make the start of a silly rouge like game 2013-10-24 14:40:48 -07:00
Corey O'Connor
635f971c2b correct test parameter name and actually use it 2013-10-22 18:00:16 -07:00
Corey O'Connor
f9619d04eb finish test for verifying the parsing of the keys read from the capabilities file 2013-10-22 17:48:22 -07:00
Corey O'Connor
22774a905a abstract event block generation from source table. initial terminfo caps based input block test 2013-10-20 14:18:29 -07:00
Corey O'Connor
4726c747ec add a SimpleEvent data type to generate lists of simple character events. a bit odd. 2013-10-20 00:21:51 -07:00
Corey O'Connor
560c5d673b start converting verify-using-mock-input to test-framework + smallcheck 2013-10-19 23:20:29 -07:00
Corey O'Connor
424e6a858d cleanup 2013-10-13 03:01:53 -07:00
Corey O'Connor
dc749015b7 add an event to end the event processing loop. finish simple_chars test 2013-10-05 00:30:38 -07:00
Corey O'Connor
e08a59e044 update Test.hs 2013-10-04 22:19:08 -07:00
Corey O'Connor
c7f63cd18a initial test. missing implementation of assert 2013-09-16 00:15:49 -07:00
Corey O'Connor
2e7bc4c3fc refactor input layer a bit more. closer to testable 2013-09-14 23:56:06 -07:00
Corey O'Connor
43e8117820 not sure why this was checked in.... 2013-09-02 14:42:59 -07:00
Corey O'Connor
4f9fc10169 start refactoring input layer for an easy to understand mapping of input bytes to events 2013-09-01 01:08:27 -07:00
Corey O'Connor
2b7c82a990 add scaffold for input test 2013-08-29 17:00:07 -07:00
Corey O'Connor
b3d84a565a remove multiwayif 2013-08-29 16:59:46 -07:00
Corey O'Connor
00ad57005f add another test of layer support. Animate an image over another 2013-08-21 09:15:20 -07:00
Corey O'Connor
195282aa74 add interactive test of layers. 2013-08-20 23:16:33 -07:00
Corey O'Connor
4ca36c0270 actually. keep them enabled for now 2013-08-20 00:51:40 -07:00
Corey O'Connor
9ea385f8c8 implement missing split_ops_at for TextSpan. resolves tests, except two. Those are test issues not system under test issues 2013-08-20 00:47:36 -07:00
Corey O'Connor
ae971503fa remove the attributechange span op. greatly simplifies layer combining 2013-08-19 15:52:58 -07:00
Corey O'Connor
b3382fece4 additional tests of layering support 2013-08-17 21:58:43 -07:00
Corey O'Connor
a64145a779 more tests for verifying various layer properties 2013-08-17 07:40:47 -06:00
Corey O'Connor
08c42ea651 simplify the mock terminal tests a bit 2013-08-16 23:13:05 -06:00
Corey O'Connor
2a7fce5bcc add initial test for layered span generation 2013-08-15 14:05:38 -06:00
Corey O'Connor
8131ac30d8 split the VerifySpanOps test into two. add boilerplate for layers tests 2013-08-15 13:47:39 -06:00
Corey O'Connor
838dd51d73 assure VerifyTerminal can actually work as a regression test for issue #42 2013-08-14 22:32:02 -06:00
Corey O'Connor
ada920d094 minor adjustments to the dummy text. which I also hope is nothing offensive. 2013-08-13 15:06:33 -06:00