Commit Graph

19 Commits

Author SHA1 Message Date
Kartik K. Agaram 5e07848bb6 Merge luaML.love 2023-12-26 09:36:41 -08:00
Kartik K. Agaram fbf99b040d wire up mouse move handler 2023-12-26 08:28:23 -08:00
Kartik K. Agaram fe5089bc99 update one bit of documentation
This had gone stale when I switched representations.
2023-04-22 22:07:37 -07:00
Kartik K. Agaram 84f3e44d95 Merge luaML.love 2023-04-20 23:49:06 -07:00
Kartik K. Agaram d86e8f945b better comment 2023-04-20 23:39:36 -07:00
Kartik K. Agaram fd8248f803 Merge luaML.love 2023-04-08 22:05:34 -07:00
Kartik K. Agaram 480d8700e2 clarify something in the docs 2023-04-07 18:17:58 -07:00
Kartik K. Agaram fd2c6eeab8 Merge luaML.love 2023-03-23 21:56:38 -07:00
Kartik K. Agaram 9390a4a418 Merge text0 2023-03-23 21:51:55 -07:00
Kartik K. Agaram 2688e7897f correct a comment 2023-01-21 22:51:16 -08:00
Kartik K. Agaram 6150910ff5 Merge luaML.love 2023-01-09 20:36:21 -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 9b3a38c41d work around a pretty fundamental gotcha
Triggered by commit 62f8f2c498.

I'm not sure how to fix this, so I'm going to just document it in a
couple of places for now. I also had to perform some low-level surgery
going around the driver program.
2023-01-07 17:40:21 -08:00
Kartik K. Agaram 97b426f0ff new event that triggers any time we hit F4
This one is a bit of a mind-bending change.

Goal: I want the driver to refresh its command palette after creating a
new definition. Currently I can create a new definition and fail to see
it in the command palette.

Blocker: to do this I need to set Manifest_navigator.reload after
hitting F4. But the F4 handler is in the non-live substrate of the app,
and it shouldn't know about the code running live. Manifest_navigator is
entirely live.

Solution:
  1. create and document a new event called on.code_submit (this change)
  2. `git commit` the change in the driver repo
  3. shut down the meta driver, `git pull upstream` and restart
  4. Define on.code_submit in the meta driver to set
     Manifest_navigator.reload, hit F4 to send it to the driver. At this
     point it will cause the manifest to update any time I create new
     definitions in the test app, but I rarely do that, so the effect
     won't be very visible.
  5. Shut down the meta driver, `git pull upstream` and restart
  6. Now I can create new definitions in the driver using the meta
     driver, and see them update the command palette in the meta driver.
2023-01-07 13:56:57 -08:00
Kartik K. Agaram 7a1c556918 clarify on.code_change 2023-01-07 13:49:20 -08:00
Kartik K. Agaram 9a0b1871d6 create space for app-specific settings 2023-01-01 18:30:12 -08:00
Kartik K. Agaram 34abf6c624 a few more renames 2022-12-23 20:34:20 -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 8b8e08c4d6 nice way to make on.* handlers more discoverable 2022-11-27 14:56:48 -08:00