Jakub Sobon
006c021f63
Also throttling repetitive events to focus and widgets.
2019-02-21 01:44:31 -05:00
Jakub Sobon
5a51763b2d
Throttling repetitive events towards screen redraw.
...
Redrawing the screen is the most expansive operation, we don't want to
do it every time an event happens (imagine fast scrolling mouse wheel).
Also adding missing licences.
2019-02-21 01:20:07 -05:00
Jakub Sobon
2ff14a4477
EDS now has the ability to throttle repetitive events.
...
And fixing capture of loop variable in parallel tests.
2019-02-21 01:14:25 -05:00
Jakub Sobon
bb648be6d5
Adding a throttled event queue.
2019-02-21 00:40:35 -05:00
Jakub Sobon
8e27431486
Parallelism for event_test too.
2019-02-21 00:32:57 -05:00
Jakub Sobon
0026a67307
The EDS now reports the number of processed events.
...
Useful for synchronization in tests.
2019-02-20 23:36:17 -05:00
Jakub Sobon
d100f6fc24
Switching termdash test to common spinlock utility.
...
And delaying redraws to allow fast widgets to process the input event.
2019-02-20 23:35:26 -05:00
Jakub Sobon
286e5abd2f
Errors are no longer a special case in the EDS.
...
And changing event queue so that Pullers don't have to process an error.
2019-02-20 00:20:58 -05:00
Jakub Sobon
36bf99ebc7
Fixing invalid use of time.Timer.
...
Timer fires only once. Needs to be recreated.
2019-02-19 23:37:37 -05:00
Jakub Sobon
b53dce0412
Adding licences.
2019-02-19 00:23:15 -05:00
Jakub Sobon
a6ea1565a7
Adding a test with misbehaving receiver.
2019-02-19 00:19:23 -05:00
Jakub Sobon
2ffbe5be94
An event distribution system.
...
Allows multiple subscribers, supports filtering and doesn't block on
slow subscribers.
2019-02-19 00:12:59 -05:00
Jakub Sobon
772fdae7cc
Moving eventqueue into new event directory.
2019-02-18 22:56:20 -05:00