2.33.12: 2012-09-07 Murray Cumming Socket: Remove create_source() again. * gio/src/socket.hg: * tools/m4/convert_glib.m4: Comment out create_source() because Glib::Source (in main.h) does not have a Glib::wrap(). Maybe it should. 2012-09-07 Murray Cumming Socket. Add several methods. * gio/src/socket.hg: Added create_source(), get_available_bytes(), get_ttl(), set_ttl(), get_broadcast(), set_broadcast(), get_multicast_loopback(), set_multicast_loopback(), get_multicast_ttl(), set_multicast_ttl(), join_multicast_group(), leave_multicast_group(), and properties. * tools/m4/convert_glib.m4: Added a conversion for GIOSource. 2012-09-07 Murray Cumming Volume: Add get_sort_key(). * gio/src/volume.hg: Wrap g_volume_get_sort_key(). 2012-09-07 Murray Cumming ContentType: get_icon(): Fix a refcount error. * gio/giomm/contenttype.cc: get_icon(): Take a reference. 2012-09-07 Murray Cumming MenuItem: Add get_link(). * gio/src/menuitem.hg: Wrap g_menu_item_get_link(). 2012-09-07 Murray Cumming Gio: DBusAuthObserver: Add allow_mechanism(). * gio/src/dbusauthobserver.hg: Add the allow_mechanism() method and signal. 2012-09-07 Murray Cumming Application: Add get_dbus_*() methods. * gio/src/application.hg: Add get_dbus_connection() and get_dbus_object_path(). * tools/m4/convert_gio.m4: Added a necessary conversion. 2012-09-06 Murray Cumming Tell the documentation generator about GMenu. * gio/src/gio_extra_objects.defs: Add GMenu to avoid a warning from gmmproc. 2012-09-06 Murray Cumming Regenerated some glib .defs. * glib/src/glib_docs.xml: * glib/src/glib_enums.defs: * glib/src/glib_functions.defs: * glib/src/gobject_functions.defs: 2012-09-06 Murray Cumming Regenerate other gio .defs. * gio/src/gio_docs.xml: * gio/src/gio_signals.defs: Regenerated. 2012-09-06 Murray Cumming Add get_symbolic_icon() methods. * gio/src/gio_methods.defs: Regenerated. * gio/giomm/contenttype.[h|cc]: Add get_symbolic_icon(). * gio/src/drive.hg: Add get_symbolic_icon(). * gio/src/fileinfo.hg: Add get_symbolic_icon(). * gio/src/mount.hg: Add get_symbolic_icon(). * gio/src/volume.hg: Add get_symbolic_icon(). 2012-09-06 José Alburquerque Converter: Correct the "convert" virtual function. * gio/src/converter.hg (convert_vfunc): Have the virtual function throw the final GError parameter of the C function instead of including it in the C++ parameter list. This is done by using the recently added _WRAP_VFUNC functionality. 2012-09-05 José Alburquerque gmmproc: _WRAP_VFUNC: Handle virtual functions that throw GErrors. * tools/pm/WrapParser.pm (on_wrap_vfunc): Modified so that _WRAP_VFUNC recognizes an optional "errthrow" parameter as is done in _WRAP_METHOD. (output_wrap_vfunc): Modified to tag the located virtual function definition as one that will be wrapped by a C++ method that throws the final C GError parameter. * tools/pm/Output.pm (output_wrap_vfunc_cc): Modified to pass an optional "errthrow" string to _VFUNC_CC and _VFUNC_PCC so that they can include the proper code for the getting and throwing of the GError. Also modified to pass the "errthrow" string to the convert_args_cpp_to_c() so that it process the C++ method as one throwing a Glib::Error. (convert_args_c_to_cpp): Modified to ignore the final GError if the C function has been marked as one that will be wrapped by a C++ method throwing the final C GError parameter. * tools/m4/vfunc.m4 (_VFUNC_PCC): Modified to recognize a final "errthrow" string parameter in which case code is inserted to declare a local parameter in which to store the C GError and then throw it as a Glib::Error if an error was received when the underlying C function is called in the virtual function callback. (_VFUNC_CC): Also modified to recognize a final "errthrow" string parameter inserting code to store and then throw a possibly obtained GError as a Glib::Error in the C++ virtual function when calling the underlying C virtual function. Bug #683460. 2012-09-04 José Alburquerque giomm: Add the ZlibDecompressor and the CharsetConverter classes. * gio/src/charsetconverter.{ccg,hg}: * gio/src/zlibdecompressor.{ccg,hg}: * gio/src/filelist.am: Add the new sources wrapping the C functions and properties in the corresponding classes. Include the sources in the build. * gio/src/gio_signals.defs: * tools/extra_defs_gen/generate_defs_gio.cc: Add the GTypes for the C types in the property and signal generation utility and regenerate the defs file so the properties of the new classes can be wrapped. * gio/src/zlibcompressor.hg: Make the constructor protected and not private (typo). 2012-09-03 José Alburquerque giomm: Add the ZlibCompressor class. * gio/src/zlibcompressor.{ccg,hg}: * gio/src/filelist.am: Add the ZlibCompressor class which derives from the Converter interface wrapping the C functions and properties and include the sources in the build. * tools/extra_defs_gen/generate_defs_gio.cc: * gio/src/gio_signals.defs: Add the GZlibCompressor GType to the properties and signals generation utility and regenerate the defs file. * tools/m4/convert_gio.m4: Add the new enum conversion. 2012-09-02 José Alburquerque giomm: Add the Converter interface. * gio/src/converter.{ccg,hg}: Add the source files wrapping the C functions as methods and wrapping the virtual functions. * gio/src/filelist.am: Include the sources in the build. * gio/src/gio_vfuncs.defs: Add the necessary virtual function definitions so the virtual functions can be wrapped. * tools/m4/convert_gio.m4: Add the new enum and flag conversions. 2012-09-01 Murray Cumming Avoid warnings from documenation generation. * gio/src/gio_docs.xml: Replace : with : 2012-09-01 Murray Cumming Gio::AppInfo: Wrap some new methods. * gio/src/appinfo.hg: Add get_display_name(), set_as_last_used_for_type() and get_supported_types(). 2012-09-01 Murray Cumming Regenerate .defs. * gio/src/gio_docs.xml: * gio/src/gio_methods.defs: * gio/src/gio_signals.defs: * glib/src/glib_docs.xml: * glib/src/glib_enums.defs: * glib/src/glib_functions.defs: * glib/src/gobject_functions.defs: Regenerate using tools/gen_scripts/ 2012-09-01 Murray Cumming Gio: ProxyAddress: Wrap some new methods. * gio/src/proxyaddress.hg: Add get_destination_protocol() and get_uri(). 2012-09-01 Murray Cumming Gio: Menu, MenuModel: Wrap some new methods. * gio/src/menu.hg: Add append_section(). * gio/src/menumodel.hg: Add is_mutable() and get_n_items(). 2.33.4: 2012-08-01 Murray Cumming gio_extra_objects: Mention GMenuItem. * gio/src/gio_extra_objects.defs: This helps the documentation generator. 2012-07-28 Krzesimir Nowak Add a test checking whether floating variants are always sunk. * tests/glibmm_variant/main.cc: New test. Bug #680407 2012-07-28 Krzesimir Nowak Implement custom cast constructor for VariantBase. * glib/src/variant.hg: * glib/src/variant.ccg: Use _CUSTOM_CTOR_CAST macro and implement cast constructor. This is needed, because we always want to sink a GVariant. Bug #680407 2012-07-28 Krzesimir Nowak Add _CUSTOM_CTOR_CAST macro for _CLASS_OPAQUE_COPYABLE. * tools/m4/class_opaque_copyable.m4: New macro. Bug #680407 2012-07-26 Kjell Ahlstedt Glib::Threads:[Rec]Mutex: Add wrap() functions. * glib/src/threads.[hg|ccg]: Add Mutex* wrap(GMutex*) and RecMutex* wrap(GRecMutex*). Bug #483790. 2012-07-22 Krzesimir Nowak Properly wrap g_key_file_load_from_dirs(). * glib/src/keyfile.hg: * glib/src/keyfile.ccg: The just deprecated wrapper was incorrectly passing an array wrapper for full_path parameter when it should pass a std::string&, because full_path is an output parameter. Added handwritten wrapper passing proper parameter. 2012-07-22 Krzesimir Nowak Wrap g_variant_type_peek_string() by hand. * glib/src/gvarianttype.hg: * glib/src/gvarianttype.ccg: The wrapped function does not return a C string (it is not NULL terminated), so std::string(str, size) constructor needs to be used. I wonder how glibmm_variant test passed through all distchecks so far... 2012-07-16 Murray Cumming Show get_type() in the API documentation. * tools/m4/class_boxedtype.m4: * tools/m4/class_boxedtype_static.m4: * tools/m4/class_gobject.m4: * tools/m4/class_interface.m4: Move the static get_type() functions out of the ifdef so that doxygen can see them, because they are sometimes needed, for instance when implementing a custom container. Bug #670212 (Mark Vender). 2012-07-10 Krzesimir Nowak Glib::Checksum: Fix a typo. * glib/src/checksum.hg: Should be *_SHOULD_*, not *_SHOUD_*.