1. 22 Sep, 2005 1 commit
  2. 13 Sep, 2005 1 commit
  3. 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
  4. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  5. 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
  6. 24 Aug, 2005 1 commit
    • 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
  7. 21 Jul, 2005 4 commits
    • Owen Taylor's avatar
      Fix a couple of leaks. · 49e9aef5
      Owen Taylor authored
      2005-07-21  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwidget.c (update_pango_context): Fix a couple of leaks.
      49e9aef5
    • Owen Taylor's avatar
      Change machinery for following font rendering xsettings to set cairo font · 8f3399d4
      Owen Taylor authored
      2005-07-19  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtksettings.c gtk/gtkwidget.c: Change machinery for
              following font rendering xsettings to set cairo font
              options on PangoContext
      
              * gdk/x11/gdkxftdefaults.c gdk/x11/gdkevents-x11.c gdkscreen-x11.h
              gdkprivate-x11.h: Get default values for rendering options
              (such as antialiasing, dpi) from the Xft resources for the
              display, borrowing a bit of code from Xft.
      
              * gtk/gtksettings.c (gtk_settings_class_init): Fix docs for
              values of gtk-xft-hintstyle.
      8f3399d4
    • Matthias Clasen's avatar
      Revert an accidental commit · c0775d1c
      Matthias Clasen authored
      c0775d1c
    • Matthias Clasen's avatar
      Add hints on how to handle "no window" widgets. (#136347) · a5bc998b
      Matthias Clasen authored
      2005-07-21  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_modify_bg, gtk_widget_modify_base):
      	Add hints on how to handle "no window" widgets.  (#136347)
      a5bc998b
  8. 18 Jul, 2005 1 commit
  9. 25 Jun, 2005 1 commit
    • Matthias Clasen's avatar
      Add a GrabBroken event to GDK, and a grab-broken-event signal to · 9b356ea0
      Matthias Clasen authored
      2005-06-25  Matthias Clasen  <mclasen@redhat.com>
      
      	Add a GrabBroken event to GDK, and a grab-broken-event
      	signal to GtkWidget.  (#107320, Simon Cooke, initial patch
      	by John Ehresman)
      
      	* gdk/gdkevents.h: Add a GDK_GRAB_BROKEN event type,
      	define a GdkEventGrabBroken event struct.
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
      	Generate GrabBroken events in response to WM_KILLFOCUS.
      
      	* gdk/x11/gdkmain-x11.c: Generate GrabBroken events
      	when a grab is broken by the window becoming unviewable,
      	or by another grab from the same client.
      
      	* gtk/gtkwidget.h (GtkWidgetClass): Add grab_broken_event.
      
      	* gtk/gtkwidget.c (gtk_widget_event_internal): Translate
      	GrabBroken events into grab_broken_event signals.
      
      	* gtk/gtkmain.c (gtk_main_do_event): Propagate GrabBroken
      	events.
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Deactivate
      	the menu when the grab is broken.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_grab_broken): Stop
      	the color picker if the grab is broken.
      
      	* gtk/gtkpaned.c (gtk_paned_grab_broken): Stop the drag if
      	the grab is broken.
      9b356ea0
  10. 11 Jun, 2005 1 commit
  11. 10 Jun, 2005 1 commit
  12. 18 May, 2005 2 commits
  13. 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
  14. 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
  15. 09 Apr, 2005 1 commit
    • Matthias Clasen's avatar
      Don't display too many broken images. (#169870, Roman Kagan, patch by Ivan · a75e27c0
      Matthias Clasen authored
      2005-04-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkimage.c (gtk_image_calc_size, gtk_image_expose):
      	Don't display too many broken images.  (#169870, Roman
      	Kagan, patch by Ivan Wong)
      
      	* gtk/gtkwidget.c (gtk_widget_unparent): Remove debugging
      	output.  (#300013, Tommi Komulainen)
      
      	* io-bmp.c (gdk_pixbuf__bmp_image_save_to_callback):
      	Don't overflow the stack.  (Jakub Jelinek, Arjan van de Ven)
      a75e27c0
  16. 04 Apr, 2005 1 commit
  17. 26 Mar, 2005 1 commit
  18. 22 Mar, 2005 1 commit
  19. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.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 makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  20. 09 Mar, 2005 2 commits
    • Matthias Clasen's avatar
      Fix a typo in the docs. (#169729, Morten Welinder) · 4c9bcf28
      Matthias Clasen authored
      2005-03-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_add_mnemonic_label): Fix a typo
      	in the docs.  (#169729, Morten Welinder)
      4c9bcf28
    • Matthias Clasen's avatar
      x · 263bce44
      Matthias Clasen authored
      2005-03-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_class_init):
      	* gtk/gtkrange.c (gtk_range_class_init):
      	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
      	* gtk/gtktexttag.c (gtk_text_tag_class_init):
      	* gtk/gtktextview.c (gtk_text_view_class_init):
      	* gtk/gtkscrollbar.c (gtk_scrollbar_class_init):
      	* gtk/gtknotebook.c (gtk_notebook_class_init):
      	* gtk/gtkentry.c (gtk_entry_class_init):
      	* gtk/gtkexpander.c (gtk_expander_class_init):
      	* gtk/gtkarrow.c (gtk_arrow_class_init):
      	* gtk/gtkalignment.c (gtk_alignment_class_init):
      	* gtk/gtkbutton.c (gtk_button_class_init):
      	* gtk/gtklabel.c (gtk_label_class_init):
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): x
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init):
      	* gtk/gtktreeview.c (gtk_tree_view_class_init):
      	* gtk/gtkbox.c (gtk_box_class_init):
      	* gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init):
      	* gtk/gtkcontainer.c (gtk_container_class_init):
      	* gtk/gtkwidget.c (gtk_widget_class_init):
      	* gtk/gtkobject.c (gtk_object_class_init): Use canonical names
      	when registering param specs.
      263bce44
  21. 03 Mar, 2005 1 commit
  22. 24 Feb, 2005 1 commit
    • Matthias Clasen's avatar
      Fix #167259, reported by Christian Persch: · 20b67bc6
      Matthias Clasen authored
      2005-02-24  Matthias Clasen  <mclasen@redhat.com>
      
              Fix #167259, reported by  Christian Persch:
      
      	* gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented
      	widget, even if we avoid the unrealizing.
      	(gtk_widget_reparent_subwindows): Make reparenting work for
      	!NO_WINDOW widgets which have other windows which are siblings
      	of widget->window (as e.g. GtkSpinButton).
      20b67bc6
  23. 01 Feb, 2005 1 commit
  24. 24 Jan, 2005 1 commit
  25. 21 Jan, 2005 2 commits
  26. 13 Dec, 2004 1 commit
  27. 21 Nov, 2004 1 commit
  28. 12 Oct, 2004 1 commit
  29. 08 Oct, 2004 1 commit
  30. 05 Oct, 2004 2 commits
  31. 16 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Doc update. · 517c3c9d
      Matthias Clasen authored
      2004-08-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_render_icon): Doc update.
      
      	* gtk/gtkiconfactory.c (render_icon_name_pixbuf): When the size is -1,
      	use the available size closest to 48.  (#150147)
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes): Actually return
      	a pointer to the beginning of the sizes array, not the end.
      517c3c9d
  32. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 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)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  33. 27 Jul, 2004 1 commit