1. 30 Jul, 2020 8 commits
  2. 29 Jul, 2020 8 commits
    • Ell's avatar
      d11cbbbb
    • Ell's avatar
      tools: add performance-log-progressive-coalesce.py; use in performance-log-viewer · 76f9e5fe
      Ell authored
      Add a new performance-log-progressive-coalesce.py tool, which
      coalesces partial address maps in progressive performacne logs into
      a single global address map, suitable for processing by the rest of
      the tools.
      
      Use the new tool as part of the pipeline in performance-log-viewer.
      76f9e5fe
    • Ell's avatar
      tools: add performance-log-close-tags.py, use in performance-log-viewer · e5fe1ef1
      Ell authored
      Add a new performance-log-close-tags.py tool, which closes unclosed
      tags in incomplete performance logs, allowing the rest of the
      perofmance-log tools to process them.  This is necessary for
      unfinished progressive logs.
      
      Use the new tool as part of the pipeline in performance-log-viewer.
      e5fe1ef1
    • Ell's avatar
      app: add progressive performance logs · 146c2343
      Ell authored
      Add an option to record progressive performance logs.  Progressive
      logs contain complete information after each recorded sample, by
      writing partial address maps at each sample, containing all new
      addresses introduced by the sample.  Furthermore, when recording a
      progressive log, the output stream is flushed after each sample.
      
      This allows recording complete logs even in cases where they can't
      be properly terminated, such as when GIMP crashes or freezes in the
      middle of the log.
      
      Progressive logs are disabled by default, since they potentially
      increase the sampling cost.  They can be enabled through a toggle
      in the log file-dialog, or through the
      GIMP_PERFORMANCE_LOG_PROGRESSIVE environment varaible.
      146c2343
    • Ell's avatar
      app: allow controlling performance-log parameters through the UI · 126002c5
      Ell authored
      When recording a performance log, allow setting the log parametrs
      through the file dialog.  Currently, this includes the sample
      frequency, and the option to include backtraces.
      
      These options are still controllable through the
      GIMP_PERFORMANCE_LOG_SAMPLE_FREQUENCY and
      GIMP_PERFORMANCE_LOG_BACKTRACE environment variables.  When set,
      the variables override the values entered through the UI.
      126002c5
    • Ell's avatar
      app: in GimpBacktrace Windows backend, return NULL backtrace if not initialized · 95b69dd7
      Ell authored
      In the Windows implementation of gimp_backtrace_new(), return NULL
      if the backend is not fully initialized.
      95b69dd7
    • Jehan's avatar
      app: GimpToolRectangle multi-layer aware. · 281f17e5
      Jehan authored
      This fixes default constraint values when multiple layers are selected.
      In particular fixed aspect ratio defaults in Crop or Rectangle Select
      tools, in layer mode, when several layers are selected, the default
      aspect ratio is the layer's ratio if all layers have the same
      dimensions, otherwise it's the image dimension ratio.
      
      Also fixes a bug when trying to create the tool rectangle while multiple
      layers are selected (the rectangle was always of size 0 at point 0).
      
      Finally fixes the auto-shrink feature with multiple layers selected. The
      rectangle will now auto-shrink to the smallest rectangle which
      encompasses the contents of all selected drawables inside the existing
      rectangle.
      281f17e5
    • Ell's avatar
      Issue #5472 - CRITICAL while using Move tool with arrow keys · 3a462a5e
      Ell authored
      In gimp_edit_selection_tool_translate(), perform the active-item
      checks even when the effective translation offset is 0, and only
      bail afterwards.  This avoids erroneously calling
      gimp_tool_message_literal() with a NULL message in this case.
      3a462a5e
  3. 28 Jul, 2020 4 commits
  4. 26 Jul, 2020 4 commits
  5. 22 Jul, 2020 2 commits
  6. 21 Jul, 2020 4 commits
  7. 20 Jul, 2020 2 commits
  8. 18 Jul, 2020 1 commit
  9. 17 Jul, 2020 2 commits
    • Jehan's avatar
      app: show playground if any of the experimental feature is enabled. · d3ef6cfb
      Jehan authored
      Basically if you enabled OpenCL or any of the experimental tools, it
      will show the Playground in Preferences. Otherwise, say you enabled some
      experimental feature months ago (e.g. with the CLI option) and you now
      experience crashes or whatnot. And you forgot how to change it, and only
      remembered that there was something in Preferences. It would make you
      crazy to not find the tab again to disable the option.
      
      This is even more important as OpenCL is moving from a normal option to
      a playground option. So you might not even have ever seen the Playground
      tab in Preferences and would not know how to disable OpenCL after you
      enabled it originally in "System Resources" tab.
      
      So now Playground is visible with any of these 3 conditions:
      * If you use an unstable version.
      * If you run GIMP with --show-playground option.
      * If you previously enabled one of the playground options.
      d3ef6cfb
    • Jehan's avatar
      app: move OpenCL settings into the Playground. · 0f806d0e
      Jehan authored
      After discussions on IRC, it was decided that our current level of
      support of OpenCL was not good enough. As a normal settings, people just
      see it as a normal acceleration checkbox, even despite the warning text
      and emoticone saying the opposite (i.e. it may even slow things down in
      some cases).
      Basically this feature needs more love to be back into mainstream
      Preferences.
      0f806d0e
  10. 16 Jul, 2020 1 commit
    • Jehan's avatar
      app: add contents of /.flatpak-info in the verbose info. · bc5f6371
      Jehan authored
      This file is available in a flatpak sandbox and will contain various
      info such as the build commit, very useful info as we can have several
      builds for a same version. For instance if we have exactly the right
      commit, we can load exactly the same binary as a bug reporter very
      easily, hence are able to get source correspondance without necessarily
      asking reporters to install debug symbols (though it stays easier if
      they can do it).
      
      Other interesting info contained in this file are the exact runtime
      used, the installed application or runtime extensions, the permissions
      (people may override our flatpak permissions so it's useful to be able
      to check when they did) and environment variables…
      bc5f6371
  11. 14 Jul, 2020 2 commits
    • Boyuan Yang's avatar
      Update Chinese (China) translation · f2ef0ec6
      Boyuan Yang authored
      f2ef0ec6
    • Ell's avatar
      libgimpwidgets: handle Enter/Esc keys in GimpSpinButton · e5310230
      Ell authored
      In GimpSpinButton, don't propagate Enter key-press events if
      updating the spin-button's value in response changes the entered
      text.  This prevents confirming dialogs when hitting Enter after
      entering a math expression in size entries, updating their value
      instead.
      
      Likewise, don't propagate Escape key-press events if a new value
      was entered, and restore the original value instead.
      e5310230
  12. 13 Jul, 2020 2 commits