Merge lines.love
[?]
Dec 24, 2022, 3:07 AM
ACTERT222ETZT5HPYW4XAI2SNEYFRUIZULHUZHWJFHWJGMTHGR4ACDependencies
- [2]
UVJ6OCOEMerge lines.love - [3]
PTICQ76QMerge lines.love - [4]
2CK5QI7Wmake love event names consistent - [5]
WDMPH4ANdrop support for squares - [6]
OWK3U6VDtests for drawing polygons - [7]
S7ZZA3YEugh, handle absolute as well as relative paths - [8]
PX7DDEMOautosave slightly less aggressively - [9]
JRLBUB6Lmore intuitive point delete from polygons - [10]
RT6EV6OPdelegate update events to drawings - [11]
AVTNUQYRbasic test-enabled framework - [12]
LF7BWEG4group all editor globals - [13]
APYPFFS3call edit rather than App callbacks in tests - [14]
4AXV2HG4all pending manual tests done! - [15]
JCSLDGAHbeginnings of support for multiple shapes - [16]
OEUU62GMMerge upstream into main - [17]
3QQZ7W4Ebring couple more globals back to the app level - [18]
KKMFQDR4editing source code from within the app - [19]
W7JMT5V2rip out most support for polygons - [20]
APX2PY6Gstop tracking wallclock time - [21]
7DYUAOI6test: undo moving point - [22]
EQP53UQVautosave slightly less aggressively - [23]
2L5MEZV3experiment: new edit namespace - [24]
7CEOB56DMerge upstream into main - [25]
TGZAJUEFbring back a set of constants - [26]
LXW73CJ3Merge lines.love - [27]
KVHUFUFVreorg - [28]
KAUD3YIKtests: deleting points/shapes - [29]
27DROQW2Merge upstream into main - [30]
OAHNWDYG. - [31]
XX7G2FFJintermingle freehand line drawings with text - [32]
LNUHQOGHstart passing in Editor_state explicitly - [33]
HRWN5V6JDevine's suggestion to try to live with just freehand - [34]
BCRJ6MHLMerge upstream into main - [35]
RZKXJYFKswitch a bunch of tests to textinput events - [36]
7S6CIN7IMerge upstream into main - [37]
TXDMRA5Jbugfix: alt-tab shouldn't emit keypress events - [*]
OTIBCAUJlove2d scaffold - [*]
K2X6G75Zstart writing some tests for drawings
Change contents
- resurrect zombie in main.lua at line 157
end - edit in main.lua at line 159
function App.keychord_pressed(chord, key) - resurrect zombie in main.lua at line 159
function App.keychord_press(chord, key) - resolve order conflict in main.lua at line 159
- resurrect zombie in main.lua at line 160
-- ignore events for some time after window in focus (mostly alt-tab) - resurrect zombie in main.lua at line 162
returnend--if chord == 'C-e' then-- carefully save settingsif Current_app == 'run' thenlocal source_settings = Settings.sourceSettings = run.settings()Settings.source = source_settingsif run.quit then run.quit() endCurrent_app = 'source'elseif Current_app == 'source' thenSettings.source = source.settings()if source.quit then source.quit() endCurrent_app = 'run'elseassert(false, 'unknown app "'..Current_app..'"')endSettings.current_app = Current_applove.filesystem.write('config', json.encode(Settings))-- rebootload_file_from_source_or_save_directory('main.lua')App.undo_initialize()App.run_tests_and_initialize()return - replacement in drawing_tests.lua at line 249
edit.run_after_textinput(Editor_state, '5')edit.run_after_text_input(Editor_state, '5') - edit in drawing_tests.lua at line 670[5.2215]→[3.75:75](∅→∅),[5.6915]→[4.7032:7096](∅→∅),[5.6915]→[4.7032:7096](∅→∅),[5.6915]→[4.7032:7096](∅→∅),[5.6996]→[4.7097:7158](∅→∅),[5.6996]→[4.7097:7158](∅→∅),[5.6996]→[4.7097:7158](∅→∅),[5.7077]→[4.7159:7220](∅→∅),[5.7077]→[4.7159:7220](∅→∅),[5.7077]→[4.7159:7220](∅→∅),[5.7378]→[4.7221:7285](∅→∅),[5.7378]→[4.7221:7285](∅→∅),[5.7378]→[4.7221:7285](∅→∅),[5.7459]→[4.7286:7347](∅→∅),[5.7459]→[4.7286:7347](∅→∅),[5.7459]→[4.7286:7347](∅→∅),[5.4564]→[4.6824:6887](∅→∅),[5.4564]→[4.6824:6887](∅→∅),[5.4564]→[4.6824:6887](∅→∅),[5.4645]→[4.6888:6935](∅→∅),[5.4645]→[4.6888:6935](∅→∅),[5.4645]→[4.6888:6935](∅→∅),[5.4726]→[4.6936:6983](∅→∅),[5.4726]→[4.6936:6983](∅→∅),[5.4726]→[4.6936:6983](∅→∅),[5.3256]→[4.6371:6435](∅→∅),[5.3256]→[4.6371:6435](∅→∅),[5.3256]→[4.6371:6435](∅→∅),[5.3337]→[4.6436:6497](∅→∅),[5.3337]→[4.6436:6497](∅→∅),[5.3337]→[4.6436:6497](∅→∅)
edit.run_after_text_input(Editor_state, 'g') -- polygon modeedit.run_after_text_input(Editor_state, 'p') -- add pointedit.run_after_text_input(Editor_state, 'p') -- add pointedit.run_after_text_input(Editor_state, 'g') -- polygon modeedit.run_after_text_input(Editor_state, 'p') -- add pointedit.run_after_text_input(Editor_state, 's') -- square modeedit.run_after_text_input(Editor_state, 'p')edit.run_after_text_input(Editor_state, 'p')edit.run_after_text_input(Editor_state, 'g') -- polygon modeedit.run_after_text_input(Editor_state, 'p') -- add point - resolve order conflict in drawing_tests.lua at line 670[5.2215]