Commit Graph

63 Commits

Author SHA1 Message Date
b5ceb4610d Issue #4331 - Bevel Reflect Logo script crashes in 2.10.14
Add missing gegl_init() to map-object.
2019-12-28 17:57:54 +01:00
dac6943b48 plug-ins: port map-object to GEGL
(cherry picked from commit 75114b1c40)
2019-07-09 17:11:45 +02:00
Ell
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
79961a6545 plug-ins: install plug-ins in subfolder.
I am going to forbid plug-ins from being installed directly in the root
of the plug-ins/ directory. They will have to be installed in a
subdirectory named the same as the entry point binary.
This may seem useless for our core plug-ins which are nearly all
self-contained in single binaries, but this is actually a necessary
restriction to eliminate totally the DLL hell issue on Windows. Moving
core plug-ins in subfolders is only a necessary consequence for it.

(cherry picked from commit 870ca6334d)
2018-08-16 13:25:51 +02:00
a88c0ffb93 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +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
e16c8a2352 Move the new "default_new_layer_mode" APIs to the image...
...in both the core and libgimp.

Images now know what the default mode for new layers is:

- NORMAL for empty images
- NORMAL for images with any non-legacy layer
- NORMAL_LEGAVY for images with only legacy layers

This changes behavior when layers are created from the UI, but *also*
when created by plug-ins (yes there is a compat issue here):

- Most (all?) single-layer file importers now create NORMAL layers
- Screenshot, Webpage etc also create NORMAL layers

Scripts that create images from scratch (logos etc) should not be
affected because they usually have NORMAL_LEGACY hardcoded.

3rd party plug-ins and scripts will also behave old-style unless they
get ported to gimp_image_get_default_new_layer_mode().
2017-08-21 20:18:00 +02:00
838449254a plug-ins: use gimp_get_default_new_layer_mode() for most new layers
instead of hardcoding NORMAL_LEGACY.
2017-08-20 17:12:46 +02:00
3cf423f0cd *: rename NORMAL to NORMAL_LEGACY and NORMAL_LINEAR to NORMAL
and make NORMAL_LEGACY immutable.
2017-02-26 16:26:34 +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
53d4ad7c28 map-object: fix bogus if()-statement. 2017-01-30 16:43:59 +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
f5ecc53f3e Fix a lot of warnings all over the place
Deprecated stuff, unused variables. Includes parts of a patch from
Shlomi Fish from bug #768855.
2016-10-31 01:36:35 +01:00
dd9b0fc55b Bug 768044 - Fix many typos
This fixes many typos in comments and one in a user-visible string (msgid
"center abscisse" changed to "center abscissa" in affected po files. too).
2016-06-26 00:35:24 +02:00
455a91819b plug-ins: add back some menu entries for plugins
So we see what we have. Need some other way of dealing with this stuff...
2016-04-18 21:06:16 +01:00
cfa9132c4d Bug 155733 - need to check return values of gimp_drawable_mask_bounds()
Remove calls to gimp_drawable_mask_bounds() from most plug-ins.
This just leaves a python gimp interface plug-in.
2016-04-18 21:02:32 +01:00
ec786816bb */Makefile.am: merge INCLUDES into AM_CPPFLAGS
automake-1.13 finally warns about this anachronism.
2013-06-05 20:48:37 +02:00
6b0d1038cc Bug 692641 - Various spelling fixes 2013-01-27 18:59:02 +01:00
1fe7b39dda plugins: remove map-object from menus 2012-05-03 04:34:08 +02:00
d1ced11415 plug-ins: add GEGL_CFLAGS to many Makefile.am's 2012-05-02 17:46:08 +02:00
0f8dd4ab88 plug-ins: make preview grid lines less blurry in map-object 2012-02-22 21:55:08 +01:00
e046056059 Bug #666751: Replace M_PI with G_PI 2011-12-23 14:47:34 +05:30
1808e4cbc3 build: Fix the location of the libm dependency
The plug-ins use symbols in libm and that's why -lm is necessary, not
because libgimpmath uses it.
2011-12-12 23:42:52 +05:30
df52d7a325 map-object: explicitly specify library dependencies 2011-12-12 00:30:59 +05:30
dcb4c6e34a plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
ab3fe10275 plug-ins: remove some more -Wunused-but-set-variable 2011-05-15 21:12:49 +02:00
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
dcd447f583 map-object: Fix aliasing warnings 2011-04-21 11:08:29 +05:30
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
58cc35a0e9 plug-ins: map-object, remove newlayer option from pdb
It broke compatibility with scripts and is mostly useful for interactive use anyway.
2011-03-05 22:19:02 +01:00
87750d993e plug-ins: tabs to spaces in map-object 2011-02-20 15:24:22 +01:00
0f1da6677c plug-ins: pass the cairo_t from expose handler to drawing functions in map-object 2011-02-20 15:24:21 +01:00
fc1ae9e430 plug-ins: better name for new layers in map-object
Also postpones adding the layer until after the calculation.
2011-02-20 13:53:33 +01:00
cf7902b1ab plug-ins: cleanup map-object a bit 2011-02-20 13:52:50 +01:00
8be41fa9b7 plug-ins: fix directional light mode in map-object 2011-02-20 13:52:50 +01:00
5bd9de23b8 plug-ins: add back wireframe mode using cairo 2011-02-20 13:52:49 +01:00
492ab89b4e plug-ins: use an undo group in map-object 2011-02-20 13:52:48 +01:00
e2710c8371 plug-ins: add "Create New Layer" option to map-object 2011-02-20 13:52:48 +01:00
0344cb4a42 plug-ins: fix pdb input validation in map-object 2011-02-20 13:52:45 +01:00
85474bff18 plug-ins: remove backbuffer from map-object 2011-02-19 10:43:52 +01:00
2827819f85 plug-ins: remove light marker clearing apparatur from map-object
We draw everything in expose() now so there is no need to clear
anything.
2011-02-16 22:01:54 +01:00
491e55c4e4 plug-ins: move the expose handler to map-pbject-preview.c 2011-02-13 14:16:32 +01:00
9912e3f4ee plug-ins: separate preview computation from drawing in map-object 2011-02-13 14:12:08 +01:00
e68df27853 map-object: put the y value in the y spinner 2011-02-13 13:19:07 +01:00
49fc3a125e lighting: port to cairo, replace wireframe with live preview 2011-02-13 13:18:07 +01: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
e77dd90fc0 Bug 574018 - Add a manifest to executables
Created a resource file for plug-ins and a rule to link it to them.
The application icon file is smaller than the default one, there's no
point in doubling the size of a plug-in executable just for an icon.

If no problems turn up, this will close the bug.
2010-09-01 08:24:45 +02:00
c6a2eaa5c4 plug-ins: use new item API instead of deprecated drawable API 2010-07-09 12:27:36 +02:00
05304f6d83 Bug 470698 - MapObject cannot modify highlight 2009-10-12 20:26:42 +02:00