1. 03 Jun, 2017 1 commit
    • Michael Natterer's avatar
      app: allow filter actions to have hardcoded default operation settings · adb826fb
      Michael Natterer authored
      by encoding them directly in the string attached to all filter
      actions. The code now supports both "gegl:some-operation" and
      "gegl:some-operation\n<serialized config>".
      
      Add "default_settings" to GimpGeglProcedure to store the settings of
      the invoking action, much like the "default_run_mode" member.
      
      Change filters-commands.c to parse the new operation string, create
      GimpGeglProcedures with the deserialized settings, and use those
      settings when the procedures are ran.
      
      Change the filter history to be smarter about what is already in the
      history, there can now be several different procedures with the same
      name.
      
      Remove the dilate and erode actions from the drawable group, and add
      them to filters, they are just special cases of value-propagate with
      fixed settings.
      adb826fb
  2. 04 Jan, 2016 1 commit
    • Michael Natterer's avatar
      Bug 759316 - "Recently used" menu not updated with gegl filters · 3831f624
      Michael Natterer authored
      Add GimpGeglProceure to keep track of recently used GEGL operations in
      the filter history. The new procedure also takes care of running the
      op in the GEGL tool, so filters-commands.c is almost empty now.
      
      Change gimp-filter-history.c to find procedures by name instead of
      comparing pointers.
      
      The only thing missing now is rerunning a GEGL op with the last
      settings (not just showing its UI).
      3831f624
  3. 01 Jan, 2016 2 commits
  4. 30 Dec, 2015 1 commit
    • Michael Natterer's avatar
      Bug 759316 - "Recently used" menu not updated with gegl filters · ac50da2a
      Michael Natterer authored
      This preparation commit only moves code around and renames it, the
      history is still a list of plug-ins only:
      
      - move app/core/gimp-filter-history.c
        to app/plug-in/gimppluginmanager-history.c and clean it up
      - move the actions that create the submenus under "Filters"
        from the "plug-in" to the "filters" action group
      - move the code that creates and updates the history actions
        to the "filters" action group
      - add menu setup code for the "filters" menu
      - move the "history-changed" signal from GimpPlugInManager to Gimp
      ac50da2a