Commit Graph

980 Commits

Author SHA1 Message Date
Kartik K. Agaram d6f955f144 fix stale comment 2023-01-01 09:14:08 -08:00
Kartik K. Agaram 87e7231fa4 backport some doc updates and renames 2022-12-26 00:27:24 -08:00
Kartik K. Agaram 8add8ee51d rename globals to have a single uppercase letter 2022-12-25 15:51:39 -08:00
Kartik K. Agaram e0517b7149 Merge text0 2022-12-24 19:30:32 -08:00
Kartik K. Agaram 543c88bc49 Merge text.love 2022-12-24 19:29:29 -08:00
Kartik K. Agaram 4d561e2294 Merge lines.love 2022-12-24 19:26:55 -08:00
Kartik K. Agaram a9aa3436fa bugfix
Scenario: make some edits, select some text, make some more edits. Press
ctrl-z.

Before this commit, undo would stop at the point of selection and
previous edits would become unreachable.

After this commit, both ctrl-z and ctrl-y seem able to span the point of
selection.
2022-12-24 19:24:48 -08:00
Kartik K. Agaram 53fbb905e3 typo 2022-12-24 19:24:48 -08:00
Kartik K. Agaram ea6db20022 Merge text0 2022-12-23 20:54:40 -08:00
Kartik K. Agaram 52dc80faa5 Merge text.love 2022-12-23 20:50:46 -08:00
Kartik K. Agaram e9a517161b Merge lines.love 2022-12-23 20:46:31 -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 34abf6c624 a few more renames 2022-12-23 20:34:20 -08:00
Kartik K. Agaram 45032ebbbe Merge text0 2022-12-23 20:17:16 -08:00
Kartik K. Agaram 98add5023f Merge text.love 2022-12-23 20:11:51 -08:00
Kartik K. Agaram 4854165630 Merge lines.love 2022-12-23 19:47:10 -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 3c2fa4a949 make out-of-focus color more subtle 2022-12-17 12:20:10 -08:00
Kartik K. Agaram 276ca2287e update protocol so driver shows syntax errors 2022-12-17 10:49:53 -08:00
Kartik K. Agaram 6c15f53b3d make more apparent which window has focus 2022-12-17 09:58:40 -08:00
Kartik K. Agaram 6a5eca342c a new event: receiving code changes from the driver 2022-12-16 19:35:29 -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 25b1fb8cc5 Merge text0 2022-12-12 23:54:48 -08:00
Kartik K. Agaram 8426ddba47 Merge text.love 2022-12-12 23:52:20 -08:00
Kartik K. Agaram 97fa2b0a7a Merge lines.love 2022-12-12 23:50:36 -08:00
Kartik K. Agaram 1d27d59533 repeat bugfix on source editor X-( 2022-12-12 23:47:59 -08:00
Kartik K. Agaram e1f99e7fad Merge lines.love 2022-12-12 23:36:02 -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 561c94bbb0 Merge text0 2022-12-12 22:58:16 -08:00
Kartik K. Agaram 9f8861d5cb Merge text.love 2022-12-12 22:54:35 -08:00
Kartik K. Agaram 7d19465931 Merge lines.love 2022-12-12 22:52:51 -08:00
Kartik K. Agaram 35f81e5139 repeat bugfix on source editor 2022-12-12 22:50:08 -08:00
Kartik K. Agaram 3897a9d86d Merge lines.love 2022-12-12 22:45:16 -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 2f8fa605db Merge text0 2022-12-05 15:56:37 -08:00
Kartik K. Agaram e843706191 Merge text.love 2022-12-05 15:55:13 -08:00
Kartik K. Agaram 54d2d3ed4d Merge lines.love 2022-12-05 15:53:27 -08:00
Kartik K. Agaram 076611fbb5 save state when clearing logs 2022-12-05 15:50:19 -08:00
Kartik K. Agaram 5e0e3b3358 Merge text0 2022-12-05 15:41:11 -08:00
Kartik K. Agaram da715851ea Merge text.love 2022-12-05 15:38:54 -08:00
Kartik K. Agaram ec86d7587d Merge lines.love 2022-12-05 15:36:36 -08:00