Merge lines.love

[?]
Oct 17, 2023, 6:25 AM
7YGYHOEOWGHRJ54YP6EEHVAGLUWMDATSRUC4IH4XRRHUBBRZQSVAC

Dependencies

  • [2] YXQOITYS Merge lines.love
  • [3] 54HEXCWV clearer API for drawing a button
  • [4] CE4LZV4T drop last couple of manual tests
  • [5] 2CTN2IEF Merge lines.love
  • [6] ZTK4QTZT extract a couple of functions
  • [7] MGJZHZC4 Merge lines.love
  • [8] LWPFEZBI Merge lines.love
  • [9] ZQZX364V use a helper
  • [10] T4FRZSYL delete an ancient, unused file
  • [11] REAIVN7W Merge lines.love
  • [12] O2PYNFUB use existing local
  • [13] KWHC65JI Merge lines.love
  • [14] 3QNOKBFM beginnings of a test harness
  • [15] OGUV4HSA remove some memory leaks from rendered fragments
  • [16] VHUNJHXB Merge lines.love
  • [17] 2344TV56 Merge lines.love
  • [18] WB6SIB7H Merge lines.love
  • [19] RSZD5A7G forgot to add json.lua
  • [20] VHQCNMAR several more modules
  • [21] BLWAYPKV extract a module
  • [22] VBU5YHLR Merge lines.love
  • [23] ZLJYLPOT Merge lines.love
  • [24] 6VJTQKW7 start supporting LÖVE v12
  • [25] JOPVPUSA editing source code from within the app
  • [26] 3XNFQDDN Merge lines.love
  • [27] CWQIPU7U always show line numbers in source editor
  • [28] 3PSFWAIL Merge lines.love
  • [29] SGMA5JLE save the list of tests in repo
  • [30] ORKN6EOB Merge lines.love
  • [31] YF2ATH2Q Merge lines.love
  • [32] R2ASHK5C fix a bad merge
  • [33] 34BZ5ZKN Merge lines.love
  • [34] 73OCE2MC after much struggle, a brute-force undo
  • [35] LIKTH6HM update stale source X-(
  • [36] WJBZZQE4 fold together two largely similar cases
  • [37] ATQO62TF Merge lines.love
  • [38] 6LJZN727 handle chords
  • [39] ED4Z6ORC cleaner API for file-system access
  • [40] 66X36NZN a little more prose describing manual_tests
  • [41] 44O46KDA Merge lines.love
  • [42] D2GCFTTT clean up repl functionality
  • [43] KMSL74GA support selections in the source editor
  • [44] OI4FPFIN support drawings in the source editor
  • [45] BULPIBEG beginnings of a module for the text editor
  • [46] KWIVKQQ7 Merge lines.love
  • [47] MD3W5IRA new fork: rip out drawing support
  • [48] VXORMHME delete experimental REPL
  • [49] K74U4BAU Merge lines.love
  • [50] ZWDTEUH7 clean up some absolute coordinates
  • [51] OTIBCAUJ love2d scaffold
  • [52] PXSQR2AD hide line numbers from log browser
  • [53] BW2IUB3K keep all text cache writes inside text.lua
  • [54] 32V6ZHQB Merge lines.love
  • [55] KKMFQDR4 editing source code from within the app
  • [56] FS2ITYYH record a known issue
  • [57] 4SR3Z4Y3 document the version of LÖVE I've been using
  • [58] R5QXEHUI somebody stop me
  • [59] TLOAPLBJ add a license
  • [60] VP5KC4XZ Merge lines.love
  • [61] K2X6G75Z start writing some tests for drawings
  • [62] 4YDBYBA4 clean up memory leak experiments
  • [63] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing
  • [64] TVCPXAAU rename
  • [65] LXTTOB33 extract a couple of files
  • [66] B6DS4GZC Merge lines.love
  • [67] 2L5MEZV3 experiment: new edit namespace
  • [68] PP2IIHL6 stop putting button state in a global
  • [69] RU4HIK43 Merge lines.love
  • [70] C2M4RUU5 reorganize some comments
  • [71] XX7G2FFJ intermingle freehand line drawings with text
  • [72] AVTNUQYR basic test-enabled framework
  • [73] N2NUGNN4 include a brief reference enabling many useful apps
  • [74] NYRESFK6 source: show all files in navigator
  • [75] GZ5WULJV switch source side to new screen-line-based render
  • [76] 3QWK3GSA support mouse clicks in file navigator

Change contents

  • file deletion: source_text.lua (----------)source_text.lua (----------)
    [4.2][4.147062:147101](),[4.2][4.147062:147101](),[4.147101][4.83723:83723]()
    button(State, 'link', {x=State.left+lo, y=y, w=hi-lo, h=State.line_height, bg={r=1,g=1,b=1},
    icon = icon.hyperlink_decoration,
    onpress1 = function()
    if file_exists(filename) then
    source.switch_to_file(filename)
    end
    end,
    })
  • file deletion: source_edit.lua (----------)source_edit.lua (----------)
    [4.2][4.165725:165764](),[4.2][4.165725:165764](),[4.165764][4.152440:152440]()
    button(State, 'draw', {x=buttonx, y=y+4, w=12,h=12, bg={r=1,g=1,b=0},
    icon = icon.insert_drawing,
    onpress1 = function()
    Drawing.before = snapshot(State, line_index-1, line_index)
    table.insert(State.lines, line_index, {mode='drawing', y=y, h=256/2, points={}, shapes={}, pending={}})
    table.insert(State.line_cache, line_index, {})
    if State.cursor1.line >= line_index then
    State.cursor1.line = State.cursor1.line+1
    end
    schedule_save(State)
    record_undo_event(State, {before=Drawing.before, after=snapshot(State, line_index-1, line_index+1)})
    end,
    })
  • file deletion: commands.lua (----------)commands.lua (----------)
    [4.2][4.207726:207762](),[4.2][4.207726:207762](),[4.207762][4.204370:204370]()
    button(Editor_state, 'menu', {x=x-5, y=y-2, w=width+5*2, h=Editor_state.line_height+2*2, bg=color,
    onpress1 = function()
  • replacement in source_text.lua at line 37
    [4.869][4.869:969]()
    button(State, 'link', {x=State.left+lo, y=y, w=hi-lo, h=State.line_height, color={1,1,1},
    [4.869]
    [4.969]
    button(State, 'link', {x=State.left+lo, y=y, w=hi-lo, h=State.line_height, bg={r=1,g=1,b=1},
  • replacement in source_edit.lua at line 191
    [4.888][4.888:963]()
    button(State, 'draw', {x=buttonx, y=y+4, w=12,h=12, color={1,1,0},
    [4.888]
    [4.18934]
    button(State, 'draw', {x=buttonx, y=y+4, w=12,h=12, bg={r=1,g=1,b=0},
  • edit in edit.lua at line 462
    [4.12430][2.2750:2750](),[4.269][3.212:307](),[4.269][3.212:307]()
    button(State, 'draw', {x=State.left-Margin_left+4, y=y+4, w=12,h=12, bg={r=1,g=1,b=0},
  • resolve order conflict in edit.lua at line 462
    [4.12430]
  • replacement in commands.lua at line 119
    [4.206447][4.3098:3214]()
    button(Editor_state, 'menu', {x=x-5, y=y-2, w=width+5*2, h=Editor_state.line_height+2*2, color=colortable(color),
    [4.206447]
    [4.3214]
    button(Editor_state, 'menu', {x=x-5, y=y-2, w=width+5*2, h=Editor_state.line_height+2*2, bg=color,