Merge text.love
[?]
May 30, 2023, 7:17 AM
4HR3G5ZDDSRHUV4JQKUWGRP3PHIGGZIMDGEDB6TEZCNK3URVRBUQCDependencies
- [2]
QD4LOFQRMerge text.love - [3]
JDZVBFEIMerge lines.love - [4]
3QNOKBFMbeginnings of a test harness - [5]
2CFLXLIEMerge text.love - [6]
RSZD5A7Gforgot to add json.lua - [7]
BULPIBEGbeginnings of a module for the text editor - [8]
ZTZOO2OQMerge lines.love - [9]
K2X6G75Zstart writing some tests for drawings - [10]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [11]
ORKN6EOBMerge lines.love - [12]
TVCPXAAUrename - [13]
MD3W5IRAnew fork: rip out drawing support - [14]
ECBDENZ4Merge text.love - [15]
ZJFSVE47Merge text.love - [16]
CE4LZV4Tdrop last couple of manual tests - [17]
2JBAEQHUMerge lines.love - [18]
4YDBYBA4clean up memory leak experiments - [19]
OGUV4HSAremove some memory leaks from rendered fragments - [20]
KKMFQDR4editing source code from within the app - [21]
2344TV56Merge lines.love - [22]
36Z442IVback to commit 8123959e52f without code editing - [23]
FS2ITYYHrecord a known issue - [24]
73OCE2MCafter much struggle, a brute-force undo - [25]
A4BSGS2CMerge lines.love - [26]
N2NUGNN4include a brief reference enabling many useful apps - [27]
LXTTOB33extract a couple of files - [28]
Q6RXCILQMerge text.love - [29]
6LJZN727handle chords - [30]
AVTNUQYRbasic test-enabled framework - [31]
VXORMHMEdelete experimental REPL - [32]
66X36NZNa little more prose describing manual_tests - [33]
R5QXEHUIsomebody stop me - [34]
IGBTDA6YMerge text.love - [35]
3PSFWAILMerge lines.love - [36]
OTIBCAUJlove2d scaffold - [37]
EX43CDDIMerge text.love - [38]
4SR3Z4Y3document the version of LÖVE I've been using - [39]
ZLJYLPOTMerge lines.love - [40]
XX7G2FFJintermingle freehand line drawings with text - [41]
UAYCSFSKMerge text.love - [42]
D2GCFTTTclean up repl functionality - [43]
JOPVPUSAediting source code from within the app - [44]
BLWAYPKVextract a module - [45]
VHQCNMARseveral more modules - [46]
TLOAPLBJadd a license - [47]
K74U4BAUMerge lines.love - [48]
O3WZWLYCMerge text.love - [49]
RAXUQQ6ZMerge lines.love - [50]
PJ5PQAQErecord support for multiple versions - [51]
2L5MEZV3experiment: new edit namespace - [52]
2CTN2IEFMerge lines.love - [53]
VP5KC4XZMerge lines.love - [54]
VHUNJHXBMerge lines.love - [55]
T4FRZSYLdelete an ancient, unused file - [56]
KMSL74GAsupport selections in the source editor
Change contents
- file deletion: source_file.lua source_file.lua
outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius, start_angle=shape.start_angle, end_angle=shape.end_angle}))outfile:write('\n')elseif shape.mode == 'deleted' then-- ignoreelseprint(shape.mode)assert(false)endendoutfile:write('```\n')outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius}))outfile:write('\n')elseif shape.mode == 'arc' thenoutfile:write(line)outfile:write('\n')elseif shape.mode == 'circle' thenoutfile:write(line)outfile:write('\n')elseif shape.mode == 'polygon' or shape.mode == 'rectangle' or shape.mode == 'square' thenlocal obj = {mode=shape.mode, vertices={}}for _,p in ipairs(shape.vertices) dotable.insert(obj.vertices, drawing.points[p])endlocal line = json.encode(obj)outfile:write(json.encode(shape))outfile:write('\n')elseif shape.mode == 'line' or shape.mode == 'manhattan' thenlocal line = json.encode({mode=shape.mode, p1=drawing.points[shape.p1], p2=drawing.points[shape.p2]})