Merge lines.love
[?]
May 30, 2023, 7:15 AM
JDZVBFEIBB5JVB7PJJMKFO4Z52NCEKFFFQ4B4QECCBRPEJ4EPGDQCDependencies
- [2]
ZLJYLPOTMerge lines.love - [3]
KKHSOUW4bugfix: drawings in source editor - [4]
ORKN6EOBMerge lines.love - [5]
A4BSGS2CMerge lines.love - [6]
RSZD5A7Gforgot to add json.lua - [7]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [8]
VXORMHMEdelete experimental REPL - [9]
73OCE2MCafter much struggle, a brute-force undo - [10]
OGUV4HSAremove some memory leaks from rendered fragments - [11]
2JBAEQHUMerge lines.love - [12]
2344TV56Merge lines.love - [13]
4SR3Z4Y3document the version of LÖVE I've been using - [14]
2XLZCWZCbugfix: rectangles and squares are now saved - [15]
K2X6G75Zstart writing some tests for drawings - [16]
66X36NZNa little more prose describing manual_tests - [17]
2CTN2IEFMerge lines.love - [18]
UN7L3DNNavoid some string concatenations - [19]
T4FRZSYLdelete an ancient, unused file - [20]
3PSFWAILMerge lines.love - [21]
K74U4BAUMerge lines.love - [22]
N2NUGNN4include a brief reference enabling many useful apps - [23]
RAXUQQ6ZMerge lines.love - [24]
TVCPXAAUrename - [25]
VHQCNMARseveral more modules - [26]
4YDBYBA4clean up memory leak experiments - [27]
2K2YDMFHignore 'deleted' shapes when saving to disk - [28]
VP5KC4XZMerge lines.love - [29]
KMSL74GAsupport selections in the source editor - [30]
KKMFQDR4editing source code from within the app - [31]
2L5MEZV3experiment: new edit namespace - [32]
6LJZN727handle chords - [33]
D2GCFTTTclean up repl functionality - [34]
3QNOKBFMbeginnings of a test harness - [35]
TLOAPLBJadd a license - [36]
AVTNUQYRbasic test-enabled framework - [37]
JOPVPUSAediting source code from within the app - [38]
R5QXEHUIsomebody stop me - [39]
XX7G2FFJintermingle freehand line drawings with text - [40]
FS2ITYYHrecord a known issue - [41]
BLWAYPKVextract a module - [42]
CE4LZV4Tdrop last couple of manual tests - [43]
ZTZOO2OQMerge lines.love - [44]
BULPIBEGbeginnings of a module for the text editor - [45]
MD3W5IRAnew fork: rip out drawing support - [46]
LXTTOB33extract a couple of files - [47]
VHUNJHXBMerge lines.love - [48]
OTIBCAUJlove2d scaffold - [49]
OI4FPFINsupport drawings in the source editor - [*]
QYIFOHW3first test!
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]}) - replacement in source_file.lua at line 96
outfile:write(json.encode(shape), '\n')outfile:write(json.encode(shape))outfile:write('\n') - replacement in source_file.lua at line 100
outfile:write(line, '\n')outfile:write(line)outfile:write('\n') - replacement in source_file.lua at line 108
outfile:write(line, '\n')outfile:write(line)outfile:write('\n') - replacement in source_file.lua at line 111
outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius}), '\n')outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius}))outfile:write('\n') - replacement in source_file.lua at line 114
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}), '\n')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') - edit in file.lua at line 60[4.17287]→[3.531:597](∅→∅),[4.17287]→[3.531:597](∅→∅),[4.17507]→[3.598:650](∅→∅),[4.17507]→[3.598:650](∅→∅),[4.17771]→[3.651:703](∅→∅),[4.17771]→[3.651:703](∅→∅),[4.17842]→[3.704:840](∅→∅),[4.17842]→[3.704:840](∅→∅),[4.17994]→[3.841:1035](∅→∅),[4.17994]→[3.841:1035](∅→∅)
outfile:write(json.encode(shape))outfile:write('\n')outfile:write(line)outfile:write('\n')outfile:write(line)outfile:write('\n')outfile:write(json.encode({mode=shape.mode, center=drawing.points[shape.center], radius=shape.radius}))outfile:write('\n')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') - resolve order conflict in file.lua at line 60[51.1910][4.18207]