1. 12 Aug, 2008 1 commit
    • Michael Natterer's avatar
      examples/gtkdial/gtkdial.c gdk/gdkapplaunchcontext.c gdk/gdkpango.c · b2d286d5
      Michael Natterer authored
      2008-08-12  Michael Natterer  <mitch@imendio.com>
      
      	* examples/gtkdial/gtkdial.c
      	* gdk/gdkapplaunchcontext.c
      	* gdk/gdkpango.c
      	* gtk/gtkcellrendererpixbuf.c
      	* gtk/gtkcellrenderertext.c
      	* gtk/gtkcellview.c
      	* gtk/gtkcombobox.c
      	* gtk/gtkfontsel.c
      	* gtk/gtkinvisible.c
      	* gtk/gtkliststore.c
      	* gtk/gtktexttag.c
      	* gtk/gtktexttagtable.c: remove dereferencing from some function
      	pointers i missed before.
      
      
      svn path=/trunk/; revision=21089
      b2d286d5
  2. 01 Jul, 2008 1 commit
  3. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  4. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  5. 15 Jan, 2008 1 commit
    • Michael Natterer's avatar
      gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h · 8243e3d4
      Michael Natterer authored
      2008-01-15  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkdisplay.h
      	* gdk/gdkdrawable.h
      	* gdk/gdkevents.h
      	* gdk/gdkpango.h
      	* gdk/gdkregion.h
      	* gdk/gdkrgb.h
      	* gdk/gdkwindow.h: made more struct pointer and array parameters
      	const. GDK should now be constified as far as possible without
      	breaking source compatibility. Includes some minor cleanup like
      	indentation and s/nfoo/n_foo/ (bug #508544).
      
      	* gdk/gdkdisplay.c
      	* gdk/gdkdraw.c
      	* gdk/gdkevents.c
      	* gdk/gdkpango.c
      	* gdk/gdkregion-generic.c
      	* gdk/gdkrgb.c
      	* gdk/directfb/gdkdisplay-directfb.c
      	* gdk/directfb/gdkwindow-directfb.c
      	* gdk/quartz/gdkdisplay-quartz.c
      	* gdk/quartz/gdkwindow-quartz.c
      	* gdk/win32/gdkdisplay-win32.c
      	* gdk/win32/gdkwindow-win32.c
      	* gdk/x11/gdkdisplay-x11.c
      	* gdk/x11/gdkwindow-x11.c: changed accordingly.
      
      
      svn path=/trunk/; revision=19372
      8243e3d4
  6. 16 Feb, 2007 1 commit
  7. 10 Jan, 2007 1 commit
    • Behdad Esfahbod's avatar
      Use pango_matrix_transform_rectangle(). (#340141) · 34700fe6
      Behdad Esfahbod authored
      2007-01-10  Behdad Esfahbod  <behdad@gnome.org>
      
              * gdk/gdkpango.c (gdk_draw_layout_with_colors):
              * gtk/gtklabel.c (gtk_label_size_request):
              Use pango_matrix_transform_rectangle(). (#340141)
      
              * configure.in: Bump pango requirement to 1.15.3.
      
      
      svn path=/trunk/; revision=17129
      34700fe6
  8. 05 Jan, 2007 1 commit
    • Behdad Esfahbod's avatar
      Avoid overflow when converting coordinates to Pango units. (#332266, Jody · b4328913
      Behdad Esfahbod authored
      2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
      
              * gdk/gdkprivate.h:
              * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
              (gdk_draw_layout_with_colors):
              * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
              Avoid overflow when converting coordinates to Pango units. (#332266,
              Jody Goldberg)
      
      
      svn path=/trunk/; revision=17075
      b4328913
  9. 24 Dec, 2006 1 commit
    • Behdad Esfahbod's avatar
      Bug 340141 – Update to Pango 1.16 API · d698e3ea
      Behdad Esfahbod authored
      2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 340141 – Update to Pango 1.16 API
      
              * gdk/gdkpango.c (layout_iter_get_line_clip_region),
              (gdk_pango_layout_line_get_clip_region):
              * gtk/gtkcalendar.c (gtk_calendar_size_request):
              * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
              (get_layout_position), (gtk_entry_find_position),
              (gtk_entry_adjust_scroll):
              * gtk/gtkiconview.c (get_pango_text_offsets):
              * gtk/gtklabel.c (get_cursor_direction):
              * gtk/gtkstyle.c (get_insensitive_layout):
              * gtk/gtktextdisplay.c (render_para):
              * gtk/gtktextlayout.c (allocate_child_widgets),
              (find_display_line_below), (find_display_line_above),
              (gtk_text_layout_move_iter_to_previous_line),
              (gtk_text_layout_move_iter_to_next_line),
              (gtk_text_layout_move_iter_to_line_end),
              (gtk_text_layout_iter_starts_line),
              (gtk_text_layout_move_iter_to_x):
              * gtk/gtktextutil.c (limit_layout_lines):
              Use the _readonly version of pango_layout_iter_get_line(),
              pango_layout_iter_get_run(), pango_layout_get_line(), and
              pango_layout_get_lines().
      
              * gtk/gtkmain.c (gtk_get_default_language): Use
              pango_get_default_language().
      d698e3ea
  10. 22 Dec, 2006 1 commit
  11. 19 Sep, 2006 1 commit
    • Allison Karlitskaya's avatar
      Bug 355343. Add a GdkPangoAttrEmbossColor. · 6893f3ef
      Allison Karlitskaya authored
      
      2006-09-19  Ryan Lortie  <desrt@desrt.ca>
      
      	* docs/reference/gdk/gdk-sections.txt:
      	* gdk/gdk.symbols:
      	* gdk/gdkpango.h:
      	* gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
      	  (gdk_pango_layout_get_clip_region): Remove an unused variable.
      	  (gdk_pango_attr_embossed_new): Fix documentation.
      6893f3ef
  12. 10 Sep, 2006 1 commit
  13. 08 Jul, 2006 1 commit
  14. 07 Jun, 2006 2 commits
    • Behdad Esfahbod's avatar
      Fix typo. · bd264fae
      Behdad Esfahbod authored
      bd264fae
    • Behdad Esfahbod's avatar
      Bug 337603 – Possible off-by-one in · d3874d09
      Behdad Esfahbod authored
      2006-06-06  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 337603 – Possible off-by-one in
              gdk_pango_layout_line_get_clip_region
      
              * gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): Correct
              rounding of rect members.  Improved docs.
      d3874d09
  15. 30 May, 2006 1 commit
  16. 22 May, 2006 2 commits
    • Behdad Esfahbod's avatar
      Rollback the following changes, to fix it the proper way in Pango: · fb3eeb86
      Behdad Esfahbod authored
      2006-05-22  Behdad Esfahbod  <behdad@gnome.org>
      
              Rollback the following changes, to fix it the proper way in Pango:
      
              * gdk/gdkinternals.h:
              * gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
              (update_fontmap_resolution), (gdk_screen_set_resolution):  Add new
              function _gdk_screen_get_font_map() and have one fontmap per screen,
              with the correct resolution set on it.
      
              * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
              _gdk_screen_get_font_map() instead of setting resolution on the
              PangoCairoContext.  (#342529)
      fb3eeb86
    • Behdad Esfahbod's avatar
      Add new function _gdk_screen_get_font_map() and have one fontmap per · f3b98672
      Behdad Esfahbod authored
      2006-05-21  Behdad Esfahbod  <behdad@gnome.org>
      
              * gdk/gdkinternals.h:
              * gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
              (update_fontmap_resolution), (gdk_screen_set_resolution):  Add new
              function _gdk_screen_get_font_map() and have one fontmap per screen,
              with the correct resolution set on it.
      
              * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
              _gdk_screen_get_font_map() instead of setting resolution on the
              PangoCairoContext.  (#342529)
      f3b98672
  17. 28 Apr, 2006 1 commit
  18. 20 Feb, 2006 1 commit
  19. 10 Jan, 2006 1 commit
  20. 10 Nov, 2005 1 commit
    • Michael Natterer's avatar
      Applied patch from maemo-gtk that addresses many issues wrt display · 8bdc0bf9
      Michael Natterer authored
      2005-11-10  Michael Natterer  <mitch@imendio.com>
      
      	Applied patch from maemo-gtk that addresses many issues wrt
      	display migration and display closing (bug #85715).
      
      	* gdk/gdkdisplay.c (gdk_display_dispose): don't just set the
      	default display to NULL when it's closed. Instead set the most
      	recently opened display as new default (if one exists).
      
      	* gdk/gdkpango.c (on_renderer_display_closed): fixed signature
      	of this callback.
      
      	* gdk/gdkscreen.c (gdk_screen_dispose): check if the GCs still
      	exist before unrefing them.
      
      	* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): if the screen
      	is closed, allow destruction of the root window.
      
      	* gdk/x11/gdkdisplay-x11.c: moved some stuff from finalize() to
      	dispose(), free stuff that was leaked before.
      
      	* gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen): check if
      	the xsettings_client still exists before destroying it.
      
      	* gdk/x11/gdkkeys-x11.c: added finalization and free the allocated
      	X resources.
      
      	* gdk/x11/gdkpixmap-x11.c: moved stuff from finalize() to new
      	dispose() implementation.
      
      	* gdk/x11/gdkscreen-x11.c: moved stuff from finalize() to
      	dispose() and check if it still exists before unrefing it. Set
      	their pointers to NULL/None *after* upchaining in dispose(),
      	because X11 implementations of members of the parent class still
      	need them for their own destruction.
      
      	* gdk/x11/gdkvisual-x11.c: removed finalize() implementation which
      	was g_error()ing when finalizing a visual.
      
      	* gtk/gtkclipboard.c (gtk_clipboard_finalize): don't use
      	get_clipboard_widget() because it would create the widget if it
      	doesn't exist. Use g_object_get_data() directly instead.
      
      	* gtk/gtktextdisplay.c (on_renderer_display_closed): fixed signature
      	of this callback.
      8bdc0bf9
  21. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  22. 26 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Make the GdkScreen font options api public, and add properties · b3a75776
      Matthias Clasen authored
      2005-08-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdk.symbols:
      	* gdk/gdkscreen.h:
      	* gdk/gdkscreen.c: Make the GdkScreen font options api
      	public, and add properties GdkScreen::font-options and
      	GdkScreen::resolution.  (#314004)
      
      	* gdk/gdkpango.c:
      	* gtk/gtksettings.c:
      	* gtk/gtkwidget.c: Adjust all callers.
      
      	* gdk/gdkintl.h: Simplify and use glib/gi18n-lib.h.
      	* gdk/gdkpango.c: Include gdkintl.h, not gtkintl.h.
      	* gdk/gdkscreen.c: Include gdkintl.h.
      b3a75776
  23. 24 Aug, 2005 2 commits
    • Owen Taylor's avatar
      Add a note about cut-and-paste between here and Pango. · 7493cb72
      Owen Taylor authored
      2005-08-24  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkpango.c (draw_error_underline): Add a note about
              cut-and-paste between here and Pango.
      7493cb72
    • Owen Taylor's avatar
      Fix for #314004, reported by Michael Reinsch: · 2b1bea02
      Owen Taylor authored
      2005-08-23  Owen Taylor  <otaylor@redhat.com>
      
              Fix for #314004, reported by Michael Reinsch:
      
              * gdk/gdk.symbols:
              * gdk/gdkscreen.[ch]: Add gdk_screen_get/set_font_options_libgtk_only()
              Add gdk_screen_get/set_resolution_libgtk_only()
      
              * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Set
              the options for the screen on the newly created context.
      
              * gtk/gtksettings.c (settings_update_font_options/dpi) gtkwidget.c:
              Move font options and dpi code from gtkwidget.c to gtksettings.c, set
              the font options on the screen.
      
              * gtk/gtkwidget.c (gtk_widget_update_pango_context): Just get
              the font options from the screen and set them on the context.
      2b1bea02
  24. 16 May, 2005 1 commit
  25. 14 May, 2005 1 commit
    • Manish Singh's avatar
      gdk/gdkdraw.c #include gdkcairo.h for gdk_cairo_create() declaration. · 4849c705
      Manish Singh authored
      Sat May 14 00:07:46 2005  Manish Singh  <yosh@gimp.org>
      
              * gdk/gdkdraw.c
              * gdk/gdkpango.c: #include gdkcairo.h for gdk_cairo_create()
              declaration.
      
              * gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): actually
              call gdk_cairo_set_source_color() with a color.
      
              * gtk/gtkimage.c (gtk_image_expose): remove unused stock_id variable.
      
              * tests/testiconview.c (main): cast args of drag functions to the
              appropriate type.
      4849c705
  26. 11 May, 2005 1 commit
    • Owen Taylor's avatar
      Use a GtkAlignment rather than a GtkDrawingArea to draw the swatch in to · dda40ca7
      Owen Taylor authored
      2005-05-11  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcolorbutton.c: Use a GtkAlignment rather than a GtkDrawingArea
      	to draw the swatch in to avoid having an extraneous window.
      
      	* gtk/gtkcolorsel.c (color_sample_draw_sample): Actually se tthe
      	color when !has_opacity.
      
      2005-05-10  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkcairo.[ch] gdk/gdkcolor.[ch] gdk/Makefile.am: Add source
      	files for Cairo convenience functionality.
      
      	* gdk/gdkcairo.h (gdk_cairo_rectangle, gdk_cairo_region): Add a
      	convenience functions to add GdkRectangle, GdkRegion to a cairo path.
      
      	* gdk/gdkwindow.c gdk/gdkgc.c gtk/gtkcolorsel.c gtk/gtkiconview.c
      	gtk/gtkstyle.c: Use gdk_cairo_rectangle/region().
      
      	* gdk/gdkcairo.[ch] gdk/gdkdrawable.h gdk/gdkdraw.c: Rename
      	gdk_drawable_create_cairo_context() to gdk_cairo_create().
      
      	* gdk/gdkcairo.c gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c:
      	Rename gdk_pixbuf_set_as_cairo_source() to
      	gdk_cairo_set_source_pixbuf().
      
      	* gdk/gdkdraw.c gdk/gdkpango.c gtk/gtkcolorsel.c gtk/gtkhruler.c
      	gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkstyle.c gtk/gtkvruler.c:
      	Adjust for renames.
      
      	* gdk/gdk.symbols: Update.
      
      	* gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): Fix
      	coordinate system problem that was causing the wrong portions
      	to be invalidated.
      
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_render)
      	gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render)
      	gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render)
      	gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render)
      	gtk/gtkcellview.c (gtk_cell_view_expose)
      	gtk/gtkdnd.c (gtk_drag_highlight_expose)
      	gtk/gtkentry.c (gtk_entry_draw_text)
      	gtk/gtktextview.c (text_window_invalidate_rect): Some cairoization.
      
      	* gtk/gtkcalendar.[ch]: Beat into something roughly resembling
      	GTK+ style ... use instance-private data and standard names for
      	private structure, etc. Move function docs inline.
      
      	* gtk/gtkcalendar.[ch]: Switch to drawing everything in
      	expose. Switch drawing to Cairo.
      
      	* gtk/gtkcalendar.c (gtk_calendar_freeze): Deprecate
      	gtk_calendar_freeze/thaw
      dda40ca7
  27. 08 May, 2005 1 commit
  28. 02 May, 2005 1 commit
    • Owen Taylor's avatar
      Add a draw-border style property to allow themes to draw outside the · 788bbf52
      Owen Taylor authored
      2005-04-28  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c: Add a draw-border style property to allow
      	themes to draw outside the widget's allocation.
      
      	* gdk/gdkwindow.c gtk/gtkstyle.c: Remove some save/restore pairs
      	that were working around the clip-leakage bug in Cairo.
      
      	* gtk/gtkstyle.c: Use cairo_fill_preserve() rathe than
      	save/fill/restore.
      
      	* gdk/gdkgc.c gdk/gdkinternals.h: Add _gdk_gc_update_context()
      	That updates a Cairo context to match a GC.
      
      	* gdk/gdkdraw.c: Use _gdk_gc_update_context() to add support
      	for tiles/stipples/clipping to gdk_draw_glyphs(),
      	gdk_draw_trapezoids().
      
      	* gdk/gdkpango.c: Use _gdk_gc_update_context() instead of internal
      	implementation of stipples. Use one cairo_t across the entire
      	drawing operation. Replace cairo_matrix_create() with
      	stack-allocated matrices.
      
      	* gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
      	gdk/win32/gdkgc-win32.c: Save various aspects of the
      	GC state (fill, tile, stipple, foreground, background, clip region)
      	in instance-private-data for future use. Add getters.
      	Get rid of _gdk_windowing_gc_get_foreground() function implemented
      	by the backends.
      
      	* gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
      	gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Add
      	_gdk_gc_init() to do initial setup of the GC from values;
      	fixes some problems from drawable redirection.
      
      	* gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
      	gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Move
      	gdk_gc_copy() and gdk_gc_set_clip_{region,rectangle}() into
      	the generic code, add _gdk_windowing_gc_copy(),
      	_gdk_windowing_gc_set_clip_region() to do backend specific
      	stuff.
      
      	* gdk/x11/{gdkprivate-x11.h,gdkgc-x11.c.c,gdkdrawable-x11.c}
      	gdk/win32/{gdkprivate-win32.h,gdkgc-x11.c.c,gdkdrawable-x11.c}
      	gdk/linux-fb/{gdkprivate-fb.h,gdkgc-fb.c.c,gdkdrawable-fb.c}:
      	Don't duplicate state that now is stored by the generic code.
      
      	* gdk/gdk.symbols Update
      788bbf52
  29. 18 Apr, 2005 1 commit
  30. 08 Apr, 2005 1 commit
  31. 21 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Mark param spec strings as static. · 06609470
      Matthias Clasen authored
      2005-03-21  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkpango.c (gdk_pango_renderer_class_init):
      	* gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark
      	param spec strings as static.
      06609470
  32. 17 Mar, 2005 2 commits
    • Owen Taylor's avatar
      Fix get_stipple_surface to actually work, set EXTEND_REPEAT on the stipple · d1bc66a2
      Owen Taylor authored
      2005-03-17  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkpango.c: Fix get_stipple_surface to actually work, set
              EXTEND_REPEAT on the stipple pattern.
      d1bc66a2
    • Owen Taylor's avatar
      Switch set_cairo_target() virtual function to ref_cairo_surface() · 09d7eafb
      Owen Taylor authored
      2005-03-15  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c gdk/gdkwindow.c
      	gdk/x11/gdkdrawable-x11.c gdk/x11/gdkpixmap-x11.c gdk/x11/gdkwindow-x11.c
      	gdk/gdkinternals.h: Switch set_cairo_target() virtual function to
      	ref_cairo_surface()
      
      	* gdk/gdkdrawable.h gdk/gdkdraw.h: Switch set_cairo_target() virtual
      	function to create_cairo_context()
      
      	* gdk/gdkwindow.c: Clear double buffer pixmaps with Cairo.
      
      	* gdk/x11/gdkwindow-x11.c: Keep all components in GdkWindowObject.bg_color,
      	not just the pixel.
      
      	* tests/testcairo.c: Update for create_cairo_context()
      
      	* gdk/gdkdraw.c (gdk_draw_trapezoids, gdk_draw_glyphs[_transformed]):
      	Reimplement in terms of Cairo, bypass the vtable entries.
      
      	* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
      	gdk/x11/gdkgc-x11.c gdk/x11/gdkpango-x11.c
      	gdk/x11/gdkprivate-x11.h gdk/x11/Makefile.am: Remove
      	implementation of draw_trapezoids / draw_glyphs[_transformed].
      
      	* gdk/gdkpango.c: Switch GdkPangoRenderer to use Cairo
      
      	* gdk/gdkpango.c gdk/x11/gdkpango-x11.c: Move
      	gdk_pango_context_get_for_screen() into the backend independent code.
      
      	* gdk/x11/gdkdrawable-x11.[ch]: Remove Xft use, use RENDER directly
      	for drawing images.
      
      	* gdk/gdkdrawable.h gdk/x11/gdkdrawable-x11.c: Remove
      	gdk_draw_rectangle_alpha_libgtk_only.
      
      	* gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c: Add
      	gdk_pixbuf_set_as_cairo_source()
      
      	* gdk/gdk.symbols: Update
      
      	* gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkruler.[ch]
      	gtk/gtk[hv]ruler.c: Convert to Cairo rendering.
      
      	* gtk/gtkstyle.c (gtk_default_draw_check, gtk_default_draw_focus,
      	gtk_default_draw_option): Switch to Cairo. Simplify the checkbutton,
      	radio button style for now to get something more scalable.
      
      	*  gtk/gtksettings.c: #if 0 out the code to use PangoXft for hinting/
      	antialiasing/dpi settings.
      09d7eafb
  33. 16 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · 2a2d769d
      Matthias Clasen authored
      2005-03-15  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gdk/gdk.symbols: Group symbols by header and source file.
      	* gdk/makegdkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegdkalias.pl -def
      	* gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
      	file.
      	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
      	headers, include gdkaliasdef.c at the bottom.
      2a2d769d
  34. 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
  35. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 0742ff3a
      Matthias Clasen authored
      Mon Aug  9 15:41:17 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gdk/Makefile.am: Add rules to generate gdk.def and
      	gdkalias.h from gdk.symbols, and make make check check
      	the abi with abicheck.sh.
      
      	* gdk/gdk.symbols: New file. Definition of the GDK ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gdk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgdk-x11.2.0.so against the symbols
      	found in gdk.symbols.
      
      	* gdk/makegdkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h
      0742ff3a
  36. 06 Mar, 2004 1 commit