Merge lines.love

[?]
Oct 10, 2023, 3:55 AM
YF2ATH2QIIIMWNOH6IDNADNLUW3XUIYAMEUSTVM4EWMK2YWQ2OBAC

Dependencies

  • [2] YXQOITYS Merge lines.love
  • [3] 6VJTQKW7 start supporting LÖVE v12
  • [4] KVJTEXMS fix all tests in LÖVE v12
  • [5] VHQCNMAR several more modules
  • [6] D4B52CQ2 Merge lines.love
  • [7] 3QQZ7W4E bring couple more globals back to the app level
  • [8] LNUHQOGH start passing in Editor_state explicitly
  • [9] VOU73AK6 Merge lines.love
  • [10] TLOAPLBJ add a license
  • [11] KWIVKQQ7 Merge lines.love
  • [12] ED4Z6ORC cleaner API for file-system access
  • [13] 6LJZN727 handle chords
  • [14] BLWAYPKV extract a module
  • [15] N2NUGNN4 include a brief reference enabling many useful apps
  • [16] 4SR3Z4Y3 document the version of LÖVE I've been using
  • [17] 3PSFWAIL Merge lines.love
  • [18] D2GCFTTT clean up repl functionality
  • [19] ZNLTRNNK highlight another global
  • [20] AVLAYODP much simpler
  • [21] 6VXO3ZL3 just keep the cursor visible after any input events
  • [22] JCSLDGAH beginnings of support for multiple shapes
  • [23] 73OCE2MC after much struggle, a brute-force undo
  • [24] 5FW7YOFT highlight selection while dragging
  • [25] 2CTN2IEF Merge lines.love
  • [26] ZLJYLPOT Merge lines.love
  • [27] BULPIBEG beginnings of a module for the text editor
  • [28] D2IADHMW link to default love.run for comparison
  • [29] K2X6G75Z start writing some tests for drawings
  • [30] 34BZ5ZKN Merge lines.love
  • [31] 2Y7YH7UP infrastructure for caching LÖVE text objects
  • [32] 3QNOKBFM beginnings of a test harness
  • [33] 66X36NZN a little more prose describing manual_tests
  • [34] UH4YWHW5 button framework is at the app level
  • [35] 2344TV56 Merge lines.love
  • [36] A4BSGS2C Merge lines.love
  • [37] T4FRZSYL delete an ancient, unused file
  • [38] 4YDBYBA4 clean up memory leak experiments
  • [39] OGUV4HSA remove some memory leaks from rendered fragments
  • [40] CUFW4EJL reorganize app.lua and its comments
  • [41] GZ5WULJV switch source side to new screen-line-based render
  • [42] IM6GSGVZ fix some arg names
  • [43] AVTNUQYR basic test-enabled framework
  • [44] CE4LZV4T drop last couple of manual tests
  • [45] R5QXEHUI somebody stop me
  • [46] KVHUFUFV reorg
  • [47] 2CK5QI7W make love event names consistent
  • [48] 2L5MEZV3 experiment: new edit namespace
  • [49] K74U4BAU Merge lines.love
  • [50] XX7G2FFJ intermingle freehand line drawings with text
  • [51] PP2IIHL6 stop putting button state in a global
  • [52] JOPVPUSA editing source code from within the app
  • [53] VHUNJHXB Merge lines.love
  • [54] GFXWHTE6 mouse wheel support
  • [55] LWPFEZBI Merge lines.love
  • [56] LXTTOB33 extract a couple of files
  • [57] RSZD5A7G forgot to add json.lua
  • [58] WB6SIB7H Merge lines.love
  • [59] HRWN5V6J Devine's suggestion to try to live with just freehand
  • [60] ORRSP7FV deduce test names on failures
  • [61] KMSL74GA support selections in the source editor
  • [62] FS2ITYYH record a known issue
  • [63] SGMA5JLE save the list of tests in repo
  • [64] RU4HIK43 Merge lines.love
  • [65] OTIBCAUJ love2d scaffold
  • [66] B6DS4GZC Merge lines.love
  • [67] 4U4VQWNY Merge lines.love
  • [68] ORKN6EOB Merge lines.love
  • [69] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing
  • [70] MD3W5IRA new fork: rip out drawing support
  • [71] Z4XRNDTR find text
  • [72] KKMFQDR4 editing source code from within the app
  • [73] APX2PY6G stop tracking wallclock time
  • [74] VP5KC4XZ Merge lines.love
  • [75] BYG5CEMV support for naming points
  • [76] VXORMHME delete experimental REPL
  • [77] TVCPXAAU rename
  • [78] TXDMRA5J bugfix: alt-tab shouldn't emit keypress events
  • [79] XGHCLIKB Merge lines.love

Change contents

  • file deletion: source_text_tests.lua (----------)source_text_tests.lua (----------)
    [5.2][5.83676:83721](),[5.2][5.83676:83721](),[5.83721][5.3498:3498]()
    check_eq(Editor_state.cursor1.pos, 25, 'cursor:pos')
    end
    function test_backspace_can_scroll_up()
    edit.run_after_mouse_release(Editor_state, Editor_state.left+2,Editor_state.top+Editor_state.line_height*2+5, 1)
    -- cursor should move
    if Version == '12.0' then
    -- HACK: Maybe v12.0 uses a different font? Strange that it only causes
    -- issues in a couple of places.
    -- We'll need to rethink our tests if issues like this start to multiply.
    App.screen.check(y, 'mno ', 'screen:3')
    else
    App.screen.check(y, 'mn', 'screen:3')
    end
    end
    function test_pagedown_never_moves_up()
  • replacement in source_text_tests.lua at line 1089
    [5.35939][5.6:46]()
    App.screen.check(y, 'mn', 'screen:3')
    [5.35939]
    [5.36043]
    if Version == '12.0' then
    -- HACK: Maybe v12.0 uses a different font? Strange that it only causes
    -- issues in a couple of places.
    -- We'll need to rethink our tests if issues like this start to multiply.
    App.screen.check(y, 'mno ', 'screen:3')
    else
    App.screen.check(y, 'mn', 'screen:3')
    end
  • replacement in source_text_tests.lua at line 1806
    [5.73329][5.13209:13324]()
    edit.run_after_mouse_release(Editor_state, Editor_state.left+8,Editor_state.top+Editor_state.line_height*2+5, 1)
    [5.73329]
    [5.73442]
    edit.run_after_mouse_release(Editor_state, Editor_state.left+2,Editor_state.top+Editor_state.line_height*2+5, 1)
  • replacement in source_text_tests.lua at line 1809
    [5.18053][5.18053:18108]()
    check_eq(Editor_state.cursor1.pos, 26, 'cursor:pos')
    [5.18053]
    [5.73693]
    check_eq(Editor_state.cursor1.pos, 25, 'cursor:pos')
  • replacement in main.lua at line 154
    [5.1373][5.187783:187814]()
    if Current_app == 'run' then
    [5.1373]
    [5.187814]
    if Current_app == 'error' then
    love.graphics.setColor(0,0,1)
    love.graphics.rectangle('fill', 0,0, App.screen.width, App.screen.height)
    love.graphics.setColor(1,1,1)
    love.graphics.printf(Error_message, 40,40, 600)
    elseif Current_app == 'run' then
  • edit in main.lua at line 166
    [5.187951][5.46:46](),[5.1373][3.777:1043](),[5.1373][3.777:1043]()
    if Current_app == 'error' then
    love.graphics.setColor(0,0,1)
    love.graphics.rectangle('fill', 0,0, App.screen.width, App.screen.height)
    love.graphics.setColor(1,1,1)
    love.graphics.printf(Error_message, 40,40, 600)
    elseif Current_app == 'run' then
  • resolve order conflict in main.lua at line 166
    [5.187951]
    [5.416]
  • edit in main.lua at line 231
    [5.1512][5.189334:189406](),[5.189406][5.469:469]()
    -- ignore events for some time after window in focus (mostly alt-tab)
  • resurrect zombie in main.lua at line 231
    [5.1512][3.1180:1224](),[5.1512][3.1180:1224]()
    if Current_app == 'error' then return end
  • edit in main.lua at line 232
    [3.1224]
    [5.620]
    -- ignore events for some time after window in focus (mostly alt-tab)
  • edit in main.lua at line 247
    [5.57]
    [5.71]
    if Current_app == 'error' then return end
  • edit in main.lua at line 257
    [5.190617][3.1270:1314](),[5.190617][3.1270:1314]()
    if Current_app == 'error' then return end
  • resolve order conflict in main.lua at line 257
    [5.213]
    [5.190866]
  • edit in main.lua at line 263
    [5.190074]
    [5.190074]
    if Current_app == 'error' then return end
  • edit in main.lua at line 269
    [5.355][5.842:842](),[5.190979][3.1315:1359](),[5.190979][3.1315:1359]()
    if Current_app == 'error' then return end
  • resolve order conflict in main.lua at line 269
    [5.355]
    [5.823]
  • resurrect zombie in main.lua at line 275
    [5.925][3.1360:1404](),[5.925][3.1360:1404]()
    if Current_app == 'error' then return end
  • resolve order conflict in main.lua at line 275
    [5.889]
    [3.1360]
  • edit in main.lua at line 286
    [5.1071]
    [5.190430]
    if Current_app == 'error' then return end
  • edit in main.lua at line 293
    [5.190711][5.64:64](),[5.191282][3.1405:1449](),[5.191282][3.1405:1449]()
    if Current_app == 'error' then return end
  • resolve order conflict in main.lua at line 293
    [5.190711]
    [5.235]
  • edit in main.lua at line 297
    [5.190738]
    [5.190738]
    if Current_app == 'error' then return end
  • edit in main.lua at line 315
    [5.268][5.357:357](),[5.57][3.1225:1269](),[5.57][3.1225:1269]()
    if Current_app == 'error' then return end
  • resolve order conflict in main.lua at line 315
    [5.268]
  • edit in app.lua at line 11
    [5.54]
    [5.209221]
    App.version_check()
  • edit in app.lua at line 13
    [5.209243][5.84:84](),[5.54][3.1465:1487](),[5.54][3.1465:1487]()
    App.version_check()
  • resolve order conflict in app.lua at line 13
    [5.209243]
    [5.2266]