Commit Graph

42437 Commits

Author SHA1 Message Date
Ell baa8aadc83 devel-docs: fix typo in performance-logs/Makefile.am 2018-11-08 04:24:48 -05:00
Ell a75c57f2cd configure.ac: add devel-docs/performance-logs/Makefile
Skipped for now on master, together with the rest of devel-docs/.

Should have been part of fa9161e4f2.
2018-11-08 03:51:11 -05:00
Ell e3b6c8e877 .gitlab: add "performance" issue template
Add a "performance" issue template, which should be used to report
performance-related issues.
2018-11-08 03:46:44 -05:00
Ell fa9161e4f2 devel-docs: add performance-logs documentation
Add devel-docs/performance-logs/performance-logs.md, which
describes how to record and view performance logs, and how to
report perofrmance-related issues.
2018-11-08 03:40:53 -05:00
Ell a29d040db5 app: a few improvements to the GimpBacktrace Linux backend
Blacklist the "threaded-ml" thread, which seems to mask the
backtrace signal.

Improve signal-handler synchronozation, to avoid segfaulting when
giving up on waiting for all threads to handle the signal.
Furthermore, when one or more threads fail to handle the signal in
time, return a GimpBacktrace instance with backtraces for all the
other threads, and with empty backtraces for all the non-responding
threads, instead of returning NULL and leaking the allocated
instance.  Don't blacklist threads that failed to handle the signal
in time, and instead shorten the wait period for handling the
signal, and yield execution during waiting to lower the CPU usage.
2018-11-07 14:26:17 -05:00
Ell 0b2d41635a tools: a few improvements in performance-log-viewer.py
In sample-search predicates, remove the "exclusive" parameter of
the "function()" function, and replace it with optional "id" and
"state" parameters, which limit the match to the call-stacks of
matching threads, as per the "thread()" function.

Sort the backtrace thread-list by thread ID.
2018-11-07 14:26:16 -05:00
Ell fb95d3b86e tools: in performance-log-expand.py, preserve threads with empty stacks
... which can be present in logs since last commit.
2018-11-07 14:26:16 -05:00
Ell eec1e1f189 app: a few fixes to performance-log backtrace output
Fix delta-encoding of performance-log backtraces in certain cases,
and distinguish between empty call-stacks and removed threads.
2018-11-07 14:26:15 -05:00
Jehan 2c4831f90b desktop: update release date.
Still hope for tonight! Will it happen?! :-)
2018-11-07 17:01:40 +01:00
Ell 56920dcdbf app: don't let image component mask affect channel colors
Connect GimpImage's gimp:mask-components node to the layers node
*before* connecting the channels node, so that the image's
component mask doesn't affect the channel colors, as is the case in
2.8.
2018-11-04 13:23:56 -05:00
Ell 963322fdd4 app: avoid allocating empty tempbuf for drawable previews
In gimp_view_renderer_drawable_render(), make sure the preview size
is always at least 1x1.

Fixes commit 8009ea342a.
2018-11-03 04:30:17 -04:00
Ell 21b36cd864 tools: in performance-log-viewer.py, show variable descriptions
In the preformance-log viewer, show instrumentation-variable
descriptions as tooltips for the corresponding treeview rows.
2018-11-03 04:17:49 -04:00
Ell 646208eff0 app: include variable descriptions in performance logs
Include instrumentation-variable descriptions in the var-defs
section of performance logs, so that they can be displayed
alongside their names when viewing the log.
2018-11-03 04:17:48 -04:00
Ell 8009ea342a app: simplify drawable preview rendering
Simplify gimp_view_renderer_drawable_render(), by consolidating
common code paths.  In particular, when rendering the preview as
part of an image, always crop the preview to the bounds of the
image, even when downscaling, to avoid unnecessarily downscaling/
convering cropped-out regions.  We previously only did this when
upscaling the preview by a factor of 2 or more; whatever the reason
for this used to be, it's no longer there.
2018-11-03 04:06:13 -04:00
Ell 0cdbe91e5a Issue #2436 - Crash after downsizing canvas
In gimp_view_renderer_drawable_render(), avoid overflow in preview-
area calculation.  This prevents erroneously setting 'scaling_up'
to FALSE while upscaling the drawable by a very large amount, which
can lead to the creation of a very large GimpTempBuf for the
preview, causing memory allocation to fail.
2018-11-02 21:43:04 -04:00
Rodrigo Lledó 3dea26b6ee Update Spanish translation 2018-11-02 10:42:22 +00:00
Jehan 5d319b77bf Issue #2160: Exporting to PCX results in a warped file.
Add line data padding when necessary.
Additionally I realize we should convert to little-endian after checking
the bytesperline oddness (this bug was most likely unnoticed until now
as most desktop proc are little endian now anyway).
2018-11-01 22:22:40 +01:00
Jehan a181372795 build: sync the nightly flatpak manifest with the stable one. 2018-11-01 22:22:33 +01:00
Piotr Drąg 6f31272c87 Update Polish translation 2018-11-01 16:35:37 +01:00
Øyvind Kolås 34376c7abf app: propagate space in gimp_layer_mode_get_format
We were not propagating the space properly causing compositing and blending to
always happen in default/linear sRGB space.
2018-11-01 01:51:47 +01:00
Michael Natterer c55f2308e1 Issue #2379 - Crash on saving
file_save(): make sure we always set an error on failure

file_save_dialog_save_image(): additionally, check that "error" exists
before dereferencing it.
2018-10-31 23:46:06 +01:00
Ell 026fe766cd devel-docs: add "step" blending function to GGR format spec 2018-10-30 11:03:34 -04:00
Tobias Ellinghaus bfcb7fc593
file-pnm: Remove clamping when loading PFM files 2018-10-30 13:37:07 +01:00
Rodrigo Lledó 0fa2230e86 Update Spanish translation 2018-10-29 09:03:10 +00:00
Ell 4113aaad69 app: fix tests for new show-tabs option
In app/tests, add the show-tabs pref, added in commit
1ca2d74411, to the expected sessionrc
files.
2018-10-27 05:43:13 -04:00
Ell c271992aa0 Issue #2405 - Rotation center shifts by half a pixel ...
... the second time you do a 180 degrees rotation

In gimp_transform_resize_adjust(), nudge the transformed layer
boundary by EPSILON toward the center, to avoid enlarging the layer
unnecessarily, as a result of numeric error amplified by rounding,
when the tranformed boundary should land on integer coordinates.
In particular, this avoids enlarging the layer when rotating by 180
degrees.
2018-10-27 00:14:47 -04:00
Anders Jonsson fbee6a6582 Update Swedish translation
(cherry picked from commit 99e1de90a6)
2018-10-25 19:24:03 +00:00
Piotr Drąg 7b2fb4a38c Update Polish translation 2018-10-25 19:26:00 +02:00
Michael Natterer ae9d84dd22 Issue #2235 - Color reset/swap keyboard shortcuts not discoverable...
...via hover tooltips

Use the GtkWidget::query_tooltip() signal on GimpFgBgEditor to emit an
own signal "tooltip" that has the hovered widget area as parameter.

Connect to GimpFgBgEditor::tooltip() in gimptoolbox-color-area.c and
set separate tooltips on the widget's areas, including the shortcuts
for "Swap colors" and "Default colors".
2018-10-25 14:45:55 +02:00
Michael Natterer 231b82a7fe themes: draw a wider border around GimpFgBgColor's active color
Not quite optimal but at least some indication of the active color,
or at least of the fact that there are two different states.
2018-10-25 12:02:41 +02:00
Marco Ciampa 8ba81c8848 Some small fixes in Italian installer translation 2018-10-25 11:14:56 +02:00
Oleksii Samorukov bd48996933 Fix compilation on Mac 10.6 and 10.7 (#2112) 2018-10-24 10:45:07 +02:00
Piotr Drąg 1cc3c3e5a4 Update Polish translation 2018-10-23 21:23:48 +02:00
Piotr Drąg 7a146de71d Update Polish translation 2018-10-23 18:14:01 +02:00
Elle Stone 298cc57042 Issue #2345 - Add xyY to color sample readouts
Add xyY color space to the color spaces for sampling colors.

Also add code to xcf-load.c that makes sure the sample point loading
code handles unknown future GimpColorPickMode values (fall back to
PIXEL pick mode).
2018-10-23 17:37:28 +02:00
Øyvind Kolås a39b4abfbc configure/app: depend on GEGL 0.4.12 2018-10-23 14:36:26 +02:00
Sergio Jiménez Herena 1ca2d74411 app: Add option in the windows menu to hide the image tab bar.
(cherry picked from commit 360aee10d8)
2018-10-23 11:52:07 +02:00
Michael Natterer 1915c17584 Issue #2226 - Assigning wrong color profile results in error reporting dialog
image_profile_assign_callback(): forgot to remove some code when
introducing gimp_image_assign_color_profile().
2018-10-22 16:57:47 +02:00
Michael Natterer 38dcb73bfc Issue #2386 - Pattern fill with selection is shifted in 2.10
Add pattern offset parameters to gimp_fill_options_create_buffer() and
pass the selection's top-left corner so that pattern fills on the same
drawable are aligned.
2018-10-22 16:39:19 +02:00
Michael Natterer 8421221b60 Issue #2388 - CRITICAL: XMP Toolkit error 4: Invalid UTF-8 data byte
In gimp_metadata_add_xmp_history(), make sure the string returned by
strftime() has a terminating \0 after we mess with its format.
2018-10-22 15:48:26 +02:00
Michael Natterer 2880f08044 plug-ins: fix some new strncpy() warnings 2018-10-22 15:41:18 +02:00
Michael Natterer 582c692010 plug-ins: make curve-bend build again, and undeprecate it a bit 2018-10-22 15:04:07 +02:00
Michael Natterer 6bb8c74a46 plug-ins: kill GtkAlignment in all plug-ins which are currently built 2018-10-22 14:47:54 +02:00
Michael Natterer f8ce6b7440 libgimpcolor: remove deprecated integer RGB <-> HSL conversion functions 2018-10-22 13:29:11 +02:00
Michael Natterer 07f5527998 plug-ins: stop using gimp_rgb_to_hsl_int(), gimp_hsl_to_rgb_int()
and gimp_rgb_to_l_int() cruft functions.
2018-10-22 13:17:43 +02:00
Michael Natterer 40df58011f libgimpcolor: remove gimp_rgb_to_hsv_int() and gimp_hsv_to_rgb_int() cruft 2018-10-22 13:06:43 +02:00
Michael Natterer befe80bd08 plug-ins: don't use gimp_rgb_to_hsv_int() and gimp_hsv_to_rgb_int()
Use the default APIs using GimpRGB and GimpHSV structs instead.

This also changes/fixes the colors in all affected plug-ins which were
broken/restricted in hue range ever since the _int() functions were
changed from a 0..255 to 0..360 hue range 15 years ago in commit
d93c2f61c8.
2018-10-22 12:50:11 +02:00
Rodrigo Lledó 075ba4eccc Update Spanish translation 2018-10-22 09:31:02 +00:00
Rodrigo Lledó e8b2e0e103 Update Spanish translation 2018-10-22 09:30:43 +00:00
Michael Natterer 1d43e2ff37 Issue #2332 - Marching ants from one image displayed on every tab
Seems we were drawing marching ants for hidden tabs ever since the
introduction of SWM, which is both a horrible waste of CPU time, and
also makes all selections visible on all displays on GTK+ 3.x.

Implement GtkWidget::unmap() in GimpDisplayShell and stop the ants
when the shell is unmapped.
2018-10-22 00:00:59 +02:00