Commit Graph

6268 Commits

Author SHA1 Message Date
647f0ada2a Add support for reading 16-bit raw PPM files
This should be useful for loading the output of programs such
as dcraw.
2011-03-26 15:09:59 +05:30
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
28aa26fb28 Bug 635038 - Fails to build on GNU/Hurd
Apply patch from Ari Pollak that tries harder to get a value for
PATH_MAX.
2011-03-21 23:40:05 +01:00
569299523e Bug 641529 - Image Map plugin. The name of 2 buttons are not too clear
It can't hurt to have more obvious tooltips.
Changed to "Move Area to Top/Bottom".
2011-03-21 22:58:59 +01:00
ee6a029040 Add -fno-common to CFLAGS
Also fix the errors that were discovered by it. Multiple
definitions of global variables are no longer silently combined by
the linker, and will be reported as errors.

If you see GIMP crash strangely (i.e, apart from the usual crashes),
please go see a head doctor.
2011-03-21 22:51:30 +05:30
6e45d788f8 plug-ins: undeprecate most of file-xjt 2011-03-18 09:27:54 +01:00
422248d42a Fixed cut and paste error that put R5RS fix before the setting of a variable. 2011-03-17 21:43:48 -04:00
94fa7a0471 file-jpeg: Validate ExifRational.denominator before division 2011-03-18 03:44:08 +05:30
9538f4d61f file-jpeg: Bug #594282 - Set image resolution from EXIF if available 2011-03-18 03:39:05 +05:30
97bf01569a Minor R5RS compatibility fix for the expt procedure. 2011-03-17 17:47:45 -04:00
5c07d3b52d Added a getenv procedure to the ftx extension of Script-Fu. 2011-03-17 17:47:44 -04:00
584f9a35e7 Use correct format string for size_t args 2011-03-18 00:06:15 +05:30
2deb14c9be Use correct format string for size_t args 2011-03-18 00:06:15 +05:30
9bbfac5c59 Use correct format string for size_t args 2011-03-18 00:06:14 +05:30
bd74617756 Bug 643174 - GIMP fails to execute 'Palette to Gradient' function
Don't call gimp_gradient_segment_range_split_uniform() if num_segments
is 1 (which happens on a palette with two colors).
2011-03-17 19:21:07 +01:00
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
e26c2777c5 plug-ins: use GimpImageType instead of GimpImageBaseType in value-propagate
This has been wrong forever.
2011-03-17 15:57:46 +01:00
d7c1788f2c plug-ins: use gdk_window_get_width/height() on GTK+ >= 2.24 2011-03-17 15:56:53 +01:00
98e5c32f00 plug-ins: compare gimp_image_base_type() to GIMP_RGB, not GIMP_RGB_IMAGE
because the latter is from the wrong enum.
2011-03-17 15:44:47 +01:00
d23c0d3fdf plug-ins: add a typedef for IfsCompose's token enum
and don't treat its values as GTokenType.
2011-03-17 15:29:43 +01:00
bdf8d3d776 plug-ins: add some GTK_CHECK_VERSION(2,24,0) and use the new GtkComboBoxText 2011-03-17 14:31:39 +01:00
bb6436cb44 libgimp: deprecate and rename the global pararasite functions
just as it was done for items and images. Remove the "parasite" PDB
group completely.
2011-03-08 14:31:04 +01:00
db6f3dfe89 plug-ins: fix glitch in image parasite function renaming 2011-03-08 14:21:57 +01:00
87646e9ace libgimp: deprecate and rename the image parasite functions
in exactly the way the drawable functios were turned into item ones.
2011-03-08 13:19:21 +01:00
fcfb7cf160 Use the new g_[s]list_free_full() instead of foreach() and free() 2011-03-07 17:11:28 +01: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
38fd77f5e9 plug-ins: some more s/gtk_container_add/gtk_box_pack_start/ 2011-03-05 10:59:56 +01:00
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
c913c1512a libgimp, plug-ins: change the parasite function calls in more places 2011-03-02 21:57:37 +01:00
b435e55d14 Applied modified version of second patch for bug #642939.
Original patch supplied by Nelson A. de Oliveira. Modified to not use the
-1 "insanity" for invalid/none layer ID's in scripts per IRC discussion.
Additional scripts were changed to not pass -1 to gimp-image-insert-layer.
2011-03-02 02:55:43 -05:00
403630fd57 Applied modified version of first patch for bug #642939.
Original patch supplied by Nelson A. de Oliveira. Modified to not use the
-1 "insanity" for invalid/none layer ID's in scripts per IRC discussion.
2011-03-02 02:27:15 -05:00
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
203440521a plug-ins: imagemap, init map type to the default type set in preferences 2011-02-23 23:15:01 +01:00
6ea2f4881a plug-ins: imagemap, Don't show popup menu when button 1 is pressed
Showing the menu when dragging stuff around broke event handling in
various ways. Also only show the menu on right click.
2011-02-23 13:17:09 +01:00
cc3f1e8a24 plug-ins: imagemap, don't run execute for sash when redoing
It adds event handlers expecting the mouse button to be down, but it
isn't, so everything broke.
2011-02-23 13:17:05 +01:00
8621807a9f plug-ins: imagemap, port to cairo 2011-02-23 13:17:04 +01:00
e012caf1a3 plug-ins: imagemap, tabs to spaces 2011-02-23 13:17:02 +01:00
b19645db49 script-fu: Use gimp-image-select-item instead of gimp-item-to-selection
gimp-item-to-selection does not seem to exist (in the PDB), so update to the
correct function gimp-image-select-item (which also takes the image as a
parameter).
2011-02-21 00:19:38 +02:00
2260b15568 plug-ins: lighting, use an expose handler and remove unneeded backbuf 2011-02-20 16:44:19 +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