Commit Graph

49356 Commits

Author SHA1 Message Date
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
Martin 2a20f32cf5 Update Slovenian translation 2023-01-26 17:59:13 +00:00
Martin eba0e36182 Update Slovenian translation 2023-01-26 17:57:13 +00:00
Jehan 114d0f35df devel-docs: move debug-plug-ins.txt to gimp-web-devel.
Now in the "Resource development" section of the developer website under
resource/debug-plug-ins/.
2023-01-26 17:08:56 +01:00
Jehan 9716768bb1 devel-docs: debugging-tips.md also moved to gimp-web-devel repo. 2023-01-26 16:43:34 +01:00
Jehan 0036b190e1 devel-docs: performance-logs documentation now moved to gimp-web-devel. 2023-01-26 16:37:22 +01:00
Jehan 4f45ddc17e libgimp: rename gimppropchooser.* to gimppropchooser-private.* and…
… don't include it from public gimpui.h.

As reviewed during !786, if this file is private, the name should show it
clearly. And of course, we must not include it from another public header, since
it won't be installed.

This also fixes building plug-ins with gimptool as reported by tmanni:
e00f2d7f50 (note_1650791)
2023-01-26 15:46:12 +01:00
Hugo Carvalho 27dac96f83 Update Portuguese translation 2023-01-25 12:14:53 +00:00
Hugo Carvalho cb45d4d5cc Update Portuguese translation 2023-01-25 12:10:24 +00:00
Hugo Carvalho 427e6d9947 Update Portuguese translation 2023-01-25 12:03:47 +00:00
Hugo Carvalho 35098c9dec Update Portuguese translation 2023-01-25 12:02:18 +00:00
Ekaterine Papava f614e47cad Update Georgian translation 2023-01-25 06:49:07 +00:00
Jehan 95a87cb6ac po-script-fu: remove predator.scm from POTFILES.in. 2023-01-24 22:29:51 +01:00
Jehan f7579eabbb libgimp: set_i18n() method of GimpPlugIn expects UTF-8 catalog directory.
Nothing was really clearly specified until now, which was kinda equivalent to
the string being in the OS encoding as used by GLib. Since this string will
usually be statically hardcoded in code (and not extracted from system), it's
just much easier to request UTF-8 for this specific case.
2023-01-24 20:06:38 +01:00
Jehan f5d2c5369c libgimpbase: fix annotations.
As per the changes in commit 005b3a05b8 and discussions in !800,
gimp_locale_directory() returns a string in the OS encoding for all but Windows
(UTF-8), i.e. the "filename" type in GIR annotations.
2023-01-24 19:59:40 +01:00
Jehan 9642034a02 NEWS: update. 2023-01-24 19:53:13 +01:00
Jehan 6fb882ac5a Issue #5440: removed broken "Predator" script.
It relied on the now non-existing max-rgb plug-in, which was removed in commit
dd89f4a3d5. After some thoughts and discussions, the Predator script is fun, but
clearly not a mandatorily "needed" one here, which is why — instead of
re-integrating max-rgb —, I have decided to also remove Predator.

Both these script/plug-in are not totally dead. They were moved to the
gimp-data-extras repository and even ported to GIMP 3.0 API. They can be an
interesting use case for a fun extension to be installable through our future
extension platform. To be continued.
2023-01-24 19:22:26 +01:00
Jehan 19cb236955 Issue #8073: Crop can also be an extend.
Rename "Crop to Selection" to "Resize Layers to Selection" since it's not
necessarily a crop. The layer dimension can also grow now.

Also specifying "Layers" because action titles can also be displayed
off-context, such as in the action search, so we must be more detailed with our
action titles. Similarly adding a "Layers" to "Crop to Content".
2023-01-24 18:54:29 +01:00
Jehan 9c641050e0 app: cut with a selection works similarly as a copy followed by a clear. 2023-01-24 18:46:41 +01:00
Jehan 29dff58a2f build: more `meson setup` syntax update. 2023-01-24 17:48:29 +01:00
Luca Bacci e360cef004 screenshot-win32-magnification-api.h: Fix coding style 2023-01-24 14:48:44 +00:00
Luca Bacci 005b3a05b8 Make use of the gimp_bind_text_domain () util function 2023-01-24 14:48:44 +00:00
Luca Bacci cbcb9181d0 Add gimp_bind_text_domain () utility function
On UNIX it's just a stub calling bindtextdomain () directly;
on Windows it converts the path to UTF-16 and calls wbindtextdomain ().
2023-01-24 14:48:44 +00:00
Luca Bacci 48c27770b6 Use unicode-aware color management API
* GetMonitorInfoW
* EnumDisplayDevicesW
* GetStandardColorSpaceProfileW
* GetColorDirectoryW
2023-01-24 14:48:44 +00:00
Luca Bacci cfaaec6347 Use ExcHndlSetLogFileNameW ()
This is a Dr.MinGW function
2023-01-24 14:48:44 +00:00
Luca Bacci 11801cf402 Use SetWindowsHookExW () 2023-01-24 14:48:44 +00:00
Luca Bacci 08142062a7 Use GetModuleFileNameExW () 2023-01-24 14:48:44 +00:00
Luca Bacci 54b3e3956e Use SHGetKnownFolderPath instead of the deprecated SHGetSpecialFolderLocation 2023-01-24 14:48:44 +00:00