1. 21 Feb, 2005 1 commit
  2. 04 Feb, 2005 1 commit
    • Manish Singh's avatar
      #include cairo-xlib.h · 5c271537
      Manish Singh authored
      Thu Feb  3 19:15:55 2005  Manish Singh  <yosh@gimp.org>
      
              * gdk/x11/gdkdrawable-x11.c: #include cairo-xlib.h
      5c271537
  3. 03 Feb, 2005 1 commit
    • Owen Taylor's avatar
      Add gdk_drawable_set_cairo_target(). · 93344f6d
      Owen Taylor authored
      2005-02-03  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
              gdk_drawable_set_cairo_target().
      
              * tests/testtreeflow.c (enum): Use grand not rand as a variable
              name because one of the cairo headers is pulling in stdlib.h.
      
              * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
              example.
      
              * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.
      
              * Require libpangocairo for all backends.
      93344f6d
  4. 01 Feb, 2005 1 commit
  5. 25 Jan, 2005 2 commits
  6. 20 Jan, 2005 2 commits
  7. 19 Jan, 2005 2 commits
  8. 18 Jan, 2005 3 commits
    • Manish Singh's avatar
      Tue Jan 18 13:46:46 2005 Manish Singh <yosh@gimp.org · d73a8e0c
      Manish Singh authored
              * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
              disambiguate nested if/else.
      d73a8e0c
    • Matthias Clasen's avatar
      Add pointer warping to GDK. (#160437) · 3f8461b7
      Matthias Clasen authored
      2005-01-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkdisplay.h:
      	* gdk/x11/gdkwindow-x11.c (gdk_display_warp_pointer):
      	* gdk/win32/gdkwindow-win32.c (gdk_display_warp_pointer): Add
      	pointer warping to GDK.  (#160437)
      
      	* gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
      3f8461b7
    • Matthias Clasen's avatar
      Avoid X errors when running against servers which implement XRender < 0.4. · 014a347f
      Matthias Clasen authored
      2005-01-18  Matthias Clasen  <mclasen@redhat.com>
      
      	Avoid X errors when running against servers which
      	implement XRender < 0.4.  (#164427, Albert Chin)
      
      	* gdk/x11/gdkprivate-x11.h:
      	* gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
      	New function to check for trapezoid support in XRender.
      	(gdk_x11_draw_trapezoids, _gdk_x11_drawable_draw_xtrapezoids):
      	Use it here.
      
      	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a
      	separate have_render_with_trapezoids field.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it.
      014a347f
  9. 05 Jan, 2005 1 commit
  10. 28 Dec, 2004 1 commit
  11. 22 Dec, 2004 1 commit
    • Søren Sandmann's avatar
      Add sensitivity-changing timeout. Written by Christian Persch. · 63f2fd96
      Søren Sandmann authored
      Wed Dec 22 14:22:19 2004  Søren Sandmann  <sandmann@redhat.com>
      
      	* tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
      	timeout. Written by Christian Persch.
      
      Wed Dec 22 14:14:02 2004  Søren Sandmann  <sandmann@redhat.com>
      
      	Bug #161561
      
      	* gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
      	background for windows that get expose events.
      
      	* gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
      	hack to repaint !expose windows.
      63f2fd96
  12. 03 Dec, 2004 1 commit
  13. 02 Dec, 2004 1 commit
  14. 30 Nov, 2004 2 commits
  15. 29 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Determine the direction of XKB groups from their content, not by looking · c61b0e4a
      Matthias Clasen authored
      2004-11-29  Matthias Clasen  <mclasen@redhat.com>
      
      	Determine the direction of XKB groups from their content,
      	not by looking for hardcoded keymap names.  (#116626, patch by
      	Behdad Esfahbod, based on an earlier patch by Ilya Konstantinov)
      
      	* gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Cache directions
      	for XKB groups.
      	(get_direction): Determine direction of group by looking at
      	directions of keysyms.
      	(update_direction): Maintain the cache of group directions.
      	(gdk_keymap_get_direction): Use update_direction().
      c61b0e4a
  16. 26 Nov, 2004 1 commit
  17. 21 Nov, 2004 1 commit
    • Owen Taylor's avatar
      Add GdkPangoRenderer, a subclass of PangoRenderer targeting GDK drawables. · 3d737ee8
      Owen Taylor authored
      Sat Nov 20 15:13:51 2004  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkpango.[ch]: Add GdkPangoRenderer, a subclass of
      	PangoRenderer targeting GDK drawables. Use to implement the old
      	gdk_draw_layout() and friends.
      
      	* gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkwindow.c gdk/gdkpixmap.c:
      	Add gdk_draw_glyphs_transformed() gdk_draw_trapezoids() and
      	the corresponding members of GdkDrawableClass. Add a fallback
      	implementation of gdk_draw_trapezoids() in terms of pixbufs.
      
      	* gdk/gdkwindowing.h gdk/x11/gdkg-x11.h: Add
      	_gdk_windowing_gc_get_foreground() to enable the fallback
      	trapezoid implementation.
      
      	* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkdisplay-x11.h: Implement
      	draw_glyph_transformed,	draw_trapezoids.
      
      	* gdk/x11/gdkdrawable-x11.[ch]: Add
      	_gdk_x11_drawable_draw_xtrapezoids, _gdk_x11_drawable_draw_xft_glyphs
      	for use of GdkX11Renderer.
      
      	* gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Implement
      	GDK_TILED, GDK_STIPPLED, GDK_OPAQUE_STIPPLED in the RENDER codepath.
      
      	* gdk/gdkpango-x11.c: Add GdkX11Renderer... a subclass of
      	PangoXftRenderer that does tiles/stipples and fallback rendering
      	of trapezoids without the RENDER extension.
      
      	* gdk/gdkpango-x11.c gdk/x11/gdkscreen-x11.[ch] _gdk_x11_renderer_get:
      	Add _gdk_x11_renderer_get() to get a singleton GdkX11Renderer
      	for the screen.
      
      	* gdk/x11/gdkdrawable-x11.c (get_impl_drawable): Fix a None/NULL
      	confusion.
      
      	* gtk/gtklabel.[ch] gtk/gtk.symbols: Add gtk_label_set/get_angle(),
      	and an ::angle property.
      
      	* gtk/gtklabel.c: Remove #if 0'd dead code gtk_label_paint_word().
      
      	* gtk/gtktextdisplay.c: Switch to using a GtkTextRenderer subclass
      	of GdkPangoRenderer for drawing.
      
      	* gtk/gtktextlayout.[ch] gtk/gtktextdisplay.c: Switch to using
      	gtk_attr_shape_new_with_data() to store backreferences to
      	embedded pixmaps and widgets. Leave line_display->shaped_objects
      	around for backwords compatibility.
      
      	* gdk/gdkpango.[ch] (gdk_pango_context_set_colormap): Describe
      	as deprecated, remove implementation.
      
      	* gtk/gtkwidget.c (gtk_widget_create_pango_context): Remove
      	call to gdk_pango_context_set_colormap.
      
      	* demos/gtk-demo/Makefile.am demos/gtk-demo/rotated_text.c: Add
      	a demo showing drawing rotated text.
      
      	* tests/testgtk.c: Add a rotated-label test, and also a rotated
      	drawing test (differs from demos/gtk-demo/rotated_text by also
      	using a tile)
      3d737ee8
  18. 17 Nov, 2004 1 commit
    • Owen Taylor's avatar
      Squash strict aliasing warnings. · f266788e
      Owen Taylor authored
      Tue Nov 16 19:26:30 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
              Squash strict aliasing warnings.
      f266788e
  19. 12 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Make GDK+ compile with X11R5 (#148032) · 3b9a31df
      Matthias Clasen authored
      2004-11-12  Matthias Clasen  <mclasen@redhat.com>
      
      	Make GDK+ compile with X11R5 (#148032)
      
      	* gdk/x11/xsettings-client.c (xsettings_client_new):
      	* gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Only
      	use XInternAtoms if it is available.
      
      	* gdk/x11/gdkasync.c: Include XIproto.h if necessary.
      
      	* configure.in: Check for XInternAtoms and X headers needed for
      	xReply.
      3b9a31df
  20. 09 Nov, 2004 1 commit
  21. 03 Nov, 2004 1 commit
  22. 01 Nov, 2004 1 commit
  23. 28 Oct, 2004 1 commit
  24. 26 Oct, 2004 1 commit
  25. 25 Oct, 2004 1 commit
    • Anders Carlsson's avatar
      New API to handle the clipboard manager. · 06c4bb44
      Anders Carlsson authored
      2004-10-25  Anders Carlsson  <andersca@imendio.com>
      
      	* gdk/gdk.symbols:
      	* gdk/gdkdisplay.h:
      	* gdk/x11/gdkdisplay-x11.c:
      	(gdk_display_supports_clipboard_persistence),
      	(gdk_display_store_clipboard):
      	New API to handle the clipboard manager.
      
      	* gtk/gtk.symbols:
      	* gtk/gtkclipboard.c: (gtk_clipboard_class_init),
      	(gtk_clipboard_finalize), (selection_clear_event_cb),
      	(clipboard_unset), (gtk_clipboard_set_text),
      	(gtk_clipboard_request_targets), (gtk_clipboard_wait_for_targets),
      	(clipboard_peek), (gtk_clipboard_owner_change),
      	(gtk_clipboard_wait_is_target_available),
      	(gtk_clipboard_store_timeout), (gtk_clipboard_set_can_store),
      	(gtk_clipboard_selection_notify), (gtk_clipboard_store),
      	(_gtk_clipboard_store_all):
      	* gtk/gtkclipboard.h:
      	Add API for clipboard persistence and implement it, also add
      	gtk_clipboard_wait_is_target_available.
      
      	* gtk/gtkmain.c: (gtk_main):
      	Call _gtk_clipboard_store_all before exiting.
      06c4bb44
  26. 18 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Fix #155658, Sebastian Bacher: · 1a8e3a70
      Matthias Clasen authored
      2004-10-18  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix #155658, Sebastian Bacher:
      
      	* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a new
      	is_leader flag.
      
      	* gdk/x11/gdkwindow-x11.c (update_wm_hints): Set wm hints on
      	leader windows even if they are withdrawn.
      	(gdk_window_set_group): Mark the new leader window as such. We
      	never remove the flag again, but that should a) be vanishingly
      	rare and b) not a problem, since the flag just turns off an
      	optimization.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Mark the default
      	leader window as such.
      1a8e3a70
  27. 09 Oct, 2004 1 commit
  28. 05 Oct, 2004 1 commit
  29. 17 Sep, 2004 1 commit
  30. 05 Sep, 2004 2 commits
    • Matthias Clasen's avatar
      Add descriptions for the commandline arguments. The actual descriptions · e1077caf
      Matthias Clasen authored
      Sun Sep  5 17:14:16 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmain.c:
      	* gdk/gdk.c:
      	* gdk/x11/gdkmain-x11.c:
      	* gdk/win32/gdkmain-win32.c: Add descriptions for the
      	commandline arguments. The actual descriptions are mostly
      	taken from libbonoboui, so translators should be able to
      	copy existing translations from there.
      e1077caf
    • Anders Carlsson's avatar
      Make gtk argument parsing use goption. Add gtk_get_option_group and · 04d65a6d
      Anders Carlsson authored
      2004-09-05  Anders Carlsson  <andersca@gnome.org>
      
      	* gdk/gdk.c: (gdk_arg_class_cb), (gdk_arg_name_cb),
      	(gdk_add_option_entries_libgtk_only), (gdk_pre_parse_libgtk_only),
      	(gdk_parse_args):
      	* gdk/gdk.h:
      	* gdk/gdkinternals.h:
      	* gdk/linux-fb/gdkmain-fb.c: (_gdk_windowing_init):
      	* gdk/win32/gdkmain-win32.c: (_gdk_windowing_init):
      	* gdk/x11/gdkdisplay-x11.c: (gdk_display_open):
      	* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init):
      	* gtk/gtkmain.c: (gtk_arg_debug_cb), (gtk_arg_no_debug_cb),
      	(gtk_arg_module_cb), (gtk_arg_warnings_cb),
      	(do_pre_parse_initialization), (do_post_parse_initialization),
      	(pre_parse_hook), (post_parse_hook), (gtk_get_option_group),
      	(gtk_init_with_args), (gtk_parse_args):
      	* gtk/gtkmain.h:
      	Make gtk argument parsing use goption. Add gtk_get_option_group and
      	gtk_init_with_args.
      
      	* tests/testtreemodel.c: (main):
      	Use gtk_init_with_args.
      04d65a6d
  31. 04 Sep, 2004 1 commit
  32. 01 Sep, 2004 2 commits
    • Matthias Clasen's avatar
      Make it possible to specify additional modules to load via a setting. · 8189921f
      Matthias Clasen authored
      2004-09-01  Matthias Clasen  <mclasen@redhat.com>
      
      	Make it possible to specify additional modules to load
      	via a setting.  (#117236, Alex Graveley)
      
      	* gtk/gtkmodules.h:
      	* gtk/gtkmodules.c: New files which contain the module
      	handling code which was previously in gtkmain.[hc].
      	Additionally, the code now looks for the gtk-modules
      	setting, which can specify additional modules to load.
      
      	* gtk/gtkmain.c:
      	* gtk/gtkmain.h: Remove all the module handling code.
      
      	* gtk/gtkdebug.h: Add a debug flag for modules.
      
      	* gtk/gtk.h: Include gtkmodules.h
      
      	* gtk/Makefile.am (gtk_public_h_sources): Add gtkmodules.h
      	(gtk_c_sources): Add gtkmodules.c
      
      	* gtk/gtksettings.c: Add the gtk-modules setting.
      
      	* gdk/x11/gdkevents-x11.c: Add the Gtk/Modules XSetting.
      8189921f
    • Matthias Clasen's avatar
      Remove debug spew. · 6d5398cc
      Matthias Clasen authored
      Tue Aug 31 23:20:58 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/x11/gdkdnd-x11.c (gdk_drop_finish): Remove debug spew.
      6d5398cc