about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 6832 - tile: right-justify numbersKartik Agaram2020-09-223-4/+80
| | | | Fails noisily for negative integers so far.
* 6831 - tile: preserve color contrastKartik Agaram2020-09-211-1/+17
| | | | Formula from Chris Maughan: (0.2126*R + 0.7152*G + 0.0722*B) > 0.5
* 6830 - tile: hash bg rather than fg colorKartik Agaram2020-09-211-2/+2
|
* 6829 - tile: colorize values on the stackKartik Agaram2020-09-214-7/+78
|
* 6828Kartik Agaram2020-09-211-1/+1
|
* 6827 - tile: make top of stack line upKartik Agaram2020-09-211-45/+5
| | | | | | | | | | | Idea from the Future of Software group. I was resistant for several days, because stacks should grow up, and because it didn't seem like a problem that the first column's result grew farther and farther away from its input. But eventually I noticed that the final result can also be arbitrarily far below, which seems more serious. This approach also has the salubrious effect of not requiring the precomputation of max-depth.
* 6826 - tile: indent columns compared to their final wordKartik Agaram2020-09-211-1/+4
|
* 6825 - tile: stop rendering the final word, in case it's incompleteKartik Agaram2020-09-211-24/+39
|
* 6824 - tile: gap in column width computationKartik Agaram2020-09-211-0/+6
|
* 6823 - tile: clear colors; we'll try something newKartik Agaram2020-09-211-42/+4
|
* 6822Kartik Agaram2020-09-201-2/+2
|
* 6821 - highlight words clobbered by the next wordKartik Agaram2020-09-205-4/+79
| | | | Another suggestion from the Future of Software forum.
* 6820Kartik Agaram2020-09-201-1/+1
|
* 6819Kartik Agaram2020-09-201-4/+4
|
* 6818 - color top of stackKartik Agaram2020-09-201-0/+3
| | | | Suggestion from the Future of Software group (https://futureofcoding.slack.com/archives/C0120A3L30R/p1600591669008700?thread_ts=1600587602.007800)
* 6817Kartik Agaram2020-09-191-1/+7
|
* 6816 - tile: inserting new wordsKartik Agaram2020-09-191-8/+26
|
* 6815 - tile: get actual calculations workingKartik Agaram2020-09-191-30/+32
|
* 6814 - tile: backspace deletes char or wordKartik Agaram2020-09-193-0/+58
|
* 6813 - tile: right-cursor is now easyKartik Agaram2020-09-191-7/+22
|
* 6812 - tile: render cursor locationKartik Agaram2020-09-193-4/+26
|
* 6811 - tile: left-cursor movementKartik Agaram2020-09-193-5/+68
| | | | | Displayed cursor position is not yet correct, but insertions happen at the right cursor position.
* 6810 - tile: adaptive column widthsKartik Agaram2020-09-192-2/+8
|
* 6809Kartik Agaram2020-09-192-1/+118
|
* 6808Kartik Agaram2020-09-192-2/+2
|
* 6807 - tile: render intermediate stack stateKartik Agaram2020-09-198-62/+267
|
* 6806 - tile: place-holder for bottom of stackKartik Agaram2020-09-192-16/+25
|
* 6805Kartik Agaram2020-09-191-13/+13
|
* 6804 - tile: render all wordsKartik Agaram2020-09-192-8/+37
|
* 6803 - RPN: typing a single word now worksKartik Agaram2020-09-192-30/+9
|
* 6802 - plug a gaping hole in the Mu translatorKartik Agaram2020-09-192-0/+125
| | | | | This issue hasn't been noticed until now because I haven't been using variables on the stack much.
* 6801 - snapshot: RPN structured editorKartik Agaram2020-09-195-92/+583
| | | | | | | | | | | | | | | There's some worrisome memory corruption here between the call to max-stack-depth and the callee picking up its args. All this code is incredibly ugly as I start to wrestle with the challenges of structured editors. I keep wanting to keep business logic separate from rendering, but there are feedback loops from wanting to know where to render the cursor. And I haven't even started trying to avoid full-screen renders yet. That'll complect things even more. For now the data path for every iteration of the render loop is: process key compute max depth needed (or any other global information needed for rendering) render
* 6800Kartik Agaram2020-09-191-2/+2
|
* 6799Kartik Agaram2020-09-181-1/+1
|
* 6798Kartik Agaram2020-09-171-43/+7
| | | | | | | Simplify the app for now. I'm not actually sure what sort of language I want to create here. So let's not get ahead of ourselves inventing a whole new grid model and everything.
* 6797Kartik Agaram2020-09-171-12/+10
|
* 6796Kartik Agaram2020-09-164-53/+195
| | | | Extremely hacky initial stab at a 1-line editor.
* 6795Kartik Agaram2020-09-161-0/+0
| | | | Fix CI since commit 6787.
* 6794 - cleaner interface for keyboardKartik Agaram2020-09-1637-53/+61
| | | | | | | So far I've been assuming that read-key only works for ascii, and that I'd need to get more sophisticated both for multi-byte utf-8 and multi-byte terminal escape codes like arrow keys. Rather to my surprise, both work fine. We just need to adjust the types to reflect this fact.
* 6793Kartik Agaram2020-09-168-516/+83
|
* 6792Kartik Agaram2020-09-164-44/+26
| | | | Roll back all buffering of Stdout.
* 6791Kartik Agaram2020-09-162-1/+8
| | | | Yeah, this isn't working.
* 6790 experiment: explicit flushKartik Agaram2020-09-164-26/+37
| | | | | | | | | tile is already visibly slow (49x212 screen) :/ So programmer needs more control over performance. But this may not be the right approach. That extra flush-stdout in tui.mu suggests it's either going to be finicky, or we have to flush on every attribute change. And going through a buffered-file may be slower. May.
* 6789 - tile: print keystrokes to screenKartik Agaram2020-09-163-0/+225
|
* 6788Kartik Agaram2020-09-162-0/+13
|
* 6787Kartik Agaram2020-09-161-2/+33
|
* 6786Kartik Agaram2020-09-161-5/+5
|
* 6785Kartik Agaram2020-09-162-2/+2
|
* 6784Kartik Agaram2020-09-161-2/+2
|
* 6783Kartik Agaram2020-09-1614-0/+49
| | | | An extra test that should have been in commit 6781.
a id='n870' href='#n870'>870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092