Commit graph

221 commits

Author SHA1 Message Date
Michael Sippel 2896799fae
grid offset: use map_key() 2021-06-12 03:05:05 +02:00
Michael Sippel 9125997c83 vec sequence: remove RwLock 2021-06-12 03:02:12 +02:00
Michael Sippel 0962b96c3a
add first list decorator projection 2021-06-06 18:44:41 +02:00
Michael Sippel e5e1fc180e
add shell crate with stupid int editor 2021-06-05 23:30:40 +02:00
Michael Sippel 6e3abbde41
refactor sequence flatten() to use ProjectionHelper 2021-06-05 23:01:32 +02:00
Michael Sippel df91db7774
radix transform: add update hook 2021-06-05 23:01:00 +02:00
Michael Sippel b6df1e7e41
projection: define channel type per argument type 2021-05-28 00:45:30 +02:00
Michael Sippel d9654ab292
radix transform: fix misnamed variable
the _ caused the variable to be optimized away, which is not desired
2021-05-22 01:39:08 +02:00
Michael Sippel ca819aeaf4
port: introduce update hooks to avoid extra async tasks per projection
fixes deadlock issues
2021-05-22 01:33:58 +02:00
Michael Sippel f8b5da1393
port: rename observers to cast 2021-05-16 23:47:17 +02:00
Michael Sippel 89a6f84114
sequence filter 2021-05-15 03:33:24 +02:00
Michael Sippel fc85af7493
ProjectionArg: remove unnecessary arc 2021-05-13 23:46:22 +02:00
Michael Sippel c6717e0e75
fix warnings 2021-05-13 16:22:30 +02:00
Michael Sippel 5ec4773eb1
more context implementation 2021-05-10 01:57:47 +02:00
Michael Sippel c162e63b1d
sequence map 2021-05-10 01:50:01 +02:00
Michael Sippel 042fc6353c
example utils: improve types 2021-05-03 19:55:29 +02:00
Michael Sippel 1448f31cf4
add AnyViewPort 2021-05-03 19:41:08 +02:00
Michael Sippel a1b95c5892
type terms, first parsing & serialization 2021-04-30 03:49:53 +02:00
Michael Sippel 0feaee454c
add positional integer radix transform 2021-04-29 01:32:59 +02:00
Michael Sippel c53f07e762
VecBuffer: add Serialization/Deserialization from Write/Reader
VecDiff: add Clear
2021-04-24 15:57:09 +02:00
Michael Sippel fd1040decb
first ansi-term parser + display server 2021-04-20 04:11:41 +02:00
Michael Sippel 9539b2ad76
add serde 2021-04-20 04:09:12 +02:00
Michael Sippel 921377c2cc
some prototype mini utils 2021-04-19 05:02:46 +02:00
Michael Sippel e21b888b6c
move nested into a lib crate 2021-04-19 05:02:11 +02:00
Michael Sippel c63fd6d1f2
script to enable/disable no_deadlocks::RwLock instead of std::sync::RwLock 2021-03-30 22:47:05 +02:00
Michael Sippel 0fcf852b72
sequence.flatten: remove unnecessary mut 2021-02-17 18:21:26 +01:00
Michael Sippel eb6dc43e53
use projection helper in terminal compositor 2021-02-17 18:18:39 +01:00
Michael Sippel 4485b3cf13
further simplify projection helper usage 2021-02-17 18:18:12 +01:00
Michael Sippel a2d5ea7707
improve ProjectionArg, ProjectionHelper 2021-02-05 01:18:46 +01:00
Michael Sippel 8d73e67615
flatten() for SequenceViews 2021-01-24 23:49:13 +01:00
Michael Sippel 0f21a6dcd6
VecSequence: fix reset
update length in reset
2021-01-24 17:43:23 +01:00
Michael Sippel 687936b098
first CellLayout
not very efficient atm, but functional
2021-01-22 20:55:42 +01:00
Michael Sippel ef4bdf5b1a
fix locks in StringInsertView 2021-01-22 15:39:08 +01:00
Michael Sippel b896dd897a
add ProjectionArg helper to simplify projection views with multiple inputs 2021-01-22 14:56:56 +01:00
Michael Sippel 3514e41432
add gitignore 2021-01-19 23:18:50 +01:00
Michael Sippel 4229278369
improve vec buffer
add get_mut() and refactor wrapper methods
2021-01-19 23:15:55 +01:00
Michael Sippel 6aef446134
impl View traits for Option<V> 2021-01-19 23:12:31 +01:00
Michael Sippel c2b4683a1a
GridView: add range() function
add GridWindowIterator from RangeInclusive
2021-01-18 22:05:57 +01:00
Michael Sippel afaa9d220b
refactor string editor 2021-01-18 17:00:53 +01:00
Michael Sippel d1c523335b
MapIndexItem: pass key and item to function 2021-01-18 16:59:35 +01:00
Michael Sippel fffb23cd12
add to_sequence() in ViewPort<Vec> 2021-01-17 11:29:48 +01:00
Michael Sippel 4fceafcac4
index/sequence: get() always return Option 2021-01-16 20:19:52 +01:00
Michael Sippel b62bfa54a0
terminal compositor: move area calculation into impl IndexView 2021-01-16 18:00:56 +01:00
Michael Sippel 0a1b4c2c23
fix warnings 2021-01-16 16:09:16 +01:00
Michael Sippel 981ec3438f
disable code causing deadlock 2021-01-16 15:31:37 +01:00
Michael Sippel 28970658c0
first VecBuffer 2021-01-16 14:03:49 +01:00
Michael Sippel 589052977c
make SequenceView a separate trait which can be converted into an IndexView with a projection 2021-01-16 13:59:48 +01:00
Michael Sippel 9d6b1aee74
add MapIndexKey 2021-01-16 13:58:31 +01:00
Michael Sippel 6fe50416b5
index view: replace range() with area() 2021-01-16 13:57:53 +01:00
Michael Sippel f3fa8a7af1
map_item() projection for index views 2021-01-12 23:13:27 +01:00