1. 23 Sep, 2019 1 commit
  2. 21 Sep, 2019 3 commits
  3. 19 Sep, 2019 1 commit
  4. 17 Sep, 2019 1 commit
    • Jehan's avatar
      libgimpconfig: allow gimp_config_type_register() with 0 pspecs. · 5c7d6da1
      Jehan authored
      There is at least one valid case of a config type registration with no
      parameters: when registering the gegl:nop operation. This is the default
      case when running the GEGL operation tool. See implementation of
      gimp_filter_tool_get_operation().
      Therefore we ended up crashing GIMP just by calling this tool.
      5c7d6da1
  5. 16 Sep, 2019 3 commits
  6. 14 Sep, 2019 5 commits
  7. 11 Sep, 2019 1 commit
  8. 18 Aug, 2019 1 commit
  9. 16 Aug, 2019 1 commit
    • Niels De Graef's avatar
      libgimpconfig: Prevent GIR conflicts in GimpConfigWriter · 284ba5c8
      Niels De Graef authored
      GimpConfigWriter contains several constructors with the convention
      `gimp_config_writer_new_* ()`. This will lead to problems however with
      languages like Vala, where it cannot disambiguate the following:
      
      ```
      // calls config_writer_new_string()
      Gimp.ConfigWriter w = new ConfigWriter.string("xxx");
      // calls config_writer_string()
      w.string("xxx")
      ```
      
      Using `from_` in constructors is general practice in GObject-bsed
      libraries because of this.
      
      This also fixes an error when trying to use vapigen on the GIMP .GIR
      file.
      284ba5c8
  10. 10 Aug, 2019 1 commit
  11. 09 Aug, 2019 3 commits
  12. 08 Aug, 2019 1 commit
    • Jehan's avatar
      libgimp*: move GObject Introspection into libgimp/. · 2dde79b3
      Jehan authored
      libgimp is anyway processed at the very end after all other libgimp*
      were built. This way, it also fixes #3746, by removing the $(top_srcdir)
      everywhere from introspected files, hence making the build work again
      with older automake.
      2dde79b3
  13. 07 Aug, 2019 1 commit
  14. 03 Aug, 2019 3 commits
  15. 01 Aug, 2019 1 commit
  16. 30 Jul, 2019 3 commits
  17. 28 Jul, 2019 1 commit
  18. 27 Jul, 2019 2 commits
    • Jehan's avatar
      libgimpconfig: fix introspection in gimpcolorconfig.c. · 4e99c259
      Jehan authored
      Several returned values had no documentation, and needed in particular
      (transfer) annotations.
      
      Fixes various warnings:
      > return value: Missing (transfer) annotation
      4e99c259
    • Jehan's avatar
      libgimp*: make more libgimp* libraries introspected. · fb4c86a6
      Jehan authored
      Only libgimpwidgets is not introspected yet as it didn't work from
      scratch and I don't have the time right now to look into it. Anyway with
      all the others, we already have so many warnings during the GObject
      Introspection step now that we have a lot of work to do already!
      fb4c86a6
  19. 23 Jul, 2019 1 commit
  20. 20 Jun, 2019 2 commits
  21. 26 Nov, 2018 1 commit
  22. 18 Nov, 2018 1 commit
    • Michael Natterer's avatar
      Issue #2224 - Use the "Swap folder" setting for the GEGL cache · a29f73bd
      Michael Natterer authored
      Move swap/cache and temporary files out the GIMP user config dir:
      
      libgimpbase: add gimp_cache_directory() and gimp_temp_directory()
      which return the new default values inside XDG_CACHE_HOME and the
      system temp directory. Like all directories from gimpenv.[ch] the
      values can be overridden by environment variables. Improve API docs
      for all functions returning directories.
      
      Add new config file substitutions ${gimp_cache_dir} and
      ${gimp_temp_dir}.
      
      Document all the new stuff in the gimp and gimprc manpages.
      
      app: default "swap-path" and "temp-path" to the new config file
      substitutions. On startup and config changes, make sure that the swap
      and temp directories actually exist.
      
      In the preferences dialog, add reset buttons to all file path pages.
      a29f73bd
  23. 18 Sep, 2018 1 commit
    • Ell's avatar
      app, libgimp*, modules: don't use g_type_class_add_private() ... · 3b0040c0
      Ell authored
      ... and G_TYPE_INSTANCE_GET_PRIVATE()
      
      g_type_class_add_private() and G_TYPE_INSTANCE_GET_PRIVATE() were
      deprecated in GLib 2.58.  Instead, use
      G_DEFINE_[ABSTRACT_]TYPE_WITH_PRIVATE(), and
      G_ADD_PRIVATE[_DYNAMIC](), and the implictly-defined
      foo_get_instance_private() functions, all of which are available in
      the GLib versions we depend on.
      
      This commit only covers types registered using one of the
      G_DEFINE_FOO() macros (i.e., most types), but not types with a
      custom registration function, of which we still have a few -- GLib
      currently only provides a (non-deprecated) public API for adding a
      private struct using the G_DEFINE_FOO() macros.
      
      Note that this commit was 99% auto-generated (because I'm not
      *that* crazy :), so if there are any style mismatches... we'll have
      to live with them for now.
      3b0040c0
  24. 17 Jul, 2018 1 commit