resolve conflicts
Dependencies
- [2]
5RLCALX5Merge text0 - [3]
THJX6RCJMerge text0 - [4]
JZTUZQ35resolve conflicts - [5]
POQ23S4Hfix startup test failures from the driver - [6]
XSKVRP2Sresolve conflicts - [7]
ULKNZUZKresolve conflicts - [8]
N2NUGNN4include a brief reference enabling many useful apps - [9]
NVTUHXC4maintain the initial font size in a global - [10]
D2TYFYG2Merge text.love - [11]
2Y7YH7UPinfrastructure for caching LÖVE text objects - [12]
SDRXK4X5move - [13]
36Z442IVback to commit 8123959e52f without code editing - [14]
B5SFL7HPMerge text0 - [15]
OTIBCAUJlove2d scaffold - [16]
JCSLDGAHbeginnings of support for multiple shapes - [17]
E3PF2R6Qstray dead code - [18]
T7QIIGQ6attempt at better error recovery - [19]
Z2VZTIXYredo version checks - [20]
M7UODV5HMerge text0 - [21]
QMSYY47GMerge text0 - [22]
QRUFNFPPMerge text0 - [23]
JFFUF5ALoverride mouse state lookups in tests - [24]
ZLJGZYQGselect text with shift + mouseclick - [25]
YT5P6TO6bugfix: save previous file when dropping a new one on - [26]
LRDM35CEapp running again - [27]
ZC7UBMKIpijul bug - [28]
CZQ3NJ4NMerge text0 - [29]
JOPVPUSAediting source code from within the app - [30]
PESSMQBJno, make sure to compute line width after screen dimensions - [31]
MX7YD2WCresolve conflicts - [32]
AVTNUQYRbasic test-enabled framework - [33]
C3GUE45IMerge text.love - [34]
CYGNFOA5Merge text0 - [35]
KWIIU3KRdocument available modes - [36]
AD34IX2Zcouple more tests - [37]
JF5L2BBStest harness now supports copy/paste - [38]
YJ6ASFBGyet another fork trying to integrate my live framework with everything else - [39]
TSV3KPBRtweak format of test failures - [40]
YF2ATH2QMerge lines.love - [41]
3XQROLSKredo version checks yet again - [42]
TXDMRA5Jbugfix: alt-tab shouldn't emit keypress events - [43]
Y5XAFGMWMerge text.love - [44]
PJ5PQAQErecord support for multiple versions - [45]
FE25XVZYyet another bugfix to the version check - [46]
LXFHXL2NMerge text.love - [47]
TVSDIF6Dresolve conflicts - [48]
2CTN2IEFMerge lines.love - [49]
JXI7KJSLMerge text0 - [50]
GSIADI3Srun all tests on startup - [51]
RHARLLIQMerge text0 - [52]
KKMFQDR4editing source code from within the app - [53]
APX2PY6Gstop tracking wallclock time - [54]
VUAAYL6Xhandlers for _all_ LÖVE events - [55]
GQBMVYD4Merge text.love - [56]
ARYMNK52merge bugfix: show test failures - [57]
VPRGENLAhide some details within the 'warning' state - [58]
JNJ4R56Xsupport running tests multiple times - [59]
ZKH2N6MNMerge text0 - [60]
YGCT2D2Ostart loading settings as applicable - [61]
ORRSP7FVdeduce test names on failures - [62]
G2SVT3ROMerge text0 - [63]
AFDLKNAPresolve conflicts - [64]
2ZCXBDLYMerge text.love - [*]
3QNOKBFMbeginnings of a test harness - [*]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing
Change contents
- edit in reference.md at line 24
## Functions you can implement that will get automatically called - resurrect zombie in reference.md at line 24
* `Version` -- the running version of LÖVE as a string, e.g. '11.4'.* `Major_version` -- just the part before the period as an int, e.g. 11. - edit in reference.md at line 27
## Functions you can implement that will get automatically called - edit in main.lua at line 15[8.38]→[8.8:161](∅→∅),[8.38]→[8.8:161](∅→∅),[8.161]→[6.10:128](∅→∅),[8.120]→[8.124:243](∅→∅),[6.128]→[8.124:243](∅→∅),[8.124]→[8.124:243](∅→∅),[8.243]→[8.162:530](∅→∅),[8.240]→[8.162:530](∅→∅),[8.240]→[8.162:530](∅→∅),[8.243]→[8.162:530](∅→∅),[8.530]→[8.122:122](∅→∅),[8.530]→[8.122:122](∅→∅)
-- available modes: run, errorMode = 'run'Error_message = nilError_count = 0-- we'll reuse error mode on load for an initial version checkSupported_versions = {'11.5', '11.4', '11.3', '11.2', '11.1', '11.0', '12.0'} -- put the recommended version firstlocal minor_versionMajor_version, minor_version = love.getVersion()Version = Major_version..'.'..minor_versionif array.find(Supported_versions, Version) == nil thenMode = 'error'Error_message = ("This app doesn't support version %s; please use version %s. Press any key to try it with this version anyway."):format(Version, Supported_versions[1])print(Error_message)-- continue initializing everything; hopefully we won't have errors during initialization - replacement in main.lua at line 17
Supported_versions = {'11.5', '11.4', '12.0'} -- put the recommended version firstcheck_love_version_for_tests()Supported_versions = {'11.5', '11.4', '11.3', '11.2', '11.1', '11.0', '12.0'} -- put the recommended version first-- Mode initialized elsewhere. Available modes: run, errorError_count = 0 - edit in main.lua at line 32
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)endend - edit in main.lua at line 40
- edit in main.lua at line 66
-- we'll reuse error mode on load for an initial version check - replacement in main.lua at line 68
Mode = 'version_check'Mode = 'error'if Error_message == nil then Error_message = '' endError_message = ("This app hasn't been tested with LÖVE version %s; please use version %s if you run into errors. Press a key to try recovering.\n\n%s"):format(Version, Supported_versions[1], Error_message)print(Error_message) - edit in main.lua at line 160
love.graphics.printf(("This app hasn't been tested with LÖVE version %s; please switch to version %s if you run into issues. Press any key to continue."):format(Version, Supported_versions[1]), 40,40, 400) - resurrect zombie in main.lua at line 160
returnend - resolve order conflict in main.lua at line 160
- edit in main.lua at line 163
- resolve order conflict in main.lua at line 163
- edit in main.lua at line 225
- resolve order conflict in main.lua at line 225
- edit in main.lua at line 229
- resolve order conflict in main.lua at line 229
- edit in main.lua at line 235
- resolve order conflict in main.lua at line 235
- edit in main.lua at line 264[8.247]→[6.130:130](∅→∅),[8.466]→[7.634:634](∅→∅),[8.466]→[7.634:634](∅→∅),[8.336]→[7.636:636](∅→∅),[8.336]→[7.636:636](∅→∅),[7.636]→[8.1577:1581](∅→∅),[8.1577]→[8.1577:1581](∅→∅),[8.1581]→[7.638:638](∅→∅)
end - resolve order conflict in main.lua at line 264[8.247]
- edit in app.lua at line 142
print('tests failed; mode error') - edit in app.lua at line 145
Error_message = 'There were test failures:\n\n'..table.concat(Test_errors, '\n')live.send_run_time_error_to_driver(Error_message)local error_message = '' - resolve order conflict in app.lua at line 145[5.50]
- edit in app.lua at line 145
Error_message = '' - replacement in app.lua at line 147
error_message = Warning_before_tests..'\n\n'Error_message = Warning_before_tests..'\n\n' - replacement in app.lua at line 149
error_message = error_message .. ('There were %d test failures:\n%s'):format(#Test_errors, table.concat(Test_errors))error(error_message)Error_message = Error_message .. 'There were test failures:\n\n'..table.concat(Test_errors, '\n')live.send_run_time_error_to_driver(Error_message) - edit in app.lua at line 153
App.version_check() - edit in app.lua at line 551
- edit in Manual_tests.md at line 13
- create a couple of spuriously failing tests. Run with an untested version. Error message includes message about untested version.