Commit Graph

49483 Commits

Author SHA1 Message Date
Martin f65fa3e4e7 Update Slovenian translation 2023-02-12 10:04:13 +00:00
Hugo Carvalho 30cc8fe5be Update Portuguese translation 2023-02-11 22:18:55 +00:00
Hugo Carvalho 40949d5368 Update Portuguese translation 2023-02-11 22:15:45 +00:00
Yuri Chornoivan 3b3f4df1fe Update Ukrainian translation 2023-02-11 16:24:35 +00:00
Ekaterine Papava 3da1f5969a Update Georgian translation 2023-02-11 04:46:55 +00:00
Jehan c369827725 plug-ins: load PDF without filling the background to white.
Some PDF have transparency on purpose. Filling with white, without any question,
is counter-productive and prevents from working on such PDF files.

Note that we could add an option with a checkbox, leaving one to decide whether
to fill the background or not. But it feels over-engineering the issue. The PDF
is transparent, so that's what we load, and that's it. If one wants to add a
background, it's easy to add a layer at the bottom of the stack (and they can
make it any color they want, not just white), after loading the file.
2023-02-10 19:51:45 +01:00
Alx Sa 8b2262530b plug-ins: Make PDF background color fill optional
This adds a checkbox to single and multi-page PDF export to not fill
transparency with the background color 
(which currently happens automatically)
2023-02-10 18:35:14 +00:00
Jehan fb1f16d4b8 plug-ins: fix a crash in tiff_io_error().
I had a TIFF file which would crash while triggering an error, inside g_logv()
code (and according to the stacktrace, even probably inside some lower level
printf implementation code).

The reason was that I already processed the variable list with
g_strdup_vprintf() and printf didn't like this va_list being reused, then
segfaulted with some "Cannot access memory at address" error.

The alternate fix was to first copy the va_list in the first use with
va_copy()/G_VA_COPY, yet since we already processed the format data, I thought
it was useless to do this. Let's just directly use the formatted string.
2023-02-10 19:28:19 +01:00
Ekaterine Papava 2dfe70e16f Update Georgian translation 2023-02-10 10:07:41 +00:00
Jehan f77f772f56 Issue #8359: GIMP crashes from "open the font selection dialog" button.
Apparently GDK/Win32 sends the "grab-broken-event" signal before the "clicked"
signal. This has only been changed since GTK4 so far.

Anyway the bottom line is that GimpContainerPopup would process a handled on
"clicked", using the object destroyed when "grab-broken-event" happened as
callback data. The solution is to make sure that the object stays alive long
enough. So I'm changing gimp_editor_add_button() to connect to signals with
g_signal_connect_object() (since all usage of this function was used with
GObject callback data, it was not a problem).

See discussion in !815.

As a side change, gimp_container_popup_dialog_clicked() should emit the
"cancel", not "confirm". This part was taken from MR !815 by Lloyd Konneker.
2023-02-09 22:22:56 +00:00
Yuri Chornoivan 9328c9c03c Update Ukrainian translation 2023-02-09 21:14:11 +00:00
Stanislav Grinkov 9b517fbf7d
[app] Ensure calculated histogram spike height ...
is positive or zero. Sometimes the calculated `y` or `bg_y`
values are negative because the histogram value was divided
by zero (when max == 0.0).

Resolves: #9132 (Gnome/GIMP bug tracker)
2023-02-10 00:45:47 +06:00
Jehan 8bd3d5e0bb Issue %8365: Ambiguous naming of "Lock path strokes". 2023-02-09 15:11:49 +01:00
Jehan b71abffe51 NEWS: update.
Some items are removed because they were backported in upcoming 2.10.34 before
we released GIMP 2.99.16.
2023-02-09 14:44:36 +01:00
Hugo Carvalho 297f0679a3 Update Portuguese translation 2023-02-08 11:28:43 +00:00
Martin fd0c906ef4 Update Slovenian translation 2023-02-07 16:39:14 +00:00
kotvkvante 708af26890 fix typo 2023-02-06 15:24:27 +00:00
Ekaterine Papava 8259e166b2 Update Georgian translation 2023-02-06 15:18:44 +00:00
Yuri Chornoivan ead5512d6b Update Ukrainian translation 2023-02-06 09:39:54 +00:00
Alx Sa 38c031e01d plug-ins: Port GFig to GAction/GMenuModel
Because of how many actions can change the sensitivity of "undo" options
most of the plug-in files had to be edited to pass GimpGfig to them.
2023-02-04 23:16:24 -05:00
Rodrigo Lledó e6382e9262 Update Spanish translation 2023-02-04 03:36:05 +00:00
Rodrigo Lledó a4b6f00a77 Update Spanish translation 2023-02-04 03:21:29 +00:00
Martin 0a8c8c2649 Update Slovenian translation 2023-02-02 22:20:02 +00:00
Alx Sa 0628db1506 plug-ins: Fix possible crash on ifs-compose load
The build variable in GimpIfs struct is now initialized to NULL to
prevent build issues when finalized.
2023-02-02 14:27:34 -05:00
Sabri Ünal e9f8d00c82 Update Turkish translation 2023-02-02 12:49:40 +00:00
Sabri Ünal 76c817f2fb Update Turkish translation 2023-02-02 12:31:42 +00:00
Sabri Ünal c72c2e5716 Update Turkish translation 2023-02-02 12:29:35 +00:00
Sabri Ünal 1497d4d5d8 Update Turkish translation 2023-02-02 12:28:22 +00:00
Yuri Chornoivan c2cd943021 Update Ukrainian translation 2023-02-02 09:04:08 +00:00
Ekaterine Papava b13eff27da Update Georgian translation 2023-02-02 05:36:39 +00:00
Alx Sa 78d2e8819b plug-ins: Port IFS Fractal GUI to GAction
Converts the pop-up menu and toolbar. Also replaces deprecated
gtk_arrow_new () with similar GtkImage of an arrow.
2023-02-01 20:26:53 +00:00
Martin 4312240eb9 Update Slovenian translation 2023-02-01 20:17:56 +00:00
Yuri Chornoivan a04dcc49ea Update Ukrainian translation 2023-02-01 18:46:37 +00:00
Hugo Carvalho 30e9cb9f7c Update Portuguese translation 2023-02-01 16:45:58 +00:00
Ekaterine Papava 28401c2bef Update Georgian translation 2023-02-01 16:12:15 +00:00
Alexander Shopov 857dad6301 Update Bulgarian translation 2023-02-01 14:42:51 +00:00
Alx Sa c7bef41a1e plug-ins: Add export support for PAM files
Exports the following PAM formats: 
GRAYSCALE, GRAYSCALE_ALPHA, RGB, RGB_ALPHA.
As with import, the main difference is the header and transparency.
Raw PPM export code is reused for the actual data.
2023-01-29 22:09:05 -05:00
Alx Sa af904ec55d plug-ins: Add import support for PAM files
PAM files are essentially PPM files with a different header format and
alpha/16 bit support.
Jörg Walter's 2.2 code was updated and implemented to read the revised
header format. The existing PPM loading code works with PAM files.
2023-01-29 18:01:48 +00:00
Jehan 3e53b28f7a libgimp: include the header from the implementation file.
It was failing with the autotools build.
Why did this even compile with our meson build?
2023-01-29 18:01:53 +01:00
Jehan a0e95f6f35 plug-ins: G_APPLICATION_DEFAULT_FLAGS exists since GLib 2.74.
Our current minimum requirement is 2.70.0.
2023-01-29 15:02:11 +01:00
Alx Sa a4f2b06547 plug-ins: Remove GIMP_PROC_ARG_UCHAR parameters
Replaces them with GIMP_PROC_ARG_INT, which will be necessary for a
future INDEXED mode with greater than 256 colors.
2023-01-28 16:19:50 +00:00
Alx Sa 5ac2027285 plug-ins: Port colormap-remap to GAction
Modeled after the animation-play port in 691e0c02
2023-01-28 10:17:33 -05:00
Yuri Chornoivan 5ca0541ce7 Update Ukrainian translation 2023-01-27 15:12:23 +00:00
Yuri Chornoivan 83cdcffa11 Update Ukrainian translation 2023-01-27 14:45:57 +00:00
Yuri Chornoivan 41ab0fe2ab Update Ukrainian translation 2023-01-27 14:42:51 +00:00
Yuri Chornoivan e3ee010be1 Update Ukrainian translation 2023-01-27 14:40:18 +00:00
Jehan c1aa1b7b3d plug-ins: fix freeing NULL object.
When the plug-in is queried initially for plug-in setup, then freed, the builder
object is not created.
2023-01-27 14:18:20 +01:00
Alx Sa f6b4adafa3 build: Port fileicon.ico from gimp-2-10
This .ico contains additional 24x24, 64x64, 128x128, and 256x256 sizes
for clearer icons on different resolutions and displays.
2023-01-27 04:41:10 +00:00
Jehan bd94175c9a plug-ins: coding-style fixes.
While studying this code as base for the previous commit, I noticed various
coding style issues.
2023-01-27 01:48:33 +01:00
Jehan 691e0c0272 plug-in: port animation-play to GAction.
Largely inspired by commit dddb23c6. This also gave me a good overview of the
various missing features in GAction (compared to GtkAction) and how we'll have
to implement this in GIMP core. I now have a very clear path of what remains to
be done.
2023-01-27 01:48:33 +01:00