rename globals to have a single uppercase letter

[?]
Dec 25, 2022, 11:51 PM
QFURHRTPVQM7FXYJCYJEKQ7ZB7JPFSBEM4GM3SJIEU6MHVYRQ3EQC

Dependencies

  • [2] TBWAE64A app is now live, can communicate with driver
  • [3] WNHI74P7 load manifest in correct order
  • [4] R7BFYHKY move temporary file out of user directory (if possible)
  • [5] WZZGVKSG a few more renames
  • [6] VCLH24QJ update protocol so driver shows syntax errors
  • [7] LRDM35CE app running again
  • [8] ZTOLDEC3 bugfix: check for numeric prefix
  • [9] NVVHJWJE a new event: receiving code changes from the driver

Change contents

  • replacement in live.lua at line 32
    [4.1775][4.1775:1988]()
    Live.Head = 0
    Live.Next_version = 1
    Live.History = {} -- array of filename roots corresponding to each numeric prefix
    Live.Manifest = {} -- mapping from roots to numeric prefixes as of version Live.Head
    [4.1775]
    [4.1988]
    Live.head = 0
    Live.next_version = 1
    Live.history = {} -- array of filename roots corresponding to each numeric prefix
    Live.manifest = {} -- mapping from roots to numeric prefixes as of version Live.head
  • replacement in live.lua at line 37
    [4.2015][2.27:52]()
    Live.Previous_read = 0
    [4.2015]
    [4.2015]
    Live.previous_read = 0
  • replacement in live.lua at line 51
    [4.2411][4.2411:2493]()
    Live.History = live.load_history(files)
    Live.Next_version = #Live.History + 1
    [4.2411]
    [4.2493]
    Live.history = live.load_history(files)
    Live.next_version = #Live.history + 1
  • replacement in live.lua at line 54
    [4.2544][4.2544:2694]()
    Live.Head = tonumber(head_string)
    if Live.Head > 0 then
    Live.Manifest = json.decode(love.filesystem.read(live.versioned_manifest(Live.Head)))
    [4.2544]
    [4.2694]
    Live.head = tonumber(head_string)
    if Live.head > 0 then
    Live.manifest = json.decode(love.filesystem.read(live.versioned_manifest(Live.head)))
  • replacement in live.lua at line 121
    [3.35][4.4342:4379](),[4.4342][4.4342:4379]()
    for k,v in pairs(Live.Manifest) do
    [3.35]
    [4.4379]
    for k,v in pairs(Live.manifest) do
  • replacement in live.lua at line 147
    [4.4896][4.4896:4946]()
    if Current_time - Live.Previous_read > 0.1 then
    [4.4896]
    [4.4946]
    if Current_time - Live.previous_read > 0.1 then
  • replacement in live.lua at line 153
    [4.5021][4.5021:5059]()
    Live.Previous_read = Current_time
    [4.5021]
    [4.5059]
    Live.previous_read = Current_time
  • replacement in live.lua at line 212
    [4.6312][4.6312:6354]()
    live.send(json.encode(Live.Manifest))
    [4.6312]
    [4.6354]
    live.send(json.encode(Live.manifest))
  • replacement in live.lua at line 215
    [4.6430][4.6430:6463]()
    Live.Manifest[binding] = nil
    [4.6430]
    [4.6463]
    Live.manifest[binding] = nil
  • replacement in live.lua at line 217
    [4.6496][4.6496:6574]()
    local next_filename = live.versioned_filename(Live.Next_version, binding)
    [4.6496]
    [4.6574]
    local next_filename = live.versioned_filename(Live.next_version, binding)
  • replacement in live.lua at line 219
    [4.6619][4.6619:6977]()
    table.insert(Live.History, binding)
    Live.Manifest.parent = Live.Head
    local manifest_filename = live.versioned_manifest(Live.Next_version)
    love.filesystem.write(manifest_filename, json.encode(Live.Manifest))
    Live.Head = Live.Next_version
    love.filesystem.write('head', tostring(Live.Head))
    Live.Next_version = Live.Next_version + 1
    [4.6619]
    [4.6977]
    table.insert(Live.history, binding)
    Live.manifest.parent = Live.head
    local manifest_filename = live.versioned_manifest(Live.next_version)
    love.filesystem.write(manifest_filename, json.encode(Live.manifest))
    Live.head = Live.next_version
    love.filesystem.write('head', tostring(Live.head))
    Live.next_version = Live.next_version + 1
  • replacement in live.lua at line 232
    [4.7150][4.7150:7228]()
    local next_filename = live.versioned_filename(Live.Next_version, binding)
    [4.7150]
    [4.7228]
    local next_filename = live.versioned_filename(Live.next_version, binding)
  • replacement in live.lua at line 234
    [4.7274][4.7274:7679]()
    table.insert(Live.History, binding)
    Live.Manifest[binding] = Live.Next_version
    Live.Manifest.parent = Live.Head
    local manifest_filename = live.versioned_manifest(Live.Next_version)
    love.filesystem.write(manifest_filename, json.encode(Live.Manifest))
    Live.Head = Live.Next_version
    love.filesystem.write('head', tostring(Live.Head))
    Live.Next_version = Live.Next_version + 1
    [4.7274]
    [4.7679]
    table.insert(Live.history, binding)
    Live.manifest[binding] = Live.next_version
    Live.manifest.parent = Live.head
    local manifest_filename = live.versioned_manifest(Live.next_version)
    love.filesystem.write(manifest_filename, json.encode(Live.manifest))
    Live.head = Live.next_version
    love.filesystem.write('head', tostring(Live.head))
    Live.next_version = Live.next_version + 1
  • replacement in live.lua at line 245
    [4.7760][4.7760:7959]()
    Live.Head = Live.Manifest.parent
    local previous_manifest_filename = live.versioned_manifest(Live.Head)
    Live.Manifest = json.decode(love.filesystem.read(previous_manifest_filename))
    [4.7760]
    [4.7959]
    Live.head = Live.manifest.parent
    local previous_manifest_filename = live.versioned_manifest(Live.head)
    Live.manifest = json.decode(love.filesystem.read(previous_manifest_filename))
  • replacement in live.lua at line 256
    [4.8075][4.8075:8189]()
    if Live.Manifest[name] then
    return love.filesystem.read(live.versioned_filename(Live.Manifest[name], name))
    [4.8075]
    [4.8189]
    if Live.manifest[name] then
    return love.filesystem.read(live.versioned_filename(Live.manifest[name], name))