Commit Graph

353 Commits

Author SHA1 Message Date
Richard Kreckel 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
Jehan 8a37c928eb app, plug-ins, libgimp*: clean out all remaining trailing spaces/tabs.
Rather than just discovering them by chance, a simple grep and some
search and replace are much more efficient! :-)
Cleaning only done on C and automake files.
2016-06-02 02:04:26 +02:00
Andrew Worsley 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
Mikael Magnusson 3ce761e3b3 gfig: close file on parse errors 2014-10-29 21:16:31 +01:00
Michael Natterer fa92203dd0 Bug 601139 - Gifg no longer usable with the new brush behavior
Call gimp_context_set_brush_default_size() after each
gimp_context_set_brush() which restores the original
behavior of the plug-in.
2014-09-25 00:24:34 +02:00
Mikael Magnusson 4cd23d6b6e gfig: Don't do integer division 2014-08-16 02:43:09 +02:00
Simon Budig 9a8d2f577e fix some pieces of nonsensical code
Spotted by Andrey Karpov using static code analysis:
   http://www.viva64.com/en/b/0273/
2014-08-16 00:37:13 +02:00
Michael Natterer 425748dab0 libgimpbase, *: rename GimpFillType values: GIMP_FOO_FILL -> GIMP_FILL_FOO
Change all users accordingly and add compat enum values and compat
constants to script-fu and pygimp.
2014-06-03 01:11:32 +02:00
Piotr Drąg 795bd0f9a3 Improve punctuation in a translatable string 2014-05-17 20:37:13 +02:00
Michael Natterer 22c222291d libgimpbase,*: clean up enum values in gimpbaseenums.h
GIMP_ADD_foo_MASK -> GIMP_ADD_MASK_foo
GIMP_foo_MODE -> GIMP_BLEND_foo
GIMP_foo_CLONE -> GIMP_CLONE_foo
GIMP_foo -> GIMP_DODGE_BURN_TYPE_foo
GIMP_foo -> GIMP_TRANSFER_foo

Add compat values for the old names and compat code to script-fu
and pygimp.
2014-04-29 20:58:30 +02:00
Téo Mazars 92e9c0dc4b gfig: Remove unneeded and deprecated drawable accessors. 2013-07-13 19:18:25 +02:00
Clayton Walker 264d09b417 Rename colour and greyscale to color and grayscale respectively 2013-06-06 23:26:16 +02:00
Michael Natterer ec786816bb */Makefile.am: merge INCLUDES into AM_CPPFLAGS
automake-1.13 finally warns about this anachronism.
2013-06-05 20:48:37 +02:00
Michael Natterer 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
Mukund Sivaraman b3d0ec400e gfig: Remove redundant code (cppcheck report) 2012-09-06 07:25:50 +05:30
Øyvind Kolås d1ced11415 plug-ins: add GEGL_CFLAGS to many Makefile.am's 2012-05-02 17:46:08 +02:00
Mikael Magnusson 0726abfa73 gfig: Don't bother selecting if we're not going to fill the selection 2012-03-25 15:03:37 +02:00
Alexis Wilhelm 34000d4ce2 Bug 672793 - GFig cannot paint closed paths outside of the layer 2012-03-25 14:51:39 +02:00
Michael Natterer 96cec46bec plug-ins: fix include guards in gfig-types.h 2012-02-21 16:44:14 +01:00
Mikael Magnusson f68acc3946 gfig: draw rectangular grid on whole pixels, set correct defaults in combo boxes. 2012-02-16 18:14:17 +01:00
Massimo Valentini 8b995fc76d gfig: mute compiler warnings 2012-02-16 18:07:59 +01:00
Massimo Valentini 261da8a4ab Bug 642728: Use cairo to draw Gfig 2012-02-16 18:07:59 +01:00
Massimo Valentini a1d7a4dba4 gfig: select the correct layer GimpImageType
and avoid a warning in a useless (but not unreachable)
code path

and do not dereference a NULL pointer when a style name
includes a white space (ex. "default style")
2012-02-16 18:07:59 +01:00
Mukund Sivaraman 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
Nils Philippsen fdcd625bc9 gfig: explicitly specify library dependencies 2011-12-12 00:30:58 +05:30
Michael Natterer 19b9bfd189 libgimpwidgets: add gtk_scale_new() to gimp3migration.[ch]
and use it all over the place. Also change some GtkObject* variables
to GtkAdjustment*.
2011-10-02 14:36:41 +02:00
Michael Natterer dcb4c6e34a plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
Massimo Valentini 35524c7c5c plug-ins/gfig: silence a warning and commit on close
Clicking on Close deleted the work done, on Cancel
showed a warning.

Tested terminating with:
<Alt>F4
Esc
<Ctrl>C
File->Close
Close button
Cancel button
2011-08-31 18:04:25 +02:00
Martin Nordholts 204d70739d plug-ins: Stop using gtk_range_set_update_policy() in gfig 2011-07-05 22:13:19 +02:00
Michael Natterer 83bbb67781 plug-ins: #undef GDK_DISABLE_DEPRECATED so we are 64 bit safe
will revert after 2.7.2 so we see the warnings again.
2011-04-14 21:16:40 +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
Mikael Magnusson d03d804b92 plug-ins: gfig, do cancel stuff when the dialog is closed 2011-04-01 02:32:51 +02:00
Mukund Sivaraman 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
Mukund Sivaraman 9bbfac5c59 Use correct format string for size_t args 2011-03-18 00:06:14 +05:30
Michael Natterer 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
Michael Natterer fcfb7cf160 Use the new g_[s]list_free_full() instead of foreach() and free() 2011-03-07 17:11:28 +01:00
Michael Natterer 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
Michael Natterer 7faaf4df41 libgimp: rename the newly added item parasite functions
gimp-item-find-parasite -> gimp-item-get-parasite
gimp-item-list-parasites -> gimp-item-get-parasite-list

Also changed the signature of gimp-item-get-parasite-list's C wrapper
in libgimp to be sane.
2011-03-01 22:19:48 +01:00
Simon Budig 7fb0300e1c fixes for some buffer overflow problems (see bug #639203) 2011-02-14 21:08:03 +01:00
Michael Natterer b4c9987de6 libgimp: move the item parasite functions to the parasites files
and rename them yet again to be gimp_item_foo_parasite() instead of
gimp_item_parasite_foo() because the latter is just a misnaming (they
are not GimpItemParasites, they are GimpParasites attached to
GimpItems, just as layers are attached to images).
2011-02-13 17:28:30 +01:00
Michael Natterer 47eaecdc9d libgimp: deprecate a bunch of old selection API
namely ellipse_select(), free_select(), rect_select() and
round_rect_select() because they are fully replaced by the new
gimp_image_select_foo() functions. Will deprecate the rest as soon as
I have figured how to put the parameter overkill of the remaining
functions into context properties.
2011-01-25 19:28:30 +01:00
Nelson A. de Oliveira 7666e5cf36 Fix memory and descriptor leaks 2010-11-12 21:56:17 +01:00
Sven Neumann ec5fa2fb26 plug-ins: unify handling of return values
For consistency Use a static GParam array for the return values
in all plug-ins.
2010-09-30 22:46:30 +02:00
Michael Natterer 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
Michael Schumacher 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
Nelson A. de Oliveira 4fea27ec1d Bug 623169 - Memory leaks in GIMP
Add some missing g_free() and free() calls, found by cppcheck.
2010-07-15 21:42:36 +02:00
Michael Natterer 45a7484b6a plug-ins: undeprecate after API deprecations 2010-07-09 10:36:52 +02:00
Michael Natterer b71da00ef2 Use gtk_widget_get_window() intead of widget->window 2009-10-09 21:19:10 +02:00
Michael Natterer e805cb0cf4 Use gtk_dialog_get_content_area() instead of dialog->vbox 2009-07-15 18:57:12 +02:00
Michael Schumacher 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