Merge text.love

[?]
Oct 10, 2023, 4:09 AM
D2TYFYG2SQ5FH2ET3WXJ3HFJARQLN5WCMAYZVDTB4DLFRAP3YTSQC

Dependencies

  • [2] PJ5PQAQE record support for multiple versions
  • [3] 44ZJJ5ST Merge text.love
  • [4] 5ML5VGOC Merge text.love
  • [5] YF2ATH2Q Merge lines.love
  • [6] Q6RXCILQ Merge text.love
  • [7] M5JXTW56 Merge text.love
  • [8] N2NUGNN4 include a brief reference enabling many useful apps
  • [9] JCSLDGAH beginnings of support for multiple shapes
  • [10] ZLJYLPOT Merge lines.love
  • [11] SGMA5JLE save the list of tests in repo
  • [12] LWPFEZBI Merge lines.love
  • [13] OTIBCAUJ love2d scaffold
  • [14] RO35V4H4 Merge text.love
  • [15] VP5KC4XZ Merge lines.love
  • [16] FS2ITYYH record a known issue
  • [17] A4BSGS2C Merge lines.love
  • [18] AVLAYODP much simpler
  • [19] XSLCFVFH .
  • [20] PP2IIHL6 stop putting button state in a global
  • [21] ZNLTRNNK highlight another global
  • [22] RU4HIK43 Merge lines.love
  • [23] 2Y7YH7UP infrastructure for caching LÖVE text objects
  • [24] Z4XRNDTR find text
  • [25] TXDMRA5J bugfix: alt-tab shouldn't emit keypress events
  • [26] X43ZIKR3 Merge text.love
  • [27] SDRXK4X5 move
  • [28] VXORMHME delete experimental REPL
  • [29] T4FRZSYL delete an ancient, unused file
  • [30] LXTTOB33 extract a couple of files
  • [31] ED4Z6ORC cleaner API for file-system access
  • [32] WB6SIB7H Merge lines.love
  • [33] KWIVKQQ7 Merge lines.love
  • [34] 3QQZ7W4E bring couple more globals back to the app level
  • [35] ECBDENZ4 Merge text.love
  • [36] 2CTN2IEF Merge lines.love
  • [37] VOU73AK6 Merge lines.love
  • [38] JCXL74WV bring back everything from commit a68647ae22
  • [39] UAYCSFSK Merge text.love
  • [40] UHB4GARJ left/right margin -> left/right coordinates
  • [41] VO3GEIRW use app name in window title
  • [42] RSZD5A7G forgot to add json.lua
  • [43] IGBTDA6Y Merge text.love
  • [44] R5QXEHUI somebody stop me
  • [45] D2GCFTTT clean up repl functionality
  • [46] XX7G2FFJ intermingle freehand line drawings with text
  • [47] KVHUFUFV reorg
  • [48] VHUNJHXB Merge lines.love
  • [49] TSK2OXU2 .
  • [50] Y5XAFGMW Merge text.love
  • [51] 2JLMNZZI Merge text.love
  • [52] QD4LOFQR Merge text.love
  • [53] 3PSFWAIL Merge lines.love
  • [54] AVQ5MC5D finish uppercasing all globals
  • [55] 4DHGKUMD Merge text.love
  • [56] R6GUSTBY default font size and line-height
  • [57] K74U4BAU Merge lines.love
  • [58] 4SR3Z4Y3 document the version of LÖVE I've been using
  • [59] LXFHXL2N Merge text.love
  • [60] GFXWHTE6 mouse wheel support
  • [61] NEXUNNCF extract a function
  • [62] OI4FPFIN support drawings in the source editor
  • [63] B6DS4GZC Merge lines.love
  • [64] YGCT2D2O start loading settings as applicable
  • [65] KMSL74GA support selections in the source editor
  • [66] APX2PY6G stop tracking wallclock time
  • [67] D2IADHMW link to default love.run for comparison
  • [68] VHQCNMAR several more modules
  • [69] 73OCE2MC after much struggle, a brute-force undo
  • [70] UH4YWHW5 button framework is at the app level
  • [71] OGUV4HSA remove some memory leaks from rendered fragments
  • [72] TVCPXAAU rename
  • [73] 6VXO3ZL3 just keep the cursor visible after any input events
  • [74] WQOSZSUE warn on unused commandline args
  • [75] 4YDBYBA4 clean up memory leak experiments
  • [76] BLWAYPKV extract a module
  • [77] YMH3YXXI title
  • [78] LNUHQOGH start passing in Editor_state explicitly
  • [79] HPVT467W initialize contains test state
  • [80] 66X36NZN a little more prose describing manual_tests
  • [81] C3GUE45I Merge text.love
  • [82] IM6GSGVZ fix some arg names
  • [83] 6LJZN727 handle chords
  • [84] MD3W5IRA new fork: rip out drawing support
  • [85] YXQOITYS Merge lines.love
  • [86] FM5LDKGT Merge text.love
  • [87] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing
  • [88] BULPIBEG beginnings of a module for the text editor
  • [89] BYG5CEMV support for naming points
  • [90] 2L5MEZV3 experiment: new edit namespace
  • [91] K2X6G75Z start writing some tests for drawings
  • [92] AVTNUQYR basic test-enabled framework
  • [93] JOPVPUSA editing source code from within the app
  • [94] CUFW4EJL reorganize app.lua and its comments
  • [95] 6VJTQKW7 start supporting LÖVE v12
  • [96] KKMFQDR4 editing source code from within the app
  • [97] GQBMVYD4 Merge text.love
  • [98] HRWN5V6J Devine's suggestion to try to live with just freehand
  • [99] 2CFLXLIE Merge text.love
  • [100] 3QNOKBFM beginnings of a test harness
  • [101] 36Z442IV back to commit 8123959e52f without code editing
  • [102] 5FW7YOFT highlight selection while dragging
  • [103] 34BZ5ZKN Merge lines.love
  • [104] VXRYVZ74 Merge text.love
  • [105] CE4LZV4T drop last couple of manual tests
  • [106] LF7BWEG4 group all editor globals
  • [107] Z4KNS42N to open a file without a terminal, drag it on!
  • [108] 2344TV56 Merge lines.love
  • [109] ORKN6EOB Merge lines.love
  • [110] XGHCLIKB Merge lines.love
  • [111] TLOAPLBJ add a license
  • [112] D4B52CQ2 Merge lines.love

Change contents

  • file deletion: source_text_tests.lua (----------)source_text_tests.lua (----------)
    [6.2][6.83739:83784](),[6.2][6.83739:83784](),[6.83784][6.3561:3561]()
    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 main.lua at line 19
    [2.169][2.169:240]()
    local major, minor = love.getVersion()
    Version = major..'.'..minor
    [2.169]
    [2.240]
    local minor_version
    Major_version, minor_version = love.getVersion()
    Version = Major_version..'.'..minor_version
  • edit in main.lua at line 33
    [6.58][6.8:9](),[6.70][6.8:9](),[6.2321][6.8:9](),[6.85928][6.8:9](),[6.746][6.8:9](),[6.115][6.20:30](),[6.115][6.20:30]()
    end
    end
  • resurrect zombie in main.lua at line 33
    [6.30][6.30:31](),[6.30][6.30:31]()
  • edit in main.lua at line 34
    [6.31][6.31:776](),[6.31][6.31:776]()
    function App.version_check()
    -- available modes: run, error
    Error_message = nil
    Error_count = 0
    -- we'll reuse error mode on load for an initial version check
    local supported_versions = {'11.4', '12.0'} -- put the recommended version first
    local minor_version
    Major_version, minor_version = love.getVersion()
    Version = Major_version..'.'..minor_version
    if array.find(supported_versions, Version) == nil then
    Current_app = 'error'
    Error_message = ("This app doesn't support version %s; please use version %s. Press any key to try it with this version anyway."):format(Version, supported_versions[1])
    print(Error_message)
    -- continue initializing everything; hopefully we won't have errors during initialization
  • resurrect zombie in main.lua at line 179
    [2.681][6.6045:6071](),[6.1373][6.6045:6071](),[2.681][6.6045:6071](),[6.1373][6.6045:6071]()
    edit.draw(Editor_state)
  • edit in main.lua at line 180
    [6.6071][6.46:46](),[6.187951][6.46:46](),[6.1373][5.511:777](),[6.1373][5.511:777](),[6.187951][5.779:779](),[6.187951][5.779:779]()
    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 180
    [6.6071]
    [6.416]
  • edit in main.lua at line 244
    [6.67][6.12:12](),[6.188858][6.1044:1179](),[6.188858][6.1044:1179]()
    if Current_app == 'error' then
    if chord == 'C-c' then
    love.system.setClipboardText(Error_message)
    end
    return
    end
  • resolve order conflict in main.lua at line 244
    [6.67]
    [6.223]
  • resurrect zombie in main.lua at line 247
    [6.1512][2.1004:1049](),[6.1512][2.1004:1049]()
    if Mode == 'version_check' then return end
  • edit in main.lua at line 248
    [6.1512][6.1180:1224]()
    if Current_app == 'error' then return end
  • resolve order conflict in main.lua at line 248
    [2.1049]
    [5.780]
  • edit in main.lua at line 261
    [6.57][5.853:897]()
    if Current_app == 'error' then return end
  • resolve order conflict in main.lua at line 261
    [2.1118]
    [6.71]
  • edit in main.lua at line 268
    [6.507][3.12:12](),[6.190074][5.900:944](),[6.190074][5.900:944](),[6.190738][5.996:1040](),[6.190738][5.996:1040](),[6.1071][5.949:993](),[6.1071][5.949:993](),[6.1071][5.949:993](),[6.190711][5.995:995](),[6.190711][5.995:995](),[6.355][5.946:946](),[6.355][5.946:946](),[6.355][5.946:946](),[6.889][5.948:948](),[6.889][5.948:948](),[6.889][5.948:948](),[6.889][5.948:948](),[6.213][5.899:899](),[6.213][5.899:899](),[6.213][5.899:899](),[5.948][6.1360:1404](),[6.925][6.1360:1404](),[6.925][6.1360:1404](),[6.925][6.1360:1404](),[6.268][5.1042:1042](),[6.268][5.1042:1042]()
    if Current_app == 'error' then return end
    if Current_app == 'error' then return end
    if Current_app == 'error' then return end
    if Current_app == 'error' then return end
  • resolve order conflict in main.lua at line 268
    [6.507]
  • resurrect zombie in app.lua at line 11
    [2.1147][6.4069:4091](),[6.54][6.4069:4091](),[6.54][6.4069:4091](),[2.1147][6.4069:4091]()
    App.snapshot_love()
  • edit in app.lua at line 12
    [6.4091][6.84:84](),[6.209243][6.84:84](),[6.54][5.1058:1080](),[6.54][5.1058:1080](),[6.209243][5.1082:1082](),[6.209243][5.1082:1082]()
    App.version_check()
  • resolve order conflict in app.lua at line 12
    [6.4091]
    [6.2266]