Commit graph

270 commits

Author SHA1 Message Date
c574bf6ad2
move GridView & GridOffset into separate grid module 2021-01-12 22:40:15 +01:00
f76a56f7b9
add GridOffset 2021-01-12 22:33:47 +01:00
ceb0a8a5a9
port: add_[observer|reset]_fn return the observer object instead of view
now because we use Weak in ObserverBroadcast, we need at least one Arc somewhere else
2021-01-12 22:31:19 +01:00
5007fdea3c
make Observer::reset() mutable
use RwLock in ObserverBroadcast
2021-01-11 01:18:32 +01:00
86562614cc
refactoring 2021-01-09 01:45:17 +01:00
cdd06eb9b8
add first StringEditor 2020-12-14 19:37:59 +01:00
c776a1a08e
terminal resizing events 2020-12-14 19:35:35 +01:00
eebabdda2d
add ObserverExt with notify_each() 2020-12-14 19:21:03 +01:00
49f189f3db
terminal: fix write loop 2020-12-14 19:17:51 +01:00
2a79b2753c
fix warnings 2020-12-09 17:56:33 +01:00
4a29d7a5cf
add TerminalCompositor
and some nice utilities for ports
2020-12-09 17:31:08 +01:00
62f3a85736
add terminal 2020-12-09 12:56:38 +01:00
bf56185ca1
add some operations to VecBuffer 2020-12-09 12:56:16 +01:00
9faaf8e38e
ChannelReceiver: add recv() function to receive the complete chunk instead of iterating 2020-12-09 12:51:43 +01:00
4988db36e8
move VecBuffer & SingletonBuffer into separate files 2020-12-08 15:58:23 +01:00
852e1807db
OuterViewPort: map_value() & map_key() 2020-12-08 15:51:24 +01:00
2da96c5482
add impls for Arc<dyn View> and Arc<dyn Observer> 2020-12-07 18:28:28 +01:00
ebd11796ad
improve ports
add Send+Sync as supertraits for View and Observer and notify() immutable
2020-12-07 18:09:48 +01:00
9d9f21405b
simplify singleton channel
we can directly use Option<T> without wrapping it
2020-12-05 11:31:03 +01:00
166e75a5c7
initial commit 2020-12-04 20:38:51 +01:00