1. 08 Jul, 2019 2 commits
  2. 07 Jul, 2019 6 commits
  3. 06 Jul, 2019 4 commits
  4. 05 Jul, 2019 1 commit
  5. 04 Jul, 2019 5 commits
  6. 03 Jul, 2019 2 commits
    • Michael Natterer's avatar
      app: GtkAction -> GAction madness part two · 3b6b3fc1
      Michael Natterer authored
      Change all action callbacks so they can be invoked by a GAction:
      
      - add GimpActionCallback typedef:
        void (* cb) (GimpAction*, GVariant*, gpointer)
      - change all action callbacks to the GimpActionCallback signature
      - add "gimp-activate" and "gimp-change-state" signals to GimpAction,
        with the same signature as the resp. GAction signals
      - remove all other custom action signals and only use the new
        GimpAction signals
      - pass around appropriate GVariants containing booleans, int32,
        strings
      - badly hack around to force a GimpProcedure pointer into a
        uint64 variant
      - remove all G_CALLBACK() casts from all action callbacks,
        they all have the same signature now
      3b6b3fc1
    • Rodrigo Lledó Milanca's avatar
      Update Spanish translation · c1802056
      Rodrigo Lledó Milanca authored
      (cherry picked from commit 55bc6b34)
      c1802056
  7. 02 Jul, 2019 7 commits
  8. 01 Jul, 2019 4 commits
    • Jehan's avatar
      plug-ins: some cleaning in HEIF plug-in. · f4af95ab
      Jehan authored
      heif_chroma_interleaved_24|32bit are deprecated values replaced by
      heif_chroma_interleaved_RGB(A).
      
      Also we allocated a HEIF context twice (i.e. leaking it).
      
      Finally it's better to initialize heif_image and heif_encoder variables
      to NULL because these may not be set if creation functions fail (and
      it's better to fail with NULL than with garbled unset contents).
      f4af95ab
    • Jehan's avatar
      plug-ins: improve a bit HEIF export dialog. · 7f764300
      Jehan authored
      - Add the quality slider in a frame under the "lossless" checkbox,
        making the relationship more obvious.
      - Make the whole frame contents insensitive when "lossless" is checked
        and not just the slider. Once again, it makes the relationship more
        obvious.
      - Add a mnemonic to the "Lossless" checkbox and "Quality" slider.
      7f764300
    • Jehan's avatar
      dfd79ad7
    • Jehan's avatar
      plug-ins: implement our profile export policy for HEIF. · 5d6baf5f
      Jehan authored
      Same as WebP or jpeg: follow explicitly assigned profile TRC; convert
      default (non-assigned) profile to sRGB, except if work format is 8-bit
      linear.
      5d6baf5f
  9. 30 Jun, 2019 3 commits
  10. 29 Jun, 2019 6 commits
    • Massimo Valentini's avatar
      issue 3082: screenshot plugin crashes when cancelling... · 6c033317
      Massimo Valentini authored
      ...the interactive capture dialogue
      6c033317
    • Jehan's avatar
      libgimp, plug-ins: get rid of GIMP_EXPORT_NEEDS_OPAQUE_LAYERS capacity. · 667b4d71
      Jehan authored
      This new capacity was created just 3 commits ago (9933f46f).
      The point was that the real fix is to remove the implication
      HANDLE_LAYERS => HANDLE_ALPHA, but this breaks public API behavior,
      which is why I didn't go with it.
      
      Still it just felt wrong to add a NEEP_OPAQUE capability when it should
      be the same thing as not setting HANDLE_ALPHA. After discussion on IRC,
      we decided that this implication was basically a bug, and since in all
      core plug-ins, when HANDLE_LAYERS was set, we were also setting
      HANDLE_ALPHA, no core plug-in code even has to be changed. As for
      third-party plug-ins, let's assume that none has been relying on this
      wrong assumption.
      667b4d71
    • Michael Natterer's avatar
      app: get rid of manual object type registration · e72a9d88
      Michael Natterer authored
      and all deprecated use of private instance registration.
      e72a9d88
    • Michael Natterer's avatar
      libgimpwidgets: don't use g_type_class_add_private() in GimpColorButton · 88188cba
      Michael Natterer authored
      and switch to using G_DEFINE_TYPE_WITH_CODE().
      88188cba
    • Jehan's avatar
    • Jehan's avatar
      Issue #3553: Cannot export TIF as G3/G4 fax compression. · f9fd818c
      Jehan authored
      G3/G4 compression does not support transparency, yet in multi-layer
      export, gimp_export_image() capability GIMP_EXPORT_CAN_HANDLE_LAYERS
      implied GIMP_EXPORT_CAN_HANDLE_ALPHA. I guess multi-layer TIFF is more
      for multi-page (at least with G3/G4 which is apparently a fax format, so
      it makes sense) than actual multi-layer.
      
      So I use the new GIMP_EXPORT_NEEDS_OPAQUE_LAYERS capability from
      previous commit for this particular use case of export layers + G3/G4
      compression.
      
      Also it is better to run gimp_export_image() *after* the option dialog,
      as we do for other formats, with variable capabilities depending on
      which options was chosen, instead of running it before then after
      merging layers when user chose not to export layers. This is duplicating
      the purpose of gimp_export_image().
      f9fd818c