Commit Graph

422 Commits

Author SHA1 Message Date
Kartik K. Agaram ffa8c4041a bugfix: bring back an accidentally deleted line
Caused by a bad merge in commit 5622e523c.

Thanks Myte#5310 on Discord.
2023-08-05 00:09:04 -07:00
Kartik K. Agaram 5622e523c3 Merge text0 2023-07-11 11:15:46 -07:00
Kartik K. Agaram c3f8250cb2 Merge text.love 2023-07-11 11:11:48 -07:00
Kartik K. Agaram cc67c641dc Merge text0 2023-07-10 19:07:02 -07:00
Kartik K. Agaram f8930488aa Merge text.love 2023-07-10 18:41:23 -07:00
Kartik K. Agaram 7b5ede43e2 slightly standardize on app-specific stuff 2023-06-18 22:44:27 -07:00
Kartik K. Agaram 7e160e0de5 maintain the initial font size in a global
Apps should keep the global updated when changing the font size.
2023-06-05 22:18:44 -07:00
Kartik K. Agaram 44e3cdcdb7 Merge text0 2023-06-04 15:34:49 -07:00
Kartik K. Agaram 484602bd9e Merge text.love 2023-06-04 15:25:46 -07:00
Kartik K. Agaram 4fb97b9d34 bugfix: wasn't recovering from errors
Bug was introduced in commit a2451aa26 32 hours ago, because I didn't go
over the manual tests for the error-handling protocol after modifying
the error-handling protocol. (I only tested them in template-live.)
2023-04-21 08:18:00 -07:00
Kartik K. Agaram c95bffed88 Merge text0 2023-04-20 18:28:23 -07:00
Kartik K. Agaram 6d86b5268b drop an unused var 2023-04-20 18:27:46 -07:00
Kartik K. Agaram a2451aa26e attempt at better error recovery
- I often find that opening up driver.love and sending any message gets
  my app unwedged. Retrying should be easy. Just press a key.
- There's really no reason for the app to become unresponsive while
  waiting for code changes.

This approach tries to address both. Press any key to retry, or show the
error right on the window while I whip out driver.love. You can also
copy the message to the clipboard by hitting 'c'.

Drawbacks of this approach:
  - nobody's going to read the message. I myself didn't notice the
    default support for copying the error message for _months_.
  - more complexity for anyone reading the code to parse. More stuff
    that can go wrong. Any errors within the handler will crash the app
    hard. (Though now there's less code in the handler, so maybe this is
    an improvement on that score.)

The best plan is still to not rely on this too much. Don't ship bugs.
2023-04-20 00:30:25 -07:00
Kartik K. Agaram 71c82e5c09 document available modes 2023-04-19 23:16:46 -07:00
Kartik K. Agaram 5561486cb6 Merge text0 2023-04-19 19:47:42 -07:00
Kartik K. Agaram c95dc559c8 record support for multiple versions 2023-04-19 19:45:17 -07:00
Kartik K. Agaram 0d913ba8f1 Merge lines.love 2023-04-09 14:14:03 -07:00
Kartik K. Agaram 4b43e9e85d deemphasize the source editor
This repo does not support freewheeling modification. It's a primitive
to enable freewheeling modification in downstream forks.

The source editor is a convenience, but it's a sharp tool and can easily
leave the app in a broken state that requires dropping down to external
tools (editor, file manager) to fix.
2023-04-09 11:12:36 -07:00
Kartik K. Agaram f387c40d95 restart on a remote command from the driver
This should be useful for ensuring that apps work the same after
restart.
2023-04-07 18:18:43 -07:00
Kartik K. Agaram f3748b9003 bugfix for merge commit 2023-04-02 17:48:11 -07:00
Kartik K. Agaram f78503b971 bugfix for merge commit 2023-04-02 17:47:09 -07:00
Kartik K. Agaram 5b90b50776 stray dead code 2023-04-02 17:27:26 -07:00
Kartik K. Agaram 26bd3fa76d Merge text.love 2023-03-25 12:49:25 -07:00
Kartik K. Agaram 535933d278 Merge text0 2023-03-25 11:50:00 -07:00
Kartik K. Agaram b1c904157d Merge text.love 2023-03-25 11:45:40 -07:00
Kartik K. Agaram 9390a4a418 Merge text0 2023-03-23 21:51:55 -07:00
Kartik K. Agaram 0264e2ba19 Merge text.love 2023-03-23 21:48:27 -07:00
Kartik K. Agaram aa8994167f Merge lines.love 2023-03-23 21:43:26 -07:00
Kartik K. Agaram 99faf61abb mouse wheel support 2023-03-23 21:00:09 -07:00
Kartik K. Agaram d87331e5ae fix previous merge
get typed in keystrokes to show on screen on iPad

Many thanks to Myte for helping test this!
2023-03-19 00:22:36 -07:00
Kartik K. Agaram d16dd9c6ce Merge text0 2023-03-19 00:08:08 -07:00
Kartik K. Agaram 398208cf26 Merge text.love 2023-03-19 00:04:53 -07:00
Kartik K. Agaram d2933583ca Merge text.love 2023-03-17 11:15:48 -07:00
Kartik K. Agaram cf12a0303f another missed rename 2023-03-15 00:30:37 -07:00
Kartik K. Agaram 91a5dd01cb fix file_drop callback 2023-01-20 14:18:04 -08:00
Kartik K. Agaram 5aad826a63 Merge text0 2023-01-19 22:25:37 -08:00
Kartik K. Agaram abb93a01f8 Merge text.love 2023-01-19 22:25:17 -08:00
Kartik K. Agaram b3c878ae94 Merge lines.love 2023-01-19 22:19:38 -08:00
Kartik K. Agaram 674042d4c7 no, turn vsync back on
I notice my laptop's fan starts coming on when running many of my apps.
An empty app takes 10% CPU where it used to take just 1-2%.
2023-01-19 22:14:08 -08:00
Kartik K. Agaram 535b0e11a4 drop non-existent arg in callback 2023-01-16 22:46:40 -08:00
Kartik K. Agaram bfbf599edf Merge text0 2023-01-16 10:35:53 -08:00
Kartik K. Agaram 957c82d7f9 Merge text.love 2023-01-16 10:35:19 -08:00
Kartik K. Agaram 44fbb51161 Merge lines.love 2023-01-16 10:23:14 -08:00
Kartik K. Agaram 15f56341df correct comment; vsync is hard to reason about 2023-01-16 10:20:46 -08:00
Kartik K. Agaram 36ec0b4b06 Merge lines.love 2023-01-16 09:57:06 -08:00
Kartik K. Agaram e7b37e39de disable vsync
Thanks Nils Berg for the suggestion!
2023-01-16 09:50:32 -08:00
Kartik K. Agaram 0719fdeaaf hoist out some common settings 2023-01-16 09:48:06 -08:00
Kartik K. Agaram 29479aa5a1 bugfix: on.load_settings when there are none
Attempt #2; commit bbe8925378 was stupid and useless.

Scenario: run driver without any saved settings.
Before this commit (in driver repo), the driver would crash on quit.
2023-01-09 20:33:00 -08:00
Kartik K. Agaram bbe8925378 run on.load_settings after loading defaults 2023-01-09 20:18:53 -08:00
Kartik K. Agaram 9a0b1871d6 create space for app-specific settings 2023-01-01 18:30:12 -08:00