Merge text.love
[?]
Oct 28, 2023, 8:02 AM
CAG7PP5YB4GZLDUIYLOESJIY5D5NMMGDQ5SCY6HQ7VF2TCK3JLQQCDependencies
- [2]
UAYCSFSKMerge text.love - [3]
2JLMNZZIMerge text.love - [4]
JCRUUD2SMerge text.love - [5]
TBTRYEBPMerge lines.love - [6]
3XNFQDDNMerge lines.love - [7]
OTIBCAUJlove2d scaffold - [8]
36Z442IVback to commit 8123959e52f without code editing - [9]
ED4Z6ORCcleaner API for file-system access - [10]
LXTTOB33extract a couple of files - [11]
66X36NZNa little more prose describing manual_tests - [12]
TLOAPLBJadd a license - [13]
PCEXCSOWMerge text.love - [14]
4YDBYBA4clean up memory leak experiments - [15]
R5QXEHUIsomebody stop me - [16]
HOUCPP7PMerge text.love - [17]
X43ZIKR3Merge text.love - [18]
3QNOKBFMbeginnings of a test harness - [19]
TVCPXAAUrename - [20]
BULPIBEGbeginnings of a module for the text editor - [21]
LWPFEZBIMerge lines.love - [22]
RU4HIK43Merge lines.love - [23]
34BZ5ZKNMerge lines.love - [24]
6LJZN727handle chords - [25]
RO35V4H4Merge text.love - [26]
T4FRZSYLdelete an ancient, unused file - [27]
ORKN6EOBMerge lines.love - [28]
FQURPLDAnew primitives for reading/writing files - [29]
2CTN2IEFMerge lines.love - [30]
XX7G2FFJintermingle freehand line drawings with text - [31]
VXORMHMEdelete experimental REPL - [32]
HOWVSTWAa few more testable file-system operations - [33]
MD3W5IRAnew fork: rip out drawing support - [34]
VP5KC4XZMerge lines.love - [35]
PJ5PQAQErecord support for multiple versions - [36]
Q6RXCILQMerge text.love - [37]
RSZD5A7Gforgot to add json.lua - [38]
D2TYFYG2Merge text.love - [39]
2L5MEZV3experiment: new edit namespace - [40]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [41]
OGUV4HSAremove some memory leaks from rendered fragments - [42]
KG7YVGVRMerge lines.love - [43]
4SR3Z4Y3document the version of LÖVE I've been using - [44]
FPY4LO2Wmake a few names consistent with snake_case - [45]
CE4LZV4Tdrop last couple of manual tests - [46]
QD4LOFQRMerge text.love - [47]
N2NUGNN4include a brief reference enabling many useful apps - [48]
FS2ITYYHrecord a known issue - [49]
AVTNUQYRbasic test-enabled framework - [50]
YF2ATH2QMerge lines.love - [51]
M5Y4H74Fuse my name for a dir - [52]
JOPVPUSAediting source code from within the app - [53]
6VJTQKW7start supporting LÖVE v12 - [54]
KKMFQDR4editing source code from within the app - [55]
VHQCNMARseveral more modules - [56]
K2X6G75Zstart writing some tests for drawings - [57]
NUJMQXN6Merge text.love - [58]
ZLJYLPOTMerge lines.love - [59]
3PSFWAILMerge lines.love - [60]
SGMA5JLEsave the list of tests in repo - [61]
IGBTDA6YMerge text.love - [62]
VXRYVZ74Merge text.love - [63]
M5JXTW56Merge text.love - [64]
BLWAYPKVextract a module - [65]
VHUNJHXBMerge lines.love - [66]
D2GCFTTTclean up repl functionality - [67]
73OCE2MCafter much struggle, a brute-force undo - [68]
JCXL74WVbring back everything from commit a68647ae22 - [69]
KMSL74GAsupport selections in the source editor - [70]
WB6SIB7HMerge lines.love - [71]
7YGYHOEOMerge lines.love - [72]
2CFLXLIEMerge text.love - [73]
K74U4BAUMerge lines.love - [74]
FM5LDKGTMerge text.love
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 main.lua at line 200
filename = love.filesystem.getWorkingDirectory()..'/'..filename -- '/' should work even on Windowsfilename = app.current_dir..filename - edit in app.lua at line 463
App.source_dir = love.filesystem.getSource()..'/' - resurrect zombie in app.lua at line 466
App.current_dir = nativefs.getWorkingDirectory()..'/'App.save_dir = love.filesystem.getSaveDirectory()..'/'