monster860 / FastDMM

A robust BYOND map editor
GNU General Public License v3.0
36 stars 16 forks source link

Adds autosave daemon thread that saves all loaded maps once a minute #45

Open factorsofx opened 7 years ago

factorsofx commented 7 years ago

I think I finally sorted out my git problems... Anyways, here's this. I synchronize on editor like the other place that iterates over the list of loaded maps. Sorry again for the spam!

ghost commented 6 years ago

@monster860 merge it NAO

ghost commented 6 years ago

What does this do? Does it autosave all the maps every minute? If so, why? What if you are working on something and you're not done yet?

PJB3005 commented 6 years ago

@HiddenKn you should ALWAYS save liberally even if you're not "done" yet. If the editor crashes or whatever you lose all your work.

ghost commented 6 years ago

@PJB3005 I prefer to only save after I make an actual proper change. Autosave causes saves during unfinished changes resulting in useless "backups". Unless this saves to a different file than the main save? (For example, ·vim saves backup information to .swp files)

PJB3005 commented 6 years ago

How are these backups "useless"? If the program crashes and you have a backup 30 seconds ago you lost 30 seconds of work. If you don't have a backup you might've lost 30 minutes of work.

ghost commented 6 years ago

And if you made a mistake you may have just lost over 30 minutes of work because your known good version was just overwritten by a broken version.

PJB3005 commented 6 years ago

That's what version control is for.

ghost commented 6 years ago

Your workflow isn't the same as everyone else's. I've made my point if you disagree that's fine. I'm just saying it would be nice if it could be saved to a backup file or if there's a configuration option to disable it.

PowerfulBacon commented 3 years ago

What if im placing stuff on a map after I have finished and specifically don't want it to be saved?