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