resolve conflicts
Dependencies
- [2]
LHG2QWSOresolve conflicts - [3]
VMV4LBR4resolve conflicts - [4]
VPRGENLAhide some details within the 'warning' state - [5]
TSK2OXU2. - [6]
ORKN6EOBMerge lines.love - [7]
EWJZ6XHBbetter formatting - [8]
R6GUSTBYdefault font size and line-height - [9]
4VKEE43Zbugfix - [10]
HR6MLUTXshow count of test failures - [11]
FJIGUGECbugfix: version check - [12]
M6JI7UJ7obsolete comment - [13]
YGCT2D2Ostart loading settings as applicable - [14]
IM6GSGVZfix some arg names - [15]
S7ZZA3YEugh, handle absolute as well as relative paths - [16]
G3VLJLDHuse the background color - [17]
2CK5QI7Wmake love event names consistent - [18]
OTIBCAUJlove2d scaffold - [19]
3QNOKBFMbeginnings of a test harness - [20]
CUFW4EJLreorganize app.lua and its comments - [21]
6VJTQKW7start supporting LÖVE v12 - [22]
5XQ4Y7NUreorg manual tests doc - [23]
AVTNUQYRbasic test-enabled framework - [24]
WQOSZSUEwarn on unused commandline args - [25]
ORRSP7FVdeduce test names on failures - [26]
6VXO3ZL3just keep the cursor visible after any input events - [27]
AVLAYODPmuch simpler - [28]
2Y7YH7UPinfrastructure for caching LÖVE text objects - [29]
A4BSGS2CMerge lines.love - [30]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [31]
TXDMRA5Jbugfix: alt-tab shouldn't emit keypress events - [32]
JOPVPUSAediting source code from within the app - [33]
Z4KNS42Nto open a file without a terminal, drag it on! - [34]
VP5KC4XZMerge lines.love - [35]
4U4VQWNYMerge lines.love - [36]
5FW7YOFThighlight selection while dragging - [37]
BYG5CEMVsupport for naming points - [38]
MHOUX5JFexperiment: turn off JIT - [39]
APX2PY6Gstop tracking wallclock time - [40]
3XQROLSKredo version checks yet again - [41]
XGHCLIKBMerge lines.love - [42]
3QQZ7W4Ebring couple more globals back to the app level - [43]
7SICLTEDcheck for 'error' mode in a few more places - [44]
LNUHQOGHstart passing in Editor_state explicitly - [45]
ZLJYLPOTMerge lines.love - [46]
2CTN2IEFMerge lines.love - [47]
YF2ATH2QMerge lines.love - [48]
O5F6DNPG_yet another_ bugfix to the version check X-( - [49]
NEXUNNCFextract a function - [50]
QFOQPDDWMerge lines.love - [51]
VOU73AK6Merge lines.love - [52]
Z4XRNDTRfind text - [53]
HZRO5BV5require editor margins to be ints - [54]
KKMFQDR4editing source code from within the app - [55]
FE25XVZYyet another bugfix to the version check - [56]
XSLCFVFH. - [57]
AJB4LFRBtry to maintain a reasonable line width - [58]
JCSLDGAHbeginnings of support for multiple shapes - [59]
GFXWHTE6mouse wheel support - [60]
HRWN5V6JDevine's suggestion to try to live with just freehand - [61]
Z2VZTIXYredo version checks - [62]
2L5MEZV3experiment: new edit namespace
Change contents
- edit in main.lua at line 35
if Current_app == nil thenCurrent_app = 'run' - resurrect zombie in main.lua at line 35
-- Current_app =-- | run-- | source-- | {name=warning message='...' next_app = run|source} - edit in main.lua at line 40
if Current_app == nil thenCurrent_app = 'run' - edit in main.lua at line 78
end - resurrect zombie in main.lua at line 78
function App.initialize_globals()Supported_versions = {'11.5', '11.4', '12.0'} -- put the recommended version firstcheck_love_version_for_tests() - edit in main.lua at line 82
function App.initialize_globals() - resurrect zombie in main.lua at line 82
if Current_app == 'run' thenrun.initialize_globals()elseif Current_app == 'source' thensource.initialize_globals() - edit in main.lua at line 86
elseif Current_app == 'error' then - resurrect zombie in main.lua at line 86
elseassert(false, 'unknown app "'..Current_app..'"')end - edit in main.lua at line 86
elseif current_app_is_warning() then - resurrect zombie in main.lua at line 95
end - edit in main.lua at line 95
-- Another weird bit for a class of corner cases. E.g.:-- * I press ctrl+e, switch Current_app. I don't want the new app to receive-- text_input and key_release events.-- If I try to avoid text_input events by switching modes on key_release, I-- hit a new problem:-- * I press ctrl+e, am running an untested version, Current_app goes to-- 'warning', and immediately rolls back out of 'warning' in the-- key_release event.-- Skip_rest_of_key_events is ugly, but feels cleaner than creating yet-- another possible value for Current_app.Skip_rest_of_key_events = nil - edit in main.lua at line 108
function check_love_version_for_tests()if array.find(Supported_versions, Version) == nil then-- warning to include in an error message if any tests failedWarning_before_tests = ("This app hasn't been tested with LÖVE version %s."):format(Version) - edit in main.lua at line 155
if current_app_is_warning() then return end - edit in main.lua at line 160
if current_app_is_warning() then return endelseif Current_app == 'error' then - resolve order conflict in main.lua at line 160
- edit in main.lua at line 166
if current_app_is_warning() then return end - replacement in main.lua at line 184
elseif Current_app == 'error' thenelseif current_app_is_warning() then - replacement in main.lua at line 188
love.graphics.printf(Error_message, 40,40, 600)love.graphics.printf(Current_app.message, 40,40, 600) - edit in main.lua at line 192[5.187951]→[2.237:237](∅→∅),[5.330]→[4.663:702](∅→∅),[5.330]→[4.663:702](∅→∅),[5.330]→[4.663:702](∅→∅),[5.956]→[4.703:761](∅→∅),[5.956]→[4.703:761](∅→∅),[5.956]→[4.703:761](∅→∅)
elseif current_app_is_warning() thenlove.graphics.printf(Current_app.message, 40,40, 600) - resolve order conflict in main.lua at line 192
- edit in main.lua at line 264
if Current_app == 'error' then return end - resurrect zombie in main.lua at line 264
-- ignore events for some time after window in focus (mostly alt-tab) - edit in main.lua at line 264
if current_app_is_warning() then return end - edit in main.lua at line 281
if current_app_is_warning() then return end - replacement in main.lua at line 298
if Current_app == 'error' then return endif current_app_is_warning() then return end - edit in main.lua at line 310[5.889]→[5.948:948](∅→∅),[5.889]→[5.948:948](∅→∅),[5.948]→[5.1360:1404](∅→∅),[5.925]→[5.1360:1404](∅→∅),[5.925]→[5.1360:1404](∅→∅)
if Current_app == 'error' then return end - resurrect zombie in main.lua at line 310
if current_app_is_warning() then return end - resolve order conflict in main.lua at line 310
- replacement in main.lua at line 321
if Current_app == 'error' then return endif current_app_is_warning() then return end - replacement in main.lua at line 332
if Current_app == 'error' then return endif current_app_is_warning() then return end - edit in main.lua at line 363
- edit in main.lua at line 368[5.191282]→[4.1145:1191](∅→∅),[5.191282]→[4.1145:1191](∅→∅),[5.190979]→[4.1051:1097](∅→∅),[5.190979]→[4.1051:1097](∅→∅),[5.190617]→[4.1004:1050](∅→∅),[5.190617]→[4.1004:1050](∅→∅),[5.57]→[4.957:1003](∅→∅),[5.57]→[4.957:1003](∅→∅),[5.1512]→[4.910:956](∅→∅),[5.1512]→[4.910:956](∅→∅),[5.188032]→[4.616:662](∅→∅),[5.188032]→[4.616:662](∅→∅),[5.414]→[5.20:377](∅→∅),[5.414]→[5.20:377](∅→∅),[5.414]→[5.20:377](∅→∅),[5.377]→[4.187:282](∅→∅),[5.377]→[4.187:282](∅→∅),[5.377]→[4.187:282](∅→∅),[4.282]→[5.468:619](∅→∅),[5.468]→[5.468:619](∅→∅),[5.468]→[5.468:619](∅→∅),[5.468]→[5.468:619](∅→∅),[5.672]→[5.299:401](∅→∅),[5.414]→[5.299:401](∅→∅),[5.414]→[5.299:401](∅→∅),[5.414]→[5.299:401](∅→∅),[5.432]→[5.432:596](∅→∅),[5.432]→[5.432:596](∅→∅),[5.432]→[5.432:596](∅→∅),[5.186894]→[4.147:186](∅→∅),[5.186894]→[4.147:186](∅→∅)
if current_app_is_warning() then return endif current_app_is_warning() then return endif current_app_is_warning() then return endif current_app_is_warning() then return endif current_app_is_warning() then return endif current_app_is_warning() then return end-- Another weird bit for a class of corner cases. E.g.:-- * I press ctrl+e, switch Current_app. I don't want the new app to receive-- text_input and key_release events.-- If I try to avoid text_input events by switching modes on key_release, I-- hit a new problem:-- * I press ctrl+e, am running an untested version, Current_app goes to-- 'warning', and immediately rolls back out of 'warning' in the-- key_release event.-- Skip_rest_of_key_events is ugly, but feels cleaner than creating yet-- another possible value for Current_app.Skip_rest_of_key_events = nilendfunction check_love_version_for_tests()if array.find(Supported_versions, Version) == nil then-- warning to include in an error message if any tests failedWarning_before_tests = ("This app hasn't been tested with LÖVE version %s."):format(Version)elseif current_app_is_warning() then - resolve order conflict in main.lua at line 368[4.1581]
- edit in app.lua at line 11
Version, Major_version = App.love_version() - edit in app.lua at line 88
function App.love_version()local major_version, minor_version = love.getVersion()local version = major_version..'.'..minor_versionreturn version, major_versionend - replacement in app.lua at line 111
error(('There were %d test failures:\n\n%s'):format(#Test_errors, table.concat(Test_errors)))local error_message = ''if Warning_before_tests thenerror_message = Warning_before_tests..'\n\n'enderror_message = error_message .. ('There were %d test failures:\n%s'):format(#Test_errors, table.concat(Test_errors))error(error_message) - edit in app.lua at line 527[5.5849]→[5.1198:1372](∅→∅),[5.5849]→[5.1198:1372](∅→∅),[5.60589]→[5.1373:1641](∅→∅),[5.60589]→[5.1373:1641](∅→∅),[5.54]→[5.1017:1063](∅→∅),[5.54]→[5.1017:1063](∅→∅)
function App.love_version()local major_version, minor_version = love.getVersion()local version = major_version..'.'..minor_versionreturn version, major_versionendlocal error_message = ''if Warning_before_tests thenerror_message = Warning_before_tests..'\n\n'enderror_message = error_message .. ('There were %d test failures:\n%s'):format(#Test_errors, table.concat(Test_errors))error(error_message)Version, Major_version = App.love_version() - resolve order conflict in app.lua at line 527[5.8166]
- replacement in Manual_tests.md at line 20
- run with an unsupported version. Error message pops up and waits for a key. The app attempts to continue, and doesn't receive the key.- run with an untested version. Error message pops up and waits for a key. The app attempts to continue, and doesn't receive the key.- run with a LÖVE v12 release candidate. No errors; it is a supported version. All tests pass. - edit in Manual_tests.md at line 62[5.16279]→[3.181:181](∅→∅),[5.156]→[5.1642:1778](∅→∅),[5.156]→[5.1642:1778](∅→∅),[5.156]→[5.1642:1778](∅→∅),[5.1778]→[5.23:121](∅→∅),[5.295]→[5.23:121](∅→∅),[5.295]→[5.23:121](∅→∅),[5.295]→[5.23:121](∅→∅)
- run with an untested version. Error message pops up and waits for a key. The app attempts to continue, and doesn't receive the key.- run with a LÖVE v12 release candidate. No errors; it is a supported version. All tests pass. - resolve order conflict in Manual_tests.md at line 62[5.16279]