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
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
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
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
4df9a1d568
Get rid of gtk_misc_set_alignment(label) and use gtk_label_set_x,yalign()
2016-09-08 19:11:20 +02: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
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
b4b85cf853
Bug 683153 - Lighting effects - bump mapping: top two rows of pixels are...
...
Init and interpolate the topmost row to avoid the use of a zero array.
2013-02-16 21:39:47 +01:00
6b0d1038cc
Bug 692641 - Various spelling fixes
2013-01-27 18:59:02 +01:00
2a30a2bb74
Bug 684698 - Preferences-Folders: only 15 folder items accepted
...
Raise "max_paths" from 16 to 256 in all calls to gimp_path_parse().
2012-09-26 23:29:51 +02:00
d1ced11415
plug-ins: add GEGL_CFLAGS to many Makefile.am's
2012-05-02 17:46:08 +02: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
4ed2e957dd
lighting: explicitly specify library dependencies
2011-12-12 00:30:59 +05:30
8a20035ea0
Bug 661313 - "None" string needs differentiation (message context)
...
Add translation context to all "None".
2011-11-16 23:13:03 +01:00
dcb4c6e34a
plug-ins: use gtk_box_new()
2011-09-30 12:18:24 +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
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
c062432444
Fix size_t format modifier yet again
...
This is cause our favourite platform Windows doesn't support
the POSIX `z' modifier for size_t arguments. Yay!
2011-03-24 11:29:23 +05:30
2deb14c9be
Use correct format string for size_t args
2011-03-18 00:06:15 +05:30
ac5cd62af5
plug-ins: don't use %ld to print simple integer values
...
I have no clue why %ld was used here, the values are really small...
2011-03-17 15:58:46 +01:00
2260b15568
plug-ins: lighting, use an expose handler and remove unneeded backbuf
2011-02-20 16:44:19 +01:00
7fb0300e1c
fixes for some buffer overflow problems (see bug #639203 )
2011-02-14 21:08:03 +01:00
5173b8559c
lighting: remove useless function call
2011-02-13 13:19:08 +01:00
81fee76747
plug-ins: port Lighting Effects to cairo
2010-11-02 21:34:11 +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
e27f1929d7
Use gtk_widget_get_window() instead of widget->window
2009-10-09 23:02:23 +02:00
e805cb0cf4
Use gtk_dialog_get_content_area() instead of dialog->vbox
2009-07-15 18:57:12 +02:00
eed061efbb
Adding Microsoft Windows executables to the .gitignore files
...
All binaries have been added individually.
Old binaries are supposed to show up as untracked.
2009-06-19 00:14:17 +02:00
4d7a6b10d1
Added .gitignore files generated with git svn create-ignore.
...
svn path=/trunk/; revision=27972
2009-01-31 11:37:44 +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
b5b51b475f
libgimpwidgets/gimpwidgets.c
...
2008-08-26 Martin Nordholts <martinn@svn.gnome.org >
* libgimpwidgets/gimpwidgets.c
* plug-ins/common/file-xbm.c
* plug-ins/common/file-wmf.c
* plug-ins/common/file-svg.c
* plug-ins/common/file-gih.c
* plug-ins/common/blur-motion.c
* plug-ins/file-jpeg/jpeg-save.c
* plug-ins/lighting/lighting-ui.c
* plug-ins/map-object/map-object-ui.c
* app/tools/gimpsheartool.c
* app/tools/gimpaligntool.c
* app/tools/gimprotatetool.c
* app/tools/gimplevelstool.c
* app/dialogs/resize-dialog.c
* app/dialogs/offset-dialog.c
* app/widgets/gimppaletteeditor.c
* app/widgets/gimpcolormapeditor.c
* app/dialogs/layer-options-dialog.c
* app/display/gimpdisplayshell-scale-dialog.c: Pass page_size = 0
to gimp_spin_button_new() to adapt to new and correct value
clamping in GTK+.
svn path=/trunk/; revision=26778
2008-08-26 19:32:14 +00:00
c023af4671
plug-ins/common/cml-explorer.c plug-ins/common/depth-merge.c
...
2008-08-11 Michael Natterer <mitch@gimp.org >
* plug-ins/common/cml-explorer.c
* plug-ins/common/depth-merge.c
* plug-ins/common/file-cel.c
* plug-ins/common/oilify.c
* plug-ins/file-bmp/bmp-write.c
* plug-ins/file-bmp/bmp.[ch]
* plug-ins/file-ico/ico-dialog.c
* plug-ins/file-ico/ico-save.c
* plug-ins/file-ico/ico.h
* plug-ins/flame/flame.c
* plug-ins/fractal-explorer/fractal-explorer-dialogs.c
* plug-ins/fractal-explorer/fractal-explorer.[ch]
* plug-ins/gimpressionist/gimp.c
* plug-ins/gimpressionist/gimpressionist.[ch]
* plug-ins/gimpressionist/orientmap.c
* plug-ins/gimpressionist/presets.c
* plug-ins/gimpressionist/sizemap.c
* plug-ins/help-browser/dialog.[ch]
* plug-ins/help-browser/help-browser.c
* plug-ins/ifs-compose/ifs-compose.c
* plug-ins/imagemap/imap_default_dialog.c
* plug-ins/imagemap/imap_main.[ch]
* plug-ins/lighting/lighting-main.[ch]
* plug-ins/lighting/lighting-ui.c
* plug-ins/map-object/map-object-main.[ch]
* plug-ins/map-object/map-object-ui.c
* plug-ins/selection-to-path/selection-to-path.c
* plug-ins/win-snap/winsnap.c: use PLUG_IN_BINARY and PLUG_IN_PROC
defines consistently instead of using literal strings or other
random defines. Define them if not already there or move them to
plugin-global places.
* plug-ins/win-snap/Makefile.am: rename the binary to "win-snap".
* plug-ins/win-snap/winsnap.c: changed accordingly.
svn path=/trunk/; revision=26509
2008-08-11 19:42:08 +00:00
f87f2ba907
plug-ins/imagemap/imap_cmd_move.c plug-ins/imagemap/imap_cmd_object_up.c
...
2008-03-29 Mukund Sivaraman <muks@mukund.org >
* plug-ins/imagemap/imap_cmd_move.c
* plug-ins/imagemap/imap_cmd_object_up.c
* plug-ins/imagemap/imap_cmd_move_up.c
* plug-ins/imagemap/imap_cmd_move_selected.c
* plug-ins/imagemap/imap_cmd_move_sash.c
* plug-ins/imagemap/imap_cmd_object_move.c
* plug-ins/imagemap/imap_cmd_object_down.c
* plug-ins/imagemap/imap_object.c
* plug-ins/imagemap/imap_cmd_move_down.c
* plug-ins/map-object/map-object-shade.c
* plug-ins/map-object/map-object-apply.c
* plug-ins/maze/maze.h
* plug-ins/maze/maze_face.c
* plug-ins/selection-to-path/selection-to-path.c
* plug-ins/selection-to-path/edge.c
* plug-ins/selection-to-path/pxl-outline.c
* plug-ins/selection-to-path/fit.c
* plug-ins/xjt/xjt.c
* plug-ins/metadata/xmp-parse.c
* plug-ins/print/print-draw-page.c
* plug-ins/print/print-settings.c
* plug-ins/lighting/lighting-preview.c: Cleanups / fixes for
issues reported by Sparse.
svn path=/trunk/; revision=25296
2008-03-29 09:25:34 +00:00
2042f4f9e6
plug-ins/map-object plug-ins/gradient-flare plug-ins/ifs-compose
...
2008-03-24 Michael Natterer <mitch@gimp.org >
* plug-ins/map-object
* plug-ins/gradient-flare
* plug-ins/ifs-compose
* plug-ins/selection-to-path
* plug-ins/lighting
* plug-ins/help-browser
* plug-ins/fli: rename files in these folders to have no
underscores and match new names of the plug-ins.
* configure.in: changed accordingly.
svn path=/trunk/; revision=25197
2008-03-24 18:33:25 +00:00
8876b879d3
Renamed folders in plug-ins/. Unfortunately it's impossible to rename the
...
2008-03-24 Michael Natterer <mitch@gimp.org >
Renamed folders in plug-ins/. Unfortunately it's impossible to
rename the files inside at the same time, so this is just
part one...
* plug-ins/FractalExplorer -> fractal-explorer
* plug-ins/Lighting -> lighting
* plug-ins/MapObject -> map-object
* plug-ins/gflare -> gradient-flare
* plug-ins/gfli -> fli
* plug-ins/helpbrowser -> help-browser
* plug-ins/ifscompose -> ifs-compose
* plug-ins/rcm -> colormap-rotate
* plug-ins/sel2path -> selection-to-path
* plug-ins/winicon -> win-icon
* plug-ins/winsnap -> win-snap
* configure.in
* plug-ins/Makefile.am: changed accordingly.
svn path=/trunk/; revision=25194
2008-03-24 16:36:03 +00:00