On Mon, Oct 25, 2010 at 2:04 PM, Gustavo Sverzut Barbieri <barbi...@profusion.mobi> wrote: > Wow, I'm amazed how receptive Raster was... will it rain today? :-)
Yes, it's raining cow ! > On Mon, Oct 25, 2010 at 3:55 AM, Carsten Haitzler <ras...@rasterman.com> > wrote: >> On Sat, 23 Oct 2010 21:05:20 -0200 Gustavo Sverzut Barbieri >> <barbi...@profusion.mobi> said: >>> - elm_notepad (quite useless as it does not export much of >>> editing, just links changed signal to save the file. I'm more more >>> inclined to drop it and in future releases just something else with >>> toolbar to control styles, like bold, italic, font faces and so on... >>> without actually saving the file, that's the simplest part of it, the >>> style management is the hard part) >> >> well then - what do you do about making useful pre-made "works" widgets. >> saving >> code. saving hooking together a whole bunch of callbacks and filling things >> in >> etc.? ok - maybe it shouldnt be a widget. maybe it should be part of a util >> api that hooks up savers for you- that loads and fills for you? > > if you check the widget and how one would do it, what's the most > difficult part? file handling! Not widget. The signal connection is > super simple. But reading file, managing stdio errors and all is a > PITA. maybe offer utilities in eina/ecore like file_read_full() > file_write_full()? If we're worried about blocking, it's ecore > otherwise it's eina. We have that in Systemd and I find it very > helpful (as well as file_read_one_line(), to manage things that are > known to be one liners, like /sys values). Just to let you know we are planning with Vincent to add support for file operation in eina. Providing something that does for you open/fstat/mmap/munmap/close. So yes, we have plan to provide more feature around file in eina. But I think we should start discussing what will be in 1.1 when 1.0 is out :-) -- Cedric BAIL ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel