1. 17 Dec, 2017 2 commits
  2. 08 Oct, 2017 1 commit
    • Jehan's avatar
      Bug 787457 - Paint brush settings display system language (e.g. zh_TW) · d01e182c
      Jehan authored
      ... and ignore language setting (e.g. en_US).
      The problem came from the fact that these settings names are class
      properties of GimpPaintOptions/GimpContext which is first instanciated
      when the Gimp object is created. This unfortunately happened before
      language_init() since we needed these objects when loading gimprc
      (making inversion of calls rather complicated).
      Therefore they were localized with the system language, not the
      configured language.
      The solution was to create a very simple object GimpLangRC which
      implements the GimpConfig interface, for sole purpose to read the
      language from `gimprc` in a first pass. gimp_load_config() will still
      happen later as a second pass to properly load the rest of the
      configuration.
      d01e182c
  3. 15 Jun, 2017 1 commit
    • Ell's avatar
      app: split sanity check into early/late stages, to fix gegl translation · d37fb8aa
      Ell authored
      The GEGL ops sanity check causes all ops to be initialized.  The
      strings used by their properties will pick the translation selected
      at the time of the check.  It must therefore run after language
      intiailization, otherwise the selected translation would correspond
      to the system locale, even if the user selected a different language
      in the preferences.
      
      Split the sanity check into early and late stages.  The early stage
      is run before the call to app_run(), as it did before, while the
      late stage is run during app_run(), after the configuration has been
      loaded.  Currently, the GEGL ops check is the only late-stage check;
      all other checks are performed during the early stage.
      d37fb8aa
  4. 12 Mar, 2017 1 commit
  5. 26 Feb, 2017 1 commit
  6. 24 Jan, 2017 1 commit
    • Michael Natterer's avatar
      A more hackish way to use GimpLayerMode instead of GimpLayerModeEffects · ebd3ab1b
      Michael Natterer authored
      C++ won't allow us to use GimpLayerMode in the API where we used to
      have GimpLayerModeEffects.
      
      Move GimpLayerModeEffects to libgimpbase/gimpcompatenums.h so it's
      not in the API any longer, and instead typedef and define stuff in
      libgimp/gimptypes.h, and adapt the compat enum registering code
      accordingly.
      ebd3ab1b
  7. 08 Jan, 2017 1 commit
  8. 21 Dec, 2016 1 commit
  9. 11 Nov, 2016 2 commits
  10. 10 Nov, 2016 2 commits
  11. 13 Sep, 2016 1 commit
    • Michael Natterer's avatar
      Bug 599573 - Remember dialog defaults between Gimp sessions · 20a32d97
      Michael Natterer authored
      Add GimpFillOptions and GimpStrokeOptions to GimpDialogConfig and use
      them in the Fill/Stroke Selection/Path dialogs and for the "with last
      values" commands. Add GUI for them to Preferences -> Dialog Defaults.
      
      This requires most of the stuff in my last few commits, and some
      more changes:
      
      GimpFillOptions is a GimpContext which has all sorts of connections to
      everything, including a Gimp pointer. Hack around in GimpDialogConfig
      to add a Gimp property, and add "gimp" parameters to quite some GimpRC
      functions. Treat the Gimp* as a GObject* in all public API because
      core/ stuff is not known in config/.
      20a32d97
  12. 12 Sep, 2016 1 commit
    • Michael Natterer's avatar
      app: merge units.[ch] into core/gimp-units.[ch] · 631110e0
      Michael Natterer authored
      and initialize units in gimp_init(). This was completely
      over-engineered but in the end boils down to a bad hack that needs a
      static "the_unit_gimp" pointer anyway, so let's at least have the hacks
      in one file.
      631110e0
  13. 29 Sep, 2015 1 commit
  14. 06 Oct, 2014 1 commit
  15. 13 Sep, 2014 1 commit
  16. 29 Jul, 2014 1 commit
  17. 28 Jul, 2014 1 commit
  18. 09 Jul, 2014 1 commit
  19. 07 Jul, 2014 1 commit
  20. 02 May, 2014 2 commits
    • Michael Natterer's avatar
      app: pass the startup monitor to displays opened from the copmmand line · 8356003f
      Michael Natterer authored
      Change gimp_get_display_name() to also return the screen, and its
      implementation in the GUI to return the initial monitor during
      startup. Retrieve that information in app.c using a weird callback
      construct and pass the monitor to file_open_from_command_line().
      
      Half-related, add screen and monitor parameters to GimpDisplayShell
      and use these initial values for calculating the canvas's initial
      extents.
      
      The image windows still don't position themselves correctly though
      because we have no mechanism for that whatsoever just yet, but we now
      at least pass the needed monitor information to the right objects.
      8356003f
    • Michael Natterer's avatar
      app: add screen and monitor to all display and image window constructors · 7f23fbec
      Michael Natterer authored
      so they appear on the proper monitor as well.
      7f23fbec
  21. 25 Feb, 2014 1 commit
  22. 19 Oct, 2013 1 commit
  23. 14 Oct, 2013 1 commit
    • Michael Natterer's avatar
      app,libgimp*: fix includes to follow our include policy · 697572cc
      Michael Natterer authored
      - don't include <gdk-pixbuf/gdk-pixbuf.h> in headers in app/
      - instead, include it in many .c files instead of <glib-object.h>,
        finally acknowledging the fact that app/ depends on gdk-pixbuf almost
        globally
      - fix up includes as if libgimpbase depended in GIO, which it soon will
      697572cc
  24. 04 Jul, 2013 1 commit
  25. 19 Jun, 2013 1 commit
  26. 25 May, 2013 1 commit
  27. 14 Dec, 2012 1 commit
  28. 02 Dec, 2012 1 commit
  29. 20 Jun, 2012 1 commit
    • Michael Natterer's avatar
      app: completely remove TileManager and friends (base/ and paint-funcs/) · 373a4e74
      Michael Natterer authored
      And along with it a lot of stuff like the drawable preview cache, the
      gegl tile manager backend, temporary gimp_gegl_buffer_foo() stuff, and
      the remaining bits of performance.
      
      The projection is in an evil semi-ported state which makes it work
      ok-ish for stuff like layer moving, but absolutely unbearable for
      painting, there is also an off-by-one rendering glitch at some zoom
      levels.
      373a4e74
  30. 14 May, 2012 1 commit
  31. 06 Sep, 2011 1 commit
  32. 31 Aug, 2011 1 commit
  33. 30 Aug, 2011 1 commit
  34. 24 Jun, 2010 1 commit
  35. 23 Jun, 2010 1 commit
  36. 05 Jan, 2010 1 commit
    • Sven Neumann's avatar
      app: add GimpTranslationStore class · 50c2ba45
      Sven Neumann authored
      Derive GimpTranslationStore from GimpLanguageStore. It lists the
      installed GIMP translations. Also sort the list alphabetically
      instead of relying on the XML file being sorted.
      50c2ba45