aaa55f9042
plug-ins: fix some build warning.
...
Fixes:
> warning: using integer absolute value function ‘abs’ when argument is of floating point type ‘double’ [-Wabsolute-value]
(cherry picked from commit b71754f2a7
)
2020-04-19 12:57:51 +02:00
a7a8fddafe
plug-ins: port curve-bend to GEGL, stupid 8-bit port only
...
(cherry picked from commit 0b4b8d75ea
)
2019-07-08 21:24:09 +02:00
4415d76102
plug-ins: a ton of cleanup in curve-bend
...
- move use of deprecated function to very few places
- indentation, formatting
- fix insane variable names, it's now much more readable
(cherry picked from commit 8ac6ec2a00
)
2019-07-08 21:11:26 +02:00
5397dac21b
plug-ins: some WIP undeprecating curve-bend
...
better push before it rots... totally unfinished but works.
(cherry picked from commit 96e7a791f8
)
2019-07-06 13:13:16 +02:00
2dad85b84f
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:43:13 -05:00
c49afa4f84
plug-ins: replace s/printf/g_printf/
...
When cross-compiling, I got various linking errors for printf() calls:
> undefined reference to `libintl_printf'
I am unsure why, since this is not recent code, and it used to build
fine with mingw64 compilers (last I cross-built, which is many months
ago). Anyway g_printf() works fine, all necessary libs are already
linked, and it is supposed to be a synonym. So let's just go the easy
way and use g_printf() only.
2018-08-12 20:59:48 +02:00
a88c0ffb93
Change the license URL from http://www.gnu.org/licenses/ to https://
2018-07-11 23:47:19 +02:00
aac958607d
plug-ins: use g_fopen(filename, "w+b")...
...
...because g_fopen(filename, "wb+") fails on Windows.
(cherry picked from commit 541f730f44
)
2018-06-15 11:02:24 +02:00
69b2e84924
Source and trivial typos
...
Found via `codespell` and `grep`
2018-05-12 23:44:47 +02:00
4a77ff2d3d
Bug 795557 - Misc. typo fixes in source, comments and doxygen (pt3)
...
Found via `codespell` and grep.
2018-04-25 23:49:06 +02:00
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
7da262d86f
Bug 784836 - Context conflict on "Lower" in po-plug-ins.
2017-07-18 12:56:32 +02:00
bc344a9991
Bug 750180 - Fix different ways of writing Plug-in Plug-In Plugin.
...
It was agreed that we should write "plug-in" consistently. Only possibly
user-visible strings were updated.
Thanks to scootergrisen for a first patch which could not make it
after changing decision on the canonical writing.
2017-03-21 17:52:22 +01:00
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
801bd8fb3f
plug-ins: get rid of icons in dialog buttons (use labels not stock IDs)
2017-02-12 16:18:54 +01:00
66060e3307
app, libgimp*, plug-ins: replace enum GimpLayerModeEffects by GimpLayerMode
...
with proper value names. Mark most values as _BROKEN because they use
weird alpha compositing that has to die. Move GimpLayerModeEffects to
libgimpbase, deprecate it, and set it as compat enum for GimpLayerMode.
Add the GimpLayerModeEffects values as compat constants to script-fu
and pygimp.
2017-01-08 23:00:19 +01:00
79cdbadc95
plug-ins: replace some gimp_spin_button_new() by plain GTK+ calls
2016-05-18 09:49:22 +02:00
4f99c7294a
Bug 155733 - need to check return values of gimp_drawable_mask_bounds()
...
Remove gimp_drawable_mask_bounds() from several plug-ins
Also avoid null pointer crash by returning if called with null
drawable which appears to happen once on the initial update. Instead
prints a message for some one who might want to fix it
Change gimp_drawable_mask_intersect() to check return value
We still get some GIMP Error and Warnings but no crashes now
2016-04-17 21:42:49 +01:00
4a5a6ef914
Bug 684330 - Rectangle tool's "fixed size" option is off-by-one
...
ROUND() is consistent only on positive values, and bad rounding
creates an offset when negative values are involved. Introduce
SIGNED_ROUND() and use it in gimprectangletool.c. It should probably
be used in much more places.
2013-02-13 00:08:39 +01:00
6b0d1038cc
Bug 692641 - Various spelling fixes
2013-01-27 18:59:02 +01:00
90a4886ce4
curve-bend: Delete dead variable and assignment
2011-10-10 10:11:40 +05:30
7693791223
curve-bend: Remove redundant assignment and move variable to local block
2011-10-08 18:33:04 +05:30
077dc13c4e
curve-bend: Remove dead code
2011-10-03 11:03:06 +05:30
dcb4c6e34a
plug-ins: use gtk_box_new()
2011-09-30 12:18:24 +02:00
8ff66342b8
plug-ins: set progress to 1.0 when done
2011-04-10 19:28:43 +02:00
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
38fd77f5e9
plug-ins: some more s/gtk_container_add/gtk_box_pack_start/
2011-03-05 10:59:56 +01:00
97a73ea83f
app: use gtk_box_pack_start() to pack a dialog's toplevel container
...
instead of gtk_container_add()'s because otherwise the widget will not
expand in GTK+ 3.x
2011-03-04 10:44:58 +01:00
7666e5cf36
Fix memory and descriptor leaks
2010-11-12 21:56:17 +01:00
719e04f5d9
plug-ins: Port common/curve-bend.c to new item transform API
2010-10-06 19:55:33 +02:00
3c15255030
plug-ins: port curve-bend curve drawing to cairo
2010-09-12 00:54:39 +02:00
bbd7ec6b5c
plug-ins: port from gimp_image_add_foo() to gimp_image_insert_foo()
...
I'm sure some plug-ins need to add their items *not* at the toplevel,
but since making plug-ins really tree-aware is a lot more work than
just fixing insert positions, I went for passing -1 as parent in
almost all cases. And because of laziness...
2010-09-06 11:40:46 +02:00
c6a2eaa5c4
plug-ins: use new item API instead of deprecated drawable API
2010-07-09 12:27:36 +02:00
19d4ad70f9
Bug 595605 - memory leaks in plug-ins/common/curve-bend.c
...
Add missing g_free() calls.
2010-05-16 11:09:02 +02:00
018e8b0d29
Build with GSEAL_ENABLE and #undef it where accessors are missing
2009-10-17 20:31:57 +02:00
0458da1832
Use accessors instead of widget->window and adjustment->value
2009-10-10 15:10:56 +02:00
e805cb0cf4
Use gtk_dialog_get_content_area() instead of dialog->vbox
2009-07-15 18:57:12 +02:00
bb0ca406ef
check the return value of fgets().
...
2009-01-26 Sven Neumann <sven@gimp.org >
* plug-ins/common/curve-bend.c (p_load_pointfile): check the
return value of fgets().
svn path=/trunk/; revision=27957
2009-01-26 09:05:48 +00:00
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
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
6405455161
the plug-in can only run on layers, not masks and channels. Added a check
...
2008-09-18 Sven Neumann <sven@gimp.org >
* plug-ins/common/edge-dog.c: the plug-in can only run on
layers,
not masks and channels. Added a check for this and bail out with
an error message. Fixes bug #552625 .
* plug-ins/common/curve-bend.c: return error messages via the
procedure's return values.
svn path=/trunk/; revision=27000
2008-09-18 19:31:26 +00:00
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
1fdfd03576
fixed handling of "argc-lower-val-y" PDB parameter.
...
2008-04-21 Sven Neumann <sven@gimp.org >
* plug-ins/common/curve-bend.c (run): fixed handling of
"argc-lower-val-y" PDB parameter.
svn path=/trunk/; revision=25502
2008-04-21 12:45:52 +00:00
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
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