autosave slightly less aggressively
[?]
Jun 17, 2022, 10:42 PM
EQP53UQV3YCW43IDOGQSGA6YTPNRTLCMGHSHUBDZNHNSWLX5WO7ACDependencies
- [2]
NQKFQSZEundo creating new drawings - [3]
3GFQP6IRstop saving the entire file when modifying drawings - [4]
SR7L4QPZrevert previous commit - [5]
7CLGG7J2test: autosave after any shape - [6]
Y4VYNEGFtest: autosave after name/move/delete of point - [7]
4AXV2HG4all pending manual tests done! - [8]
2ENZW7TVselect text using mouse drag - [9]
XNFTJHC4split keyboard handling between Text and Drawing - [10]
RT6EV6OPdelegate update events to drawings - [11]
65XHTZEKregression: couldn't do many drawing operations because line.y was reset - [12]
GN3IF4WFbugfix: pasting newlines - [13]
IDG26SXKbugfix in commit e51ce12969 - [14]
AVTNUQYRbasic test-enabled framework - [15]
SHEGBK4Hwhile we're at it, undo naming points - [16]
JFFUF5ALoverride mouse state lookups in tests - [17]
WIDXZBNWexperiment: extremely precise scrolling on paste - [18]
DLQMM265scroll past first page - [19]
HMODUNJEscroll on backspace - [20]
DRFE3B3Zmouse buttons are integers, not strings - [21]
TVM2WIHHbugfix: autosave and undo in a couple of cases - [22]
T7IWZFL4more precise scroll on paste - [23]
BTKAW76Lrename - [24]
K464QQR4more defensive resize handling - [25]
2RXZ3PGObeginning of a new approach to scroll+wrap - [26]
J2SVGR2Eexperiment: blinking cursor - [27]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [28]
DHI6IJCNselecting text and deleting selections - [29]
QVDQMJXVavoid scrolling down if possible - [30]
VJ77YABHmore efficient undo/redo - [31]
73OCE2MCafter much struggle, a brute-force undo - [32]
Z4XRNDTRfind text - [33]
OTIBCAUJlove2d scaffold - [34]
NQWWTGXRswitch undo/redo to ctrl- hotkeys - [35]
CG3264MMmove - [36]
252M2QMDforgot to move this special case out - [37]
LS55YKGWswitch copy/paste to ctrl- hotkeys - [38]
VC2CU2GGfaster paste - [39]
PHFWIFYKscroll on enter - [40]
AMSESRTHmove some code - [41]
RF5ALVNYallow the window to be resized - [42]
SN2QONLIautosave on cut/paste - [43]
AYE2VEGJextract a couple of methods - [44]
DHCLUDCW. - [45]
IRCKL6VNextract scrolling logic out of insert_at_cursor - [46]
G3C4FKPRbugfix: missed fixing a callsite - [47]
T7SJSJIHtest: undo naming a point - [48]
2ZYV7D3Whandle tab characters - [49]
OGUV4HSAremove some memory leaks from rendered fragments - [50]
SQLVYKVJrename - [51]
JCSLDGAHbeginnings of support for multiple shapes - [52]
BYG5CEMVsupport for naming points - [53]
3TDOZESEextract scrolling logic out of insert_return - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
PGZJ6NATensure Filename is writable when opened outside a terminal - [*]
AD34IX2Zcouple more tests - [*]
KVHUFUFVreorg - [*]
K2X6G75Zstart writing some tests for drawings - [*]
42LVB4DEtest: naming a point - [*]
L6XA5EY2test: moving a point - [*]
KAUD3YIKtests: deleting points/shapes - [*]
7DYUAOI6test: undo moving point - [*]
3QNOKBFMbeginnings of a test harness - [*]
ZLJGZYQGselect text with shift + mouseclick - [*]
JF5L2BBStest harness now supports copy/paste
Change contents
- replacement in text.lua at line 185
save_to_disk(Lines, Filename)schedule_save() - replacement in text.lua at line 196
save_to_disk(Lines, Filename)schedule_save() - replacement in text.lua at line 201
save_to_disk(Lines, Filename)schedule_save() - replacement in text.lua at line 238
save_to_disk(Lines, Filename)schedule_save() - replacement in text.lua at line 243
save_to_disk(Lines, Filename)schedule_save() - replacement in text.lua at line 274
save_to_disk(Lines, Filename)schedule_save() - edit in main.lua at line 81
Next_save = nil - replacement in main.lua at line 174
Last_resize_time = love.timer.getTime()Last_resize_time = App.getTime() - replacement in main.lua at line 214
if love.timer.getTime() - Last_resize_time < 0.1 thenif App.getTime() - Last_resize_time < 0.1 then - replacement in main.lua at line 241
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 278
if love.timer.getTime() - Last_resize_time < 0.1 thenif App.getTime() - Last_resize_time < 0.1 then - edit in main.lua at line 285
if Next_save and Next_save < App.getTime() thensave_to_disk(Lines, Filename)Next_save = nilend - edit in main.lua at line 291
function schedule_save()if Next_save == nil thenNext_save = App.getTime() + 3 -- short enough that you're likely to still remember what you didendend - replacement in main.lua at line 333
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 374
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 425
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 437
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 452
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 472
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 482
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 512
save_to_disk(Lines, Filename)schedule_save() - edit in drawing_tests.lua at line 13
-- file not immediately savedApp.update(0.01)check_nil(App.filesystem['foo'], 'F - test_creating_drawing_saves/early')-- wait until saveApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 50
-- wait until saveApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 339
-- wait until saveApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 370
-- wait until saveApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 396
-- wait until saveApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 428
-- wait for some timeApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 497
-- wait until saveApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 546
-- wait until saveApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 585
-- wait until saveApp.wait_fake_time(3.1)App.update(0) - edit in app.lua at line 160
App.time = 1function App.getTime()return App.timeendfunction App.wait_fake_time(t)App.time = App.time + tend - edit in app.lua at line 340
App.time = nil - edit in app.lua at line 345
App.run_after_mouse_click = nilApp.run_after_mouse_press = nilApp.run_after_mouse_release = nil - edit in app.lua at line 361[57.2791][66.2953]
App.getTime = love.timer.getTime