delete some dead code

akkartik
Aug 22, 2025, 7:18 PM
N2TXVDIYJWHD2CA4MA4O6P74FBAA5CLNCMZNOXRSQH5R24RH7Q2QC

Dependencies

  • [2] 2NEL7TGN no, go back to drawing the menu after the editor
  • [3] PUXFYOQ4 rename a function
  • [4] 5T2AKBEX resolve conflicts
  • [5] JV27LDDK sliders for font size and color settings
  • [6] FMSRUE5S only show tooltips when window in focus
  • [7] 2Q437U4F starting to experiment with animated pane transitions
  • [8] BLWAYPKV extract a module
  • [9] 6VJTQKW7 start supporting LÖVE v12
  • [10] G42WRYFR new handler: mousemoved
  • [11] 2L5MEZV3 experiment: new edit namespace
  • [12] 5OVKHVY6 nice way to make on.* handlers more discoverable
  • [13] D43U7GQ4 alter on-disk representation (manifest files)
  • [14] RUB7L6GY resolve conflicts
  • [15] T4FRZSYL delete an ancient, unused file
  • [16] GWLETNMW Mike's suggested button layout
  • [17] VXRYVZ74 Merge text.love
  • [18] K2X6G75Z start writing some tests for drawings
  • [19] PFSJMMNJ position recent definitions on default map
  • [20] QLJY3CKC bugfix: use border color in scrollbars
  • [21] 4Y2QDDAZ resolve conflicts
  • [22] ZM7NOBRM new fork: carousel shell
  • [23] XX7G2FFJ intermingle freehand line drawings with text
  • [24] FLXBLICQ fix a long-standing issue with tooltips
  • [25] RK2ASPN7 add lots of buttons to the toolbar
  • [26] HZENSQEQ resolve conflicts
  • [27] KCFQO6K5 clean up some debug drawing
  • [28] LWPFEZBI Merge lines.love
  • [29] KKMFQDR4 editing source code from within the app
  • [30] 3QNOKBFM beginnings of a test harness
  • [31] YV2GBDNW preserve settings across restart
  • [32] VXORMHME delete experimental REPL
  • [33] SGMA5JLE save the list of tests in repo
  • [34] UUAIVZ4U 2 bugfixes in font rendering
  • [35] 47VXAH2H delete some old code
  • [36] ESOJS6ZW extract a function
  • [37] DHPAIM7J resolve conflicts
  • [38] 2DVVKKVA flesh out Readme
  • [39] PRE6XPRN responsively increase/decrease font height
  • [40] 6DJMOJKE support event handlers
  • [41] D2GCFTTT clean up repl functionality
  • [42] OGUV4HSA remove some memory leaks from rendered fragments
  • [43] 6LJZN727 handle chords
  • [44] 57HKHZ7Z include the tool that's mentioned in representation.md
  • [45] SIJ5I4NZ extract a helper for buttons
  • [46] 6MQCFHXM remember when someone deletes an example
  • [47] VEAVIL4X resize handler
  • [48] KMSL74GA support selections in the source editor
  • [49] WR2WMEPE implement 'Run' button
  • [50] Z5M23NTK implement second, 'output' editor
  • [51] R6MNUXDJ pijul bug
  • [52] AVTNUQYR basic test-enabled framework
  • [53] WV2NJUIS resolve conflicts
  • [54] LGIEVJE6 activate buttons for some time
  • [55] OOSUBWKX subject people to a tutorial
  • [56] 4HCP3NTO draw code editor after menu and output
  • [57] T42Y5MLO explicitly specify app name
  • [58] F4RUTOND split up editor tests between LÖVE 11 and LÖVE 12
  • [59] PJ5PQAQE record support for multiple versions
  • [60] HVXZLNCC send errors from event handlers to output editor
  • [61] IP4LD33D mouse events for scrollbar
  • [62] 375Q6NPJ extract a couple of constants
  • [63] VLTU33KW resolve conflicts
  • [64] VUF2SX7B implement carousel buttons for inserting/switching current pane
  • [65] RSZD5A7G forgot to add json.lua
  • [66] LRDM35CE app running again
  • [67] W4EQ6IW4 simplify state management for menus
  • [68] 73OCE2MC after much struggle, a brute-force undo
  • [69] ROYQO45B mount old location of screens if possible
  • [70] 72OBZ3VM bundle support for .wav files
  • [71] YR7AXEYB add keyboard shortcuts for common operations
  • [72] CD7JC76C resolve conflicts
  • [73] 4QFVRJ5U get rid of pane transition animations
  • [74] LXTTOB33 extract a couple of files
  • [75] 6RYGW5H3 bugfix: output border color
  • [76] 66X36NZN a little more prose describing manual_tests
  • [77] GO2QWWUI pad out overflow buttons to prevent fat fingering
  • [78] R5QXEHUI somebody stop me
  • [79] W3RRTO4P extract a second helper for buttons
  • [80] DDWCYLPL explicitly state stance on autosave
  • [81] BH4QJ5CH extract functions for computing editor dimensions
  • [82] 2CFLXLIE Merge text.love
  • [83] I52S4E5F running `print` now appends to output editor
  • [84] CE4LZV4T drop last couple of manual tests
  • [85] OC4P6P36 greatly simplify slider implementation
  • [86] 2KACFSV7 bugfix: print(nil)
  • [87] ML34DNND delete a stale file
  • [88] Q3EQI5LI some keyboard shortcuts on non-mobile devices
  • [89] KKQKPGCI resolve conflicts
  • [90] 5RUFNRJO start of the visual skeleton
  • [91] VP5KC4XZ Merge lines.love
  • [92] E75L5QGU ok/cancel buttons in file dialog
  • [93] CZ6X73VY merge bugfix
  • [94] 3PSFWAIL Merge lines.love
  • [95] VZPH3XJK update source editor
  • [96] CZQ3NJ4N Merge text0
  • [97] MZ3DMYPD start sketching out a scrollbar
  • [98] VVGWHJBZ fix app identity so successive versions share data
  • [99] OTIBCAUJ love2d scaffold
  • [100] ED4Z6ORC cleaner API for file-system access
  • [101] FS2ITYYH record a known issue
  • [102] VAVXKWZV aggregate global state inside a 'pane' object
  • [103] SIASJPGR save the list of open files across restart
  • [104] TVCPXAAU rename
  • [105] ORKN6EOB Merge lines.love
  • [106] 5255G4IV resolve conflicts
  • [107] PCHTG7YU resolve conflicts
  • [108] 4SR3Z4Y3 document the version of LÖVE I've been using
  • [109] 5MEJ7XNH lay out buttons based on device dimensions
  • [110] CMZDG7CJ bugfix: tapping in scrollbar area
  • [111] QWPQUVBR provide a place to set the font
  • [112] PN6VP3LV escape hatch when print is overridden
  • [113] SW5GN5LP suggest a default layout for freewheeling apps
  • [114] BRBXUGRG resolve conflicts
  • [115] FVXR2WIW 'run_screen' for loading one screen from another
  • [116] FYJXSWXV resolve conflicts
  • [117] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing
  • [118] MBAJPTDJ resolve conflicts
  • [119] EZHO4TSW new file-system format for freewheeling apps
  • [120] 4GX6NAY4 some very basic animations for switching panes
  • [121] 36Z442IV back to commit 8123959e52f without code editing
  • [122] NVZTMKER partition handlers between screen regions
  • [123] BULPIBEG beginnings of a module for the text editor
  • [124] N2NUGNN4 include a brief reference enabling many useful apps
  • [125] 3V2R6YS6 merge bugfix
  • [126] CEQBZN64 resolve conflicts
  • [127] 2EELKVO2 resolve conflicts
  • [128] ZENSSO3D pass remaining love handlers through
  • [129] JOPVPUSA editing source code from within the app
  • [130] FIUQJVL2 first draft of load/save buttons
  • [131] 4YDBYBA4 clean up memory leak experiments
  • [132] TLOAPLBJ add a license
  • [133] UEG224LH debug animations
  • [134] SJXIMERS type out a filename to load/save
  • [135] VHQCNMAR several more modules
  • [136] JYXWR7VK resolve conflicts
  • [137] MEWFN45R resolve conflicts
  • [138] ZLJYLPOT Merge lines.love
  • [139] OL7ZCZWD Merge text.love
  • [140] YT7NMQ6Z delete dead code
  • [141] ADXY3K5Z wire up new-style car.* handlers
  • [142] OJGIQLZW bugfix: only check for settings menu when open
  • [143] VHUNJHXB Merge lines.love

Change contents

  • file deletion: 0058-draw_next_frames_of_animations (----------)
    [3.2][3.798:857](),[3.857][3.433:433]()
    -- update any in-progress animations
    -- return whether any work remains
    draw_next_frames_of_animations = function()
    local a = Animations_in_progress
    for i=#a,1,-1 do
    if coroutine.status(a[i].co) == 'dead' then
    table.remove(a, i)
    else
    local status, err = coroutine.resume(a[i].co)
    if status == false then error(err) end
    end
    end
    return #a > 0
    end
  • file deletion: 0054-Animations_in_progress (----------)
    [3.2][3.1056:1107](),[3.1107][3.986:986]()
    -- Intermediate state during animations.
    Animations_in_progress = {}
  • file deletion: 0052-enable_loiter (----------)
    [3.2][3.1914:1956](),[3.1956][3.1109:1109]()
    -- A debugging aid to help animate intermediate results within f.
    -- Pause animation in the current frame using loiter().
    -- Try to only have one such call in your program.
    -- You can have multiple, but things might get confusing if one of them indirectly calls the other,
    -- or more generally if a single function ever loiters sometimes under the call tree of one and sometimes under the other.
    enable_loiter = function(f, ...)
    local args = {...}
    Error_with_callstack = nil
    local co = coroutine.create(
    function()
    xpcall(function()
    f(unpack(args))
    end,
    save_callstack)
    end)
    coroutine.resume(co, ...)
    if Error_with_callstack then
    error(Error_with_callstack)
    end
    table.insert(Debug_animations_in_progress, {co=co, next_run=Current_time+0.3})
    end
  • edit in default_map at line 33
    [3.602][3.602:682]()
    },
    "Animations_in_progress": {
    "x": 5900,
    "y": 31.415451388884,
  • edit in default_map at line 61
    [3.1185][3.1185:1256]()
    },
    "enable_loiter": {
    "x": 7600,
    "y": 284.41545138888,
  • edit in default_map at line 249
    [3.4720][3.4720:4808]()
    },
    "draw_next_frames_of_animations": {
    "x": 6600,
    "y": 297.41545138888,
  • edit in 0012-on.draw at line 30
    [2.13][3.2189:2223](),[3.1960][3.2189:2223]()
    draw_next_frames_of_animations()
  • replacement in 0006-loiter at line 2
    [3.724][3.2269:2339]()
    -- Can only be called from functions invoked using `enable_loiter()`.
    [3.724]
    [3.788]
    -- Can only be called from functions invoked using `animate()`.
  • replacement in 0005-animate at line 17
    [3.1584][3.2465:2512]()
    table.insert(Animations_in_progress, {co=co})
    [3.1584]
    [3.2512]
    table.insert(Debug_animations_in_progress, {co=co})