Commit Graph

21 Commits

Author SHA1 Message Date
Jehan bf8ee69570 plug-ins: fix some broken macros with a massive search-and-replace.
If we leave a space between the macro name and opening parenthese for argument
lists, the args are not considered macro args (which will be discovered when
using it). I experienced this issue while testing code on some plug-in
yesterday, so thought I might as well fix all these broken macros for casting to
the specific GimpPlugIn subclass, so that we won't have a next time.
2023-10-18 18:29:37 +02:00
Jehan 1d50c81130 libgimp, plug-ins, extensions: gimp_image_procedure_new2() renamed gimp_image_procedure_new(). 2023-10-01 21:02:34 +02:00
Jehan 4f14f620c4 plug-ins: port to gimp_image_procedure_new2() all plug-ins which were already…
… working with a GimpProcedureConfig.

These are the easiest ones to port as most of the work was already done (mostly
just some now useless calls to remove).
2023-10-01 20:52:01 +02:00
Jehan 9ad5049dec menus, plug-ins: now place various plug-ins in the right menu sections.
This removes a bunch of inconsistencies we had from the before-2.99.16 version
because new items from plug-ins were all added at the bottom of their respective
submenu.
2023-07-13 15:49:05 +02:00
Jehan 6ecfc4a77b plug-ins: more placeholders removed from menu paths. 2023-04-12 22:07:08 +02:00
Jehan df074bfe09 plug-ins: label and documentation of plug-ins localized plug-in side.
This is the consequence of previous commit. Plug-ins' label and
documentation are now localized before sending these data to GIMP core.
In other words, we replace N_() macros with basic gettext calls.
2022-07-05 12:23:51 +02:00
Jehan 18c37f7084 plug-ins, libgimp: override set_i18n() for all our core plug-ins.
Hence avoiding the stderr messages. These are going to be localized with
centrally installed catalogs "gimp*-std-plugins", "gimp*-script-fu" and
"gimp*-python".

We now handle core plug-in localizations differently and in particular,
with kind of a reverse logic:

- We don't consider "gimp*-std-plugins" to be the default catalog
  anymore. It made sense in the old world where we would consider the
  core plug-ins to be the most important and numerous ones. But we want
  to push a world where people are even more encouraged to develop their
  own plug-ins. These won't use the standard catalog anymore (because
  there are nearly no reasons that the strings are the same, it's only a
  confusing logic). So let's explicitly set the standard catalogs with
  DEFINE_STD_SET_I18N macro (which maps to a different catalog for
  script-fu plug-ins).
- Doing something similar for Python plug-ins which have again their own
  catalog.
- Getting rid of the INIT_I18N macro since now all the locale domain
  binding is done automatically by libgimp when using the set_i18n()
  method infrastructure.
2022-06-05 01:57:02 +02:00
Jehan 79e608694e plug-ins: fix many GimpImageProcedure to new run() API.
No logics change so far.
2021-04-04 01:40:00 +02:00
Michael Natterer dcc89fb611 plug-ins: port crop-zealous to GimpPlugIn 2019-08-31 12:23:34 +02:00
Michael Natterer dfe73bf4ba plug-ins: port some simple plug-ins to libgimp objects
(where simple == doesn't use much API)
2019-08-30 19:27:19 +02:00
Michael Natterer 5f700549e7 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
Jehan 2d4715bee9 Bug 791901 - GeglBuffers leaked with Zealous Crop. 2017-12-24 00:39:02 +01:00
Øyvind Kolås 7e6320497e follow gegl api changes from commit af5361ca8d, with an abyss policy argument
to gegl_buffer_copy.
2015-05-25 01:27:31 +02:00
Thomas Manni f8073e6946 plug-ins: port crop-zealous to GEGL 2014-12-11 10:10:35 +01:00
Michael Natterer aa0912fcd6 Bug 735904 - Zealous crop of an image with a selection duplicates image data
Clear the selection before calling gimp_drawable_merge_shadow(), because
the selection affects the merge, which is unwanted here.
2014-09-10 00:09:28 +02:00
Michael Natterer 720d8fa77a Bug 692939 - Zealous crop does nothing
Treat completely transparent pixels as equal, ignoring the hidden
color information.
2013-03-26 23:38:25 +01:00
Nelson A. de Oliveira 7666e5cf36 Fix memory and descriptor leaks 2010-11-12 21:56:17 +01:00
Michael Natterer e2dc72b168 various plug-in parameter cleanups that have piled up on my disk: some
2009-04-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/*.c: various plug-in parameter cleanups that
	have piled up on my disk: some whitespace fixes and other
	formatting, but mostly changes to make plug-in boolean/enum
	parameter desciptions look more like the ones that are generated
	for core procedures.


svn path=/trunk/; revision=28260
2009-04-11 16:57:42 +00:00
Michael Natterer 4ea1437646 plug-ins/common/*.c plug-ins/color-rotate/color-rotate.c
2009-01-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/*.c
	* plug-ins/color-rotate/color-rotate.c
	* plug-ins/file-bmp/bmp.c
	* plug-ins/file-faxg3/faxg3.c
	* plug-ins/file-fits/fits.c
	* plug-ins/file-fli/fli-gimp.c
	* plug-ins/file-ico/ico.c
	* plug-ins/file-jpeg/jpeg.c
	* plug-ins/file-psd/psd-save.c
	* plug-ins/file-psd/psd.c
	* plug-ins/file-sgi/sgi.c
	* plug-ins/file-uri/uri.c
	* plug-ins/file-xjt/xjt.c
	* plug-ins/flame/flame.c
	* plug-ins/fractal-explorer/fractal-explorer.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/gradient-flare/gradient-flare.c
	* plug-ins/help-browser/help-browser.c
	* plug-ins/ifs-compose/ifs-compose.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/lighting/lighting-main.c
	* plug-ins/map-object/map-object-main.c
	* plug-ins/maze/maze.c
	* plug-ins/metadata/metadata.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/print.c
	* plug-ins/pygimp/gimpfu.py
	* plug-ins/script-fu/script-fu-script.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/selection-to-path/selection-to-path.c
	* plug-ins/twain/twain.c
	* plug-ins/win-snap/winsnap.c: document the "run-mode" parameter
	as we document enums for core procedures.


svn path=/trunk/; revision=27922
2009-01-19 20:11:36 +00:00
Michael Natterer d9b5207aa2 Change licence to GPLv3 (and to LGPLv3 for libgimp).
2009-01-17  Michael Natterer  <mitch@gimp.org>

	* all files with a GPL header and all COPYING files:

	Change licence to GPLv3 (and to LGPLv3 for libgimp).

	Cleaned up some copyright headers and regenerated the parsers in
	the ImageMap plugin.


svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Michael Natterer bfa8547a93 Renamed tons of plug-ins to make more sense and to be consistent:
2008-03-24  Michael Natterer  <mitch@gimp.org>

	Renamed tons of plug-ins to make more sense and to be consistent:

	* plug-ins/common/AlienMap2.c -> alien-map.c
	* plug-ins/common/CEL.c -> cel.c
	* plug-ins/common/CML_explorer.c -> cml-explorer.c
	* plug-ins/common/align_layers.c -> align-layers.c
	* plug-ins/common/animationplay.c -> animation-play.c
	* plug-ins/common/animoptimize.c -> animation-optimize.c
	* plug-ins/common/apply_lens.c -> lens-apply.c
	* plug-ins/common/autocrop.c -> crop-auto.c
	* plug-ins/common/autostretch_hsv.c -> contrast-stretch-hsv.c
	* plug-ins/common/borderaverage.c -> border-average.c
	* plug-ins/common/bumpmap.c -> bump-map.c
	* plug-ins/common/c_astretch.c -> contrast-stretch.c
	* plug-ins/common/ccanalyze.c -> color-cube-analyze.c
	* plug-ins/common/channel_mixer.c -> channel-mixer.c
	* plug-ins/common/color_enhance.c -> color-enhance.c
	* plug-ins/common/colortoalpha.c -> color-to-alpha.c
	* plug-ins/common/convmatrix.c -> convolution-matrix.c
	* plug-ins/common/curve_bend.c -> curve-bend.c
	* plug-ins/common/depthmerge.c -> depth-merge.c
	* plug-ins/common/dog.c -> edge-dog.c
	* plug-ins/common/exchange.c -> color-exchange.c
	* plug-ins/common/flarefx.c -> lens-flare.c
	* plug-ins/common/fp.c -> filter-pack.c
	* plug-ins/common/fractaltrace.c -> fractal-trace.c
	* plug-ins/common/gauss.c -> blur-gauss.c
	* plug-ins/common/gee_zoom.c -> gee-zoom.c
	* plug-ins/common/glasstile.c -> tile-glass.c
	* plug-ins/common/gqbist.c -> qbist.c
	* plug-ins/common/gradmap.c -> gradient-map.c
	* plug-ins/common/laplace.c -> edge-laplace.c
	* plug-ins/common/lens.c -> lens-distortion.c
	* plug-ins/common/lic.c -> van-gogh-lic.c
	* plug-ins/common/max_rgb.c -> max-rgb.c
	* plug-ins/common/mblur.c -> blur-motion.c
	* plug-ins/common/nlfilt.c -> nl-filter.c
	* plug-ins/common/noisify.c -> noise-rgb.c
	* plug-ins/common/normalize.c -> contrast-normalize.c
	* plug-ins/common/papertile.c -> tile-paper.c
	* plug-ins/common/polar.c -> polar-coords.c
	* plug-ins/common/randomize.c -> noise-randomize.c
	* plug-ins/common/redeye.c -> red-eye-removal.c
	* plug-ins/common/retinex.c -> contrast-retinex.c
	* plug-ins/common/sample_colorize.c -> sample-colorize.c
	* plug-ins/common/scatter_hsv.c -> noise-hsv.c
	* plug-ins/common/sel_gauss.c -> blur-gauss-selective.c
	* plug-ins/common/semiflatten.c -> semi-flatten.c
	* plug-ins/common/smooth_palette.c -> smooth-palette.c
	* plug-ins/common/snoise.c -> noise-solid.c
	* plug-ins/common/sobel.c -> edge-sobel.c
	* plug-ins/common/spheredesigner.c -> sphere-designer.c
	* plug-ins/common/spread.c -> noise-spread.c
	* plug-ins/common/struc.c -> apply-canvas.c
	* plug-ins/common/threshold_alpha.c -> threshold-alpha.c
	* plug-ins/common/tileit.c -> tile-small.c
	* plug-ins/common/tiler.c -> tile-seamless.c
	* plug-ins/common/uniteditor.c -> unit-editor.c
	* plug-ins/common/unsharp.c -> unsharp-mask.c
	* plug-ins/common/vinvert.c -> value-invert.c
	* plug-ins/common/vpropagate.c -> value-propagate.c
	* plug-ins/common/webbrowser.c -> web-browser.c
	* plug-ins/common/whirlpinch.c -> whirl-pinch.c
	* plug-ins/common/zealouscrop.c -> crop-zealous.c

	* plug-ins/common/plugin-defs.pl: changed accordingly.

	* plug-ins/common/Makefile.am: regenerated.


svn path=/trunk/; revision=25192
2008-03-24 15:29:55 +00:00