2015-08-20 Murray Cumming 2.45.50 2015-08-20 Murray Cumming Regenerate _docs.xml files. 2015-08-20 Murray Cumming Regenerate .defs files. 2015-08-15 Murray Cumming Boxed types: Declare move operations as noexcept. Because this can let standard containers more efficiently reallocate memory while still preserving their own noexcept guarantees. I found out about this in Scott Meyer's Effective Modern C++11: Item 14. Likewise make swap() noexcept because we use it in our noexcept move assignment operator. 2015-08-15 Murray Cumming Regenerate *_docs.xml files. 2015-08-12 Murray Cumming Gio::SocketService: Add active property. 2015-08-12 Murray Cumming Gio::NetworkMonitor: Add get_network_metered() and property. 2015-08-12 Murray Cumming Regenerate .defs 2015-08-07 Marcin Kolny Glib::RefPtr: minor release() improvements. https://bugzilla.gnome.org/show_bug.cgi?id=752812 * glib/glibmm/refptr.h: add warning in a comment, replace warn_unused_result attribute with corresponding GLib macro. 2015-08-05 Chun-wei Fan Visual Studio Projects: Update to 2013 The latest glibmm requires enough C++11 to be supported so that it can be built, which is Visual Studio 2013 for the Visual Studio compilers. This updates the 2010 projects (and their settings) to 2013. The folder in which the projects reside in need to be updated, and we would preferably need to make the projects compatible with Visual Studio 2015, from the 2013 projects, which is not too different from the 2010 ones. 2015-08-01 Murray Cumming RefPtr: move assignment operator: Use swap(). This is not actually less efficient - the code is inline anyway. Bug #752876 2015-07-30 Kjell Ahlstedt Remove unnecessary _IGNORE() * gio/src/inputstream.hg: * gio/src/notification.hg: * gio/src/outputstream.hg: * gio/src/resolver.hg: * gio/src/socketconnection.hg: Remove _IGNORE() directives that have become unnecessary when the .defs files don't contain information from private.h files. gmmproc warns about unnecessary _IGNORE(). 2015-07-30 Kjell Ahlstedt Regenerate gio_methods.defs, glib_functions.defs, gobject_functions.defs Regenerated without information from private.h files. 2015-07-30 Kjell Ahlstedt tools/gen_scripts: Don't read private.h files * tools/gen_scripts/gio_generate_enums.sh: * tools/gen_scripts/gio_generate_methods.sh: * tools/gen_scripts/glib_generate_enums.sh: * tools/gen_scripts/glib_generate_methods.sh: Don't collect information from header files with names ending in private.h. 2015-07-30 Kjell Ahlstedt Remove gio/src/gio_unix_functions.defs * gio/src/gio.defs: * gio/src/filelist.am: Remove gio_unix_functions.defs. * gio/src/gio_unix_functions.defs: Remove the whole file. All data in this file is also included in gio_methods.defs. 2015-07-30 Marcin Kolny generate_wrap_init.pl: Allow to use nested namespaces for whole module. https://bugzilla.gnome.org/show_bug.cgi?id=753013 * tools/generate_wrap_init.pl.in: add support for nested namespaces in --namespace parameter, i.e. --namespace=Gst::Bad. It requires to store all classes from module at least in Gst::Bad namespace, but allows to use this namespace in wrap_init.h class. 2015-07-28 Murray Cumming tests/glibmm_refptr: Add simpler tests for move constructor/operator=. The *with_parent* tests test much the same thing, but these ones are simpler, based on Marcin Kolny's simpler tests for the universal reference versions. 2015-07-28 Murray Cumming tests/glibmm_refptr: Slight improvement. test_refptr_universal_reference_move_constructor(): Make even more sure that its the copy constructor that the compiler uses. 2015-07-27 Marcin Kolny Glib::RefPtr: add missing constructor and assignment operator * glib/glibmm/refptr.h: add move constructor and move assignment operator which allow to set underlying object to castable type. * tests/glibmm_refptr/main.cc: add tests for move constructor and move assignment operator containing universal reference as an argument. 2015-07-27 Marcin Kolny Glib::RefPtr: add "release()" method https://bugzilla.gnome.org/show_bug.cgi?id=752812 * glib/glibmm/refptr.h: "release" method gives an access to managed underlying object, releasing RefPtr's ownership. Method is useful e.g. in wrappers of functions containing transfer-full arguments. 2015-07-27 Murray Cumming tests/glibmm_refptr: Correct the move constructor test. The && was const, which was a silly typo. Thanks to Marcin Kolny for noticing. 2015-07-27 Murray Cumming Add tests/glibmm_refptr. To test refcounting, though I'm not sure that the test for the move constructor is quite right. 2015-07-27 Murray Cumming tls_client test: Use gnome.org instead of google.org Because I recently find that the connection often, but not always, times out. Maybe Google has changed something about its servers. I was seeing this output when running the test: $ ./giomm_tls_client/test Successfully resolved address of test host 'www.google.com'. First address of test host is 2a00:1450:4016:802::1011. Could not connect socket to 2a00:1450:4016:802::1011:443. Exception: Connection timed out 2015-07-27 Murray Cumming Correct a comment. 2015-07-24 Kjell Ahlstedt Update glib_enums.defs.patch, add gio_enums.defs.patch * glib/src/glib_enums.defs.patch: G_IO_FLAG_IS_WRITEABLE is an enum constant since 2013-02-04. No patch needed for that any more. * gio/src/gio_enums.defs.patch: New file. Such a file has been useful for a long time. It should have been stored in git long ago. 2015-07-24 Kjell Ahlstedt Update scripts that generate .defs files * tools/gen_scripts/gio_generate_enums.sh: * tools/gen_scripts/gio_generate_extra_defs.sh: * tools/gen_scripts/glib_generate_enums.sh: * tools/gen_scripts/glib_generate_methods.sh: These scripts patch the generated .defs files. Update them like gtkmm's gtk_generate_extra_defs.sh, i.e. more comments and an option to regenerate the patch file.