Commit Graph

29591 Commits

Author SHA1 Message Date
Michael Natterer 5c7660c6cc plug-ins: don't #include <libgimp/gimppixbuf.h> in bmp-read.c 2011-04-28 19:58:51 +02:00
Michael Natterer 2337d44018 libgimpbase: s/LIBGIMP_COMPILATION/GIMP_BASE_COMPILATION/ in gimpenv.*
because the latter is now generically defined for the new include guards.
2011-04-28 19:34:22 +02:00
Michael Natterer 564c124921 devel-docs: make GimpUnitComboBox/GimpUnitStore show up properly 2011-04-28 17:58:45 +02:00
Michael Natterer 1de19c8b57 libgimpwidgets: clean up class struct and add gtk-doc section comment 2011-04-28 17:57:40 +02:00
Michael Natterer cc47b2a600 libgimpwidgets/color: move the cairo color utility functions to libgimpcolor
Add CAIRO_CFLAGS to a lot of Makefiles to make this possible, and
because they pull in cairo via the libgimp headers.
2011-04-28 15:50:39 +02:00
Michael Natterer 268930f489 libgimpwidgets: gimp_pixmap_button_new, gimp_unit_menu_update -> gimpoldwidgets
where they belog. gimp_unit_menu_update() is newly deprecated.
2011-04-28 14:53:49 +02:00
Michael Natterer 844df2b4df libgimp*: add guards that #error out if individual files are included
This only helps to maintain proper includes in app/ and shouldn't
affect plug-ins at all, because these are supposed to only include the
main headers from libgimp/ since the beginning of time.

The gimpfootypes.h files do not have these guards, so we can continue
to maintain app/'s include policy that is very likely to error out if
wrong things are included.
2011-04-28 14:30:41 +02:00
Michael Natterer ee03177be8 libgimp: don't include individual files from libgimp* 2011-04-28 14:24:59 +02:00
Michael Natterer 2af539020b app: don't include individual files from libgimp* 2011-04-28 14:23:33 +02:00
Michael Natterer b2aad5ef14 libgimpmath: move the GipmVector and GimpMatrix structs to gimpmathtypes.h
in order to get rid of the need to include gimpvector.h and
gimpmatrix.h in global places just to make the structs generally
known.
2011-04-28 13:25:25 +02:00
Michael Natterer 3d7e51c52f libgimp: #include "libgimpbase/gimpbase.h" instead of individual files 2011-04-28 13:09:30 +02:00
Michael Natterer 8364672b11 tools: #include "libgimpbase/gimpbase.h" and not just gimpversion.h 2011-04-28 12:47:38 +02:00
Michael Natterer 81911a7b02 app: allow to drop buffers and components to empty displays
and simply create new images from them.
2011-04-28 01:59:38 +02:00
Michael Natterer 10b4155b95 app: never make Edit -> Buffers -> Paste Named insensitive
because it simply opens the buffers dockable, which is always
possible.
2011-04-28 01:56:37 +02:00
Michael Natterer 69d3aa5b36 Bug 648820 - drag and drop grayscale/greyscale image causes image corruption
gimp_display_shell_drop_pixbuf(): use the image's type to create the
layer, not the dropped pixbuf's.
2011-04-28 01:44:48 +02:00
Michael Natterer 92ce59e1c1 app: gimp_layer_new_from_pixbuf(): refuse to create layers of wrong type 2011-04-28 01:27:04 +02:00
Martin Srebotnjak b05555e0ba Updated Slovenian translation 2011-04-27 19:47:26 +02:00
Mukund Sivaraman 7f635464b0 imagemap: Rebuild scanners 2011-04-27 21:12:40 +05:30
Mukund Sivaraman 56f08d682b imagemap: Add lexer options to not generate input and yyunput 2011-04-27 21:11:57 +05:30
Mukund Sivaraman 6877a14caf Fix gtk-doc for gimp_layer_new_from_surface() 2011-04-27 20:35:56 +05:30
Mukund Sivaraman 7c879dfa99 libgimpwidgets: Add back gtk-doc comment for @stack 2011-04-27 06:10:14 +05:30
Mukund Sivaraman 8868a044ea file-mng: Rename more variables 2011-04-26 15:19:43 +05:30
Mukund Sivaraman c6a60d79c4 file-mng: Don't access inside PNG structs directly 2011-04-26 15:18:45 +05:30
Mukund Sivaraman 5b5d88a2f1 file-png: Get num_colors properly before passing it on 2011-04-26 15:18:27 +05:30
Mukund Sivaraman 838ba0b78e file-mng: Rename variables 2011-04-26 15:00:07 +05:30
Mukund Sivaraman 92684a25e9 file-png: Don't access inside PNG structs directly (contd.) 2011-04-26 08:06:27 +05:30
Mukund Sivaraman 4c26f37611 Add additional libpng warning flags
This flag warns when we use deprecated API. It's added in configure.ac
instead of someplace like plugin-defs.pl because libpng is used
in several places.
2011-04-26 06:49:21 +05:30
Mukund Sivaraman be78ba448f file-xmc: Flush each drawable 2011-04-25 21:03:12 +05:30
Mukund Sivaraman a1c7606d51 file-png: Conditionally declare text_length 2011-04-25 20:15:39 +05:30
Mukund Sivaraman f610aa4375 file-png: Don't access inside PNG structs directly 2011-04-25 20:15:39 +05:30
Martin Nordholts e75cfd044a app: Sort core/.gitignore 2011-04-25 16:08:15 +02:00
Mukund Sivaraman 4f96dd311e libgimpwidgets: Remove incorrect gtk-doc 2011-04-25 19:35:35 +05:30
Mukund Sivaraman d04efe3a03 libappwidgets: Initialize arrays before use 2011-04-25 19:34:02 +05:30
Mukund Sivaraman 27db4d9fc0 libgimpwidgets: Fix typo in array index 2011-04-25 19:32:08 +05:30
Mukund Sivaraman a31d8dab79 Revert "libgimpwidgets: Don't use light[3] and dark[3] as they're both uninitialized"
This reverts commit a0ff981041.
2011-04-25 19:29:55 +05:30
Mukund Sivaraman cdb66ccbdc app: Reformat dirty protos 2011-04-25 19:19:25 +05:30
Mukund Sivaraman 54e2d5fb68 app: Use a properly typed callback function
This fixes a compiler warning with the typeless proto arg.
2011-04-25 19:16:28 +05:30
Mukund Sivaraman 10b37cbcaa app: Remove unused variables 2011-04-25 19:10:04 +05:30
Mukund Sivaraman d8a98bf7b3 imagemap: Rebuild parsers 2011-04-25 14:30:58 +05:30
Mukund Sivaraman 58002ed20e imagemap: Fix protos 2011-04-23 07:02:02 +05:30
Michael Natterer d272159194 libgimpwidgets: use gdk_cairo_set_source_window() instead of source_pixmap() 2011-04-22 00:44:32 +02:00
Michael Natterer 1f78e8e0c6 plug-ins: screenshot: don't pass NULL to gdk_keymap_get_entries_for_keyval()
because it's deprecated to do that and badly crashes in GTK+ 3.0.
Use the display's keymap instead.
2011-04-22 00:06:22 +02:00
Michael Natterer be642b1e14 plug-ins: screenshot: use Cairo to make the screenshot
instead of gdk_pixbuf_get_from_drawable(), which is gone in GTK+ 3.0.
2011-04-21 21:10:38 +02:00
Michael Natterer 1616151b0e libgimp: remove opacity and mode parameters from gimp_layer_new_from_surface()
They are passed as default values in almost all cases, and can simply
be set later if needed.
2011-04-21 21:10:37 +02:00
Martin Nordholts 4988a97257 app: Add gimp_dock_set_id() 2011-04-21 19:57:14 +02:00
Martin Nordholts c84d26667b app: Add missing gimp_dock_get_id() implementation 2011-04-21 18:59:12 +02:00
Martin Nordholts f75f61779c app: GimpSessionInfoDock::identifier -> dock_type
Rename GimpSessionInfoDock::identifier to dock_type, because it isn't
really an identifier; there might be several instance with dock_type
being "gimp-dock". This is a preparation for adding an actual
'identifier' member.
2011-04-21 18:59:12 +02:00
Alexandre Prokoudine b18d638000 More tooltips for tools options
Added previously missing tooltips for transformation tools, Flip tool,
text tool and Bucket Fill tool.
2011-04-21 15:28:05 +04:00
Christian Kirbach 1cd5ab7356 [l10n] Updated German translation 2011-04-21 13:02:56 +02:00
Mukund Sivaraman a0ff981041 libgimpwidgets: Don't use light[3] and dark[3] as they're both uninitialized
This also removes the bogus double assignment to l[2].
2011-04-21 14:22:13 +05:30