Merge lines.love
[?]
Jul 11, 2023, 5:06 PM
B6DS4GZC46Q4QSD3TXP5Q7NDERTOBAQV66JBCT5O6FAKKTLEVJLACDependencies
- [2]
RU4HIK43Merge lines.love - [3]
J3I6DVMBdrop an unused arg - [4]
R5QXEHUIsomebody stop me - [5]
3PSFWAILMerge lines.love - [6]
EVMVBLXDbugfix: preserve window position - [7]
ZLJYLPOTMerge lines.love - [8]
OTIBCAUJlove2d scaffold - [9]
BULPIBEGbeginnings of a module for the text editor - [10]
TVCPXAAUrename - [11]
W5WCQNMPbugfix: Windows pushing title bar off screen - [12]
KMSL74GAsupport selections in the source editor - [13]
MD3W5IRAnew fork: rip out drawing support - [14]
JDZVBFEIMerge lines.love - [15]
T4FRZSYLdelete an ancient, unused file - [16]
N2NUGNN4include a brief reference enabling many useful apps - [17]
ONHKBLLCMerge lines.love - [18]
VHQCNMARseveral more modules - [19]
AVTNUQYRbasic test-enabled framework - [20]
4YDBYBA4clean up memory leak experiments - [21]
VHUNJHXBMerge lines.love - [22]
OB5XOXVCdeemphasize the source editor - [23]
ORKN6EOBMerge lines.love - [24]
3QNOKBFMbeginnings of a test harness - [25]
KKMFQDR4editing source code from within the app - [26]
K74U4BAUMerge lines.love - [27]
2L5MEZV3experiment: new edit namespace - [28]
XX7G2FFJintermingle freehand line drawings with text - [29]
UZQ2LGHQbugfix: preserve window position - [30]
LWPFEZBIMerge lines.love - [31]
VP5KC4XZMerge lines.love - [32]
JOPVPUSAediting source code from within the app - [33]
JZR3QMTNMerge lines.love - [34]
4SR3Z4Y3document the version of LÖVE I've been using - [35]
RSZD5A7Gforgot to add json.lua - [36]
BLWAYPKVextract a module - [37]
ATQO62TFMerge lines.love - [38]
6LJZN727handle chords - [39]
TLOAPLBJadd a license - [40]
CE4LZV4Tdrop last couple of manual tests - [41]
66X36NZNa little more prose describing manual_tests - [42]
2CTN2IEFMerge lines.love - [43]
K2X6G75Zstart writing some tests for drawings - [44]
JKENJ2UGMerge lines.love - [45]
VXORMHMEdelete experimental REPL - [46]
73OCE2MCafter much struggle, a brute-force undo - [47]
LXTTOB33extract a couple of files - [48]
5RDWSYK2consistently use App names for methods everywhere - [49]
D2GCFTTTclean up repl functionality - [50]
FS2ITYYHrecord a known issue - [51]
AOZX2G5Fsource: no commandline args - [52]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [53]
2344TV56Merge lines.love - [54]
SGMA5JLEsave the list of tests in repo - [55]
OGUV4HSAremove some memory leaks from rendered fragments - [56]
ISOFHXB2App.width can no longer take a Text
Change contents
- file deletion: source.lua source.lua
function source.initialize_window_geometry()-- Initialize window width/height and make window resizable.---- I get tempted to have opinions about window dimensions here, but they're-- non-portable:-- - maximizing doesn't work on mobile and messes things up-- - maximizing keeps the title bar on screen in Linux, but off screen on-- Windows. And there's no way to get the height of the title bar.-- It seems more robust to just follow LÖVE's default window size until-- someone overrides it.App.screen.width, App.screen.height, App.screen.flags = App.screen.size()source.initialize_window_geometry()Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right) - file deletion: run.lua run.lua
function run.initialize_window_geometry()-- Initialize window width/height and make window resizable.---- I get tempted to have opinions about window dimensions here, but they're-- non-portable:-- - maximizing doesn't work on mobile and messes things up-- - maximizing keeps the title bar on screen in Linux, but off screen on-- Windows. And there's no way to get the height of the title bar.-- It seems more robust to just follow LÖVE's default window size until-- someone overrides it.run.initialize_window_geometry()Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right)Editor_state.font_height = font_heightEditor_state.line_height = math.floor(font_height*1.3) - replacement in source.lua at line 162
source.initialize_window_geometry(App.width('m'))source.initialize_window_geometry() - replacement in source.lua at line 169
function source.initialize_window_geometry(em_width)function source.initialize_window_geometry() - replacement in run.lua at line 83
run.initialize_window_geometry(App.width('m'))run.initialize_window_geometry() - replacement in run.lua at line 90
function run.initialize_window_geometry(em_width)function run.initialize_window_geometry()