Merge lines.love

[?]
Jul 11, 2023, 5:06 PM
B6DS4GZC46Q4QSD3TXP5Q7NDERTOBAQV66JBCT5O6FAKKTLEVJLAC

Dependencies

  • [2] RU4HIK43 Merge lines.love
  • [3] J3I6DVMB drop an unused arg
  • [4] 2L5MEZV3 experiment: new edit namespace
  • [5] VXORMHME delete experimental REPL
  • [6] RSZD5A7G forgot to add json.lua
  • [7] 3QNOKBFM beginnings of a test harness
  • [8] 6LJZN727 handle chords
  • [9] TVCPXAAU rename
  • [10] 2CTN2IEF Merge lines.love
  • [11] 4SR3Z4Y3 document the version of LÖVE I've been using
  • [12] TLOAPLBJ add a license
  • [13] T4FRZSYL delete an ancient, unused file
  • [14] 5RDWSYK2 consistently use App names for methods everywhere
  • [15] OB5XOXVC deemphasize the source editor
  • [16] JDZVBFEI Merge lines.love
  • [17] N2NUGNN4 include a brief reference enabling many useful apps
  • [18] CE4LZV4T drop last couple of manual tests
  • [19] K2X6G75Z start writing some tests for drawings
  • [20] AVTNUQYR basic test-enabled framework
  • [21] AOZX2G5F source: no commandline args
  • [22] 66X36NZN a little more prose describing manual_tests
  • [23] JKENJ2UG Merge lines.love
  • [24] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing
  • [25] ORKN6EOB Merge lines.love
  • [26] 4YDBYBA4 clean up memory leak experiments
  • [27] K74U4BAU Merge lines.love
  • [28] KKMFQDR4 editing source code from within the app
  • [29] JOPVPUSA editing source code from within the app
  • [30] ISOFHXB2 App.width can no longer take a Text
  • [31] JZR3QMTN Merge lines.love
  • [32] EVMVBLXD bugfix: preserve window position
  • [33] BLWAYPKV extract a module
  • [34] BULPIBEG beginnings of a module for the text editor
  • [35] VHQCNMAR several more modules
  • [36] MD3W5IRA new fork: rip out drawing support
  • [37] KMSL74GA support selections in the source editor
  • [38] W5WCQNMP bugfix: Windows pushing title bar off screen
  • [39] 2344TV56 Merge lines.love
  • [40] 3PSFWAIL Merge lines.love
  • [41] D2GCFTTT clean up repl functionality
  • [42] OGUV4HSA remove some memory leaks from rendered fragments
  • [43] ZLJYLPOT Merge lines.love
  • [44] XX7G2FFJ intermingle freehand line drawings with text
  • [45] UZQ2LGHQ bugfix: preserve window position
  • [46] ATQO62TF Merge lines.love
  • [47] FS2ITYYH record a known issue
  • [48] 73OCE2MC after much struggle, a brute-force undo
  • [49] OTIBCAUJ love2d scaffold
  • [50] VP5KC4XZ Merge lines.love
  • [51] LXTTOB33 extract a couple of files
  • [52] R5QXEHUI somebody stop me
  • [53] SGMA5JLE save the list of tests in repo
  • [54] ONHKBLLC Merge lines.love
  • [55] LWPFEZBI Merge lines.love
  • [56] VHUNJHXB Merge lines.love

Change contents

  • file deletion: source.lua (----------)source.lua (----------)
    [4.2][4.177652:177686](),[4.2][4.177652:177686](),[4.177686][4.165766:165766]()
    function source.initialize_window_geometry()
    -- Initialize window width/height and make window resizable.
    --
    -- I get tempted to have opinions about window dimensions here, but they're
    -- non-portable:
    -- - maximizing doesn't work on mobile and messes things up
    -- - maximizing keeps the title bar on screen in Linux, but off screen on
    -- Windows. And there's no way to get the height of the title bar.
    -- It seems more robust to just follow LÖVE's default window size until
    -- someone overrides it.
    App.screen.width, App.screen.height, App.screen.flags = App.screen.size()
    source.initialize_window_geometry()
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right)
  • file deletion: run.lua (----------)run.lua (----------)
    [4.2][4.184046:184077](),[4.2][4.184046:184077](),[4.184077][4.178044:178044]()
    function run.initialize_window_geometry()
    -- Initialize window width/height and make window resizable.
    --
    -- I get tempted to have opinions about window dimensions here, but they're
    -- non-portable:
    -- - maximizing doesn't work on mobile and messes things up
    -- - maximizing keeps the title bar on screen in Linux, but off screen on
    -- Windows. And there's no way to get the height of the title bar.
    -- It seems more robust to just follow LÖVE's default window size until
    -- someone overrides it.
    run.initialize_window_geometry()
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right)
    Editor_state.font_height = font_height
    Editor_state.line_height = math.floor(font_height*1.3)
  • replacement in source.lua at line 162
    [4.170145][4.1481:1533]()
    source.initialize_window_geometry(App.width('m'))
    [4.170145]
    [4.170251]
    source.initialize_window_geometry()
  • replacement in source.lua at line 169
    [4.170472][4.170472:170525]()
    function source.initialize_window_geometry(em_width)
    [4.170472]
    [2.681]
    function source.initialize_window_geometry()
  • replacement in run.lua at line 83
    [4.180286][4.1540:1589]()
    run.initialize_window_geometry(App.width('m'))
    [4.180286]
    [4.180389]
    run.initialize_window_geometry()
  • replacement in run.lua at line 90
    [4.180638][4.180638:180688]()
    function run.initialize_window_geometry(em_width)
    [4.180638]
    [2.2215]
    function run.initialize_window_geometry()