Merge lines.love

[?]
Oct 28, 2023, 7:54 AM
TBTRYEBPU7OOMGLGMFM6KF7CXXKH5R6YGAOOPGRLCJGRO7NN44VAC

Dependencies

  • [2] K74U4BAU Merge lines.love
  • [3] B6DS4GZC Merge lines.love
  • [4] T45HTERY change section delimiters in log for OpenBSD
  • [5] M5Y4H74F use my name for a dir
  • [6] LWPFEZBI Merge lines.love
  • [7] VP5KC4XZ Merge lines.love
  • [8] 3QNOKBFM beginnings of a test harness
  • [9] N2NUGNN4 include a brief reference enabling many useful apps
  • [10] 73OCE2MC after much struggle, a brute-force undo
  • [11] ZLJYLPOT Merge lines.love
  • [12] RU4HIK43 Merge lines.love
  • [13] ICFNWHOL create a place for graphical log handlers
  • [14] BLWAYPKV extract a module
  • [15] 2CTN2IEF Merge lines.love
  • [16] D2GCFTTT clean up repl functionality
  • [17] XX7G2FFJ intermingle freehand line drawings with text
  • [18] AVTNUQYR basic test-enabled framework
  • [19] MD3W5IRA new fork: rip out drawing support
  • [20] 6VJTQKW7 start supporting LÖVE v12
  • [21] 3PSFWAIL Merge lines.love
  • [22] ED4Z6ORC cleaner API for file-system access
  • [23] 4SR3Z4Y3 document the version of LÖVE I've been using
  • [24] OTIBCAUJ love2d scaffold
  • [25] JOPVPUSA editing source code from within the app
  • [26] 2L5MEZV3 experiment: new edit namespace
  • [27] 66X36NZN a little more prose describing manual_tests
  • [28] 6LJZN727 handle chords
  • [29] VHQCNMAR several more modules
  • [30] VHUNJHXB Merge lines.love
  • [31] SW7BSBMJ several bugfixes in saving/loading cursor position
  • [32] ORKN6EOB Merge lines.love
  • [33] CE4LZV4T drop last couple of manual tests
  • [34] WB6SIB7H Merge lines.love
  • [35] VBU5YHLR Merge lines.love
  • [36] T4FRZSYL delete an ancient, unused file
  • [37] RSZD5A7G forgot to add json.lua
  • [38] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing
  • [39] SGMA5JLE save the list of tests in repo
  • [40] KMSL74GA support selections in the source editor
  • [41] 2344TV56 Merge lines.love
  • [42] OGUV4HSA remove some memory leaks from rendered fragments
  • [43] FS2ITYYH record a known issue
  • [44] YF2ATH2Q Merge lines.love
  • [45] KKMFQDR4 editing source code from within the app
  • [46] LXTTOB33 extract a couple of files
  • [47] 7YGYHOEO Merge lines.love
  • [48] K2X6G75Z start writing some tests for drawings
  • [49] 4YDBYBA4 clean up memory leak experiments
  • [50] ZQDQLLCL bugfix
  • [51] 34BZ5ZKN Merge lines.love
  • [52] R5QXEHUI somebody stop me
  • [53] KG7YVGVR Merge lines.love
  • [54] 3XNFQDDN Merge lines.love
  • [55] TVCPXAAU rename
  • [56] TLOAPLBJ add a license
  • [57] CEDTFKFD delete some dead code
  • [58] BULPIBEG beginnings of a module for the text editor
  • [59] VXORMHME delete experimental REPL

Change contents

  • file deletion: run.lua (----------)run.lua (----------)
    [6.2][6.184046:184077](),[6.2][6.184046:184077](),[6.184077][6.178044:178044]()
    return App.current_dir..path
    end
    return path
    end
  • file deletion: log_browser.lua (----------)log_browser.lua (----------)
    [6.2][6.203223:203262](),[6.2][6.203223:203262](),[6.203262][6.191782:191782]()
    elseif line.data:match('%] u2518') then
    local section_name = line.data:match('] u2518%s*(.*)')
    if array.find(Section_stack, function(x) return x.name == section_name end) then
    while table.remove(Section_stack).name ~= section_name do
    --
    end
    line.section_end = true
    line.section_name = section_name
    line.data = nil
    end
    line.section_stack = table.shallowcopy(Section_stack)
    else
    -- string
    line.section_stack = table.shallowcopy(Section_stack)
    end
    else
    line.section_stack = {}
    end
    end
    end
    function table.shallowcopy(x)
    return {unpack(x)}
    local section_name = line.data:match('u250c%s*(.*)')
    table.insert(Section_stack, {name=section_name})
    line.section_begin = true
    line.section_name = section_name
    line.data = nil
    elseif line.data:match('%[ u250c') then
    line.section_stack = table.shallowcopy(Section_stack) -- as it is at the beginning
  • file deletion: log.lua (----------)log.lua (----------)
    [6.2][6.204116:204147](),[6.2][6.204116:204147](),[6.204147][6.203264:203264]()
    -- I'd like to use the unicode character \u{2518} here, but it doesn't work
    -- in OpenBSD.
    log(stack_frame_index, '] u2518 ' .. name)
    end
    function log_new(name, stack_frame_index)
    if stack_frame_index == nil then
    stack_frame_index = 4
    end
    log_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)
    end
    function log_end(name, stack_frame_index)
    if stack_frame_index == nil then
    stack_frame_index = 3
    end
  • replacement in run.lua at line 166
    [6.193][6.193:289]()
    return love.filesystem.getWorkingDirectory()..'/'..path -- '/' should work even on Windows
    [6.193]
    [6.289]
    return App.current_dir..path
  • replacement in log_browser.lua at line 45
    [6.193005][6.193005:193051]()
    elseif line.data:match('\u{250c}') then
    [6.193005]
    [6.193051]
    elseif line.data:match('%[ u250c') then
  • replacement in log_browser.lua at line 47
    [6.193143][6.193143:193207]()
    local section_name = line.data:match('\u{250c}%s*(.*)')
    [6.193143]
    [6.193207]
    local section_name = line.data:match('u250c%s*(.*)')
  • replacement in log_browser.lua at line 52
    [6.193363][6.193363:193473]()
    elseif line.data:match('\u{2518}') then
    local section_name = line.data:match('\u{2518}%s*(.*)')
    [6.193363]
    [6.193473]
    elseif line.data:match('%] u2518') then
    local section_name = line.data:match('] u2518%s*(.*)')
  • replacement in log.lua at line 17
    [6.203173][6.203173:203218]()
    log(stack_frame_index, '\u{250c} ' .. name)
    [6.203173]
    [6.203218]
    -- 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
    [6.203327][6.203327:203372]()
    log(stack_frame_index, '\u{2518} ' .. name)
    [6.203327]
    [6.203372]
    -- I'd like to use the unicode character \u{2518} here, but it doesn't work
    -- in OpenBSD.
    log(stack_frame_index, '] u2518 ' .. name)