Commit Graph

198 Commits

Author SHA1 Message Date
Matthias Clasen
7dfb0b734b Use a new gtk-doc feature to generate much nicer indices.
2008-11-21  Matthias Clasen  <mclasen@redhat.com>

        * gtk/Makefile.am:
        * gdk/Makefile.am:
        * gdk-pixbuf/Makefile.am: Use a new gtk-doc feature to generate
        much nicer indices.

        * gtk/drawing-model.xml: Fix document structure


svn path=/trunk/; revision=21795
2008-11-21 08:21:28 +00:00
Stefan Kost
9e90452bac Use xi:include instead of entities to ease maintenance and speed up
* gdk-pixbuf/gdk-pixbuf-csource.xml:
	* gdk-pixbuf/gdk-pixbuf-from-drawables.sgml:
	* gdk-pixbuf/gdk-pixbuf-query-loaders.xml:
	* gdk-pixbuf/gdk-pixbuf-rendering.sgml:
	* gdk-pixbuf/gdk-pixbuf.sgml:
	* gdk-pixbuf/porting-from-imlib.sgml:
	* gdk/gdk-docs.sgml:
	* gdk/multihead.sgml:
	* libgail-util/gail-libgail-util-docs.sgml:
	  Use xi:include instead of entities to ease maintenance and speed up
	  documentation build. Fixes #540967


svn path=/trunk/; revision=21304
2008-09-06 09:47:18 +00:00
Matthias Clasen
7c45a441d1 Fix for single includes
svn path=/trunk/; revision=20229
2008-05-29 04:50:43 +00:00
Matthias Clasen
45e33fe9c2 Go back to 2.13.0 as version for now, as there was no consensus to do the
2008-02-15  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Go back to 2.13.0 as version for now,
        as there was no consensus to do the jump.

        * many other places: Update Since: tags.



svn path=/trunk/; revision=19586
2008-02-15 23:42:42 +00:00
Matthias Clasen
65cdbb25a8 Add stream i/o functions for gdk-pixbuf
svn path=/trunk/; revision=19373
2008-01-16 02:24:47 +00:00
Michael Natterer
64c73a61b7 Remove all .cvsignore files.
svn path=/trunk/; revision=19169
2007-12-13 11:18:45 +00:00
15:39:40 Tim Janik
2dc08ada49 call g_test_init() from gtk_test_init().
2007-11-22 15:39:40  Tim Janik  <timj@imendio.com>

        * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().

        * gtk/tests/testing.c: use g_test_add_func() to register tests and use
	g_test_run() to run the tests to integrate with the testing framework.

        * gtk/tests/Makefile.am: removed exemplary testing rules.

        * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
        * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
        * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
        * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
        * docs/reference/Makefile.am, docs/tools/Makefile.am:
        * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
        * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
        * demos/gtk-demo/Makefile.am, demos/Makefile.am:
        * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
        * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
        * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
        * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
        * modules/engines/ms-windows/Theme/Makefile.am:
        * modules/engines/ms-windows/Makefile.am:
        * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
        * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
        * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
        * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
        * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
        * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
	include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.



svn path=/trunk/; revision=19033
2007-11-22 14:38:26 +00:00
Matthias Clasen
8e2de76673 Remove references to deprecated functions. (#460207, Guillaume Cottenceau)
2007-09-06  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf/porting-from-imlib.sgml:
        * gdk/tmpl/rgb.sgml: Remove references to deprecated
        functions.  (#460207, Guillaume Cottenceau)



svn path=/trunk/; revision=18741
2007-09-07 03:18:53 +00:00
Matthias Clasen
eab944bb15 Remove uses of deprecated api in example. (#454835, Guillaume Cottenceau)
2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf/tmpl/scaling.sgml: Remove uses of deprecated api
        in example.  (#454835, Guillaume Cottenceau)


svn path=/trunk/; revision=18420
2007-07-09 19:33:42 +00:00
Matthias Clasen
ce66d46183 2.11.5
svn path=/trunk/; revision=18345
2007-07-02 22:24:39 +00:00
Matthias Clasen
b863097016 Document the "orientation" option.
2007-07-02  Matthias Clasen <mclasen@redhat.com>

        * gdk-pixbuf.c (gdk_pixbuf_get_option): Document the
        "orientation" option.

        * gdk-pixbuf.symbols:
        * gdk-pixbuf-core.h:
        * gdk-pixbuf-util.c (gdk_pixbuf_apply_embedded_orientation):
        New function to handle Exif orientation information in
        tiff and jpeg images.  (#439567, Michael Chudobiak)


svn path=/trunk/; revision=18340
2007-07-02 14:47:45 +00:00
Matthias Clasen
ecd08a8f41 Add new api
svn path=/trunk/; revision=17943
2007-05-26 20:56:19 +00:00
Brian Cameron
94dcec33c1 Add Sun mediaLib support so that hardware acceleration via mediaLib is
2007-05-16  Brian Cameron  <brian.cameron@sun.com>

        * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
          gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
          gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
          gdk-pixbuf/pixops/timescale.c:  Add Sun mediaLib support so that
          hardware acceleration via mediaLib is enabled if mediaLib is
          detected via configure.  Enhancement request #344813.  I was given
          permission to commit in the bug report by Matthias Clasen.
        * gdk/medialib.[ch]: New files added for mediaLib support.
        * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
          docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c:  Add docs for
          mediaLib support.

svn path=/trunk/; revision=17855
2007-05-16 01:35:51 +00:00
Stefan Kost
dbb15a3535 reviewed by: Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf/Makefile.am:
* gdk/Makefile.am:
* gtk/Makefile.am: use installation prefixes of dependent libs to
crossreference docs (#407146).

svn path=/trunk/; revision=17295
2007-02-14 21:54:29 +00:00
Matthias Clasen
9008d48524 Correct the include for GdkPixdata. (#394000, Samuel Cormier-Iijima)
2007-01-07  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf/gdk-pixbuf-sections.txt: Correct the include
        for GdkPixdata.  (#394000, Samuel Cormier-Iijima)



svn path=/trunk/; revision=17108
2007-01-07 20:04:37 +00:00
Matthias Clasen
2fba613b4d 2.9.0 2006-05-05 16:21:19 +00:00
Matthias Clasen
167afc896a Remove an empty index 2006-04-24 18:26:41 +00:00
Matthias Clasen
b5cc099058 Small additions/fixes.
2005-12-19  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf/tmpl/module_interface.sgml:
	* gdk-pixbuf/gdk-pixbuf-sections.txt:
	* gdk-pixbuf/tmpl/animation.sgml: Small additions/fixes.
2005-12-19 21:13:49 +00:00
Matthias Clasen
67d685f2e8 Bump version to 2.9.0
2005-08-26  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version to 2.9.0

	* gdk-pixbuf/gdk-pixbuf.sgml:
	* gdk/gdk-docs.sgml:
	* gtk/gtk-docs.sgml: Add indices for new
	symbols in 2.10
2005-08-26 18:52:48 +00:00
Matthias Clasen
64e268edf4 2.8.0 2005-08-13 19:34:27 +00:00
Matthias Clasen
2e680b56f5 Improve an example 2005-08-12 13:04:04 +00:00
Matthias Clasen
b0b1c78af8 Small fixes
2005-08-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt:
	* gtk/Makefile.am:
	* gdk-pixbuf/gdk-pixbuf-sections.txt:
	* gdk/tmpl/images.sgml: Small fixes
2005-08-06 05:12:11 +00:00
Matthias Clasen
804083681e Interpret patterns where the first byte of the mask is '*' as unanchored.
2005-07-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-io.c (format_check): Interpret patterns where
	the first byte of the mask is '*' as unanchored.  (#311011)
	(gdk_pixbuf_new_from_file): Use the first 256 bytes for
	sniffing the file format.
2005-07-22 04:37:27 +00:00
Matthias Clasen
03b9bae824 Fix the "new in 2.8" index.
2005-07-08  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdk-docs.sgml: Fix the "new in 2.8" index.

	* gdk-pixbuf/gdk-pixbuf.sgml: Add the "new in 2.8" index.
2005-07-08 15:03:20 +00:00
Matthias Clasen
58a1af804c 2.7.0 2005-06-20 22:06:27 +00:00
Matthias Clasen
fdf992a7e9 Add some symbols.
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add some symbols.
2005-06-10 03:59:40 +00:00
Matthias Clasen
d35931988e Add GdkPixbufSimplAnim functions.
2005-05-25  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufSimplAnim
	functions.
2005-05-25 19:40:21 +00:00
Matthias Clasen
7f37c65a7f Additions 2005-05-08 06:25:46 +00:00
Matthias Clasen
cb918cdb02 Changes to make gdk-pixbuf threadsafe (#157310, #157306, Colin Walters):
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

	Changes to make gdk-pixbuf threadsafe  (#157310, #157306,
	Colin Walters):

	* gdk-pixbuf-io.h (enum GdkPixbufFormatFlags): Add
	GDK_PIXBUF_FORMAT_THREADSAFE to indicate that an image loader
	is threadsafe.

	* gdk-pixbuf-io.c (get_file_formats, _gdk_pixbuf_load_module):
	Use a lock to make initialization of global data structures
	threadsafe.
	* gdk-pixbuf-private.h:
	* gdk-pixbuf-io.c (_gdk_pixbuf_lock, _gdk_pixbuf_unlock):
	Auxiliary functions which use another lock to protect
	threadunsafe image loaders.

	* gdk-pixbuf-io.c (gdk_pixbuf_real_save):
	(save_to_callback_with_tmp_file):
	(gdk_pixbuf_real_save_to_callback):
	(gdk_pixbuf_new_from_xpm_data):
	(_gdk_pixbuf_generic_image_load):
	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module):
	(gdk_pixbuf_loader_close):
	(gdk_pixbuf_loader_finalize):
	Use _gdk_pixbuf_lock() and _gdk_pixbuf_unlock().

	* io-ani.c, io-bmp.c, io-gif.c, io-ico.c:
	* io-jpeg.c, io-pcx.c, io-png.c, io-pnm.c:
	* io-ras.c, io-tga.c, io-wbmp.c, io-xbm.c:
	* io-xpm.c: Mark as threadsafe.

	* io-tiff.c: Remove pointless locking, mark as
	threadunsafe.
2004-11-12 05:34:31 +00:00
Matthias Clasen
51663a12d8 Document gdk_pixbuf_{major,minor,micro}_version.
2004-11-01  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf/tmpl/initialization_versions.sgml: Document
	gdk_pixbuf_{major,minor,micro}_version.
2004-11-01 19:41:27 +00:00
Matthias Clasen
4817eb2c1e Documentation fixes. 2004-10-26 17:35:41 +00:00
Jonathan Blandford
fa3293eb5e load images at normal size.
Thu Sep 16 02:07:56 2004  Jonathan Blandford  <jrb@gnome.org>

        * docs/tools/widgets.c (create_icon_view): load images at normal
        size.

        * docs/reference/gtk/images/*png: Update shots.
2004-09-16 06:16:38 +00:00
Matthias Clasen
d04af38a6c Add some missing declarations.
2004-09-01  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add some missing
	declarations.
2004-09-01 21:06:09 +00:00
Jonathan Blandford
08bc720614 constrain cell area to passed in cell_area, #147867
Tue Aug 31 17:07:41 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreeviewcolumn.c
        (gtk_tree_view_column_cell_process_action): constrain cell area to
        passed in cell_area, #147867

        * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): if
        ellipsizing, get_size is only 3 chars wide.

        * docs/tree-column-sizing.png: Add Matthias's excellent image.
2004-08-31 21:15:51 +00:00
Matthias Clasen
cd50f460a5 Add gdk_pixbuf_new_from_file_at_scale(), which is just like
Thu Aug 26 01:23:16 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-core.h:
	* gdk-pixbuf.symbols:
	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_scale):
	Add gdk_pixbuf_new_from_file_at_scale(), which is just
	like gdk_pixbuf_new_from_file_at_size(), but optionally
	ignores the aspect ratio.  (#136395, Dom  Lachowicz)
2004-08-26 05:33:13 +00:00
Matthias Clasen
17cf070553 2.5.2 2004-08-25 16:21:15 +00:00
Matthias Clasen
037d233cea Work around bugs in the runlength encoder by forcing rowstride * height to
2004-08-24  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixdata.c (gdk_pixdata_from_pixbuf): Work around bugs in
	the runlength encoder by forcing rowstride * height to be
	divisible by bpp.  (#150882)
2004-08-24 13:54:26 +00:00
Matthias Clasen
180901fb53 Add gdk-pixbuf-alias.h
2004-08-11  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf/Makefile.am (IGNORE_HFILES): Add gdk-pixbuf-alias.h
2004-08-11 13:59:38 +00:00
Soeren Sandmann
9d2a946813 === Released 2.5.0 ===
Sun Jul 18 17:21:10 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

        * === Released 2.5.0 ===

        * NEWS: updates

        * tests/testcombo.c: Fix compilation
2004-07-20 02:26:06 +00:00
Soeren Sandmann
1952300896 Create an empty target list if targets is NULL.
Sun Jul 18 15:28:24 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkdnd.c (gtk_drag_source_set, gtk_drag_dest_set): Create an
	empty target list if targets is NULL.

	* configure.in: Add check for X11/extensions/sync.h. (#147416,
	Morten Welinder)
2004-07-18 15:14:05 +00:00
Federico Mena Quintero
8b69a33d70 Start of the GTK+ glossary.
2004-07-12  Federico Mena Quintero  <federico@ximian.com>

	* gtk/glossary.xml: Start of the GTK+ glossary.

	* gtk/Makefile.am (content_files): Added glossary.xml.

	* gtk/gtk-docs.sgml: Likewise.
2004-07-12 20:25:34 +00:00
Matthias Clasen
b36f879cfb Updates 2004-07-08 04:00:56 +00:00
Matthias Clasen
1850de347c Flip the y axes in the diagrams.
Tue Jun 22 21:54:24 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf/composite.dia:
	* gdk-pixbuf/composite.png: Flip the y axes in the diagrams.
2004-06-23 01:59:40 +00:00
Matthias Clasen
fbe92667af Additions. 2004-06-21 04:52:47 +00:00
Matthias Clasen
6c21764997 Add a nice figure to the docs. 2004-06-19 05:45:55 +00:00
Matthias Clasen
7b8616bf76 Check for XFIXES extension.
2004-05-18  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Check for XFIXES extension.

	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
	a gboolean have_xfixes member.

	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Register
	XFIXES events and set have_xfixes.

	* gdk/gdkevents.h (GdkEventType): Add GDK_OWNER_CHANGE.
	(GdkEventOwnerChange): New event struct for owner change events.
	(GdkOwnerChange): New enum for the reason field of GdkEventOwnerChange.

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Translate
	XFixesSelectionNotify events into GdkEventOwnerChange events.

	* gdk/gdkdisplay.h:
	* gdk/x11/gdkdisplay-x11.c (gdk_display_supports_selection_notification):
	(gdk_display_request_selection_notification): New api
	to support selection ownership notification.

	* gtk/gtkclipboard.h:
	* gtk/gtkclipboard.c (_gtk_clipboard_handle_event): New private
	api to handle owner change events.
	(clipboard_peek): Refactored out the body of
	gtk_clipboard_get_for_display() for use in _gtk_clipboard_handle_event().

	* gtk/gtkmain.c (gtk_main_do_event): Handle GDK_OWNER_CHANGE events
	by calling _gtk_clipboard_handle_event().
2004-05-18 20:56:54 +00:00
Matthias Clasen
3002f39f53 Add gtk_menu_get_for_attach_widet, gtk_tree_view_get_fixed_height_mode,
2004-05-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add gtk_menu_get_for_attach_widet,
	gtk_tree_view_get_fixed_height_mode,
	gtk_tree_view_set_fixed_height_mode,
	gtk_tree_view_get_hover_selection,
	gtk_tree_view_set_hover_selection

	* gdk/gdk-sections.txt: Add gdk_window_set_user_time().

	* gdk-pixbuf/gdk-pixbuf.sgml:
	* gtk/gtk-docs.sgml:
	* gdk/gdk-docs.sgml: Add an index for 2.6 additions.
2004-05-10 20:28:44 +00:00
Matthias Clasen
583db0f125 New format flag GDK_PIXBUF_FORMAT_SCALABLE to mark scalable formats.
Wed May  5 23:09:48 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-io.h (GdkPixbufFormatFlags): New format flag
	GDK_PIXBUF_FORMAT_SCALABLE to mark scalable formats.

	* gdk-pixbuf.h:
	* gdk-pixbuf-io.c (gdk_pixbuf_format_is_scalable): New function.
	(#137995, Dom Lachowicz)
2004-05-06 03:14:07 +00:00
Matthias Clasen
7a15a4065f Add multiple indices.
2004-05-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-docs.sgml:
	* gdk-pixbuf/gdk-pixbuf.sgml:
	* gdk/gdk-docs.sgml: Add multiple indices.
2004-05-05 17:36:29 +00:00
Jonathan Blandford
d40eda7e87 Add two more folder modes to the enum.
Thu Feb 26 18:25:57 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkfilechooser.h (GtkFileChooserAction): Add two more folder
        modes to the enum.

        * gtk/gtkfilechooser.c (gtk_file_chooser_set_folder_mode): Remove.
        (gtk_file_chooser_get_folder_mode): Remove
2004-02-26 23:35:05 +00:00