I've posted each of these patches previously, but haven't heard a certain word as to their acceptance or rejection. Can someone please consider them?
1) Add a nodelay() function to Stdio.Files. There was some discussion as to whether or not this should be done in a more general way, but the discussion flagged and no conclusion was reached.
2) Represent a GTK G_TYPE_POINTER argument as an integer, rather than as an object. Every example I can find of a G_TYPE_POINTER coming back results in a segfault of Pike, which suggests that it's really not an object. I haven't found any instances where it really is meant to be an object, but that doesn't mean there aren't any. Does anyone know for sure? In any case, returning integers is safe for cases like the Notebook switch-page signal.
3) Ensure that something, at least, is pushed for every argument to a GTK signal callback function. Currently, unrecognized types can be simply skipped, resulting in stack mangling. My patch pushes the name of the type, thus preventing segfaults.
The two GTK patches apply cleanly to 7.8 as well as 8.0, and can be considered bugfixes. The nodelay() function is definitely a feature addition, and is also not as important. Would love to see the GTK fixes arrive in time to go into the next published builds.
Thanks!
ChrisA
pike-devel@lists.lysator.liu.se