rename globals to have a single uppercase letter
[?]
Dec 25, 2022, 11:51 PM
QFURHRTPVQM7FXYJCYJEKQ7ZB7JPFSBEM4GM3SJIEU6MHVYRQ3EQCDependencies
- [2]
TBWAE64Aapp is now live, can communicate with driver - [3]
WNHI74P7load manifest in correct order - [4]
R7BFYHKYmove temporary file out of user directory (if possible) - [5]
WZZGVKSGa few more renames - [6]
VCLH24QJupdate protocol so driver shows syntax errors - [7]
LRDM35CEapp running again - [8]
ZTOLDEC3bugfix: check for numeric prefix - [9]
NVVHJWJEa new event: receiving code changes from the driver
Change contents
- replacement in live.lua at line 32
Live.Head = 0Live.Next_version = 1Live.History = {} -- array of filename roots corresponding to each numeric prefixLive.Manifest = {} -- mapping from roots to numeric prefixes as of version Live.HeadLive.head = 0Live.next_version = 1Live.history = {} -- array of filename roots corresponding to each numeric prefixLive.manifest = {} -- mapping from roots to numeric prefixes as of version Live.head - replacement in live.lua at line 37
Live.Previous_read = 0Live.previous_read = 0 - replacement in live.lua at line 51
Live.History = live.load_history(files)Live.Next_version = #Live.History + 1Live.history = live.load_history(files)Live.next_version = #Live.history + 1 - replacement in live.lua at line 54
Live.Head = tonumber(head_string)if Live.Head > 0 thenLive.Manifest = json.decode(love.filesystem.read(live.versioned_manifest(Live.Head)))Live.head = tonumber(head_string)if Live.head > 0 thenLive.manifest = json.decode(love.filesystem.read(live.versioned_manifest(Live.head))) - replacement in live.lua at line 121
for k,v in pairs(Live.Manifest) dofor k,v in pairs(Live.manifest) do - replacement in live.lua at line 147
if Current_time - Live.Previous_read > 0.1 thenif Current_time - Live.previous_read > 0.1 then - replacement in live.lua at line 153
Live.Previous_read = Current_timeLive.previous_read = Current_time - replacement in live.lua at line 212
live.send(json.encode(Live.Manifest))live.send(json.encode(Live.manifest)) - replacement in live.lua at line 215
Live.Manifest[binding] = nilLive.manifest[binding] = nil - replacement in live.lua at line 217
local next_filename = live.versioned_filename(Live.Next_version, binding)local next_filename = live.versioned_filename(Live.next_version, binding) - replacement in live.lua at line 219
table.insert(Live.History, binding)Live.Manifest.parent = Live.Headlocal manifest_filename = live.versioned_manifest(Live.Next_version)love.filesystem.write(manifest_filename, json.encode(Live.Manifest))Live.Head = Live.Next_versionlove.filesystem.write('head', tostring(Live.Head))Live.Next_version = Live.Next_version + 1table.insert(Live.history, binding)Live.manifest.parent = Live.headlocal manifest_filename = live.versioned_manifest(Live.next_version)love.filesystem.write(manifest_filename, json.encode(Live.manifest))Live.head = Live.next_versionlove.filesystem.write('head', tostring(Live.head))Live.next_version = Live.next_version + 1 - replacement in live.lua at line 232
local next_filename = live.versioned_filename(Live.Next_version, binding)local next_filename = live.versioned_filename(Live.next_version, binding) - replacement in live.lua at line 234
table.insert(Live.History, binding)Live.Manifest[binding] = Live.Next_versionLive.Manifest.parent = Live.Headlocal manifest_filename = live.versioned_manifest(Live.Next_version)love.filesystem.write(manifest_filename, json.encode(Live.Manifest))Live.Head = Live.Next_versionlove.filesystem.write('head', tostring(Live.Head))Live.Next_version = Live.Next_version + 1table.insert(Live.history, binding)Live.manifest[binding] = Live.next_versionLive.manifest.parent = Live.headlocal manifest_filename = live.versioned_manifest(Live.next_version)love.filesystem.write(manifest_filename, json.encode(Live.manifest))Live.head = Live.next_versionlove.filesystem.write('head', tostring(Live.head))Live.next_version = Live.next_version + 1 - replacement in live.lua at line 245
Live.Head = Live.Manifest.parentlocal previous_manifest_filename = live.versioned_manifest(Live.Head)Live.Manifest = json.decode(love.filesystem.read(previous_manifest_filename))Live.head = Live.manifest.parentlocal 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
if Live.Manifest[name] thenreturn love.filesystem.read(live.versioned_filename(Live.Manifest[name], name))if Live.manifest[name] thenreturn love.filesystem.read(live.versioned_filename(Live.manifest[name], name))