Commit Graph

1145 Commits

Author SHA1 Message Date
Kartik K. Agaram a6dcfc5ac8 some minor cleanup
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.
2023-03-23 21:38:33 -07:00
Kartik K. Agaram 99faf61abb mouse wheel support 2023-03-23 21:00:09 -07:00
Kartik K. Agaram 75dfd3fd62 Merge lines.love 2023-03-21 00:13:40 -07:00
Kartik K. Agaram 609f0b2fc8 mention a new tool 2023-03-21 00:10:20 -07:00
Kartik K. Agaram dc0ad458c9 Merge lines.love 2023-03-19 11:52:10 -07:00
Kartik K. Agaram 0c06c60622 give a test a unique name 2023-03-19 11:48:47 -07:00
Kartik K. Agaram ab09ec6387 Merge lines.love 2023-03-18 23:59:42 -07:00
Kartik K. Agaram 30e75991ce get typed in keystrokes to show on screen on iPad
Many thanks to Myte for helping test this!
2023-03-18 23:50:30 -07:00
Kartik K. Agaram 1b90ffca9e extract a function 2023-03-18 23:48:42 -07:00
Kartik K. Agaram e8d6a8a26d consistently use App names for methods everywhere 2023-03-18 23:45:01 -07:00
Kartik K. Agaram fceb2404fb move default file location
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.
2023-03-18 23:12:50 -07:00
Kartik K. Agaram f1537d66d7 Merge lines.love 2023-03-17 22:44:35 -07:00
Kartik K. Agaram f7f5973cb7 remove a stale issue 2023-03-17 22:38:58 -07:00
Kartik K. Agaram eca407cf00 Merge lines.love 2023-03-17 22:30:46 -07:00
Kartik K. Agaram 6709b394fb more bugfix
Don't crash on showing the log browser.
2023-03-17 22:17:23 -07:00
Kartik K. Agaram 675d1cbbdf bugfix
Thanks Mikoláš Štrajt.
2023-03-17 21:52:35 -07:00
Kartik K. Agaram 8c373fdb60 get rid of all bifold text
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)
2023-03-17 21:48:29 -07:00
Kartik K. Agaram ae429cd78a bring a few things in sync between run and source 2023-03-17 21:40:51 -07:00
Kartik K. Agaram 81ebc6a559 bugfix: disallow font size of 0
Thanks Mikoláš Štrajt.
2023-03-17 19:58:53 -07:00
Kartik K. Agaram 4dbc097f83 Merge lines.love 2023-03-17 11:02:10 -07:00
Kartik K. Agaram d65b7950a1 state validation in source editor as well 2023-03-17 10:46:50 -07:00
Kartik K. Agaram e2c1bbe4e5 more robust state validation 2023-03-17 10:28:10 -07:00
Kartik K. Agaram 67334814a3 Merge lines.love 2023-02-09 23:19:52 -08:00
Kartik K. Agaram 224e8fe85a bugfix
scenario:
  press ctrl+f, type in a string
  hit down arrow if needed until the screen scrolls
  press enter
  click with the mouse somewhere

Before this commit the app would crash because cursor was above screen
top.
2023-02-09 23:09:23 -08:00
Kartik K. Agaram 9c49dd0e6a Merge lines.love 2023-02-07 13:42:33 -08:00
Kartik K. Agaram f4e14ad484 document the version of LÖVE I've been using 2023-02-07 13:37:01 -08:00
Kartik K. Agaram 60f3ded88d Merge lines.love 2023-01-31 22:48:44 -08:00
Kartik K. Agaram 33ad6b7e5b bugfix: up arrow when line above is a drawing
This bug was introduced in commit 528c64d690 on 2022-09-05 :/
2023-01-31 22:39:04 -08:00
Kartik K. Agaram 7502b1eccc Merge lines.love 2023-01-30 10:25:57 -08:00
Kartik K. Agaram 266de35f87 create a place for graphical log handlers
Currently only used in pong.love, but let's keep the bad merge that had
it broken since September from occurring again. To do that we'll be
consistent across forks on where globals are initialized.

I haven't appreciated the implications of main.lua for load order.
log.lua comes first just because it's shared by both the main app and
its 'source' editing environment. And it just so happens that source.lua
was loading after log.lua resulting in the pong.love breakage. Now let's
lean into that and enshrine that one should initialize log_render in
log.lua.
2023-01-30 10:20:37 -08:00
Kartik K. Agaram b936e0f9cf Merge lines.love 2023-01-28 10:26:55 -08:00
Kartik K. Agaram 18f44c9761 wait a little to flush disk before quitting
I've been noticing in pensieve.love in particular that once a month or
so I lose data if I quit immediately after typing in something. Nothing
major, just the odd link between notes which leaves things in an
inconsistent state. Let's see if this helps.
2023-01-28 10:21:34 -08:00
Kartik K. Agaram fe7d6c160f Merge lines.love 2023-01-24 19:03:35 -08:00
Kartik K. Agaram 667f324a57 include instructions to install LÖVE 2023-01-24 18:46:40 -08:00
Kartik K. Agaram 25939e87b9 Merge lines.love 2023-01-23 00:33:27 -08:00
Kartik K. Agaram 90ba22371f demote codeberg.org in the list of mirrors
It's been slow to push to lately, so I'm going to update it less frequently.
2023-01-23 00:19:09 -08:00
Kartik K. Agaram 2fc27f1bbc Merge lines.love 2023-01-22 22:18:26 -08:00
Kartik K. Agaram 5cd5f54355 remove a condition 2023-01-22 22:12:58 -08:00
Kartik K. Agaram 486afb1c68 Merge lines.love 2023-01-20 22:08:39 -08:00
Kartik K. Agaram d13d0f9af0 clean up a print 2023-01-20 21:55:52 -08:00
Kartik K. Agaram bc95ec467b show another detail on test failure 2023-01-20 21:48:49 -08:00
Kartik K. Agaram 2a0a770c49 deduce test names on failures 2023-01-20 21:48:49 -08:00
Kartik K. Agaram a28e57205d link to default love.run for comparison 2023-01-20 21:07:59 -08:00
Kartik K. Agaram 9b93a7bd34 fix broken link 2023-01-20 09:23:55 -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 59fb6709e2 best prose across forks 2023-01-18 20:30:37 -08:00
Kartik K. Agaram 30aedf0699 cleaner 2023-01-18 20:22:31 -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