Kartik K. Agaram
53fbb905e3
typo
2022-12-24 19:24:48 -08:00
Kartik K. Agaram
f351ee2f8f
fix some arg names
2022-12-23 20:43:37 -08:00
Kartik K. Agaram
7ef551b821
another missed rename
2022-12-23 20:43:30 -08:00
Kartik K. Agaram
8b9dab0c36
overzealous search-and-replace
2022-12-23 20:42:12 -08:00
Kartik K. Agaram
e0448d7d7f
consistent names in a few more places
2022-12-23 19:32:58 -08:00
Kartik K. Agaram
2b3e09ca0f
make love event names consistent
...
I want the words to be easy to read, and to use a consistent tense.
update and focus seem more timeless; let's make everything like those.
2022-12-23 18:52:28 -08:00
Kartik K. Agaram
e2e3aea2b1
require editor margins to be ints
...
Not directly relevant here, but forks of this project that permit
zooming can run into weird glitches if margins are not a whole number of
pixels.
I'd always assumed a type system that divided ints into floats was
strictly superior, but now I have experienced a situation where
requiring ints isn't just a compromise for the underlying CPU
implementation. Particularly since Lua's print() silently hides really
tiny fractions.
2022-12-23 16:57:04 -08:00
Kartik K. Agaram
df0aec10d0
streamline one more test name
2022-12-13 09:50:36 -08:00
Kartik K. Agaram
b0ce6156ec
repeat changes on source editor
2022-12-13 09:45:57 -08:00
Kartik K. Agaram
03be29885f
more streamlined test names
...
https://lobste.rs/messages/e1rimy
2022-12-13 09:43:55 -08:00
Kartik K. Agaram
2dd2b16295
remove a duplicate test
2022-12-13 09:05:31 -08:00
Kartik K. Agaram
1d27d59533
repeat bugfix on source editor X-(
2022-12-12 23:47:59 -08:00
Kartik K. Agaram
d63178244b
switch one call back to keychord_pressed
...
I don't understand why, but we need to fix production.
2022-12-12 23:31:50 -08:00
Kartik K. Agaram
39ffe7f411
switch a bunch of tests to textinput events
...
textinput is strictly more realistic than keychord_pressed, which
doesn't cause any textinput events. Use it wherever possible.
2022-12-12 23:18:42 -08:00
Kartik K. Agaram
92eccaea5a
bugfix in changing shape mid-stroke
2022-12-12 23:17:02 -08:00
Kartik K. Agaram
35f81e5139
repeat bugfix on source editor
2022-12-12 22:50:08 -08:00
Kartik K. Agaram
8b30e0608b
bugfix: naming points in drawings
...
We had a regression since commit 60e1023f0
on Nov 27. Turns out we do
need the ancient hack after all.
But no, we won't go back to the hack. It's a simple problem to fix
right. And while we're at it, we'll fix the test harness to be more
realistic so it would have caught this problem.
2022-12-12 22:31:45 -08:00
Kartik K. Agaram
076611fbb5
save state when clearing logs
2022-12-05 15:50:19 -08:00
Kartik K. Agaram
f9bea7783b
source editor: clear logs
2022-12-05 15:26:38 -08:00
Kartik K. Agaram
0167c57cdf
consume a mouse click when switching sides
...
This way we can have the log side actually take focus sometimes.
2022-12-05 15:04:54 -08:00
Kartik K. Agaram
a8a8965b1b
compare nested tables
2022-11-30 23:03:50 -08:00
Kartik K. Agaram
4335669ecc
repeat bugfix on source editor
2022-11-27 22:27:23 -08:00
Kartik K. Agaram
7557e0904a
bugfix
2022-11-27 22:20:26 -08:00
Kartik K. Agaram
60e1023f0b
undo an ancient hack; be an idiomatic LÖVE app
2022-11-27 13:10:23 -08:00
Kartik K. Agaram
44aa8226c4
ctrl+a: select entire buffer
2022-11-19 00:27:20 -08:00
Kartik K. Agaram
d5c34ba043
source editing: highlight [[ ]] comments/strings
...
In the process I fixed suffix detection for patterns with more than 1
character.
2022-11-11 18:02:20 -08:00
Kartik K. Agaram
a54e59446d
show partial items in the menu
...
Seeing a partial item can nudge someone to try resizing the window and
so learn about more shortcuts.
2022-11-06 09:17:02 -08:00
Kartik K. Agaram
0e0f36f8b4
stop tracking wallclock time
...
We only need time differences.
2022-11-03 21:02:31 -07:00
Kartik K. Agaram
d1dd3e441f
fix support for absolute paths in Windows
2022-09-26 15:19:47 -07:00
Kartik K. Agaram
d1d05fe5c9
migrate old settings, attempt #3
...
This time we have to handle absolute filenames.
Now lines-polygon-experiment fork should merge successfully, at least.
2022-09-19 00:53:25 -07:00
Kartik K. Agaram
6ac45b75b9
ugh, missed deleting an arg
2022-09-19 00:43:31 -07:00
Kartik K. Agaram
2f7b08fb8b
handle missing cursors in settings
2022-09-19 00:41:37 -07:00
Kartik K. Agaram
690a1c334c
source: show files in MRU order
...
I'm not going to save this MRU order across sessions for now. It's good
enough to save cursor positions for individual files, I think.
2022-09-19 00:37:08 -07:00
Kartik K. Agaram
fd7d36fefd
extract a couple of functions
2022-09-19 00:35:10 -07:00
Kartik K. Agaram
12b1d19761
source: load cursor position from settings
2022-09-19 00:17:36 -07:00
Kartik K. Agaram
34dc49849b
source: no commandline args
2022-09-19 00:16:20 -07:00
Kartik K. Agaram
76243382d7
source: remember cursor position of multiple files
2022-09-19 00:10:12 -07:00
Kartik K. Agaram
aae35c7e04
source: support only relative paths within the app
2022-09-19 00:08:52 -07:00
Kartik K. Agaram
6d1dee38f0
bugfix: mouse clicks on file navigator above log browser side
2022-09-18 23:55:04 -07:00
Kartik K. Agaram
0a6dec2fb4
support special chars like '(' in search
2022-09-18 23:50:16 -07:00
Kartik K. Agaram
cf227f9031
delete a duplicate filename candidate
2022-09-18 01:54:32 -07:00
Kartik K. Agaram
d141822e6c
filter candidates in file navigator
2022-09-18 01:53:36 -07:00
Kartik K. Agaram
141d41aec5
hide editor cursor while in file navigator
2022-09-18 01:32:23 -07:00
Kartik K. Agaram
936d3b4616
bugfix: disable typing while file navigator is open
2022-09-18 01:28:05 -07:00
Kartik K. Agaram
89b30a62ef
support mouse clicks in file navigator
2022-09-18 01:26:20 -07:00
Kartik K. Agaram
bc464fe6f1
start showing source menu file navigation state graphically
...
I'm a bit leery of going down this road:
- If there's a bug in how I render logs graphically that could be
extremely misleading. Perhaps this suggests that the code to log
things should be significantly simpler than the code that might be
debugged. If writing the debug helper requires all my smarts I'm not
smart enough to debug using the helper, etc. Given this idea, the fact
that I'm copying production code into the logging helper is
concerning.
- There's a question of what code it's ok for logging helpers to depend
on. This is an issue shared with tests. I often implicitly (and
without meaning to) assume the presence of some well-tested helpers
when writing tests. If those helpers ever break I can get into a
rabbit hole of debugging. This problem might be even more insidious
with logging helpers that will give me no indication when they break.
Still and all, it's cool to see menus in my logs. Let's see if it's
useful.
2022-09-18 01:11:23 -07:00
Kartik K. Agaram
21b158398b
source: up/down in file navigator
...
I'm starting to use logging, but it's still easier to print textual logs.
2022-09-18 00:37:20 -07:00
Kartik K. Agaram
5c0ce8ee36
indent
2022-09-18 00:01:14 -07:00
Kartik K. Agaram
9013eaa637
source: show all files in navigator
...
We still don't have up/down arrow keys. And we still don't have the
ability to filter filenames by typing.
2022-09-17 23:53:57 -07:00
Kartik K. Agaram
d1db41b7b8
bugfix: draw menu after everything else
...
This is stupid; I did it right in pensieve.love to begin with.
2022-09-17 23:53:05 -07:00