Commit Graph

191 Commits

Author SHA1 Message Date
Corey O'Connor
ccb1b2487c resolve test compile failures 2014-01-31 01:13:24 -08:00
Corey O'Connor
76bffb44d8 fix terminfo cap parser tests 2014-01-30 21:12:01 -08:00
Corey O'Connor
f0dd4aae40 have eventecho print out final event 2014-01-29 08:13:25 +01:00
Corey O'Connor
5d53e6b898 cleanup warnings 2014-01-28 22:48:30 +01:00
Corey O'Connor
b7d8b6d87e resolve compile failure 2014-01-28 08:33:27 +01:00
Corey O'Connor
b34a7f0bb8 correct compile failures 2014-01-26 13:25:13 -08:00
Corey O'Connor
c9155d7dec use threaded runtime and forkOS to resolve issues with VMIN and VTIME 2014-01-22 15:26:13 -08:00
Corey O'Connor
87e09a1484 derive new input loop 2014-01-21 03:50:57 -08:00
Corey O'Connor
888b6d2589 resolve compilation issues and test failures 2014-01-19 00:19:56 -08:00
Corey O'Connor
fe5195dac2 fixup examples 2013-12-25 08:03:22 +01:00
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
Corey O'Connor
2dc9f45a8c horizontal cropping tests 2013-08-13 15:05:10 -06:00
Corey O'Connor
5fb702eeb1 add some interactive tests for the vertial crop operations 2013-08-13 14:53:40 -06:00
Corey O'Connor
e73ed60271 document why the crop_right_and_left_rejoined_equivalence is a known failure 2013-08-13 14:15:51 -06:00
Corey O'Connor
b21f019794 yet more tests of cropping 2013-08-13 00:41:58 -06:00
Corey O'Connor
c998873eaa more tests on cropping, plus some suspect fixes 2013-08-13 00:16:35 -06:00
Corey O'Connor
211ad02ee1 try adding more shrink implementations 2013-07-30 22:43:35 -07:00
Corey O'Connor
9748c1d659 more tests of cropping operations. simplify the terminal interface a bit 2013-07-29 09:44:53 -07:00
Corey O'Connor
16c773006a add a bit more strictness to the resize generator 2013-07-27 14:29:46 -07:00
Corey O'Connor
0788d18a52 complete the crop implementation. fix some bugs testing located 2013-07-27 01:00:25 -07:00
Corey O'Connor
ef226f9e53 remove unused add_unclipped 2013-07-26 21:27:48 -07:00
Corey O'Connor
e31a531ac8 update benchmark results 2013-07-23 09:12:07 -07:00
Corey O'Connor
e5eaad51c2 clear to eol on row end when using terminfo based terminal 2013-07-23 01:16:25 -07:00
Corey O'Connor
088b6469b3 update benchmark results 2013-07-22 19:57:23 -07:00
Corey O'Connor
2f8e0bc005 test fixes 2013-07-22 01:11:50 -07:00
Corey O'Connor
0ec4db3cac split Span into two modules 2013-07-20 22:08:36 -07:00
Corey O'Connor
35b159777e rename Hack to Unsafe plus minor 2013-07-20 20:31:05 -07:00
Corey O'Connor
42768e8ff4 handle missing cursor hide/show and color operations better 2013-07-08 01:37:28 -07:00
Corey O'Connor
4b6f75b989 implement a test for all terminfo based terminals this should support 2013-07-07 23:31:24 -07:00
Corey O'Connor
fd3df90f1f Move from a typeclass to a structure of properties interface for terminals and display contexts. 2013-07-07 13:55:23 -07:00
Corey O'Connor
e6fb85e342 rename debug terminals to mock terminals. 2013-07-05 18:36:03 -07:00
Corey O'Connor
89b1a3a098 additional testing of string width functionality 2013-07-05 18:35:36 -07:00
Corey O'Connor
5ce86b4db3 Merge pull request #36 from mhwombat/master
Fix for issue #35
2013-06-14 12:53:14 -07:00
Corey O'Connor
dc8be4e487 change the test makefile to use O2 and the correct benchmark executable 2013-06-09 21:56:32 -07:00
Corey O'Connor
9952a909d9 fixes. all auto tests pass 2013-06-01 16:34:46 -07:00
Corey O'Connor
f3108faed9 cleanup and updates to get the test suite to compile 2013-06-01 06:47:29 -07:00
Corey O'Connor
cd6747cfa6 compiling again. fails testing tho 2013-06-01 05:18:00 -07:00
Corey O'Connor
81c65e2368 adjust for compile failures 2013-05-22 19:36:29 -07:00
Corey O'Connor
e973a0de7f in progress 2013-05-16 13:44:04 -07:00
Corey O'Connor
052cee932a add new benchmark and improve benchmarking in general. 2013-05-10 23:23:41 -07:00
Amy de Buitléir
506979fe13 Fix for issue #35 2013-02-14 16:36:58 +00:00
Corey O'Connor
53d501be14 adjust expected output in interactive test to account for how the initial newline is handled in the string quasiquoter 2013-02-08 20:05:53 -08:00
Corey O'Connor
c80c7884e8 add remaining benchmarks to simple benchmark runner 2013-01-27 23:08:08 -08:00
Corey O'Connor
a029bda581 add a generic benchmark executable 2013-01-27 21:41:59 -08:00
Corey O'Connor
a11ac811ad update docs 2012-12-26 16:48:38 -07:00
Corey O'Connor
8211ead8d5 fix QuickCheck dependency. add interactive-terminal-test to executables section. add test for issue 7 2012-12-26 16:40:19 -07:00
Corey O'Connor
6ee46acfa7 migrate tests to Cabal test-suites 2012-10-15 20:50:58 -07:00
Corey O'Connor
3ce550bbc4 convert verify_display_attributes to detailed-0.9 test suite 2012-10-07 18:33:02 -07:00
Corey O'Connor
8e1ea8e153 Implement verify_debug_terminal as Cabal test. 2012-10-07 18:26:28 -07:00
Corey O'Connor
f56abd231a up to 4.7.0.12 for release 2012-04-22 08:55:12 -07:00
Corey O'Connor
5405f9136c update test/Makefile 2011-11-02 16:53:21 -07:00