Merge text.love
[?]
Oct 10, 2023, 4:09 AM
D2TYFYG2SQ5FH2ET3WXJ3HFJARQLN5WCMAYZVDTB4DLFRAP3YTSQCDependencies
- [2]
PJ5PQAQErecord support for multiple versions - [3]
44ZJJ5STMerge text.love - [4]
5ML5VGOCMerge text.love - [5]
YF2ATH2QMerge lines.love - [6]
Q6RXCILQMerge text.love - [7]
M5JXTW56Merge text.love - [8]
N2NUGNN4include a brief reference enabling many useful apps - [9]
JCSLDGAHbeginnings of support for multiple shapes - [10]
ZLJYLPOTMerge lines.love - [11]
SGMA5JLEsave the list of tests in repo - [12]
LWPFEZBIMerge lines.love - [13]
OTIBCAUJlove2d scaffold - [14]
RO35V4H4Merge text.love - [15]
VP5KC4XZMerge lines.love - [16]
FS2ITYYHrecord a known issue - [17]
A4BSGS2CMerge lines.love - [18]
AVLAYODPmuch simpler - [19]
XSLCFVFH. - [20]
PP2IIHL6stop putting button state in a global - [21]
ZNLTRNNKhighlight another global - [22]
RU4HIK43Merge lines.love - [23]
2Y7YH7UPinfrastructure for caching LÖVE text objects - [24]
Z4XRNDTRfind text - [25]
TXDMRA5Jbugfix: alt-tab shouldn't emit keypress events - [26]
X43ZIKR3Merge text.love - [27]
SDRXK4X5move - [28]
VXORMHMEdelete experimental REPL - [29]
T4FRZSYLdelete an ancient, unused file - [30]
LXTTOB33extract a couple of files - [31]
ED4Z6ORCcleaner API for file-system access - [32]
WB6SIB7HMerge lines.love - [33]
KWIVKQQ7Merge lines.love - [34]
3QQZ7W4Ebring couple more globals back to the app level - [35]
ECBDENZ4Merge text.love - [36]
2CTN2IEFMerge lines.love - [37]
VOU73AK6Merge lines.love - [38]
JCXL74WVbring back everything from commit a68647ae22 - [39]
UAYCSFSKMerge text.love - [40]
UHB4GARJleft/right margin -> left/right coordinates - [41]
VO3GEIRWuse app name in window title - [42]
RSZD5A7Gforgot to add json.lua - [43]
IGBTDA6YMerge text.love - [44]
R5QXEHUIsomebody stop me - [45]
D2GCFTTTclean up repl functionality - [46]
XX7G2FFJintermingle freehand line drawings with text - [47]
KVHUFUFVreorg - [48]
VHUNJHXBMerge lines.love - [49]
TSK2OXU2. - [50]
Y5XAFGMWMerge text.love - [51]
2JLMNZZIMerge text.love - [52]
QD4LOFQRMerge text.love - [53]
3PSFWAILMerge lines.love - [54]
AVQ5MC5Dfinish uppercasing all globals - [55]
4DHGKUMDMerge text.love - [56]
R6GUSTBYdefault font size and line-height - [57]
K74U4BAUMerge lines.love - [58]
4SR3Z4Y3document the version of LÖVE I've been using - [59]
LXFHXL2NMerge text.love - [60]
GFXWHTE6mouse wheel support - [61]
NEXUNNCFextract a function - [62]
OI4FPFINsupport drawings in the source editor - [63]
B6DS4GZCMerge lines.love - [64]
YGCT2D2Ostart loading settings as applicable - [65]
KMSL74GAsupport selections in the source editor - [66]
APX2PY6Gstop tracking wallclock time - [67]
D2IADHMWlink to default love.run for comparison - [68]
VHQCNMARseveral more modules - [69]
73OCE2MCafter much struggle, a brute-force undo - [70]
UH4YWHW5button framework is at the app level - [71]
OGUV4HSAremove some memory leaks from rendered fragments - [72]
TVCPXAAUrename - [73]
6VXO3ZL3just keep the cursor visible after any input events - [74]
WQOSZSUEwarn on unused commandline args - [75]
4YDBYBA4clean up memory leak experiments - [76]
BLWAYPKVextract a module - [77]
YMH3YXXItitle - [78]
LNUHQOGHstart passing in Editor_state explicitly - [79]
HPVT467Winitialize contains test state - [80]
66X36NZNa little more prose describing manual_tests - [81]
C3GUE45IMerge text.love - [82]
IM6GSGVZfix some arg names - [83]
6LJZN727handle chords - [84]
MD3W5IRAnew fork: rip out drawing support - [85]
YXQOITYSMerge lines.love - [86]
FM5LDKGTMerge text.love - [87]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [88]
BULPIBEGbeginnings of a module for the text editor - [89]
BYG5CEMVsupport for naming points - [90]
2L5MEZV3experiment: new edit namespace - [91]
K2X6G75Zstart writing some tests for drawings - [92]
AVTNUQYRbasic test-enabled framework - [93]
JOPVPUSAediting source code from within the app - [94]
CUFW4EJLreorganize app.lua and its comments - [95]
6VJTQKW7start supporting LÖVE v12 - [96]
KKMFQDR4editing source code from within the app - [97]
GQBMVYD4Merge text.love - [98]
HRWN5V6JDevine's suggestion to try to live with just freehand - [99]
2CFLXLIEMerge text.love - [100]
3QNOKBFMbeginnings of a test harness - [101]
36Z442IVback to commit 8123959e52f without code editing - [102]
5FW7YOFThighlight selection while dragging - [103]
34BZ5ZKNMerge lines.love - [104]
VXRYVZ74Merge text.love - [105]
CE4LZV4Tdrop last couple of manual tests - [106]
LF7BWEG4group all editor globals - [107]
Z4KNS42Nto open a file without a terminal, drag it on! - [108]
2344TV56Merge lines.love - [109]
ORKN6EOBMerge lines.love - [110]
XGHCLIKBMerge lines.love - [111]
TLOAPLBJadd a license - [112]
D4B52CQ2Merge lines.love
Change contents
- file deletion: source_text_tests.lua source_text_tests.lua
check_eq(Editor_state.cursor1.pos, 25, 'cursor:pos')endfunction test_backspace_can_scroll_up()edit.run_after_mouse_release(Editor_state, Editor_state.left+2,Editor_state.top+Editor_state.line_height*2+5, 1)-- cursor should moveif Version == '12.0' then-- HACK: Maybe v12.0 uses a different font? Strange that it only causes-- issues in a couple of places.-- We'll need to rethink our tests if issues like this start to multiply.App.screen.check(y, 'mno ', 'screen:3')elseApp.screen.check(y, 'mn', 'screen:3')endendfunction test_pagedown_never_moves_up() - replacement in main.lua at line 19
local major, minor = love.getVersion()Version = major..'.'..minorlocal minor_versionMajor_version, minor_version = love.getVersion()Version = Major_version..'.'..minor_version - edit in main.lua at line 33[6.58]→[6.8:9](∅→∅),[6.70]→[6.8:9](∅→∅),[6.2321]→[6.8:9](∅→∅),[6.85928]→[6.8:9](∅→∅),[6.746]→[6.8:9](∅→∅),[6.115]→[6.20:30](∅→∅),[6.115]→[6.20:30](∅→∅)
endend - resurrect zombie in main.lua at line 33
- edit in main.lua at line 34
function App.version_check()-- available modes: run, errorError_message = nilError_count = 0-- we'll reuse error mode on load for an initial version checklocal supported_versions = {'11.4', '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 thenCurrent_app = '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 - resurrect zombie in main.lua at line 179[2.681]→[6.6045:6071](∅→∅),[6.1373]→[6.6045:6071](∅→∅),[2.681]→[6.6045:6071](∅→∅),[6.1373]→[6.6045:6071](∅→∅)
edit.draw(Editor_state) - edit in main.lua at line 180[6.6071]→[6.46:46](∅→∅),[6.187951]→[6.46:46](∅→∅),[6.1373]→[5.511:777](∅→∅),[6.1373]→[5.511:777](∅→∅),[6.187951]→[5.779:779](∅→∅),[6.187951]→[5.779:779](∅→∅)
if Current_app == 'error' thenlove.graphics.setColor(0,0,1)love.graphics.rectangle('fill', 0,0, App.screen.width, App.screen.height)love.graphics.setColor(1,1,1)love.graphics.printf(Error_message, 40,40, 600)elseif Current_app == 'run' then - resolve order conflict in main.lua at line 180
- edit in main.lua at line 244
if Current_app == 'error' thenif chord == 'C-c' thenlove.system.setClipboardText(Error_message)endreturnend - resolve order conflict in main.lua at line 244
- resurrect zombie in main.lua at line 247
if Mode == 'version_check' then return end - edit in main.lua at line 248
if Current_app == 'error' then return end - resolve order conflict in main.lua at line 248
- edit in main.lua at line 261
if Current_app == 'error' then return end - resolve order conflict in main.lua at line 261
- edit in main.lua at line 268[6.507]→[3.12:12](∅→∅),[6.190074]→[5.900:944](∅→∅),[6.190074]→[5.900:944](∅→∅),[6.190738]→[5.996:1040](∅→∅),[6.190738]→[5.996:1040](∅→∅),[6.1071]→[5.949:993](∅→∅),[6.1071]→[5.949:993](∅→∅),[6.1071]→[5.949:993](∅→∅),[6.190711]→[5.995:995](∅→∅),[6.190711]→[5.995:995](∅→∅),[6.355]→[5.946:946](∅→∅),[6.355]→[5.946:946](∅→∅),[6.355]→[5.946:946](∅→∅),[6.889]→[5.948:948](∅→∅),[6.889]→[5.948:948](∅→∅),[6.889]→[5.948:948](∅→∅),[6.889]→[5.948:948](∅→∅),[6.213]→[5.899:899](∅→∅),[6.213]→[5.899:899](∅→∅),[6.213]→[5.899:899](∅→∅),[5.948]→[6.1360:1404](∅→∅),[6.925]→[6.1360:1404](∅→∅),[6.925]→[6.1360:1404](∅→∅),[6.925]→[6.1360:1404](∅→∅),[6.268]→[5.1042:1042](∅→∅),[6.268]→[5.1042:1042](∅→∅)
if Current_app == 'error' then return endif Current_app == 'error' then return endif Current_app == 'error' then return endif Current_app == 'error' then return end - resolve order conflict in main.lua at line 268[6.507]
- resurrect zombie in app.lua at line 11[2.1147]→[6.4069:4091](∅→∅),[6.54]→[6.4069:4091](∅→∅),[6.54]→[6.4069:4091](∅→∅),[2.1147]→[6.4069:4091](∅→∅)
App.snapshot_love() - edit in app.lua at line 12[6.4091]→[6.84:84](∅→∅),[6.209243]→[6.84:84](∅→∅),[6.54]→[5.1058:1080](∅→∅),[6.54]→[5.1058:1080](∅→∅),[6.209243]→[5.1082:1082](∅→∅),[6.209243]→[5.1082:1082](∅→∅)
App.version_check() - resolve order conflict in app.lua at line 12