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