about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
| * start thinking of compute_fragments as a detailKartik K. Agaram2023-04-012-2/+2
| | | | | | | | | | | | | | | | | | | | I think all we need to maintain is the populate_screen_line_starting_pos array. It's easy to render screen lines one by one from it, and we'll only ever construct one additional screen line at a time. I'd hoped to delete other calls to Text.populate_screen_line_starting_pos, but it turns out we need to update it when editing sometimes. Give up on that for now; it's a no-op if not needed.
| * update documentation on fragmentsKartik K. Agaram2023-04-012-2/+2
| | | | | | | | | | | | I see a path to at least maintain a single fragment per screen line. But can we do better? It even seems unnecessary to maintain two copies of the data, chopped up into lines and screen lines.
| * stop creating a singleton table for every wordKartik K. Agaram2023-04-012-22/+22
| |
| * clean up some debug printsKartik K. Agaram2023-04-012-16/+0
| | | | | | | | | | It's starting to become apparent just how little line_cache.fragments does for me now. Let's see if we can get rid of it entirely.
| * no more Text allocationsKartik K. Agaram2023-04-015-41/+18
| | | | | | | | Is it just my imagination, or does the app feel lighter and more fluffy?
| * App.width can no longer take a TextKartik K. Agaram2023-04-0111-71/+28
| | | | | | | | | | In the process I discovered the horrible fact that Text.x allocates a new Text. And it gets called (just once, thank goodness) on every single frame.
| * get rid of to_textKartik K. Agaram2023-04-017-42/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | I've been misunderstanding what Text objects are. They can render a lot of text with a given line height, word wrap, colors in various places. And I've been creating one for every word :facepalm: Unwinding this will take some time. This is just a first baby step for ad hoc text objects. Turns out I don't need to convert to Text to get something's rendered width, just the Font can do that. Thanks to the LÖVE Discord for educating me: https://discord.com/channels/329400828920070144/330089431379869708/1091535487333826580
* | Merge lines.loveKartik K. Agaram2023-03-300-0/+0
|\|
| * .Kartik K. Agaram2023-03-301-1/+0
| |
* | Merge lines.loveKartik K. Agaram2023-03-301-11/+8
|\|
| * obsolete manual testKartik K. Agaram2023-03-301-4/+0
| |
| * better formattingKartik K. Agaram2023-03-281-9/+11
| |
* | Merge lines.loveKartik K. Agaram2023-03-262-11/+17
|\|
| * update stale source X-(Kartik K. Agaram2023-03-262-11/+17
| |
* | Merge lines.loveKartik K. Agaram2023-03-263-5/+76
|\|
| * bugfix: naming pointsKartik K. Agaram2023-03-264-5/+44
| |
| * bugfixKartik K. Agaram2023-03-262-4/+37
| |
| * bugfixKartik K. Agaram2023-03-261-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scenario: open a file starting with a drawing After this commit the program doesn't crash. Error: [string "edit.lua"]:127: attempt to get length of field 'data' (a nil value) stack traceback: [love "boot.lua"]:345: in function '__len' [string "edit.lua"]:127: in function 'invalid1' [string "edit.lua"]:116: in function 'check_locs' [string "run.lua"]:35: in function 'initialize' main.lua:96: in function 'initialize' [string "app.lua"]:144: in function 'run_tests_and_initialize' [string "app.lua"]:16: in function <[string "app.lua"]:13> [C]: in function 'xpcall' [love "boot.lua"]:361: in function <[love "boot.lua"]:348> [C]: in function 'xpcall'
* | Merge lines.loveKartik K. Agaram2023-03-251-2/+2
|\|
| * clean up some absolute coordinatesKartik K. Agaram2023-03-252-3/+3
| |
* | Merge lines.loveKartik K. Agaram2023-03-252-3/+3
|\|
| * update stale informationKartik K. Agaram2023-03-252-3/+3
| |
* | Merge lines.loveKartik K. Agaram2023-03-251-1/+2
|\|
| * stop reusing cursor locations between filesKartik K. Agaram2023-03-251-1/+2
| |
* | Merge lines.loveKartik K. Agaram2023-03-252-0/+27
|\|
| * experiment at avoiding some merge conflictsKartik K. Agaram2023-03-252-0/+27
| | | | | | | | https://merveilles.town/@akkartik/110084833821965708
* | Merge lines.loveKartik K. Agaram2023-03-236-12/+84
|\|
| * some minor cleanupKartik K. Agaram2023-03-234-5/+5
| | | | | | | | | | I can't see the mouse wheel ever setting dx, but it's more obvious now that the editor doesn't support panning left/right.
| * mouse wheel supportKartik K. Agaram2023-03-236-12/+84
| |
* | Merge lines.loveKartik K. Agaram2023-03-210-0/+0
|\|
| * mention a new toolKartik K. Agaram2023-03-211-0/+2
| |
* | Merge lines.loveKartik K. Agaram2023-03-192-6/+6
|\|
| * give a test a unique nameKartik K. Agaram2023-03-192-6/+6
| |
* | Merge lines.loveKartik K. Agaram2023-03-183-20/+45
|\|
| * get typed in keystrokes to show on screen on iPadKartik K. Agaram2023-03-182-0/+21
| | | | | | | | Many thanks to Myte for helping test this!
| * extract a functionKartik K. Agaram2023-03-181-10/+14
| |
| * consistently use App names for methods everywhereKartik K. Agaram2023-03-182-9/+9
| |
| * move default file locationKartik K. Agaram2023-03-181-1/+1
| | | | | | | | | | | | | | | | This works better on mobile platforms while seeming about as useful anywhere else. I've verified that anyone who already edited a file will continue to use its path from settings.
* | Merge lines.loveKartik K. Agaram2023-03-171-2/+0
|\|
| * remove a stale issueKartik K. Agaram2023-03-171-2/+0
| |
* | Merge lines.loveKartik K. Agaram2023-03-177-909/+210
|\|
| * more bugfixKartik K. Agaram2023-03-173-6/+4
| | | | | | | | Don't crash on showing the log browser.
| * bugfixKartik K. Agaram2023-03-174-18/+72
| | | | | | | | Thanks Mikoláš Štrajt.
| * get rid of all bifold textKartik K. Agaram2023-03-174-874/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's just uneconomic to maintain given how little I've used it. I have a bug right now and no time to port the bugfix to all the complexities of the B side. I briefly considered tossing out the entire source editor. But I _have_ been using it to browse logs across sessions. The live editor doesn't quite cover all my use cases just yet. We now have duplication in the source editor only for: * syntax highlighting * hyperlinking [[WikiWords]] * ability to hide cursor (when showing file browser or Focus is in log browser)
| * bring a few things in sync between run and sourceKartik K. Agaram2023-03-173-8/+29
| |
| * bugfix: disallow font size of 0Kartik K. Agaram2023-03-172-4/+8
| | | | | | | | Thanks Mikoláš Štrajt.
* | Merge lines.loveKartik K. Agaram2023-03-174-2/+43
|\|
| * state validation in source editor as wellKartik K. Agaram2023-03-172-2/+25
| |
| * more robust state validationKartik K. Agaram2023-03-172-7/+26
| |
* | Merge lines.loveKartik K. Agaram2023-02-092-0/+2
|\|
; 2017-03-02 22:41:18 -0800 committer Kartik K. Agaram <vc@akkartik.com> 2017-03-02 22:41:18 -0800 3752 - fix a couple of segfaults' href='/akkartik/mu/commit/021check_instruction.cc?h=main&id=b5f2a629c2617fc08a3b6d3fcc7d40f3974c8217'>b5f2a629 ^
1fb0cf9e ^
7136ddd5 ^

4d238fd7 ^
dfdbcbab ^
4d238fd7 ^


c6034af3 ^

3473c63a ^
af023b32 ^
93d4cc93 ^
af023b32 ^
93d4cc93 ^
af023b32 ^
af023b32 ^


f8b0b04d ^





a0fc38c9 ^

d785efe5 ^











f8b0b04d ^







86c715d7 ^

f8b0b04d ^

58a9f7c3 ^

7136ddd5 ^



3473c63a ^

af023b32 ^

af023b32 ^



4ecab182 ^



1fb0cf9e ^
a0fc38c9 ^

3473c63a ^

af023b32 ^

af023b32 ^



4ecab182 ^



1fb0cf9e ^
a0fc38c9 ^
a0d7a155 ^
3473c63a ^

3bfd75fc ^

af023b32 ^
1fb0cf9e ^
3bfd75fc ^

3473c63a ^
9e32e473 ^




3473c63a ^
c6034af3 ^
af023b32 ^
67f969b9 ^
c4e143d6 ^
65c905fe ^
67f969b9 ^
1fb0cf9e ^
4e49b29e ^

db69ad7a ^

af023b32 ^





1fb0cf9e ^
db69ad7a ^

3473c63a ^
af023b32 ^

af023b32 ^

ce9b2b05 ^
af023b32 ^



a0d7a155 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248