1. 26 Nov, 2018 1 commit
  2. 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
  3. 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
  4. 17 Jul, 2018 1 commit
  5. 11 Jul, 2018 1 commit
  6. 06 Jul, 2018 1 commit
  7. 03 Jul, 2018 1 commit
  8. 02 Jul, 2018 1 commit
  9. 27 May, 2018 2 commits
    • Ell's avatar
      libgimpcolor, libgimpconfig: remove deprecated interface functions · e47ffefa
      Ell authored
      Remove the deprectaed foo_interface_get_type() functions, as per
      the last two commits.
      e47ffefa
    • Ell's avatar
      libgimpconfig: align GimpConfig with the rest of the interfaces · 5f8643a6
      Ell authored
      Unlike the last two commits, we don't port GimpConfig to
      G_DEFINE_INTERFACE(), since we need to provide a base initializer
      for it.  However, this commit aligns it with the rest of our
      intefaces, by renaming gimp_config_interface_get_type() to
      gimp_config_get_type(), and by performing class initialization for
      the interface in a separate function than base initialization.
      
      Keep gimp_config_interface_get_type() around as a deprecated
      function, to maintain ABI compatibility.  It will be removed in a
      separate commit in master, so that this commit can be easily
      cherry-picked to gimp-2-10.
      5f8643a6
  10. 25 May, 2018 1 commit
  11. 20 May, 2018 3 commits
  12. 12 May, 2018 1 commit
  13. 25 Apr, 2018 3 commits
  14. 22 Apr, 2018 1 commit
  15. 02 Jan, 2018 1 commit
  16. 30 Nov, 2017 1 commit
    • Ell's avatar
      */Makefile.am: add abbreviations to generated enum files · f7d6805e
      Ell authored
      Update the dprod production of generated enum files to include
      abbreviated value descriptions, as per the previous commits.
      
      Add a comment for translators above the abbreviated descriptions,
      specifying the full description they abbreviate.
      f7d6805e
  17. 24 Aug, 2017 1 commit
  18. 23 Jul, 2017 1 commit
  19. 17 Jun, 2017 1 commit
  20. 03 Jun, 2017 1 commit
  21. 02 Jun, 2017 1 commit
  22. 27 May, 2017 2 commits
  23. 23 May, 2017 1 commit
    • Ell's avatar
      enums: run gimp-mkenums from the build dir · 5bcde32c
      Ell authored
      Commit 1e6acbd4 modified the
      generated enum recipes to run gimp-mkenums from the source
      directory, instead of the build directory, so that only the
      basenames of the corresponding header files would appear in
      the comment at the top of the generated files.  This was a
      mistake -- $(GIMP_MKENUMS) is expecting to be invoked from the
      build directory.
      
      Switch back to running gimp-mkenums from the build directory.  To
      avoid including the relative path from the build directory to the
      source directory in the generated file, add a @basename@ production
      variable to gimp-mkenums, which exapnds to the basename of the
      input file, and use it instead of @filename@ in the recipes for the
      generated enum files.
      5bcde32c
  24. 22 May, 2017 1 commit
    • Ell's avatar
      enums: don't write generated enum files to src-dir if unchanged · f9fa0d1b
      Ell authored
      When regenerating an enum file, don't copy it back to the source
      directory if it hasn't actually changed.  This allows using a read-
      only source directory where the enum header is newer than the
      generated file, as long as they're not really out of sync.
      
      OTOH, *do* touch the generated source-dir file even when unchanged,
      in order to avoid re-running its recipe on the next build, however,
      allow this to silently fail (which is harmless).
      f9fa0d1b
  25. 19 May, 2017 1 commit
  26. 16 May, 2017 1 commit
  27. 06 May, 2017 1 commit
    • Ell's avatar
      enums: generate enum files in source dir · 1e6acbd4
      Ell authored
      We check them into git, so this makes it easier to keep them in
      sync when using a separate build directory.
      
      Case in point -- this commit also syncs a few enum files that went
      out-of-sync with their headers.
      1e6acbd4
  28. 09 Feb, 2017 1 commit
    • Michael Natterer's avatar
      libgimpconfig: gimp_config_reset_properties(): reset only changed properties · 7111eadf
      Michael Natterer authored
      This avoids a lot of useless notifications when resetting an object,
      and fixes e.g. the "reset tool options" behavior of GimpTransformTool,
      which did completely reset itself instead of just behaving like all
      non-default options had changed.
      
      And probably breaks some things that were relying on these redundant
      notifications.
      7111eadf
  29. 08 Jan, 2017 1 commit
  30. 06 Jan, 2017 1 commit
  31. 18 Oct, 2016 1 commit
  32. 17 Oct, 2016 1 commit
  33. 12 Oct, 2016 1 commit
  34. 02 Oct, 2016 1 commit