Commit graph

6694 commits

Author SHA1 Message Date
Michael Natterer
f888792a77 plug-ins: return image type and #layers from the JPEG thumbnail procedure 2012-05-02 17:51:03 +02:00
Michael Natterer
d180c894be plug-ins: port file-pat to GEGL, as a file plug-in example 2012-05-02 17:50:55 +02:00
Michael Natterer
95b1c0617b Replace the value-invert plug-in by its GEGL counterpart 2012-05-02 17:50:52 +02:00
Michael Natterer
609e2d8cda Replace the color-to-alpha plug-in by GEGL filter dialog 2012-05-02 17:50:49 +02:00
Michael Natterer
8c1990025e plug-ins: remove the pixelize plug-in 2012-05-02 17:50:48 +02:00
Michael Natterer
3e119c5af7 libgimpcolor: add gimp_rgb[a]_set,get_pixel()
which converts from/to any pixel format using Babl. Added tons of
includes and CFLAGS now that libgimpcolor publically uses Babl.
2012-05-02 17:50:43 +02:00
Øyvind Kolås
52f92de6e0 plugins/newsprint: remove assumption that tiles are square 2012-05-02 17:50:37 +02:00
Michael Natterer
1abf5d8e90 plug-ins: clean up goat-exercise.c so it is a better example 2012-05-02 17:46:08 +02:00
Michael Natterer
e9c387679b plug-ins: fix mkgen.pl to pass the destdir newly required by make_file()
Also, add support for "gegl => 1" in plugin-degs.pl and regenerated
all build files.
2012-05-02 17:46:08 +02:00
Michael Natterer
f2aa2c2726 plug-ins: remove duplicate GEGL_CFLAGS from winsnap's Makefile.am 2012-05-02 17:46:08 +02:00
Øyvind Kolås
d1ced11415 plug-ins: add GEGL_CFLAGS to many Makefile.am's 2012-05-02 17:46:08 +02:00
Øyvind Kolås
4bdbff08d7 libgimp: add a GeglBuffer backend for plug-ins
Also added an API to get GeglBuffers for drawables, you choose whether you
get.
2012-05-02 17:46:08 +02:00
Michael Natterer
0f656b9543 plug-ins: depend on librsvg >= 2.36.0 and half-undeprecate file-svg 2012-04-24 22:10:49 +02:00
João S. O. Bueno
75242a03e4 pygimp: adds proper support for layer groups
Layer groups where barely supported using numeric IDs and
by calling gimp.Item.from_id. This adds a Python
GroupLayer class.
2012-04-20 04:49:16 -03:00
Massimo Valentini
257224ff99 Bug 674024: Store in .png does not compress
The slider did not always show the values effectively used
2012-04-14 18:39:49 +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
4ad0104a43 plug-ins: change more things in maze from uint to int to fix compiler warnings 2012-03-04 17:53:54 +01:00
Ville Sokk
2084b13369 Bug 155733 - need to check return values of gimp_drawable_mask_bounds()
Mask intersect fixes for some plug-ins.
2012-03-04 17:49:41 +01:00
Massimo Valentini
c2f68b59a3 Bug 670897: Phython-fu does not return parent layer...
(pdb.gimp_item_get_parent(item))

Adjust param conversions when wrapping pdb functions
and implement 'children' and 'parent' getter for
GimpItem Python Object.
2012-02-28 18:20:10 +01:00
Mikael Magnusson
0f8dd4ab88 plug-ins: make preview grid lines less blurry in map-object 2012-02-22 21:55:08 +01: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
Mikael Magnusson
776d2b9e04 plug-ins: fix debug macro in wget file-uri backend 2012-02-16 11:24:02 +01:00
Ville Sokk
f07b9606d8 Bug 658610 - Warn when importing PNG images with an offse
Added a dialog about offsets to the PNG loader
2012-02-12 20:49:52 +01:00
Michael Natterer
bdc3f7e7e0 Bug 635615 - Embed page setup dialog in the print dialog
Get rid of the antique separate page setup menu item and dialog.
Started with a patch from Bilal Akhtar but massively changed it, and
fixed some undiscovered bugs on the way.
2012-02-12 13:51:18 +01:00
Martin Renold
08ed48fffc Bug 669616 - openraster plugin saves invalid files under some circumstances
If the label contains an URL, the double slashes (//) make very
poor filenames inside the ZIP container.

http://forum.intilinux.com/mypaint-help-and-tips/gimp-corrupting-ora-files/msg10284/#msg10284
2012-02-08 20:22:18 +01:00
Michael Natterer
3c240bcb3c plug-ins: remove unused variable in file-tiff-load.c 2012-02-05 22:28:55 +01:00
Michael Natterer
1b34c9220c plug-ins: actually use the return value of fread() in gimppressionist/presets 2012-02-05 22:28:09 +01:00
Michael Natterer
9092c79ca2 plug-ins: remove unused variable in file-pdf-save.c 2012-02-05 22:27:15 +01:00
Massimo Valentini
a0e6941db1 Bug 669188: saving a monochrome bitmap picture ...
The colormap was being written within the DIB header.
It must follow both the mask and color space info.
2012-02-02 11:49:41 -05:00
Mukund Sivaraman
216470c728 file-pdf-load: Change description and button text 2012-02-02 21:58:47 +05:30
Mukund Sivaraman
4f3da64f55 file-pdf-load: Rearrange code slightly to group the font options statements together 2012-02-02 21:56:30 +05:30
Massimo Valentini
389c73d492 file-pdf-load: Bug 644544: Let GIMP allow to switch off antialiasing in PDF 2012-02-02 21:55:43 +05:30
Michael Natterer
9a4abedb98 plug-ins: fix indentation b0rk from previous commit 2012-01-31 21:28:12 +01:00
Kevin Cozens
2871093626 Bug 669074 - Corrected typo, spotted by David Allen, in BMP file signature. 2012-01-31 14:53:18 -05:00
Mukund Sivaraman
005b119f1f file-ps: Link to Ghostscript library instead of launching another process 2012-01-22 10:33:50 +05:30
Mukund Sivaraman
ebe0bcc901 build: Add check for Ghostscript 2012-01-22 09:21:15 +05:30
Michael Natterer
c021703914 Bug 668077 - Plural forms
The two plurals are always constant numbers, but use %d to substitute
the constant. Add translator comments.
2012-01-18 20:53:42 +01:00
Mukund Sivaraman
addab2343b file-compressor: Update help text 2012-01-12 19:48:41 +05:30
Mukund Sivaraman
bebf9bbc68 file-compressor: Rewrite code for students who didn't like sitting in Dijkstra's class 2012-01-12 05:54:18 +05:30
Mukund Sivaraman
f2b9b5eaa4 file-compressor: Update comment about requiring gzip and bzip2 2012-01-12 05:29:42 +05:30
Mukund Sivaraman
5db85ad9e1 file-compressor: Move to own directory under plug-ins/ 2012-01-11 20:27:18 +05:30
Mukund Sivaraman
f80892bf50 file-compressor: Use compression libraries instead of programs
This commit will temporarily cause the build to break, because
file-compressor doesn't link -lz and -lbz2 after this commit. I'll fix
it soon, but if any of you want to kill me for breaking the build, feel
free to revert it. The commit will stay and can be used later.

This change was made so that file-compressor isn't crappy on Windows. It
also removes win32-specific code.
2012-01-11 19:29:32 +05:30
Michael Natterer
899c35e4df plug-ins: fix coding style in the last commit 2012-01-09 20:49:45 +01:00
Ulf-D. Ehlert
fd66a38dd6 Bug 653907 - Help-browser fails to sort top-level items
Sort help-browser items by a new attribute "sort", if available (to be
provided by the "gimp-help.xml" file).
2012-01-09 20:04:28 +01:00
Barak Itkin
d2076552db Fix the bugs in the conversion from drawables to cairo surfaces.
Most of the code was taken from the print plugin, and it includes iterating
over pixel regions (instead of fetching them at once), correct support for RGBA
(which was buggy previously), etc.
This commit removes the usage of A8 cairo surfaces for GRAY layers, simply
because it seems not to work. This should be investigated and fixed in order
to optimize the file size (by saving gray images as gray).
Also should be checked is why we treat the cairo bpp as 4 when calculating the
pixel locations in RGB cairo buffers. The print plug-in does this and it works,
and when I tried 3 it didn't work. May be because of word alignment...
2011-12-31 03:34:23 +02:00