backport some improvements from template-live-editor

[?]
Apr 16, 2023, 6:00 PM
5PC2IJZAAAMT3KBPHDB37XLQF7LG7WYR7TGSHNL2LFLRCIOR3LAAC

Dependencies

  • [2] QFFTXR7E new file-system format for freewheeling apps
  • [3] TK4G4GMC expose a command for the driver to remotely restart an app
  • [4] T3LA4DVG new command: batch GET
  • [5] JUTECG5X bring template-live's protocol in sync with template-live-editor
  • [6] TNRO6KLZ new live app
  • [7] WIBNGKLF rename

Change contents

  • replacement in main.lua at line 180
    [2.2387][3.401:448](),[3.401][3.401:448]()
    app.send(app.get_binding(definition_name))
    [2.2387]
    [3.1]
    local val, _ = app.get_binding(definition_name)
    if val then
    app.send(val)
    else
    app.send('ERROR no such value')
    end
  • replacement in main.lua at line 192
    [3.585][3.191:223](),[3.191][3.191:223]()
    table.insert(result, val)
    [3.585]
    [3.223]
    if val then
    table.insert(result, val)
    end
  • replacement in main.lua at line 279
    [3.8026][3.8026:8065]()
    -- run failed -> false, error message
    [3.8026]
    [3.8065]
    -- run (pcall) failed -> false, error message
  • edit in main.lua at line 423
    [3.11721]
    [3.11721]
    love.timer.sleep(0.001)