Commit Graph

67 Commits

Author SHA1 Message Date
5f700549e7 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
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
870ca6334d 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.
2018-05-20 21:06:35 +02:00
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
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
de5ab5e07a map-object: kill GtkTable 2018-05-20 21:06:33 +02:00
1b3135ca95 Get rid of using GtkMisc API globally 2018-05-20 21:06:30 +02:00
4b92434bb9 plug-ins: port map-object to GTK+ 3.x 2018-05-20 21:06:29 +02:00
ce2cd374ee Replace gdk_cursor_unref() with g_object_unref() 2018-05-20 21:06:28 +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