2016-06-27 Murray Cumming 2.49.2 2016-06-17 Chun-wei Fan Visual Studio build files: Update projects Make sure the added sources are included in the builds, and in the list of headers to be installed. 2016-06-15 Kjell Ahlstedt gmmproc: Make h2def.py recognize some GDK_PIXBUF macros gdk-pixbuf has added macros such as GDK_PIXBUF_DEPRECATED* and GDK_PIXBUF_AVAILABLE* in the header files. h2def.py must recognize those macros in order to successfully decode the function declarations. 2016-06-02 Kjell Ahlstedt Gio::InputStream, OutputStream: Make some of the new methods const * gio/src/inputstream.hg: is_closed() and has_pending() shall be const. * gio/src/outputstream.hg: is_closed(), is_closing() and has_pending() shall be const. Bug #572471 2016-06-02 Krzysztof Kosiński Gio::FilterOutputStream: Fix property_base_stream() Change return type from RefPtr to the correct RefPtr. This change does not break ABI, but it breaks API. That should be acceptable. The property has probably been useless with the wrong declared return type. Part of a large patch, split by Kjell Ahlstedt. Bug #572471 2016-06-02 Kjell Ahlstedt Wrap some constructors and methods in giomm streams Also, add TODO comments about adding vfuncs at ABI break. * gio/src/bufferedinputstream.hg: TODO: Add fill_vfunc(). * gio/src/filterinputstream.[hg|ccg]: Add ctor. * gio/src/filteroutputstream.[hg|ccg]: Add ctor. * gio/src/inputstream.hg: Add ctor, is_closed(), has_pending(), set_pending(), clear_pending(). TODO: Add read_vfunc(), skip_vfunc(), close_vfunc(). * gio/src/memoryoutputstream.[hg|ccg]: Add ctor and create(). * gio/src/outputstream.hg: Add ctor, is_closed(), is_closing(), has_pending(), set_pending(), clear_pending(). TODO: Add write_vfunc(), splice_vfunc(), flush_vfunc(), close_vfunc(). An updated version of a patch by Krzysztof Kosiński Bug #572471 2016-06-02 Krzysztof Kosiński Update gio_vfuncs.defs Add vfuncs for GFileInputStream, GFileOutputStream, GInputStream, GOutputStream. Move the vfuncs for GPermission and GListModel to their correct position in alphabetic order. Part of a large patch, split by Kjell Ahlstedt. Bug #572471 2016-06-02 Kjell Ahlstedt Gio::Pollable[Input|Output]Stream: Return -1 on error in vfuncs * gio/src/pollableinputstream.hg: read_nonblocking_vfunc_callback(): Return -1 if the C++ vfunc throws an exception. * gio/src/pollableoutputstream.hg: write_nonblocking_vfunc_callback(): Return -1 if the C++ vfunc throws an exception. This is what the glib/gio functions expect, and the behaviour suggested in bug 572471 for similar vfuncs in other stream classes. 2016-06-02 Kjell Ahlstedt gmmproc: Add optional argument err_return_value in _WRAP_VFUNC * tools/m4/vfunc.m4: * tools/pm/Output.pm: * tools/pm/WrapParser.pm: Add the optional argument err_return_value in _WRAP_VFUNC. This return value, if specified, applies only when the C++ vfunc throws an exception, which is propagated to the C callback function.