screens now run
Dependencies
- [2]
SIASJPGRsave the list of open files across restart - [3]
WCYQN74Ibugfix: update handlers on new/delete - [4]
PN6VP3LVescape hatch when print is overridden - [5]
GVX7YSQYinitial script after splitting up text-zoom - [6]
V2G455IRclean up a debug print - [7]
6MQCFHXMremember when someone deletes an example - [8]
2AZCZD6XLua Carousel now tested to load/save screens from/to save dir. - [9]
W4EQ6IW4simplify state management for menus - [10]
DZLFYLDUmanually save settings on change to loaded filenames - [11]
5RUFNRJOstart of the visual skeleton - [12]
OGDDLU5Bclose all menus when tapping any button - [13]
SIJ5I4NZextract a helper for buttons - [14]
I52S4E5Frunning `print` now appends to output editor - [15]
ARLTID7Greplace some calls with my names - [16]
RK2ASPN7add lots of buttons to the toolbar - [17]
6ARK6HWFbugfix: avoid overflowing 'delete' button in some situations - [18]
RJPNFXVQnew fork: a personal dashboard for mobile devices - [19]
OOSUBWKXsubject people to a tutorial - [20]
NV4WC3K4new example: interactivity - [21]
VUF2SX7Bimplement carousel buttons for inserting/switching current pane - [22]
MJ6KKFVTgive example panes a name - [23]
ROYQO45Bmount old location of screens if possible - [24]
5MEJ7XNHlay out buttons based on device dimensions - [25]
HVXZLNCCsend errors from event handlers to output editor - [*]
R5QXEHUIsomebody stop me - [*]
ZM7NOBRMnew fork: carousel shell
Change contents
- file addition: abbreviations[5.1]
-- Some abbreviations to reduce typing.g = love.graphicspt, line = g.points, g.linerect, poly = g.rectangle, g.polygoncircle, arc, ellipse = g.circle, g.arc, g.ellipsecolor = g.setColormin, max = math.min, math.maxfloor, ceil = math.floor, math.ceilabs, rand = math.abs, math.randompi, cos, sin = math.pi, math.cos, math.sintouches = love.touch.getTouchestouch = love.touch.getPositionaudio = love.audio.newSource - file addition: 0159-eval_all[27.2]
eval_all = function()for _,f in ipairs(love.filesystem.getDirectoryItems(Directory)) dolocal buf = love.filesystem.read(Directory..f)local status, error = live.eval(buf, f)if not status thenreturn errorendendend - edit in 0102-send_errors_to_output at line 9
Show_code = true - edit in 0076-delete_pane_button at line 5
if Current_pane.example_name thenDeleted_example_panes[Current_pane.example_name] = trueend - edit in 0076-delete_pane_button at line 13
car = Current_pane.car or {} - edit in 0061-new_pane_button at line 5
Current_pane.car = car - edit in 0061-new_pane_button at line 8
car = {} - edit in 0060-next_pane_button at line 9
Current_pane.car = car - edit in 0060-next_pane_button at line 11
car = Current_pane.car or {} - replacement in 0060-next_pane_button at line 13
end[6.6672]end - edit in 0059-previous_pane_button at line 9
Current_pane.car = car - edit in 0059-previous_pane_button at line 11
car = Current_pane.car or {} - replacement in 0059-previous_pane_button at line 13
end[6.7215]end - replacement in 0051-run_button at line 11
local status, result = live.eval(buf, 'editor')local error = eval_all() - replacement in 0051-run_button at line 13
print = Real_printif result thenif error == nil thenShow_code = nilelseprint = Real_printclear_handlers() - replacement in 0051-run_button at line 19
table.insert(Current_pane.output_editor_state.lines, {data=tostring(result)})table.insert(Current_pane.output_editor_state.lines, {data=tostring(error)}) - edit in 0011-on.initialize at line 14
Current_pane_index = 1Current_pane = Panes[Current_pane_index]Current_pane.filename = 'main'one_time_load()elseCurrent_pane_index = 1Current_pane = Panes[Current_pane_index] - edit in 0011-on.initialize at line 22
Current_pane_index = 1Current_pane = Panes[Current_pane_index]