Kartik K. Agaram
c3f8250cb2
Merge text.love
2023-07-11 11:11:48 -07:00
Kartik K. Agaram
f72fe2f172
Merge lines.love
2023-07-11 10:06:12 -07:00
Kartik K. Agaram
52ba030eaa
drop an unused arg
2023-07-11 08:36:42 -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
8482be9472
Merge lines.love
2023-07-10 17:55:12 -07:00
Kartik K. Agaram
bca7f82598
standardize between run and source some more
...
We shouldn't be thinking about saving settings when we're initializing
window geometry.
2023-07-10 17:16:58 -07:00
Kartik K. Agaram
7f4c5f847b
simplify saving settings
...
We don't ever call one app's settings while Current_app is the other.
2023-07-10 17:14:38 -07:00
Kartik K. Agaram
a8747478ff
bugfix: Windows pushing title bar off screen
...
I'm learning the hard way that resizing the window is a big deal. Only
do this when someone explicitly requests it, otherwise follow LÖVE's
defaults.
Therefore we're also going to stop trying to be smart when showing the
log browser. Leave window resizing to manual operations.
Now initialization looks a lot more similar for the run and source apps.
2023-07-10 17:09:09 -07:00
Kartik K. Agaram
3f52063d02
delete flags that have never been exercised
...
Initialization is getting complex, and I'm finding bugs.
2023-07-10 16:33:17 -07:00
Kartik K. Agaram
b42f08cb79
bugfix: preserve window position
...
I just noticed we hadn't got this bugfix for Linux on the main app. How
had we not noticed this issue before? Answer: lines.love windows tend to
be tall and skinny, and resize must keep the window entirely within the
screen. So the window was staying in place just because it happened to
be running up against the bottom.
2023-07-10 16:08:18 -07:00
Kartik K. Agaram
e68261d7a3
bugfix: preserve window position
2023-07-10 15:50:47 -07:00
Kartik K. Agaram
2f4e810f6d
Merge text0
2023-07-07 18:57:30 -07:00
Kartik K. Agaram
40a6bc88be
Merge text.love
2023-07-07 18:57:22 -07:00
Kartik K. Agaram
a995471ebc
Merge lines.love
2023-07-07 18:50:42 -07:00
Kartik K. Agaram
9df1c3f997
support for num pad
...
It'll only work after LÖVE v12 comes out.
2023-07-07 18:40:12 -07:00
Kartik K. Agaram
2f0f437060
link to Freewheeling Apps page
2023-07-01 13:22:05 -07:00
Kartik K. Agaram
bc41286466
Merge text0
2023-06-30 00:09:03 -07:00
Kartik K. Agaram
ca1656fbfd
Merge text.love
2023-06-29 23:46:03 -07:00
Kartik K. Agaram
ad35894b92
Merge lines.love
2023-06-25 22:39:43 -07:00
Kartik K. Agaram
33934337ab
experiment: convert to Pijul
...
https://pijul.org
2023-06-25 06:12:36 -07:00
Kartik K. Agaram
3fdd0d339c
slightly easier to understand
...
A comment is now in a better place.
Inlining an unnecessary function boundary removes ambiguity between the
similar names load_all and load_files_so_far. It also shrinks call
stacks on error.
2023-06-19 10:14:42 -07:00
Kartik K. Agaram
d486f94a4b
bail early on errors
...
Returning errors can feel warm and fuzzy, but it does no good if the
caller doesn't actually check the return value.
Scenario:
define a new function B
call it when initializing global variable A
everything works fine
restart
Before this commit you get a weird error because we silently stopped
loading, and now lots of functions are missing.
After this commit you get a better error message.
2023-06-19 09:56:24 -07:00
Kartik K. Agaram
2f933e383d
delete a dead variable
2023-06-19 09:46:25 -07:00
Kartik K. Agaram
7b5ede43e2
slightly standardize on app-specific stuff
2023-06-18 22:44:27 -07:00
Kartik K. Agaram
66baa11748
Merge text0
2023-06-17 10:54:11 -07:00
Kartik K. Agaram
8f5227a58a
Merge text.love
2023-06-17 10:53:42 -07:00
Kartik K. Agaram
f7382363c2
Merge lines.love
2023-06-17 10:47:43 -07:00
Kartik K. Agaram
9ce9725bd6
stop highlighting strings in code
...
It works right so rarely that it's a net negative. I'll bring it back
if I ever start tokenizing on non-whitespace.
2023-06-17 10:41:50 -07:00
Kartik K. Agaram
e70e67859d
Merge text0
2023-06-08 01:29:14 -07:00
Kartik K. Agaram
fa4f9fb814
Merge text.love
2023-06-08 01:26:51 -07:00
Kartik K. Agaram
de699696c5
Merge lines.love
2023-06-08 01:24:34 -07:00
Kartik K. Agaram
1aceabc846
reconcile manual tests with some downstream forks
2023-06-08 01:21:33 -07:00
Kartik K. Agaram
7824213048
Merge text.love
2023-06-08 01:18:34 -07:00
Kartik K. Agaram
fdb2172843
Merge lines.love
2023-06-08 01:12:38 -07:00
Kartik K. Agaram
14c08f9bd9
several bugfixes in saving/loading cursor position
2023-06-08 01:02:54 -07:00
Kartik K. Agaram
60f26a9a4f
experiment: knob for readonly editor
2023-06-07 22:23:10 -07:00
Kartik K. Agaram
69ddc6fbb8
improve documentation for edit.draw
2023-06-07 22:10:30 -07:00
Kartik K. Agaram
d931b0123d
Merge text0
2023-06-07 22:09:10 -07:00
Kartik K. Agaram
7a7d76548c
Merge text.love
2023-06-07 22:08:46 -07:00
Kartik K. Agaram
e8a5faaa4c
Merge lines.love
2023-06-07 21:47:04 -07:00
Kartik K. Agaram
68eaba7d3d
document some editor constants
2023-06-07 21:30:17 -07:00
Kartik K. Agaram
bc85d77f13
Merge text0
2023-06-06 13:27:17 -07:00
Kartik K. Agaram
b9b511f37c
Merge text.love
2023-06-06 13:23:13 -07:00
Kartik K. Agaram
77164c61c8
Merge lines.love
2023-06-06 13:17:57 -07:00
Kartik K. Agaram
96c056bd4c
return height of editor widget after drawing
2023-06-06 12:52:44 -07:00
Kartik K. Agaram
767e048c54
Merge text.love
2023-06-06 11:41:48 -07:00
Kartik K. Agaram
cf1f860d20
Merge lines.love
2023-06-06 11:39:50 -07:00
Kartik K. Agaram
43114e2fa5
document facilities for buttons on screen
2023-06-06 11:18:20 -07:00
Kartik K. Agaram
d5f0abb637
Merge text0
2023-06-05 22:41:32 -07:00