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]
BYG5CEMVsupport for naming points - [9]
HMODUNJEscroll on backspace - [10]
AMSESRTHmove some code - [11]
QVDQMJXVavoid scrolling down if possible - [12]
2ENZW7TVselect text using mouse drag - [13]
K464QQR4more defensive resize handling - [14]
OGUV4HSAremove some memory leaks from rendered fragments - [15]
T7IWZFL4more precise scroll on paste - [16]
XNFTJHC4split keyboard handling between Text and Drawing - [17]
J2SVGR2Eexperiment: blinking cursor - [18]
TVM2WIHHbugfix: autosave and undo in a couple of cases - [19]
IRCKL6VNextract scrolling logic out of insert_at_cursor - [20]
252M2QMDforgot to move this special case out - [21]
IDG26SXKbugfix in commit e51ce12969 - [22]
PHFWIFYKscroll on enter - [23]
AYE2VEGJextract a couple of methods - [24]
JCSLDGAHbeginnings of support for multiple shapes - [25]
OTIBCAUJlove2d scaffold - [26]
73OCE2MCafter much struggle, a brute-force undo - [27]
NQWWTGXRswitch undo/redo to ctrl- hotkeys - [28]
SHEGBK4Hwhile we're at it, undo naming points - [29]
SQLVYKVJrename - [30]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [31]
65XHTZEKregression: couldn't do many drawing operations because line.y was reset - [32]
CG3264MMmove - [33]
2RXZ3PGObeginning of a new approach to scroll+wrap - [34]
VC2CU2GGfaster paste - [35]
AVTNUQYRbasic test-enabled framework - [36]
DLQMM265scroll past first page - [37]
G3C4FKPRbugfix: missed fixing a callsite - [38]
LS55YKGWswitch copy/paste to ctrl- hotkeys - [39]
DHCLUDCW. - [40]
RF5ALVNYallow the window to be resized - [41]
GN3IF4WFbugfix: pasting newlines - [42]
BTKAW76Lrename - [43]
SN2QONLIautosave on cut/paste - [44]
2ZYV7D3Whandle tab characters - [45]
VJ77YABHmore efficient undo/redo - [46]
Z4XRNDTRfind text - [47]
T7SJSJIHtest: undo naming a point - [48]
JFFUF5ALoverride mouse state lookups in tests - [49]
RT6EV6OPdelegate update events to drawings - [50]
DHI6IJCNselecting text and deleting selections - [51]
3TDOZESEextract scrolling logic out of insert_return - [52]
DRFE3B3Zmouse buttons are integers, not strings - [53]
WIDXZBNWexperiment: extremely precise scrolling on paste - [*]
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