autosave slightly less aggressively
[?]
Jun 17, 2022, 10:42 PM
PX7DDEMOBGPVK3FXKK5XEPG24CJXZSVW67DLG2JZZ5E77NVEAA3ACDependencies
- [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]
JFFUF5ALoverride mouse state lookups in tests - [9]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [10]
RT6EV6OPdelegate update events to drawings - [11]
NQWWTGXRswitch undo/redo to ctrl- hotkeys - [12]
HMODUNJEscroll on backspace - [13]
WIDXZBNWexperiment: extremely precise scrolling on paste - [14]
AVTNUQYRbasic test-enabled framework - [15]
VJ77YABHmore efficient undo/redo - [16]
IRCKL6VNextract scrolling logic out of insert_at_cursor - [17]
2ENZW7TVselect text using mouse drag - [18]
DRFE3B3Zmouse buttons are integers, not strings - [19]
OTIBCAUJlove2d scaffold - [20]
BYG5CEMVsupport for naming points - [21]
T7SJSJIHtest: undo naming a point - [22]
SN2QONLIautosave on cut/paste - [23]
IDG26SXKbugfix in commit e51ce12969 - [24]
OGUV4HSAremove some memory leaks from rendered fragments - [25]
PHFWIFYKscroll on enter - [26]
SHEGBK4Hwhile we're at it, undo naming points - [27]
J2SVGR2Eexperiment: blinking cursor - [28]
VC2CU2GGfaster paste - [29]
JCSLDGAHbeginnings of support for multiple shapes - [30]
G3C4FKPRbugfix: missed fixing a callsite - [31]
BTKAW76Lrename - [32]
LS55YKGWswitch copy/paste to ctrl- hotkeys - [33]
RF5ALVNYallow the window to be resized - [34]
Z4XRNDTRfind text - [35]
SQLVYKVJrename - [36]
65XHTZEKregression: couldn't do many drawing operations because line.y was reset - [37]
K464QQR4more defensive resize handling - [38]
CG3264MMmove - [39]
2RXZ3PGObeginning of a new approach to scroll+wrap - [40]
TVM2WIHHbugfix: autosave and undo in a couple of cases - [41]
DLQMM265scroll past first page - [42]
252M2QMDforgot to move this special case out - [43]
73OCE2MCafter much struggle, a brute-force undo - [44]
DHCLUDCW. - [45]
QVDQMJXVavoid scrolling down if possible - [46]
3TDOZESEextract scrolling logic out of insert_return - [47]
XNFTJHC4split keyboard handling between Text and Drawing - [48]
T7IWZFL4more precise scroll on paste - [49]
2ZYV7D3Whandle tab characters - [50]
AYE2VEGJextract a couple of methods - [51]
DHI6IJCNselecting text and deleting selections - [52]
AMSESRTHmove some code - [53]
GN3IF4WFbugfix: pasting newlines - [*]
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 79
Next_save = nil - replacement in main.lua at line 172
Last_resize_time = love.timer.getTime()Last_resize_time = App.getTime() - replacement in main.lua at line 212
if love.timer.getTime() - Last_resize_time < 0.1 thenif App.getTime() - Last_resize_time < 0.1 then - replacement in main.lua at line 239
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 276
if love.timer.getTime() - Last_resize_time < 0.1 thenif App.getTime() - Last_resize_time < 0.1 then - edit in main.lua at line 283
if Next_save and Next_save < App.getTime() thensave_to_disk(Lines, Filename)Next_save = nilend - edit in main.lua at line 289
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 331
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 372
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 423
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 435
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 450
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 470
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 480
save_to_disk(Lines, Filename)schedule_save() - replacement in main.lua at line 510
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 394
-- wait until saveApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 425
-- wait until saveApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 451
-- wait until saveApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 483
-- wait for some timeApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 610
-- wait until saveApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 659
-- wait until saveApp.wait_fake_time(3.1)App.update(0) - edit in drawing_tests.lua at line 698
-- 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