Jehan
1d50c81130
libgimp, plug-ins, extensions: gimp_image_procedure_new2() renamed gimp_image_procedure_new().
2023-10-01 21:02:34 +02:00
Alx Sa
e79de5db86
plug-ins: port small-tile to gimp_image_procedure_new2()
...
The dialog itself is ported to GimpProcedureDialog, but the original
plug-in only had one config parameter (Number of Tiles).
Some of the other options might make sense as config parameters
such as the horizontal/vertical toggles and opacity.
2023-10-01 20:52:01 +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
1787492710
plug-ins: tile-small should respect the user-set transparency rendering.
...
Right now, the various Gimp*Preview classes have code initializing their
transparency colors correctly. Some plug-ins, such as tile-small are
directly using a GimpPreviewArea and need to be initialized directly by
the plug-in.
I also realized that several plug-ins (such as gradient-flare) are
rendering their own alpha checkboard, despite using a GimpPreviewArea
(maybe was it code from a time before this class had support for alpha
checkboard rendering?). So this would have to be improved later.
2022-05-14 16:31:58 +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
Jehan
d95f417719
app, libgimpwidgets, modules, plug-ins: code changes after GimpScaleEntry…
...
… reclassing as GimpLabelSpin subclass.
2020-11-05 18:06:52 +01:00
Jehan
b3c0ba061b
app, libgimpwidgets, modules, plug-ins: finishing GimpScaleEntry port.
...
Renaming the temporary function gimp_scale_entry_new2() into
gimp_scale_entry_new() now that the original code is entirely gone. This
is now a fully-fledged widget with a nice and proper introspectable API.
2020-11-01 02:46:20 +01:00
Jehan
7ebd19636c
plug-ins, modules: more port to GimpScaleEntry.
2020-10-31 02:07:35 +01:00
luz.paz
36f620012d
Fix typos
...
Found via codespell v1.17.0.dev0
```
codespell -q 3 -S ./ChangeLog*,*.po,./.git,./NEWS* -L als,ang,ba,chello,daa,doubleclick,foto,hist,iff,inport,klass,mut,nd,ower,paeth,params,pard,pevent,sinc,thru,tim,uint
```
2020-05-04 08:55:48 -04:00
luzpaz
44d10e458c
Fix various typos
...
Found via `codespell` (v1.17.0.dev0)
2019-09-21 17:10:46 +00:00
Michael Natterer
df8d5b02ae
libgimp, plug-ins: remove the "preview" parameter from gimp_ui_init()
...
It's dead since a looong time.
2019-09-20 19:56:00 +02:00
Michael Natterer
7bd9f2d2b5
plug-ins: port tile-small to GimpPlugIn
2019-08-31 16:44:10 +02:00
Michael Natterer
7b099b0568
plug-ins: port tile-small to libgimp objects
2019-08-30 19:33:09 +02:00
Michael Natterer
069d4345bb
plug-ins: port tile-small to GEGL, stupid 8-bit port only
...
...GimpPixelFetcher use down to one!
2019-07-07 18:34:54 +02:00
Michael Natterer
c6934a67e7
plug-ins: tile-small was still using "expose-event", port to "draw"
2019-07-07 17:57:14 +02:00
Ell
8954d1f386
libgimpwidgets, app, plug-ins: use GimpSpinButton everywhere
...
Replace all direct uses of GtkSpinButton with GimpSpinButton, so
that its modified behavior extends to all our spin buttons.
2019-03-09 07:28:52 -05:00
Michael Natterer
5f700549e7
Change the license URL from http://www.gnu.org/licenses/ to https://
2018-07-11 23:29:46 +02:00
Michael Natterer
80997a8646
Remove most GTK_ADJUSTMENT() and (GtkAdjutment *) casts
...
they are obsolete in GTK+ 3.x because GtkAdjustment cannot be passed
around as GtkObject any longer, GtkObject is gone.
2018-06-24 18:15:16 +02:00
Simon Budig
7d64cf62c6
libgimpwidgets: rename the _grid()-Variants of gimp_scale_entry_*
...
Adjust all plugins to follow accordingly.
This concludes the GtkTable'ocide.
2018-05-20 21:06:35 +02:00
Michael Natterer
b7f24cf3a2
plug-ins: copy gimp_spin_button_new() into the last two plug-ins using it
2018-05-20 21:06:34 +02:00
Michael Natterer
bdbec7941c
Use the new macros from the last commit in all files
...
...and gone are the annoying warnings.
2018-05-20 21:06:34 +02:00
Simon Budig
b392140b71
tile-small: kill GtkTable
2018-05-20 21:06:34 +02:00
Michael Natterer
eb8487b487
plug-ins: s/GtkObject/GtkAdjustment/g in plug-ins/common/
2018-05-20 21:06:27 +02:00
luz.paz
147c09f19e
Bug 795161 - Misc. typo fixes in source comments and doxygen
...
Found via `codespell`
Follow-up to commit 7fdb963e01
2018-04-18 21:06:57 +02:00
Michael Natterer
dda54c1df8
Deprecate stock items for good and change all icon defines to GIMP_ICON_*
...
Try to sort all GIMP_ICON_* defines into FDO categories like in
https://specifications.freedesktop.org/icon-naming-spec/latest/ar01s04.html
Add defines for all icons we override, rename some icons to their FDO
standard names, and mark the ones we duplicate with a comment so we
don't forget to rename those to standard names in 3.0.
2017-03-05 16:01:59 +01:00
Michael Natterer
801bd8fb3f
plug-ins: get rid of icons in dialog buttons (use labels not stock IDs)
2017-02-12 16:18:54 +01:00
Michael Natterer
4df9a1d568
Get rid of gtk_misc_set_alignment(label) and use gtk_label_set_x,yalign()
2016-09-08 19:11:20 +02:00
Øyvind Kolås
b165893c2b
plugins: hide tile-small from menus
2012-05-03 04:34:08 +02:00
Michael Natterer
dcb4c6e34a
plug-ins: use gtk_box_new()
2011-09-30 12:18:24 +02:00
Michael Natterer
77b615e899
plug-ins: use g_object_bind_property() to set widgets sensitive
...
depending on toggle buttons instead of libgimpwidgets' "set_sensitive"
hack.
2011-05-11 11:41:26 +02:00
Michael Natterer
f660236a4f
plug-ins: remove some -Wunused-but-set-variable
2011-05-05 12:49:38 +02:00
Mikael Magnusson
8ff66342b8
plug-ins: set progress to 1.0 when done
2011-04-10 19:28:43 +02:00
Michael Natterer
8c4d99f883
Bug 645456 - Inconsistent window (role) naming scheme
...
Applied patch from Christoph Kappel which adds a "gimp-" prefix to all
plug-in dialog window roles.
2011-04-08 20:31:34 +02:00
Michael Natterer
0ad9051bc3
plug-ins: more cleanup in nova and tile-small
2010-09-09 01:54:00 +02:00
Michael Natterer
0aa35c8c8e
plug-ins: use the same opacities for drawing lines on top of the preview
2010-09-08 21:00:29 +02:00
Michael Natterer
73b5f87873
plug-ins: port tile-small selection drawing to cairo
2010-09-08 20:33:39 +02:00
Michael Natterer
06673f27e2
Use various GTK+ accessors instead of object->member
2009-10-10 15:10:57 +02:00
Michael Natterer
e805cb0cf4
Use gtk_dialog_get_content_area() instead of dialog->vbox
2009-07-15 18:57:12 +02: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
4a7f395eae
plug-ins/common/animation-play.c plug-ins/common/cml-explorer.c
...
2008-06-28 Michael Natterer <mitch@gimp.org>
* plug-ins/common/animation-play.c
* plug-ins/common/cml-explorer.c
* plug-ins/common/convolution-matrix.c
* plug-ins/common/curve-bend.c
* plug-ins/common/despeckle.c
* plug-ins/common/filter-pack.c
* plug-ins/common/gee-zoom.c
* plug-ins/common/gee.c
* plug-ins/common/lens-flare.c
* plug-ins/common/newsprint.c
* plug-ins/common/nova.c
* plug-ins/common/postscript.c
* plug-ins/common/sample-colorize.c
* plug-ins/common/sphere-designer.c
* plug-ins/common/tile-small.c: use accessors instead of accessing
members of GTK+ widgets directly.
svn path=/trunk/; revision=26012
2008-06-28 18:40:23 +00:00
Mukund Sivaraman
8216638667
plug-ins/common/sinus.c plug-ins/common/compose.c
...
2008-03-28 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/sinus.c
* plug-ins/common/compose.c
* plug-ins/common/screenshot.c
* plug-ins/common/mng.c
* plug-ins/common/wind.c
* plug-ins/common/gif-save.c
* plug-ins/common/video.c
* plug-ins/common/sphere-designer.c
* plug-ins/common/hot.c
* plug-ins/common/red-eye-removal.c
* plug-ins/common/tile-small.c
* plug-ins/common/gbr.c
* plug-ins/common/jigsaw.c
* plug-ins/common/glob.c
* plug-ins/common/despeckle.c
* plug-ins/common/noise-randomize.c
* plug-ins/common/convolution-matrix.c
* plug-ins/common/gif-load.c
* plug-ins/common/psd-save.c
* plug-ins/common/emboss.c
* plug-ins/common/csource.c
* plug-ins/common/cml-explorer.c
* plug-ins/common/grid.c
* plug-ins/common/pcx.c
* plug-ins/common/engrave.c
* plug-ins/common/curve-bend.c: Cleanups / fixes for issues
reported by Sparse.
svn path=/trunk/; revision=25295
2008-03-29 02:30:58 +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