Richard Hughes
88f41f10ad
Change the location of the gdk-pixbuf.loaders for gtk3 ABI
2010-05-10 14:03:20 +01:00
Matthias Clasen
7447ef0fc2
Make 3.0 parallel-installable to 2.x
...
In particular, rename
- libraries to lib*-3.0.so
- pc files to *-3.0.pc
- include paths to /usr/include/gtk-3.0/*
- module paths to /usr/lib/gtk-3.0/*
- rc files names to gtk-3.0/gtkrc
- commandline utilities to *-3.0
- adjust documentation
Also change the install location for unix-print headers to
/usr/include/gtk-3.0/unix-print/gtk.
2010-05-08 01:18:53 -04:00
Matthias Clasen
77d4d3cdae
Merge branch 'gtk-2-90'
...
Conflicts:
gtk/gtkentry.h
2010-05-06 22:55:02 -04:00
Javier Jardón
a141c35271
Remove the definition of libpixbufloader_gdip_png_la_*
...
libstatic-pixbufloader-gdip-png.la should not be built or at least not
included in STATIC_GDIPLUS_LIBS as we don't want to use the GDI+-based
loader for PNG, because if we do, we can't get (or was it set?) the
options of a PNG pixbuf that for instance some code in GIMP wants to do.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=607839
2010-05-04 16:07:51 +02:00
Javier Jardón
64812ce662
Added an extra validation in gdk_pixbuf_loader_set_size()
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=380196
2010-05-04 00:39:46 +02:00
Michael Natterer
5e29973773
Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDES
...
...and disallow inclusion of individual files unconditionally.
2010-05-03 01:51:18 +02:00
Javier Jardón
3b696774fc
Remove deprecated code: GdkPixbuf
2010-05-03 01:49:25 +02:00
Javier Jardón
668e9eaabb
Remove deprecated code: GdkPixbufAnimation
2010-05-03 01:48:45 +02:00
Matthias Clasen
a0f23e1706
Fix a 64bit issue
...
Thank you libpng, for typedef unsigned long png_uint_32.
2010-03-25 00:55:15 -04:00
Damien Lespiau
0a0e0a868a
introspection: Fix parallel builds
...
One needs to add an explicit dependency between the gir files and the
.la libtool wrapper as this dependency is not added automatically by
Makefile.introspection. Not adding these breaks parallel builds as make
does not wait for the .la to be generated before launching g-ir-scanner.
2010-03-22 12:53:18 -04:00
Matthias Clasen
33330ab332
Prevent a crash in the TGA loader
...
Reported in bug 609744.
2010-02-23 11:50:25 -05:00
Matthias Clasen
23450f4e74
Fix incorrect string
...
String change. See bug 610235.
2010-02-22 23:49:47 -05:00
Johan Dahlin
fe85272112
[annotations] Add allow-none
...
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
2010-02-19 17:57:51 -02:00
Christian Dywan
a7d57b622b
Remove the destination file if trying to save a pixbuf failed
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=591102
2010-01-25 10:37:53 +01:00
Matthias Clasen
3fdcf3d3e2
Fix a few C99isms
...
Reported in bug 606761.
2010-01-17 22:47:14 -05:00
Javier Jardón
ccf17a828b
[docs] Add missing "Deprecated: 2.x" to the api doc comments
2010-01-11 06:25:59 +01:00
Matthias Clasen
1d4c6ebe5f
Avoid an FPE for ludicrous scale values
...
...just bail out early.
2010-01-08 13:24:33 -05:00
Matthias Clasen
9fc436d810
Setup libjpeg error handlers early enough
...
See bug 606068 for details.
2010-01-06 22:44:16 -05:00
Matthias Clasen
85b41aaffc
Don't use string concatentation in translated strings
...
gettext can't handle it, and there is no real need to use G_GSIZE_FORMAT
here anyway.
2010-01-02 20:11:50 -05:00
Johan Dahlin
c212f680a4
Avoid warnings when introspetion is not available
...
-include is the same as include but will never warn if the
file is not available
2009-12-31 01:47:24 +01:00
Johan Dahlin
5955cfe37f
Fix build with system install of introspection
...
Or redo it properly and remove previous hack by Matthias.
2009-12-31 01:19:38 +01:00
Richard Hughes
60e0183ac9
Add icc-profile option to gdk-pixbuf for the TIFF image format
2009-12-21 08:53:28 +00:00
Javier Jardón
479c7b0476
Fix compilation warning: use the correct conversion specifier
...
Use G_GSIZE_FORMAT instead of %d
2009-12-21 00:39:19 +01:00
Richard Hughes
ba651d4022
Add color management support to gdk_pixbuf_save
...
This patch adds an icc-profile option to a GdkPixbuf which can
be used to read or write an embedded ICC profile.
Add PNG support for now, but other image formats are awaiting
review.
2009-12-18 15:17:13 +00:00
Johan Dahlin
eadc7885da
Use Makefile.introspection
...
Use the new fancy rules from the Makefile.introspection, it makes
the rules prettier and avoids quite a bit of duplication
2009-12-16 17:22:02 -02:00
Johan Dahlin
248d4b1622
Make sure dist check works with introspection
...
We need to prepend the srcdir to all variables
passed into the scanner as it runs with srcdir != builddir during
distcheck.
2009-12-16 17:22:02 -02:00
Colin Walters
78758d43ea
Build introspection data for gdk-pixbuf, gdk, and gtk
...
Generate .gir and .typelib files for gdk-pixbuf, gdk, and gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
2009-12-16 17:22:00 -02:00
Javier Jardón
dd3d8c96d0
[gdk-pixbuf] Use G_STRLOC instead __LINE__
2009-11-30 21:10:49 +01:00
Christian Dywan
e72435f9d0
Implement "compression" option in the TIFF pixbuf loader
...
This enables applications to read out the compression of a TIFF image
and also makes it possible to apply the same or a different
compression when saving.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=584700
2009-11-30 13:55:12 +01:00
Matthias Clasen
869ee7f232
Allocate a large-enough and mask
...
We came up short when the image width is not a multiple of 8.
Bug 585383, fix by Felix Riemann.
2009-11-27 20:59:42 -05:00
Matthias Clasen
044f168507
Set scale_num only once
...
This modifies the previous commit to be according the upstream libjpeg
maintainers recommendations. See bug 588740.
2009-11-25 23:39:31 -05:00
Nicola Fontana
1e1131c959
Do not use static GTypeInfo and GInterfaceInfo
...
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED)
and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and
GInterfaceInfo structs, while tutorials and source code often use
static variables. This commit consistently adopts the former method.
https://bugzilla.gnome.org/show_bug.cgi?id=600158
2009-11-06 01:21:09 +01:00
Matthias Clasen
f4990f6c9d
Fix loading scaled-down jpegs
...
The assumption that scale_num will be automatically be 1 is no longer
with libjpeg7. So set it explicitly. Bug #588740 .
2009-11-05 10:29:34 -05:00
Javier Jardón
141a7dac00
Fix warning: Initialize to TRUE the returned variable
...
Also, fixing some indentation problems
2009-10-30 19:24:08 +01:00
Javier Jardón
3388a1b146
Use "Since: 2.x" instead "Since 2.x"
2009-10-30 18:11:44 +01:00
Javier Jardón
567b23229f
Cast to gchar* to fix a compilation warning
2009-10-26 15:14:46 +01:00
Kevin Peng
4b22b461b6
GdkPixbuf loader for QTIF format
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=366217
2009-10-26 00:08:08 +01:00
Javier Jardón
e21355495a
Cast to gchar* to fix a compilation warning
2009-10-25 22:14:12 +01:00
Javier Jardón
8e945e0e3f
Cast to gchar* to fix a compilation warning
2009-10-22 00:10:50 +02:00
Javier Jardón
852d4f49cd
Cast to fix compilation warning
2009-10-22 00:03:44 +02:00
Javier Jardón
8e70bc988b
Fix a compilation warning
...
Use parenthesis in a expression with "&" operator
2009-10-20 20:44:48 +02:00
Tor Lillqvist
9212f560f0
Fix the GDI+ gdk-pixbuf loader
...
Should fix bug #552678 . Patch by Dominic Lachowicz, based on a clueful
response from Jason Copenhaver on Albeto Ruiz's blog
http://aruiz.typepad.com/siliconisland/2009/08/dear-lazyweb-gtk-need-gdi-help.html
2009-10-08 10:59:55 +03:00
Matthias Clasen
be22a62160
Cleanups
...
This commit removes dead code, mostly pointed out by clang.
2009-09-10 13:53:28 -04:00
Matthias Clasen
079cc21956
Avoid a segfault if license is NULL
...
The license field was introduced later on, so some out-of-tree loaders
may not set it. And Solaris printf() doesn't take NULL for a string...
Bug 594178.
2009-09-04 18:22:30 -04:00
Christian Dywan
c91cb2f71a
Bug 592901 - Crash in JPEG pixbuf loader instead of error
...
Initialize the error structure early enough to ensure that it
propagates properly in the case of an error. Patch by Nokia.
2009-08-25 12:01:54 +02:00
Christian Persch
e8dcf330cc
Preserve errno, and always use g_strerror()
...
Bug #592461 .
2009-08-24 15:30:00 +02:00
Shixin Zeng
89a8fade6f
Don't use stream before it is created
2009-08-20 23:53:57 +03:00
Shixin Zeng
e10db38f0d
Put variable definitions at start of block
2009-08-20 23:51:38 +03:00
Sam Thursfield
ad3be19251
Make gdk-pixbuf-csource work on Windows also in the build tree.
...
Patch from bug #590448 .
2009-08-02 10:40:13 +03:00
Hans Breuer
fbf73aada9
Updated msvc build
2009-07-04 12:19:05 +02:00