Re: Developing a new text editor widget?

2016-06-11 Thread Sébastien Wilmet
On Sun, Jun 05, 2016 at 03:15:30PM -0400, Rena wrote: > As an application developer, my main gripes with GtkTextView have been: > > 1. The view/buffer model. I expected that the view just asks the buffer for > text, and I could supply a custom buffer object that generates text on the > fly. In rea

Re: Developing a new text editor widget?

2016-06-11 Thread Sébastien Wilmet
On Sun, Jun 05, 2016 at 12:33:20PM -0700, Christian Hergert wrote: > You wouldn't want to mmap() the whole file, because that would still > limit how large of a file you can open on 32-bit systems. You would want > mapping windows with a page replacement strategy. Once you get this far, > mmap() is

Re: g_spawn_async_with_pipes is not thread safe

2016-06-11 Thread Alan Coopersmith
On 06/ 3/16 08:31 AM, Chris Vine wrote: On Fri, 3 Jun 2016 12:30:04 +0100 Simon McVittie wrote: There's a gap here between the theory (GLib mostly has only POSIX requirements) and the practice (glibc malloc is designed to allow things POSIX doesn't, and this useful functionality would be diffic

Re: Developing a new text editor widget?

2016-06-11 Thread Christian Hergert
On 06/11/2016 02:47 AM, Sébastien Wilmet wrote: > /tmp is mounted in RAM on some distros, AFAIK. Maybe a better place is > ~/.cache/, so opening a 8GB file is feasible (not sure it is useful > though, but people coming from Windows expect to be able to use a GUI > tool for everything). Sure. O_TMP