Merge lines.love
[?]
Jul 11, 2023, 5:06 PM
B6DS4GZC46Q4QSD3TXP5Q7NDERTOBAQV66JBCT5O6FAKKTLEVJLACDependencies
- [2]
RU4HIK43Merge lines.love - [3]
J3I6DVMBdrop an unused arg - [4]
2L5MEZV3experiment: new edit namespace - [5]
VXORMHMEdelete experimental REPL - [6]
RSZD5A7Gforgot to add json.lua - [7]
3QNOKBFMbeginnings of a test harness - [8]
6LJZN727handle chords - [9]
TVCPXAAUrename - [10]
2CTN2IEFMerge lines.love - [11]
4SR3Z4Y3document the version of LÖVE I've been using - [12]
TLOAPLBJadd a license - [13]
T4FRZSYLdelete an ancient, unused file - [14]
5RDWSYK2consistently use App names for methods everywhere - [15]
OB5XOXVCdeemphasize the source editor - [16]
JDZVBFEIMerge lines.love - [17]
N2NUGNN4include a brief reference enabling many useful apps - [18]
CE4LZV4Tdrop last couple of manual tests - [19]
K2X6G75Zstart writing some tests for drawings - [20]
AVTNUQYRbasic test-enabled framework - [21]
AOZX2G5Fsource: no commandline args - [22]
66X36NZNa little more prose describing manual_tests - [23]
JKENJ2UGMerge lines.love - [24]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [25]
ORKN6EOBMerge lines.love - [26]
4YDBYBA4clean up memory leak experiments - [27]
K74U4BAUMerge lines.love - [28]
KKMFQDR4editing source code from within the app - [29]
JOPVPUSAediting source code from within the app - [30]
ISOFHXB2App.width can no longer take a Text - [31]
JZR3QMTNMerge lines.love - [32]
EVMVBLXDbugfix: preserve window position - [33]
BLWAYPKVextract a module - [34]
BULPIBEGbeginnings of a module for the text editor - [35]
VHQCNMARseveral more modules - [36]
MD3W5IRAnew fork: rip out drawing support - [37]
KMSL74GAsupport selections in the source editor - [38]
W5WCQNMPbugfix: Windows pushing title bar off screen - [39]
2344TV56Merge lines.love - [40]
3PSFWAILMerge lines.love - [41]
D2GCFTTTclean up repl functionality - [42]
OGUV4HSAremove some memory leaks from rendered fragments - [43]
ZLJYLPOTMerge lines.love - [44]
XX7G2FFJintermingle freehand line drawings with text - [45]
UZQ2LGHQbugfix: preserve window position - [46]
ATQO62TFMerge lines.love - [47]
FS2ITYYHrecord a known issue - [48]
73OCE2MCafter much struggle, a brute-force undo - [49]
OTIBCAUJlove2d scaffold - [50]
VP5KC4XZMerge lines.love - [51]
LXTTOB33extract a couple of files - [52]
R5QXEHUIsomebody stop me - [53]
SGMA5JLEsave the list of tests in repo - [54]
ONHKBLLCMerge lines.love - [55]
LWPFEZBIMerge lines.love - [56]
VHUNJHXBMerge lines.love
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()