1. 07 Mar, 2006 1 commit
  2. 21 Jan, 2006 1 commit
  3. 12 Jan, 2006 1 commit
  4. 12 Dec, 2005 1 commit
  5. 07 Dec, 2005 1 commit
  6. 06 Dec, 2005 1 commit
    • Matthias Clasen's avatar
      Don't commit from reset, it upstets GtkTextView. · 6f72d3a8
      Matthias Clasen authored
      2005-12-06  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkimcontextsimple.c (gtk_im_context_simple_reset): Don't
      	commit from reset, it upstets GtkTextView.
      
      	* gtk/gtktextview.c (gtk_text_view_check_cursor_blink): Be more
      	careful when turning blinking on and off.
      	(gtk_text_view_focus_out_event): Make the cursor really invisible
      	when the focus goes away.  (#323087, Sadrul Habib Chowdhury)
      	(cursor_blinks): Check the gtk-cursor-blink setting first.
      6f72d3a8
  7. 23 Nov, 2005 1 commit
    • Tim Janik's avatar
      deprecated floating/sink API and implemented it in terms of the GObject · fbb2e3f4
      Tim Janik authored
      Wed Nov 23 18:55:47 2005  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkobject.[hc]: deprecated floating/sink API and implemented it
              in terms of the GObject floating/sink API.
      
              * gtk/gtkaboutdialog.c:
              * gtk/gtkaction.c:
              * gtk/gtkcellview.c:
              * gtk/gtkclist.c:
              * gtk/gtkcolorsel.c:
              * gtk/gtkcombobox.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkiconview.c:
              * gtk/gtkinvisible.c:
              * gtk/gtkitemfactory.c:
              * gtk/gtklayout.c:
              * gtk/gtkmenu.c:
              * gtk/gtkmenutoolbutton.c:
              * gtk/gtknotebook.c:
              * gtk/gtkprogress.c:
              * gtk/gtkrange.c:
              * gtk/gtkspinbutton.c:
              * gtk/gtkstatusicon.c:
              * gtk/gtktext.c:
              * gtk/gtktextview.c:
              * gtk/gtktoolbar.c:
              * gtk/gtktoolbutton.c:
              * gtk/gtktoolitem.c:
              * gtk/gtktreeitem.c:
              * gtk/gtktreeview.c:
              * gtk/gtktreeviewcolumn.c:
              * gtk/gtkuimanager.c:
              * gtk/gtkviewport.c:
              * gtk/gtkwidget.c:
              * gtk/gtkwindow.c:
              ported to use GObject's g_object_ref_sink().
      
              * gtk/gtkcolorsel.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkaboutdialog.c:
              fixed compiler warnings.
      fbb2e3f4
  8. 02 Nov, 2005 1 commit
    • Matthias Clasen's avatar
      Remove some g_return_if_fail() from static functions, replace some others · aa70008f
      Matthias Clasen authored
      2005-11-02  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextview.c: Remove some g_return_if_fail() from
      	static functions, replace some others by g_assert().
      
      	* gtk/gtktextview.c (selection_motion_event_handler)
      	(gtk_text_view_start_selection_drag): Keep track of the original
      	selection boundaries during a drag selection, in order to correctly
      	decide when to extend or shrink the selection.  (#320167,
      	reported by Arvind S N, patch by Paolo Borelli)
      aa70008f
  9. 24 Oct, 2005 1 commit
    • Matthias Clasen's avatar
      Add settings to hide the input method and Unicode control character · f2724a25
      Matthias Clasen authored
      2005-10-24  Matthias Clasen  <mclasen@redhat.com>
      
              Add settings to hide the input method and Unicode control character
              submenus in the context menus of GtkEntry and GtkTextView.
      
              * gdk/x11/gdkevents-x11.c: Map GTK+ settings to X settings.
      
              * gtk/gtksettings.c (gtk_settings_class_init): Declare GTK+ settings here.
      
              * gtk/gtktextview.c (popup_targets_received):
              * gtk/gtkentry.c (popup_targets_received): Use the settings here.
      f2724a25
  10. 13 Sep, 2005 1 commit
  11. 11 Sep, 2005 1 commit
  12. 09 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Stop cursor blinking in non-editable regions of a text view. (#311508, · b7c337c5
      Matthias Clasen authored
      
      2005-09-09  Matthias Clasen  <mclasen@redhat.com>
      
      	Stop cursor blinking in non-editable regions of a text view.
      	(#311508, Torbjörn Andersson)
      
      	* gtk/gtktextview.c (gtk_text_view_check_cursor_blink):
      	(cursor_blinks): Take editability into account when deciding
      	whether the cursor blinks.
      	(gtk_text_view_button_release_event):
      	(gtk_text_view_move_cursor_internal): Update cursor blinking here.
      b7c337c5
  13. 02 Sep, 2005 2 commits
  14. 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
  15. 31 Aug, 2005 2 commits
  16. 29 Aug, 2005 2 commits
    • Matthias Clasen's avatar
      More typo fixes · a8bbf97a
      Matthias Clasen authored
      a8bbf97a
    • Matthias Clasen's avatar
      Construct the "Select All" menuitem from stock. · 4dfca1aa
      Matthias Clasen authored
      2005-08-29  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextview.c (popup_targets_received):
      	* gtk/gtkentry.c (popup_targets_received): Construct
      	the "Select All" menuitem from stock.
      
      	* gtk/stock-icons/stock_select_all_{16,24}.png:
      	* gtk/stock-icons/Makefile.am:
      	* gtk/gtkiconfactory.c:
      	* gtk/gtkstock.h:
      	* gtk/gtkstock.c: Add a "Select All" stock item.  (#78545,
      	Calum Benson)
      4dfca1aa
  17. 11 Jul, 2005 3 commits
    • Matthias Clasen's avatar
      Don't ever go unconditionally to the buffer ends; that doesn't work if the · eac5b156
      Matthias Clasen authored
      2005-07-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Don't
      	ever go unconditionally to the buffer ends; that doesn't work
      	if the initial or final portion of the buffer are invisible.
      eac5b156
    • Matthias Clasen's avatar
      When dragging text, use a drag icon showing the (ellipsized) text that is · 13a341e0
      Matthias Clasen authored
      2005-07-11  Matthias Clasen  <mclasen@redhat.com>
      
      	When dragging text, use a drag icon showing the (ellipsized)
      	text that is being dragged: (#161132, Kevin Duffus, patch
      	by Carlos Garnacho Parro)
      
      	* gtk/gtktextutil.h:
      	* gtk/gtktextutil.c (_gtk_text_util_create_drag_icon): Add
      	a function to create a pixmap for use when dragging text.
      
      	* gtk/gtktextview.c (gtk_text_view_start_selection_dnd):
      	* gtk/gtklabel.c (gtk_label_motion):
      	* gtk/gtkentry.c (gtk_entry_motion_notify): Use a drag icon
      	showing the text being dragged.
      
      2005-07-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentry.c (gtk_entry_move_forward_word)
      	(gtk_entry_move_backward_word): Match the text view change
      	to allow selecting whitespace with double-click.
      13a341e0
    • Matthias Clasen's avatar
      Make double-clicking between words select whitespace. (#309860, Mike · 7912643e
      Matthias Clasen authored
      2005-07-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextview.c (extend_selection): Make double-clicking
      	between words select whitespace.  (#309860, Mike Miller, patch
      	by Paolo Borelli)
      7912643e
  18. 24 Jun, 2005 2 commits
  19. 18 Jun, 2005 1 commit
  20. 13 Jun, 2005 1 commit
    • Matthias Clasen's avatar
      Make invisible text work a bit better (#66194, patch by Jeroen · 4b14b2d4
      Matthias Clasen authored
      2005-06-13  Matthias Clasen  <mclasen@redhat.com>
      
      	Make invisible text work a bit better (#66194, patch by
      	Jeroen Zwartepoorte)
      
      	* gtk/gtk.symbols:
      	* gtk/gtktextiter.[hc]: Add function to move by
      	visible lines.
      
      	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal):
      	Skip invisible text when moving by paragraphs.
      
      	* gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
      	Skip invisible lines here too.
      4b14b2d4
  21. 10 Jun, 2005 1 commit
    • Matthias Clasen's avatar
      · 80bf176f
      Matthias Clasen authored
      2005-06-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand):
      	* gtk/gtktoolbar.c (gtk_toolbar_get_show_arrow):
      	* gtk/gtktextview.c (gtk_text_view_get_iter_at_position):
      	* gtk/gtkstock.c (gtk_stock_set_translate_func):
      	* gtk/gtkspinbutton.c (gtk_spin_button_get_adjustment):
      	* gtk/gtkscrolledwindow.h:
      	* gtk/gtkmenushell.c (gtk_menu_shell_get_take_focus):
      80bf176f
  22. 25 May, 2005 1 commit
    • Michael Natterer's avatar
      block the text_layout's "changed" handler when changing cursor visibility · e3f318b4
      Michael Natterer authored
      2005-05-25  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktextview.c (blink_cb): block the text_layout's "changed"
      	handler when changing cursor visibility because it would expose
      	the whole paragraph where the cursor is. Instead, expose the
      	cursors' areas manually. (#173047).
      
      	(text_window_invalidate_cursors): new function which exposes the
      	cursors.
      
      	* gtk/gtkstyle.c (draw_insertion_cursor): added comment that the
      	same cursor size calculation is in text_window_invalidate_cursors().
      e3f318b4
  23. 18 May, 2005 1 commit
    • Anders Carlsson's avatar
      If the horizontal adjustment changes because of a change in the layout · 43af1f21
      Anders Carlsson authored
      2005-05-18  Anders Carlsson  <andersca@imendio.com>
      
      	* gtk/gtktextview.c: (gtk_text_view_flush_scroll),
      	(gtk_text_view_update_adjustments), (gtk_text_view_value_changed):
      	* gtk/gtktextview.h:
      	If the horizontal adjustment changes because of a change in the
      	layout width, then do a complete redraw. This is because there
      	might be right-aligned or centered text that needs to be redrawn.
      43af1f21
  24. 17 May, 2005 1 commit
  25. 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
  26. 02 May, 2005 1 commit
  27. 26 Mar, 2005 1 commit
  28. 22 Mar, 2005 1 commit
  29. 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
  30. 09 Mar, 2005 1 commit
    • 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
  31. 01 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      gdk/gdkkeyuni.c gdk/gdkpixbuf-drawable.c gdk/gdkrgb.c gdk/x11/gdkdnd-x11.c · 6da29b43
      Matthias Clasen authored
      2005-03-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkkeyuni.c
      	* gdk/gdkpixbuf-drawable.c
      	* gdk/gdkrgb.c
      	* gdk/x11/gdkdnd-x11.c
      	* gdk/x11/gdkevents-x11.c
      	* gdk/x11/gdkproperty-x11.c
      	* gdk/x11/gdkvisual-x11.c
      	* gdk-pixbuf/gdk-pixbuf.c
      	* gtk/gtkaction.c
      	* gtk/gtkbindings.c
      	* gtk/gtkcolorbutton.c
      	* gtk/gtkcombo.c
      	* gtk/gtkcontainer.c
      	* gtk/gtkfilechooserdefault.c
      	* gtk/gtkfilesel.c
      	* gtk/gtkgamma.c
      	* gtk/gtkiconview.c
      	* gtk/gtkinputdialog.c
      	* gtk/gtkitemfactory.c
      	* gtk/gtkmenu.c
      	* gtk/gtktextview.c
      	* gtk/gtktooltips.c
      	* gtk/gtktreedatalist.c
      	* gtk/gtkuimanager.c
      	* gtk/tree_minus.xpm
      	* gtk/tree_plus.xpm
      	* gtk/xdgmime/xdgmime.c
      	* gtk/xdgmime/xdgmime.h:
      	Move constant data to .rodata.
      6da29b43
  32. 16 Jan, 2005 1 commit
  33. 05 Jan, 2005 1 commit
  34. 04 Jan, 2005 1 commit
    • Søren Sandmann's avatar
      Bug 162112. · cfeab578
      Søren Sandmann authored
      Tue Jan  4 11:36:43 2005  Søren Sandmann  <sandmann@redhat.com>
      
      	Bug 162112.
      
      	* gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK
      	to win->window's event_mask
      
      	* gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK
      	to viewport->view_window.
      cfeab578