On Sat, Dec 6, 2008 at 6:41 PM, Andreas Volz <[EMAIL PROTECTED]> wrote: > Am Sat, 6 Dec 2008 20:19:24 +0100 (CET) schrieb Dave Andreoli: > >> >> ----- "Andreas Volz" <[EMAIL PROTECTED]> ha scritto: >> >> > Hello, >> > >> > I'm really down, because I lost two hours of Edje design, because >> > Edje_Editor corrupted my file. :-( >> > >> > I simply created a new text part. It comes up without states and >> > after >> > saving and reopening, the Edje_File was corrupted. Even I couldn't >> > decompile it with edje_decc. >> >> The textpart you created was a normal text or a textblock? it's stange >> that it was created without the default state. > > A normal text. Do you like to have the corrupted file? Does that help? > > What I did this time is to use group_swallow. Before I had no problems. > >> > >> > I know Edje_Editor is in a development state. But may it be possible >> > to >> > add a automatic backup for saving? So if Edje_Editor corrupts the >> > file >> > than I could switch back to the myedje.edj.bak file. Currently >> > Edje_Editor is to dangerous for me to use it. >> >> The editor used to make a .bak in the past, don't remember when I >> lost that function :P I will reimplement it. >> >> Do you think a single .bak is enought ?? or it's better to do >> a .bak1 .bak2 .bak3 etc ?? > > My idea was this logic: > > -> at open time => myedje.bak.load > -> at save time 1 => myedje.bak.1 > -> at save time 2 => myedje.bak.2 > -> at save time 3 => myedje.bak.3 > > Then cyclic overwrite bak.1 to bak.3. The bak.load is problematic as it > creates a file without saving. Maybe write that file to /tmp. I think > it's only a feature that needs to be as long as edje_editor isn't > stable.
disk space is cheap this days, so save them all, just make an option to save backups or not and be happy, every save increments the backup number. don't bother with too much information, user can use mtime/ctime to order them later. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [EMAIL PROTECTED] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel