simplify state management for menus
Dependencies
- [2]
XG6DGBFEhoist a temporary inside a function - [3]
PUXFYOQ4rename a function - [4]
EHKB76GOUI improvement: more stable scrollbar movement - [5]
OJGIQLZWbugfix: only check for settings menu when open - [6]
OGDDLU5Bclose all menus when tapping any button - [7]
4QFVRJ5Uget rid of pane transition animations - [8]
6DJMOJKEsupport event handlers - [9]
XX7G2FFJintermingle freehand line drawings with text - [10]
ORKN6EOBMerge lines.love - [11]
VP5KC4XZMerge lines.love - [12]
RVJNNICYbugfix: autosave settings - [13]
T4FRZSYLdelete an ancient, unused file - [14]
VXORMHMEdelete experimental REPL - [15]
NV4WC3K4new example: interactivity - [16]
73OCE2MCafter much struggle, a brute-force undo - [17]
ESOJS6ZWextract a function - [18]
ZGPYJMP3bugfix: crash when saving to empty file - [19]
YS4AQXJChide other menus when opening one - [20]
UUAIVZ4U2 bugfixes in font rendering - [21]
OGUV4HSAremove some memory leaks from rendered fragments - [22]
2DVVKKVAflesh out Readme - [23]
QD4LOFQRMerge text.love - [24]
LGIEVJE6activate buttons for some time - [25]
ZLJYLPOTMerge lines.love - [26]
VHQCNMARseveral more modules - [27]
VTCPDL3Aresolve conflicts - [28]
VHUNJHXBMerge lines.love - [29]
D2GCFTTTclean up repl functionality - [30]
66X36NZNa little more prose describing manual_tests - [31]
R5QXEHUIsomebody stop me - [32]
34BZ5ZKNMerge lines.love - [33]
6ARK6HWFbugfix: avoid overflowing 'delete' button in some situations - [34]
D2TYFYG2Merge text.love - [35]
TBTRYEBPMerge lines.love - [36]
VLTU33KWresolve conflicts - [37]
FIUQJVL2first draft of load/save buttons - [38]
BULPIBEGbeginnings of a module for the text editor - [39]
VEAVIL4Xresize handler - [40]
47VXAH2Hdelete some old code - [41]
ED4Z6ORCcleaner API for file-system access - [42]
I52S4E5Frunning `print` now appends to output editor - [43]
JV27LDDKsliders for font size and color settings - [44]
TVCPXAAUrename - [45]
5OVKHVY6nice way to make on.* handlers more discoverable - [46]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [47]
MZ3DMYPDstart sketching out a scrollbar - [48]
4GX6NAY4some very basic animations for switching panes - [49]
Q6RXCILQMerge text.love - [50]
6MQCFHXMremember when someone deletes an example - [51]
E75L5QGUok/cancel buttons in file dialog - [52]
4YDBYBA4clean up memory leak experiments - [53]
M5JXTW56Merge text.love - [54]
JOPVPUSAediting source code from within the app - [55]
GWLETNMWMike's suggested button layout - [56]
K2X6G75Zstart writing some tests for drawings - [57]
X2DGB56Usupport undo of paste button - [58]
6VPJTZFSreset file system state with everything else - [59]
4SR3Z4Y3document the version of LÖVE I've been using - [60]
VXRYVZ74Merge text.love - [61]
SW5GN5LPsuggest a default layout for freewheeling apps - [62]
YCPA257Vcopy entire buffer when there's no selection - [63]
KKQKPGCIresolve conflicts - [64]
6RYGW5H3bugfix: output border color - [65]
CE4LZV4Tdrop last couple of manual tests - [66]
CMZDG7CJbugfix: tapping in scrollbar area - [67]
NVZTMKERpartition handlers between screen regions - [68]
D43U7GQ4alter on-disk representation (manifest files) - [69]
YY472LBUresolve conflicts - [70]
OL7ZCZWDMerge text.love - [71]
AVTNUQYRbasic test-enabled framework - [72]
YT7NMQ6Zdelete dead code - [73]
FM5LDKGTMerge text.love - [74]
ZM7NOBRMnew fork: carousel shell - [75]
RK2ASPN7add lots of buttons to the toolbar - [76]
FPSPT5TMshow current pane number - [77]
GFBOJWNEresolve conflicts - [78]
SGMA5JLEsave the list of tests in repo - [79]
SIJ5I4NZextract a helper for buttons - [80]
OOSUBWKXsubject people to a tutorial - [81]
VAVXKWZVaggregate global state inside a 'pane' object - [82]
ZOGPQR4Sreally ignore hidden sliders - [83]
UEG224LHdebug animations - [84]
SJXIMERStype out a filename to load/save - [85]
IP4LD33Dmouse events for scrollbar - [86]
YV2GBDNWpreserve settings across restart - [87]
5JMR2IJSbugfix: save settings on mobile devices - [88]
QLJY3CKCbugfix: use border color in scrollbars - [89]
5RUFNRJOstart of the visual skeleton - [90]
OTIBCAUJlove2d scaffold - [91]
SIASJPGRsave the list of open files across restart - [92]
KMSL74GAsupport selections in the source editor - [93]
3QNOKBFMbeginnings of a test harness - [94]
YF2ATH2QMerge lines.love - [95]
WR2WMEPEimplement 'Run' button - [96]
X2YWEIZSbugfix: missing variable in a button - [97]
W3RRTO4Pextract a second helper for buttons - [98]
TLOAPLBJadd a license - [99]
3MJ2PYMWresolve conflicts - [100]
2L5MEZV3experiment: new edit namespace - [101]
6LJZN727handle chords - [102]
36Z442IVback to commit 8123959e52f without code editing - [103]
ZENSSO3Dpass remaining love handlers through - [104]
N2NUGNN4include a brief reference enabling many useful apps - [105]
Z5M23NTKimplement second, 'output' editor - [106]
RSZD5A7Gforgot to add json.lua - [107]
VUF2SX7Bimplement carousel buttons for inserting/switching current pane - [108]
HVXZLNCCsend errors from event handlers to output editor - [109]
CZQ3NJ4NMerge text0 - [110]
LWPFEZBIMerge lines.love - [111]
5MEJ7XNHlay out buttons based on device dimensions - [112]
VQYLKEGDhandle still narrower screens on phones - [113]
6VJTQKW7start supporting LÖVE v12 - [114]
2CFLXLIEMerge text.love - [115]
KKMFQDR4editing source code from within the app - [116]
BLWAYPKVextract a module - [117]
RU4HIK43Merge lines.love - [118]
CAG7PP5YMerge text.love - [119]
PJ5PQAQErecord support for multiple versions - [120]
QIG72BFJreally really ignore invisible sliders X-( - [121]
FS2ITYYHrecord a known issue - [122]
2Q437U4Fstarting to experiment with animated pane transitions - [123]
QGSOEM7Zbugfix: 'show' button layout - [124]
EZHO4TSWnew file-system format for freewheeling apps - [125]
PRE6XPRNresponsively increase/decrease font height - [126]
LXTTOB33extract a couple of files - [127]
57HKHZ7Zinclude the tool that's mentioned in representation.md - [128]
LRDM35CEapp running again - [129]
3PSFWAILMerge lines.love
Change contents
- file deletion: 0107-Show_overflow
-- True if the overflow menu has been opened and we want to render buttons within it.Show_overflow = false - file deletion: 0080-Show_settings
Show_settings =false - replacement in 0118-overflowable_button at line 8
if not Show_overflow thenif Show_menu ~= 'overflow' then - replacement in 0117-load_button at line 4
Show_overflow = falseShow_settings = falseShow_menu = nil - replacement in 0117-load_button at line 16
end[7.2713]end - replacement in 0116-save_button at line 4
Show_overflow = falseShow_settings = falseShow_menu = nil - replacement in 0116-save_button at line 16
end[7.3147]end - replacement in 0109-overflow_button at line 4
Show_settings = falseShow_overflow = not Show_overflowif Show_menu == 'overflow' thenShow_menu = nilelseShow_menu = 'overflow'end - replacement in 0109-overflow_button at line 11
end[7.54]end - replacement in 0106-stop_button at line 4
Show_overflow = falseShow_settings = falseShow_menu = nil - replacement in 0106-stop_button at line 9
end[7.1469]end - edit in 0086-select_settings_slider at line 2
if not Show_settings then return end - edit in 0084-update_any_sliders at line 2
if not Show_settings then return end - replacement in 0084-update_any_sliders at line 18
end[7.2244]end - file addition: 0080-Show_menu[7.2]
Show_menu = nil - replacement in 0076-delete_pane_button at line 4
Show_overflow = falseShow_settings = falseShow_menu = nil - replacement in 0076-delete_pane_button at line 18
end[7.270]end - replacement in 0074-clear_pane_button at line 4
Show_overflow = falseShow_settings = falseShow_menu = nil - replacement in 0074-clear_pane_button at line 7[6.392]→[7.1310:1313](∅→∅),[7.782]→[7.1310:1313](∅→∅),[7.2271]→[7.1310:1313](∅→∅),[7.1310]→[7.1310:1313](∅→∅)
end[6.392]end - replacement in 0072-settings_button at line 4[7.740]→[6.393:418](∅→∅),[6.418]→[7.5520:5557](∅→∅),[7.740]→[7.5520:5557](∅→∅),[7.1684]→[7.5520:5557](∅→∅),[7.169]→[7.0:29](∅→∅)
Show_overflow = falseShow_settings = not Show_settingsif not Show_settings thenif Show_menu == 'settings' thenShow_menu = nil - edit in 0072-settings_button at line 8
elseShow_menu = 'settings' - replacement in 0072-settings_button at line 12
end[7.748]end - replacement in 0067-paste_button at line 4
Show_overflow = falseShow_settings = falseShow_menu = nil - replacement in 0067-paste_button at line 21
end[7.850]end - replacement in 0066-copy_button at line 4
Show_overflow = falseShow_settings = falseShow_menu = nil - replacement in 0066-copy_button at line 16
end[7.917]end - replacement in 0065-hide_code_button at line 4
Show_overflow = falseShow_settings = falseShow_menu = nil - replacement in 0065-hide_code_button at line 7
end[7.984]end - replacement in 0064-show_code_button at line 4
Show_overflow = falseShow_settings = falseShow_menu = nil - replacement in 0064-show_code_button at line 7[7.114]→[7.5554:5557](∅→∅),[7.283]→[7.5554:5557](∅→∅),[7.1051]→[7.5554:5557](∅→∅),[7.3571]→[7.5554:5557](∅→∅),[7.5554]→[7.5554:5557](∅→∅)
end[7.1051]end - replacement in 0061-new_pane_button at line 4
Show_overflow = falseShow_settings = falseShow_menu = nil - replacement in 0061-new_pane_button at line 9
end[7.1117]end - replacement in 0060-next_pane_button at line 8
Show_overflow = falseShow_settings = falseShow_menu = nil - replacement in 0060-next_pane_button at line 15
end[7.6672]end - replacement in 0059-previous_pane_button at line 8
Show_overflow = falseShow_settings = falseShow_menu = nil - replacement in 0059-previous_pane_button at line 15
end[7.7215]end - replacement in 0051-run_button at line 4
Show_overflow = falseShow_settings = falseShow_menu = nil - replacement in 0051-run_button at line 32[7.195]→[7.1365:1368](∅→∅),[7.4086]→[7.1365:1368](∅→∅),[7.7580]→[7.1365:1368](∅→∅),[7.1365]→[7.1365:1368](∅→∅)
end[7.4086]end - replacement in 0021-draw_menu at line 52
if Show_settings thenif Show_menu == 'settings' then - replacement in 0021-draw_menu at line 55[7.2034]→[7.1096:1099](∅→∅),[7.2238]→[7.1096:1099](∅→∅),[7.5795]→[7.1096:1099](∅→∅),[7.1096]→[7.1096:1099](∅→∅)
end[7.5795]end - replacement in 0017-on.mouse_release at line 9
if Show_settings thenif Show_menu == 'settings' then - replacement in 0017-on.mouse_release at line 40
end[7.1421]end - edit in 0016-on.mouse_press at line 9
Show_overflow = false - replacement in 0016-on.mouse_press at line 10
if Show_settings thenif Show_menu == 'settings' then - replacement in 0016-on.mouse_press at line 14
Show_settings = falseShow_menu = nil - edit in 0016-on.mouse_press at line 22
Show_menu = nil - replacement in 0016-on.mouse_press at line 45
end[7.1606]end