stop tracking wallclock time

[?]
Nov 4, 2022, 4:02 AM
APX2PY6GAMJSUH7SFSMBFOQJBSAWLLOCKH4L4ZQP2VLHNEXJPREAC

Dependencies

  • [2] TO6Y2G3U more decoupling editor tests from App
  • [3] OI4FPFIN support drawings in the source editor
  • [4] ENENSZLK bugfix: source margins when toggling log browser
  • [5] 4VQGE7RA new test
  • [6] 6SMGKYDR .
  • [7] JCSLDGAH beginnings of support for multiple shapes
  • [8] PTDO2SOT add state arg to schedule_save
  • [9] NEXUNNCF extract a function
  • [10] 2L5MEZV3 experiment: new edit namespace
  • [11] Y4VYNEGF test: autosave after name/move/delete of point
  • [12] T7SJSJIH test: undo naming a point
  • [13] PJEQCTBL add state arg to Drawing.update
  • [14] KKMFQDR4 editing source code from within the app
  • [15] PX7DDEMO autosave slightly less aggressively
  • [16] 42LVB4DE test: naming a point
  • [17] LF7BWEG4 group all editor globals
  • [18] 7DYUAOI6 test: undo moving point
  • [19] KAUD3YIK tests: deleting points/shapes
  • [20] HRWN5V6J Devine's suggestion to try to live with just freehand
  • [21] 4AXV2HG4 all pending manual tests done!
  • [22] LNUHQOGH start passing in Editor_state explicitly
  • [23] SPNMXTYR have file API operate on state object
  • [24] K2X6G75Z start writing some tests for drawings
  • [25] 3QQZ7W4E bring couple more globals back to the app level
  • [26] YGCT2D2O start loading settings as applicable
  • [27] CIQN2MDE bugfix: typing a capital letter deletes selection
  • [28] DJGC4ZEF simplify hysteresis logic
  • [29] YT5P6TO6 bugfix: save previous file when dropping a new one on
  • [30] TXDMRA5J bugfix: alt-tab shouldn't emit keypress events
  • [31] L6XA5EY2 test: moving a point
  • [32] S7ZZA3YE ugh, handle absolute as well as relative paths
  • [33] KVHUFUFV reorg
  • [34] AVTNUQYR basic test-enabled framework
  • [35] Z4KNS42N to open a file without a terminal, drag it on!
  • [36] 7CLGG7J2 test: autosave after any shape
  • [*] OTIBCAUJ love2d scaffold

Change contents

  • replacement in source_tests.lua at line 34
    [5.78][5.475:501](),[5.475][5.475:501]()
    App.wait_fake_time(0.1)
    [5.78]
    [5.501]
    Current_time = Current_time + 0.1
  • replacement in source_tests.lua at line 59
    [4.945][4.945:971]()
    App.wait_fake_time(0.1)
    [4.945]
    [4.971]
    Current_time = Current_time + 0.1
  • replacement in source_tests.lua at line 90
    [4.2623][4.2623:2649]()
    App.wait_fake_time(0.1)
    [4.2623]
    [4.2649]
    Current_time = Current_time + 0.1
  • replacement in source_edit.lua at line 192
    [3.21540][5.156628:156690](),[5.156628][5.156628:156690]()
    if State.next_save and State.next_save < App.getTime() then
    [3.21540]
    [5.156690]
    if State.next_save and State.next_save < Current_time then
  • replacement in source_edit.lua at line 200
    [5.156814][5.156814:156921]()
    State.next_save = App.getTime() + 3 -- short enough that you're likely to still remember what you did
    [5.156814]
    [5.156921]
    State.next_save = Current_time + 3 -- short enough that you're likely to still remember what you did
  • replacement in main.lua at line 84
    [5.186991][5.186991:187113]()
    Last_focus_time = App.getTime() -- https://love2d.org/forums/viewtopic.php?p=249700
    Last_resize_time = App.getTime()
    [5.186991]
    [5.1047]
    Current_time = 0
    Last_focus_time = 0 -- https://love2d.org/forums/viewtopic.php?p=249700
    Last_resize_time = 0
  • replacement in main.lua at line 107
    [5.187634][5.187634:187669]()
    Last_resize_time = App.getTime()
    [5.187634]
    [5.625]
    Last_resize_time = Current_time
  • replacement in main.lua at line 122
    [5.188051][5.188051:188087]()
    Last_focus_time = App.getTime()
    [5.188051]
    [5.1113]
    Last_focus_time = Current_time
  • edit in main.lua at line 144
    [5.1398]
    [5.148]
    Current_time = Current_time + dt
  • replacement in main.lua at line 146
    [5.184][5.44:93]()
    if App.getTime() < Last_resize_time + 0.1 then
    [5.184]
    [5.93]
    if Current_time < Last_resize_time + 0.1 then
  • replacement in main.lua at line 161
    [5.188787][5.188787:188836]()
    if App.getTime() < Last_focus_time + 0.01 then
    [5.188787]
    [5.188836]
    if Current_time < Last_focus_time + 0.01 then
  • replacement in main.lua at line 199
    [5.189945][5.284:333](),[5.284][5.284:333]()
    if App.getTime() < Last_focus_time + 0.01 then
    [5.189945]
    [5.333]
    if Current_time < Last_focus_time + 0.01 then
  • replacement in main.lua at line 214
    [5.190296][5.406:455](),[5.406][5.406:455]()
    if App.getTime() < Last_focus_time + 0.01 then
    [5.190296]
    [5.455]
    if Current_time < Last_focus_time + 0.01 then
  • replacement in edit.lua at line 179
    [5.43][5.4253:4315](),[5.6353][5.4253:4315]()
    if State.next_save and State.next_save < App.getTime() then
    [5.43]
    [5.421]
    if State.next_save and State.next_save < Current_time then
  • replacement in edit.lua at line 187
    [5.312][5.312:419]()
    State.next_save = App.getTime() + 3 -- short enough that you're likely to still remember what you did
    [5.312]
    [5.6621]
    State.next_save = Current_time + 3 -- short enough that you're likely to still remember what you did
  • replacement in drawing_tests.lua at line 19
    [5.937][5.937:963]()
    App.wait_fake_time(3.1)
    [5.937]
    [2.51]
    Current_time = Current_time + 3.1
  • replacement in drawing_tests.lua at line 54
    [5.1001][5.1001:1027]()
    App.wait_fake_time(3.1)
    [5.1001]
    [2.83]
    Current_time = Current_time + 3.1
  • replacement in drawing_tests.lua at line 433
    [5.1065][5.1065:1091]()
    App.wait_fake_time(3.1)
    [5.1065]
    [2.115]
    Current_time = Current_time + 3.1
  • replacement in drawing_tests.lua at line 465
    [5.1129][5.1129:1155]()
    App.wait_fake_time(3.1)
    [5.1129]
    [2.147]
    Current_time = Current_time + 3.1
  • replacement in drawing_tests.lua at line 492
    [5.1193][5.1193:1219]()
    App.wait_fake_time(3.1)
    [5.1193]
    [2.214]
    Current_time = Current_time + 3.1
  • replacement in drawing_tests.lua at line 553
    [5.1260][5.1260:1286]()
    App.wait_fake_time(3.1)
    [5.1260]
    [2.281]
    Current_time = Current_time + 3.1
  • replacement in drawing_tests.lua at line 687
    [5.1324][5.1324:1350]()
    App.wait_fake_time(3.1)
    [5.1324]
    [2.313]
    Current_time = Current_time + 3.1
  • replacement in drawing_tests.lua at line 738
    [5.1388][5.1388:1414]()
    App.wait_fake_time(3.1)
    [5.1388]
    [2.380]
    Current_time = Current_time + 3.1
  • replacement in drawing_tests.lua at line 779
    [5.1452][5.1452:1478]()
    App.wait_fake_time(3.1)
    [5.1452]
    [2.412]
    Current_time = Current_time + 3.1