Commit graph

140 commits

Author SHA1 Message Date
Michael Sippel 912f08e914 grid area: correctly convert empty set to empty range 2022-11-05 11:57:06 +01:00
Michael Sippel 06c90197da product editor: update diagnostics view 2022-11-05 11:57:06 +01:00
Michael Sippel 8eea49a688 grid flatten: fix corner case when chunk shrinks to zero area
wrong integer cast caused endless iterator
2022-11-05 11:57:06 +01:00
Michael Sippel 273f20d3db pty list: add split key 2022-11-05 11:57:06 +01:00
Michael Sippel b2f437d7df add diagnostics; contanis some bugs 2022-11-05 11:57:06 +01:00
Michael Sippel 906cc51329 sequence: add enumerate() 2022-11-05 11:57:06 +01:00
Michael Sippel 5dd4773205 product editor: fix out-of-bounds in edge case 2022-11-05 11:57:06 +01:00
Michael Sippel 096e343f25 improve colors 2022-11-05 11:57:06 +01:00
Michael Sippel 21f7043ef0 product editor: fix background color highlighting
introduce update_segment() to simplify updating of meta information of segments
2022-11-05 11:57:06 +01:00
Michael Sippel 507887535f list nav: catch some out of bounds errors 2022-11-05 11:57:06 +01:00
Michael Sippel 4e02b41a77 shell: first commander prototype 2022-11-05 11:56:56 +01:00
Michael Sippel 55eb594521
product editor: grid layout 2022-06-26 00:49:35 +02:00
Michael Sippel d8e8f763a6
cleanup product editor 2022-06-24 15:54:05 +02:00
Michael Sippel 5fef75e24f
listeditor cleanup 2022-06-19 23:13:21 +02:00
Michael Sippel b0b91af2ad
sequence decorators 2022-06-17 18:20:13 +02:00
Michael Sippel 87ed4ef1ca
buffers: store inner viewport instead of cast 2022-06-17 18:19:04 +02:00
Michael Sippel 0ded47410c
product editor: move tree nav to separate file 2022-05-23 22:51:23 +02:00
Michael Sippel f118eada34
product editor 2022-05-08 23:30:49 +02:00
Michael Sippel 61c2d55441
IndexArea: start at (0,0) for empty range 2022-02-13 16:40:05 +01:00
Michael Sippel 8239b1e8d5 singleton2index: dont use Full area 2022-02-10 21:17:21 +01:00
Michael Sippel 31a8202dd7
IndexArea.range(): set end to 0 instead of max
avoids capacity overflow
2021-11-29 09:12:22 +01:00
Michael Sippel 411b773ab5
fix warnings & format 2021-11-19 12:19:52 +01:00
Michael Sippel bf8a949cdd
move plot to separate file 2021-11-19 12:04:37 +01:00
Michael Sippel f480b79031
try to improve ansi parsing 2021-11-18 22:55:32 +01:00
Michael Sippel ef1a477d4a
ansi parser: PtyView to display cursor & scrolling 2021-11-18 17:47:29 +01:00
Michael Sippel 4ab20be1c5
SingletonBuffer: add get_mut() 2021-11-18 14:43:10 +01:00
Michael Sippel 941da4ed7d
add grid/buffer 2021-11-17 22:32:31 +01:00
Michael Sippel c9c6958a62
process editor: write keyboard input to pty 2021-11-11 22:29:37 +01:00
Michael Sippel 43321d18fb
some more ansi parsing improvements 2021-11-09 02:56:21 +01:00
Michael Sippel 4ad8316636
improve ansi parsing 2021-11-07 17:42:36 +01:00
Michael Sippel 05a189a2bb
implement some more ansi codes 2021-11-07 09:43:50 +01:00
Michael Sippel 2fd209c502
list editor: catch out of bounds in ListEditor::get_item() 2021-11-07 08:50:36 +01:00
Michael Sippel 7fdc0bf272
optimize index views with IndexArea enum to allow range based notifications 2021-11-07 08:48:04 +01:00
Michael Sippel bfd27fa3fa
update dependencies 2021-10-01 16:29:18 +02:00
Michael Sippel c68a9f785d
shell: use a ListEditor of ProcessLaunchers in top level 2021-09-24 23:31:09 +02:00
Michael Sippel 372ef9cb77
shell: use portable-pty crate instead of pty-rs 2021-09-15 15:24:39 +02:00
Michael Sippel 1076d2a1e9 Merge branch 'topic-sdf' 2021-09-14 23:50:58 +02:00
Michael Sippel edb8416f67
terminal: filter out of bounds atoms 2021-09-13 01:41:29 +02:00
Michael Sippel cdeb0f9bc8
list editor: fix out of bounds on backspace 2021-09-12 17:39:24 +02:00
Michael Sippel 880610c39d
IntegerEditor: reverse digit sequence in get_value() to use the more commonplace endiannes as default 2021-09-10 02:06:24 +02:00
Michael Sippel b86220ae90
first color editor 2021-09-06 00:08:36 +02:00
Michael Sippel cee6e02a04
shell: first ProcessLauncher with PTY 2021-09-03 06:49:18 +02:00
Michael Sippel bd1572c632
SequenceView: add .iter() 2021-09-02 22:37:09 +02:00
Michael Sippel fe4707e7b2
StringEditor & PosIntEditor: add get_data_port() 2021-08-31 03:03:51 +02:00
Michael Sippel 8b19ab94c7
sequence: add filter_map()
could be more efficient
2021-08-31 02:57:42 +02:00
Michael Sippel 73eec59f58
ListEditor: better NavResult in dn(): avoid jumping when calling dn on lowest level 2021-08-31 02:11:49 +02:00
Michael Sippel fdd5e925b1
add PosIntEditor 2021-08-31 02:10:10 +02:00
Michael Sippel a3d966df11
fix some bugs and add help to demo 2021-08-28 17:01:31 +02:00
Michael Sippel 11eb30bd5b
list editor cleanup & fix nesting 2021-08-28 03:08:41 +02:00
Michael Sippel fb5ae53e88
add IndexBuffer 2021-08-27 22:31:25 +02:00
Michael Sippel cec7b4a0a0
more improvements for ListEditor
fix some glitches by refactoring ListCursor: mode is now always present, only idx is optional
2021-08-26 08:20:51 +02:00
Michael Sippel 5eefcbb4d1
projection: remove_arg 2021-08-24 23:15:18 +02:00
Michael Sippel 2563e06000
list editor: refactor cursor handling 2021-08-23 05:00:57 +02:00
Michael Sippel 9905a2376f
build StringEditor and PosIntEditor ontop of ListEditor
add DigitEditor and CharEditor
2021-08-16 01:27:35 +02:00
Michael Sippel fef4b930ae
TreeNav: get tree address of cursor 2021-08-16 00:10:25 +02:00
Michael Sippel 5753fb5af8
singleton: to_index() & to_grid() 2021-08-16 00:08:33 +02:00
Michael Sippel 603034a065
TreeNav trait
adapt ListEditor and StringEditor
2021-08-15 04:27:09 +02:00
Michael Sippel 127c43bca0
list editor: add path view
add decorate() on OuterViewPort to create a ListDecorator
2021-08-15 02:05:33 +02:00
Michael Sippel 78c5ffcdbe
small notification fixes 2021-08-11 18:08:53 +02:00
Michael Sippel 07ee04bba4
move list editor module to nested crate 2021-08-11 17:52:38 +02:00
Michael Sippel 2d17254b2c
leveled term view: only notify when level is changed 2021-08-11 17:43:23 +02:00
Michael Sippel 45df06adac
add terminal editor trait & string editor improvements
string editor: make cursor Option<usize>
2021-08-11 17:39:07 +02:00
Michael Sippel 261bf15b70
flatten(): add quickfix to cover up race condition in diff notification 2021-08-11 17:29:13 +02:00
Michael Sippel b6f67c8ee3
port: add missing update in set_view 2021-07-28 01:54:12 +02:00
Michael Sippel f2fdaa687b
pipeline builders for sequence to grid with simple horizontal / vertical layout 2021-07-05 13:27:42 +02:00
Michael Sippel e7d1763369
workaround for vec2seq len issue 2021-06-17 02:36:37 +02:00
Michael Sippel 8e36e1c2fd
singleton map 2021-06-16 02:56:11 +02:00
Michael Sippel 835a0bf08e
move VecBuffer and views into separate vec module 2021-06-16 01:56:34 +02:00
Michael Sippel 30a3df180b
grid flatten 2021-06-13 17:20:39 +02:00
Michael Sippel 44cba54320
terminal make_label() helper 2021-06-12 04:15:56 +02:00
Michael Sippel 9d91f938b1
grid view: better range() 2021-06-12 04:15:32 +02:00
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 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 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 9539b2ad76
add serde 2021-04-20 04:09:12 +02:00
Michael Sippel e21b888b6c
move nested into a lib crate 2021-04-19 05:02:11 +02:00