Merge lines.love
[?]
Oct 28, 2023, 7:54 AM
TBTRYEBPU7OOMGLGMFM6KF7CXXKH5R6YGAOOPGRLCJGRO7NN44VACDependencies
- [2]
K74U4BAUMerge lines.love - [3]
B6DS4GZCMerge lines.love - [4]
T45HTERYchange section delimiters in log for OpenBSD - [5]
M5Y4H74Fuse my name for a dir - [6]
LWPFEZBIMerge lines.love - [7]
VP5KC4XZMerge lines.love - [8]
3QNOKBFMbeginnings of a test harness - [9]
N2NUGNN4include a brief reference enabling many useful apps - [10]
73OCE2MCafter much struggle, a brute-force undo - [11]
ZLJYLPOTMerge lines.love - [12]
RU4HIK43Merge lines.love - [13]
ICFNWHOLcreate a place for graphical log handlers - [14]
BLWAYPKVextract a module - [15]
2CTN2IEFMerge lines.love - [16]
D2GCFTTTclean up repl functionality - [17]
XX7G2FFJintermingle freehand line drawings with text - [18]
AVTNUQYRbasic test-enabled framework - [19]
MD3W5IRAnew fork: rip out drawing support - [20]
6VJTQKW7start supporting LÖVE v12 - [21]
3PSFWAILMerge lines.love - [22]
ED4Z6ORCcleaner API for file-system access - [23]
4SR3Z4Y3document the version of LÖVE I've been using - [24]
OTIBCAUJlove2d scaffold - [25]
JOPVPUSAediting source code from within the app - [26]
2L5MEZV3experiment: new edit namespace - [27]
66X36NZNa little more prose describing manual_tests - [28]
6LJZN727handle chords - [29]
VHQCNMARseveral more modules - [30]
VHUNJHXBMerge lines.love - [31]
SW7BSBMJseveral bugfixes in saving/loading cursor position - [32]
ORKN6EOBMerge lines.love - [33]
CE4LZV4Tdrop last couple of manual tests - [34]
WB6SIB7HMerge lines.love - [35]
VBU5YHLRMerge lines.love - [36]
T4FRZSYLdelete an ancient, unused file - [37]
RSZD5A7Gforgot to add json.lua - [38]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [39]
SGMA5JLEsave the list of tests in repo - [40]
KMSL74GAsupport selections in the source editor - [41]
2344TV56Merge lines.love - [42]
OGUV4HSAremove some memory leaks from rendered fragments - [43]
FS2ITYYHrecord a known issue - [44]
YF2ATH2QMerge lines.love - [45]
KKMFQDR4editing source code from within the app - [46]
LXTTOB33extract a couple of files - [47]
7YGYHOEOMerge lines.love - [48]
K2X6G75Zstart writing some tests for drawings - [49]
4YDBYBA4clean up memory leak experiments - [50]
ZQDQLLCLbugfix - [51]
34BZ5ZKNMerge lines.love - [52]
R5QXEHUIsomebody stop me - [53]
KG7YVGVRMerge lines.love - [54]
3XNFQDDNMerge lines.love - [55]
TVCPXAAUrename - [56]
TLOAPLBJadd a license - [57]
CEDTFKFDdelete some dead code - [58]
BULPIBEGbeginnings of a module for the text editor - [59]
VXORMHMEdelete experimental REPL
Change contents
- file deletion: run.lua run.lua
return App.current_dir..pathendreturn pathend - file deletion: log_browser.lua log_browser.lua
elseif line.data:match('%] u2518') thenlocal section_name = line.data:match('] u2518%s*(.*)')if array.find(Section_stack, function(x) return x.name == section_name end) thenwhile table.remove(Section_stack).name ~= section_name do--endline.section_end = trueline.section_name = section_nameline.data = nilendline.section_stack = table.shallowcopy(Section_stack)else-- stringline.section_stack = table.shallowcopy(Section_stack)endelseline.section_stack = {}endendendfunction table.shallowcopy(x)return {unpack(x)}local section_name = line.data:match('u250c%s*(.*)')table.insert(Section_stack, {name=section_name})line.section_begin = trueline.section_name = section_nameline.data = nilelseif line.data:match('%[ u250c') thenline.section_stack = table.shallowcopy(Section_stack) -- as it is at the beginning - file deletion: log.lua log.lua
-- I'd like to use the unicode character \u{2518} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '] u2518 ' .. name)endfunction log_new(name, stack_frame_index)if stack_frame_index == nil thenstack_frame_index = 4endlog_end(name, stack_frame_index)log_start(name, stack_frame_index)end-- I'd like to use the unicode character \u{250c} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '[ u250c ' .. name)endfunction log_end(name, stack_frame_index)if stack_frame_index == nil thenstack_frame_index = 3end - replacement in run.lua at line 166
return love.filesystem.getWorkingDirectory()..'/'..path -- '/' should work even on Windowsreturn App.current_dir..path - replacement in log_browser.lua at line 45
elseif line.data:match('\u{250c}') thenelseif line.data:match('%[ u250c') then - replacement in log_browser.lua at line 47
local section_name = line.data:match('\u{250c}%s*(.*)')local section_name = line.data:match('u250c%s*(.*)') - replacement in log_browser.lua at line 52
elseif line.data:match('\u{2518}') thenlocal section_name = line.data:match('\u{2518}%s*(.*)')elseif line.data:match('%] u2518') thenlocal section_name = line.data:match('] u2518%s*(.*)') - replacement in log.lua at line 17
log(stack_frame_index, '\u{250c} ' .. name)-- I'd like to use the unicode character \u{250c} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '[ u250c ' .. name) - replacement in log.lua at line 25
log(stack_frame_index, '\u{2518} ' .. name)-- I'd like to use the unicode character \u{2518} here, but it doesn't work-- in OpenBSD.log(stack_frame_index, '] u2518 ' .. name)