1. 02 Oct, 2019 1 commit
  2. 24 Sep, 2019 1 commit
  3. 11 Sep, 2019 1 commit
  4. 05 Sep, 2019 3 commits
  5. 04 Sep, 2019 1 commit
  6. 29 Aug, 2019 2 commits
    • Jehan's avatar
      libgimp: fix GIMP_VALUES_(SET|TAKE)_*_ARRAY() macros. · 2a640713
      Jehan authored
      A length argument is required by corresponding gimp_value_set_*_array()
    • Michael Natterer's avatar
      app, libgimp: get rid of all ID GTypes and ID param specs · 392f00ba
      Michael Natterer authored
      Turn all ID param specs into object param specs (e.g. GimpParamImageID
      becomes GimpParamImage) and convert between IDs and objects in
      gimpgpparams.c directly above the the wire protocol, so all of app/,
      libgimp/ and plug-ins/ can deal directly with objects down to the
      lowest level and not care about IDs.
      Use the actual object param specs for procedure arguments and return
      values again instead of a plain g_param_spec_object() and bring back
      the none_ok parameter.
      This implies changing the PDB type checking functions to work on pure
      integers instead of IDs (one can't check whether object creation is
      possible if performing that check requires the object to already
      For example gimp_foo_is_valid() becomes gimp_foo_id_is_valid() and is
      not involved in automatic object creation magic at the protocol
      level. Added wrappers which still say gimp_foo_is_valid() and take the
      respective objects.
      Adapted all code, and it all becomes nicer and less convoluted, even
      the generated PDB wrappers in app/ and libgimp/.
  7. 22 Aug, 2019 1 commit
  8. 19 Aug, 2019 2 commits
    • Michael Natterer's avatar
      libgimp: add a gazillion of macros to gimpprocedure-params.h · 09eaf029
      Michael Natterer authored
      that make dealing with value arrays easier and shorter, e.g.
        g_value_get_boolean (gimp_value_array_index (args, n)):
        GIMP_VALUES_GET_BOOLEAN (args, n);
    • Michael Natterer's avatar
      libgimp: add gimpprocedure-params.h · 471285bd
      Michael Natterer authored
      which looks much like gimpconfig-params.h and contains macros
      (e.g. GIMP_PROC_ARG_BOOLEAN() and GIMP_PROC_VAL_BOOLEAN()) for all
      GimpProcedure argument and return value types supported by the
      protocol, and makes the boilerplate of setting up a procedure more
      readable and much less indented.
      This file is C-only and not introspected.