Commit graph

180 commits

Author SHA1 Message Date
66c6478124
context: add meta_chars collection 2023-05-19 11:26:05 +02:00
52efcfc6c6
type term: change display parenthesis to <>, allow \n to as newline character literal 2023-05-19 11:21:29 +02:00
b0f30e9198
wip: TypeTermEditor 2023-04-03 14:39:02 +02:00
bdc19c33de remove deprecated Commander traits 2023-03-25 09:01:05 +01:00
b6bd888d3d
node: ViewPort for editor, cleanup PTYListEditor
- move split/join functions into ListEditor
- separate PTYListStyle and PTYListController
2023-03-25 09:00:54 +01:00
1575fa756e
ReprTree: add from_char() 2023-03-25 08:49:19 +01:00
17b58e6bca
TypeTerm: type-ladder arguments, variables & char-literals 2023-03-25 08:46:42 +01:00
f1eedad3fe
pty editor: more resilient handling of results in join functions 2023-03-02 02:42:30 +01:00
fb20fb94e7
fix flickering in some terminals 2023-03-02 02:41:22 +01:00
4b6cc1ee55
implement first typelader-compatibility algorithm 2023-02-27 21:31:19 +01:00
57682826f8
diagnostics: add make_info 2023-02-26 19:40:35 +01:00
2bef092859
ansi parser: stop on zero byte 2023-02-24 22:51:53 +01:00
4acce3921d
ObjCommander: return TreeNavResult 2023-02-24 19:26:46 +01:00
73499e0ab3
style 2023-02-24 18:44:47 +01:00
b6929f9463
node: get_data_port/get_data_view 2023-02-24 18:44:01 +01:00
aafc9235ab
list editor: avoid empty lists when splitting at multiple levels
adds compatibility to load shell pipeline from file
2023-02-21 15:17:39 +01:00
c2a9d8e3bd
impl ObjCommander, simplify type creation & data retrieval from node" 2023-02-20 03:45:53 +01:00
cf313727a6
further refactor pty-list, node morphisms, commander 2023-02-18 04:15:47 +01:00
2bdea3e2a3
upgrade node with morphisms 2023-02-17 00:59:07 +01:00
6f942c8940
factor out r3vi and shell crates 2023-02-16 15:11:22 +01:00
d43d99c6d3
PTYListEditor: move style into node constructor 2023-02-11 12:03:37 +01:00
4afdb61b87
type dict: add get_typename 2023-02-11 11:54:30 +01:00
6867297eea
singleton2sequence: value only at first element
fixes chain with singleton tosequence filter
2023-01-07 13:13:27 +01:00
47b8900adc
implement tree cursor widget as projection pipeline 2023-01-07 05:14:46 +01:00
a9550600f4
singleton: add flatten() & to_sequence() 2023-01-07 04:30:58 +01:00
0edbd748a5
further file renaming 2023-01-02 18:49:32 +01:00
280796ab17
move type-system & context into separate module 2023-01-02 13:18:55 +01:00
97000cab7a
move toy widgets from shell into lib 2023-01-01 16:12:20 +01:00
883cd01f99
wip 2022-12-21 01:55:42 +01:00
7a24111f08
fix warnings 2022-12-18 01:39:01 +01:00
35498a2fa7
begin refactor to node-struct and obj-commmander 2022-12-18 01:20:17 +01:00
bcbeb2298a
allow nested contexts
improve make_editor
2022-11-19 01:45:57 +01:00
bed4bc329b
cleanup editor constructors 2022-11-18 00:21:29 +01:00
2db92ef6aa
sum editor: forward diagnostics 2022-11-18 00:13:02 +01:00
0a8c77772c
replace TerminalTreeEditor with Nested trait 2022-11-13 15:26:25 +01:00
97624e1a8e
char editor: dont exit on invalid input 2022-11-05 23:44:44 +01:00
1588375e7d
fix style 2022-11-05 23:44:16 +01:00
96e47c3cd5
sum editor 2022-11-05 22:33:46 +01:00
294013de02 sequence enumerate(): rename variable 2022-11-05 11:57:06 +01:00
4b8b857134 commander: display error on invalid symbol 2022-11-05 11:57:06 +01:00
912f08e914 grid area: correctly convert empty set to empty range 2022-11-05 11:57:06 +01:00
06c90197da product editor: update diagnostics view 2022-11-05 11:57:06 +01:00
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
273f20d3db pty list: add split key 2022-11-05 11:57:06 +01:00
b2f437d7df add diagnostics; contanis some bugs 2022-11-05 11:57:06 +01:00
906cc51329 sequence: add enumerate() 2022-11-05 11:57:06 +01:00
5dd4773205 product editor: fix out-of-bounds in edge case 2022-11-05 11:57:06 +01:00
096e343f25 improve colors 2022-11-05 11:57:06 +01:00
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
507887535f list nav: catch some out of bounds errors 2022-11-05 11:57:06 +01:00
4e02b41a77 shell: first commander prototype 2022-11-05 11:56:56 +01:00
55eb594521
product editor: grid layout 2022-06-26 00:49:35 +02:00
d8e8f763a6
cleanup product editor 2022-06-24 15:54:05 +02:00
5fef75e24f
listeditor cleanup 2022-06-19 23:13:21 +02:00
b0b91af2ad
sequence decorators 2022-06-17 18:20:13 +02:00
87ed4ef1ca
buffers: store inner viewport instead of cast 2022-06-17 18:19:04 +02:00
0ded47410c
product editor: move tree nav to separate file 2022-05-23 22:51:23 +02:00
f118eada34
product editor 2022-05-08 23:30:49 +02:00
61c2d55441
IndexArea: start at (0,0) for empty range 2022-02-13 16:40:05 +01:00
8239b1e8d5 singleton2index: dont use Full area 2022-02-10 21:17:21 +01:00
31a8202dd7
IndexArea.range(): set end to 0 instead of max
avoids capacity overflow
2021-11-29 09:12:22 +01:00
411b773ab5
fix warnings & format 2021-11-19 12:19:52 +01:00
bf8a949cdd
move plot to separate file 2021-11-19 12:04:37 +01:00
f480b79031
try to improve ansi parsing 2021-11-18 22:55:32 +01:00
ef1a477d4a
ansi parser: PtyView to display cursor & scrolling 2021-11-18 17:47:29 +01:00
4ab20be1c5
SingletonBuffer: add get_mut() 2021-11-18 14:43:10 +01:00
941da4ed7d
add grid/buffer 2021-11-17 22:32:31 +01:00
c9c6958a62
process editor: write keyboard input to pty 2021-11-11 22:29:37 +01:00
43321d18fb
some more ansi parsing improvements 2021-11-09 02:56:21 +01:00
4ad8316636
improve ansi parsing 2021-11-07 17:42:36 +01:00
05a189a2bb
implement some more ansi codes 2021-11-07 09:43:50 +01:00
2fd209c502
list editor: catch out of bounds in ListEditor::get_item() 2021-11-07 08:50:36 +01:00
7fdc0bf272
optimize index views with IndexArea enum to allow range based notifications 2021-11-07 08:48:04 +01:00
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
372ef9cb77
shell: use portable-pty crate instead of pty-rs 2021-09-15 15:24:39 +02:00
1076d2a1e9 Merge branch 'topic-sdf' 2021-09-14 23:50:58 +02:00
edb8416f67
terminal: filter out of bounds atoms 2021-09-13 01:41:29 +02:00
cdeb0f9bc8
list editor: fix out of bounds on backspace 2021-09-12 17:39:24 +02:00
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
cee6e02a04
shell: first ProcessLauncher with PTY 2021-09-03 06:49:18 +02:00
bd1572c632
SequenceView: add .iter() 2021-09-02 22:37:09 +02:00
fe4707e7b2
StringEditor & PosIntEditor: add get_data_port() 2021-08-31 03:03:51 +02:00
8b19ab94c7
sequence: add filter_map()
could be more efficient
2021-08-31 02:57:42 +02:00
73eec59f58
ListEditor: better NavResult in dn(): avoid jumping when calling dn on lowest level 2021-08-31 02:11:49 +02:00
fdd5e925b1
add PosIntEditor 2021-08-31 02:10:10 +02:00
a3d966df11
fix some bugs and add help to demo 2021-08-28 17:01:31 +02:00
11eb30bd5b
list editor cleanup & fix nesting 2021-08-28 03:08:41 +02:00
fb5ae53e88
add IndexBuffer 2021-08-27 22:31:25 +02:00
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
5eefcbb4d1
projection: remove_arg 2021-08-24 23:15:18 +02:00
2563e06000
list editor: refactor cursor handling 2021-08-23 05:00:57 +02:00
9905a2376f
build StringEditor and PosIntEditor ontop of ListEditor
add DigitEditor and CharEditor
2021-08-16 01:27:35 +02:00
fef4b930ae
TreeNav: get tree address of cursor 2021-08-16 00:10:25 +02:00
5753fb5af8
singleton: to_index() & to_grid() 2021-08-16 00:08:33 +02:00
603034a065
TreeNav trait
adapt ListEditor and StringEditor
2021-08-15 04:27:09 +02:00
127c43bca0
list editor: add path view
add decorate() on OuterViewPort to create a ListDecorator
2021-08-15 02:05:33 +02:00
78c5ffcdbe
small notification fixes 2021-08-11 18:08:53 +02:00
07ee04bba4
move list editor module to nested crate 2021-08-11 17:52:38 +02:00