Skip to content
  1. Dec 11, 2016
  2. Dec 09, 2016
    • Murray Cumming's avatar
      RemoteActionGroup: Rename some vfuncs to add _full(). · 70378096
      Murray Cumming authored
      Rename activate_action_vfunc() to activate_action_full_vfunc() ad
      rename change_action_state_vfunc() to change_action_state_full_vfunc(),
      matching the underlying C vfuncs.
      Now that this class derives from ActionGroup, this was causing warnings
      such as this, at least with clang++:
      
      /opt/gnome/include/giomm-2.52/giomm/remoteactiongroup.h:180:18: error: 'Gio::RemoteActionGroup::activate_action_vfunc' hides overloaded virtual
            function [-Werror,-Woverloaded-virtual]
          virtual void activate_action_vfunc(const Glib::ustring& action_name, const Glib::VariantBase& parameter, const Glib::VariantBase& platform_data);
                       ^
      /opt/gnome/include/giomm-2.52/giomm/actiongroup.h:574:18: note: hidden overloaded virtual function 'Gio::ActionGroup::activate_action_vfunc' declared
            here: different number of parameters (2 vs 3)
          virtual void activate_action_vfunc(const Glib::ustring& name, const Glib::VariantBase& parameter);
      70378096
  3. Dec 07, 2016
  4. Dec 06, 2016
  5. Dec 05, 2016
  6. Dec 03, 2016
  7. Dec 02, 2016
  8. Dec 01, 2016
  9. Nov 30, 2016
  10. Nov 25, 2016
  11. Nov 24, 2016
    • Kjell Ahlstedt's avatar
      Glib::ObjectBase: Replace extra_object_base_data map by instance data · 3911557c
      Kjell Ahlstedt authored
      * glib/glibmm/class.[cc|h]: Remove the clone_custom_type() overload without
      an interface_class_vector_type argument.
      * glib/glibmm/interface.cc:
      * glib/glibmm/object.cc:
      * glib/glibmm/objectbase.[cc|h]: Replace the std::map containing
      ExtraObjectBaseData with instance data in ObjectBase. The map was just a way
      of avoiding an ABI break, but now we can break ABI.
      The new data is a std::unique_ptr<Class::interface_class_vector_type> rather
      than a Class::interface_class_vector_type. It's a vector which is used only
      during a short period during object construction, and only for custom objects.
      With a pointer to the vector, it need not be created for the majority of
      objects, and if it is created, it can be deleted when it's no longer needed.
      * gio/src/application.ccg:
      * glib/glibmm/main.cc: Add #include <mutex> that should have been there before,
      but now became necessary, when it was removed from objectbase.h.
      3911557c
    • Marcin Kolny's avatar
      Glib::ObjectBase: overload get_property() · 722f9c1c
      Marcin Kolny authored
      * glib/glibmm/objectbase.h: add convenient overload of get_property(),
        which gives a property value as a return value, not as an output
        parameter.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=771782
      722f9c1c
  12. Nov 23, 2016
  13. Nov 21, 2016
    • Kjell Ahlstedt's avatar
      Add tests/giomm_stream_vfuncs · 4aff300e
      Kjell Ahlstedt authored
      * tests/Makefile.am: Add giomm_stream_vfuncs.
      * tests/giomm_stream_vfuncs/main.cc: New file.
      An updated version of a patch by Krzysztof Kosiński <tweenk.pl@gmail.com>
      Bug #572471
      4aff300e
    • Kjell Ahlstedt's avatar
      Wrap some vfuncs in giomm streams · 990b15ac
      Kjell Ahlstedt authored
      * gio/src/bufferedinputstream.hg: Add fill_vfunc().
      * gio/src/inputstream.hg: Add read_vfunc(), skip_vfunc(), close_vfunc().
      * gio/src/outputstream.hg: Add write_vfunc(), splice_vfunc(),
      flush_vfunc(), close_vfunc().
      An updated version of a patch by Krzysztof Kosiński <tweenk.pl@gmail.com>
      Bug #572471
      990b15ac
  14. Nov 16, 2016
  15. Nov 14, 2016