1. 15 Mar, 2019 4 commits
  2. 03 Mar, 2019 1 commit
    • Kjell Ahlstedt's avatar
      generate_wrap_init.pl.in: Don't exclude any Gtk classes · 840318eb
      Kjell Ahlstedt authored
      Don't exclude GtkTree, GtkTreeItem or GtkText from generated
      wrap_init.cc files. No such classes have existed for a long time,
      but now there is a new GtkText in gtk4.
      If a class really shall be excluded, insert _NO_WRAP_INIT_REGISTRATION
      in its .hg file.
  3. 02 Feb, 2019 1 commit
    • Kjell Ahlstedt's avatar
      Glib::KeyFile: Make it a _CLASS_OPAQUE_REFCOUNTED · 0cd51739
      Kjell Ahlstedt authored
      * examples/keyfile/main.cc:
      * gio/src/desktopappinfo.hg: Store KeyFile in a RefPtr.
      * glib/src/keyfile.[ccg|hg]: Replace _CLASS_GENERIC by _CLASS_OPAQUE_REFCOUNTED.
      Remove handcoded methods that are now generated by gmmproc.
      * tools/m4/convert_glib.m4: Update conversion for KeyFile.
      GKeyFile is refcounted since 2009.
  4. 31 Jan, 2019 1 commit
    • Kjell Ahlstedt's avatar
      gmmproc: _WRAP_PROPERTY: Check the data type · 203063d1
      Kjell Ahlstedt authored
      * glib/glibmm/value_custom.h: Add template class
      Glib::Traits::ValueCompatibleWithWrapProperty<> that checks if the template
      parameter names a type that can be used with _WRAP_PROPERTY
      * tools/m4/property.m4:
      * tools/pm/Output.pm:
      * tools/pm/WrapParser.pm: _WRAP_PROPERTY and _WRAP_CHILD_PROPERTY generate
      a static_assert() that checks if the data type is acceptable. The generation
      of the static_assert() can be suppressed with the new no_type_check parameter.
  5. 30 Jan, 2019 2 commits
    • Kjell Ahlstedt's avatar
      Glib, Gio: Use _IS_REFCOUNTED_BOXEDTYPE where appropriate · bae8d173
      Kjell Ahlstedt authored
      * gio/src/dbusintrospection.hg: Add _IS_REFCOUNTED_BOXEDTYPE to
      Gio::DBus::InterfaceInfo which is used in _WRAP_PROPERTY in Gio::DBus::Proxy.
      * gio/src/settingsschema.hg: Add _IS_REFCOUNTED_BOXEDTYPE. SettingsSchema is
      used in _WRAP_PROPERTY in Gio::Settings.
      * glib/src/bytearray.[ccg|hg]: Replace the hand-coded Value specialization
    • Kjell Ahlstedt's avatar
      gmmproc: Add _IS_REFCOUNTED_BOXEDTYPE · be00e913
      Kjell Ahlstedt authored
      * glib/glibmm/value.h: Add Value_RefPtrBoxed<>.
      * tools/m4/class_opaque_refcounted.m4: Add _IS_REFCOUNTED_BOXEDTYPE, which can
      be used together with _CLASS_OPAQUE_REFCOUNTED. It generates a *_get_type()
      function and a Glib::Value specialization. A Glib::Value specialization is
      required, if the C++ class is used in _WRAP_PROPERTY.
  6. 28 Jan, 2019 2 commits
  7. 27 Jan, 2019 2 commits
  8. 25 Jan, 2019 1 commit
  9. 20 Jan, 2019 2 commits
  10. 19 Jan, 2019 1 commit
  11. 18 Jan, 2019 3 commits
    • Kjell Ahlstedt's avatar
      Glib::Value: Remove obsolete create_param_spec() overload · 1078af30
      Kjell Ahlstedt authored
      Glib::Property uses the create_param_spec() method with 4 parameters.
      Remove the one with only a 'name' parameter.
    • Kjell Ahlstedt's avatar
      Glib: Add some Glib::Value<> specializations · 73e7da4f
      Kjell Ahlstedt authored
      * glib/glibmm/error.[cc|h]: Add operator bool(). Add Glib::Value<Glib::Error>
      which is needed in _WRAP_PROPERTY() in Gtk::MediaStream.
      * glib/glibmm/objectbase.[cc|h]: Add get_base_type(), which is necessary for
      one of the existing Value<> specializations to apply. ObjectBase is used
      in _WRAP_PROPERTY() in Glib::Binding.
      * glib/src/variant.[ccg|hg]: Add Glib::Value<VariantBase> which is
      needed in _WRAP_PROPERTY() in Gio:Action.
      * glib/src/varianttype.[ccg|hg]: Add Glib::Value<VariantType> which is
      needed in _WRAP_PROPERTY() in Gio:Action.
      All data types that occur in _WRAP_PROPERTY() must have correct Glib::Value<>
      specializations. In most cases missing Value<> specializations are noticed
      only during execution of code that calls an affected property_*() method.
    • Kjell Ahlstedt's avatar
      Gio::SocketAddress: Fix property_family() · bc079914
      Kjell Ahlstedt authored
      Gio::SocketFamily is an enum. It shall not be stored in a Glib::RefPtr.
  12. 15 Jan, 2019 1 commit
  13. 14 Jan, 2019 1 commit
  14. 13 Jan, 2019 1 commit
  15. 07 Jan, 2019 2 commits
  16. 04 Jan, 2019 1 commit
    • Kjell Ahlstedt's avatar
      glibmmconfig.h.in: Remove unused configuration constants · 4bf358d2
      Kjell Ahlstedt authored
      These configuration variables have been removed:
      and this preprocessor macro:
      The corresponding M4 macros in build/ and their calls in configure.ac have
      also been removed.
      Fixes #22
  17. 03 Jan, 2019 1 commit
  18. 28 Dec, 2018 1 commit
    • Kjell Ahlstedt's avatar
      tools/gen_scripts: Update for non-source-dir builds · a3c7b569
      Kjell Ahlstedt authored
      Most modules (e.g. glib) can be built in a directory separated from the
      source directory. Update the scripts that generate .defs and doc.xml files
      to handle that. See gtkmm!11.
      The environment variable JHBUILD_SOURCES is not used any more.
      Instead the environment variables GMMPROC_GEN_SOURCE_DIR and
      GMMPROC_GEN_BUILD_DIR are read. See comments in init_generate.sh.
  19. 17 Dec, 2018 2 commits
  20. 16 Dec, 2018 1 commit
  21. 09 Dec, 2018 1 commit
  22. 06 Dec, 2018 3 commits
  23. 10 Nov, 2018 1 commit
  24. 31 Oct, 2018 4 commits