1. 12 Nov, 2015 1 commit
  2. 16 Oct, 2015 2 commits
  3. 04 Dec, 2014 1 commit
  4. 18 Oct, 2014 1 commit
  5. 05 Feb, 2014 1 commit
  6. 04 Feb, 2014 1 commit
  7. 21 Jan, 2014 1 commit
  8. 05 May, 2013 1 commit
  9. 28 Dec, 2012 1 commit
  10. 27 Feb, 2012 1 commit
  11. 05 Jul, 2011 1 commit
    • Matthias Clasen's avatar
      GtkTextBuffer: Add accessible api · aa291863
      Matthias Clasen authored
      These functions match closely to the AtkText interface;
      they will be used in the GtkTextView accessible implementation.
      Keep them private for now.
      aa291863
  12. 18 Jan, 2011 1 commit
  13. 19 Oct, 2010 1 commit
  14. 17 Jul, 2010 1 commit
  15. 02 May, 2010 1 commit
  16. 12 Jan, 2009 1 commit
    • Paolo Borelli's avatar
      Bug 492794 – Pasting external text at end of view yields wrong scrolling · 1a7c0ed0
      Paolo Borelli authored
      2009-01-12  Paolo Borelli  <pborelli@katamail.com>
      
      	Bug 492794 – Pasting external text at end of view yields wrong
      	scrolling to mark
      
      	* gtk/gtktextbuffer.[ch]:
      	* gtk/gtktextview.c:
      	Add a "paste-done" signal and use it to propelry scroll the
      	view at the end of the pasted text in the case of an async
      	paste. Patch by Ignacio Casal Quintero based on a patch by
      	Yevgen Muntyan.
      
      
      svn path=/trunk/; revision=22100
      1a7c0ed0
  17. 01 Jul, 2008 1 commit
  18. 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
  19. 20 Jun, 2008 2 commits
    • Tim Janik's avatar
      Switch to "guint GSEAL (foo) : width;" when packing fields in guints. · cd19149a
      Tim Janik authored
      * gtk/gtkbox.h:
      * gtk/gtkbutton.h:
      * gtk/gtkcellrenderer.h:
      * gtk/gtkcellrenderertext.h:
      * gtk/gtkcheckmenuitem.h:
      * gtk/gtkcontainer.h:
      * gtk/gtkentry.h:
      * gtk/gtkhandlebox.h:
      * gtk/gtkimcontextsimple.h:
      * gtk/gtklabel.h:
      * gtk/gtkliststore.h:
      * gtk/gtkmenu.h:
      * gtk/gtkmenuitem.h:
      * gtk/gtkmenushell.h:
      * gtk/gtknotebook.h:
      * gtk/gtkpaned.h:
      * gtk/gtkplug.h:
      * gtk/gtkprintjob.h:
      * gtk/gtkprogressbar.h:
      * gtk/gtkrange.h:
      * gtk/gtkscale.h:
      * gtk/gtkscrolledwindow.h:
      * gtk/gtksizegroup.h:
      * gtk/gtksocket.h:
      * gtk/gtkspinbutton.h:
      * gtk/gtkstatusbar.h:
      * gtk/gtktable.h:
      * gtk/gtktearoffmenuitem.h:
      * gtk/gtktextbuffer.h:
      * gtk/gtktextview.h:
      * gtk/gtktogglebutton.h:
      * gtk/gtktoolbar.h:
      * gtk/gtktreestore.h:
      * gtk/gtktreeviewcolumn.h:
      * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
      
      svn path=/trunk/; revision=20621
      cd19149a
    • Tim Janik's avatar
      Seal GtkTextBuffer. · ad8fcdd7
      Tim Janik authored
      svn path=/trunk/; revision=20598
      ad8fcdd7
  20. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
      	excess newlines and sprinkled some newlines where needed. Zero
      	code or formatting changes included.
      
      
      svn path=/trunk/; revision=20225
      2c5f8a5c
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      	above.
      
      
      svn path=/trunk/; revision=20221
      eff99c28
  21. 26 May, 2007 1 commit
    • Matthias Clasen's avatar
      Allow to separate GtkTextMark creation from buffer insertion. (#132818, · 6ac30db0
      Matthias Clasen authored
      2007-05-25  Matthias Clasen  <mclasen@redhat.com>
      
              Allow to separate GtkTextMark creation from buffer insertion.
              (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
      
              * gtk/gtktextmarkprivate.h:
              * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to
              create a GtkTextMark.
      
              * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New
              function to add an existing mark to a buffer.
      
              * gtk/gtktextbtree.c: Allow adding existing marks.
      
              * gtk/gtk.symbols: Add new functions.
      
              * tests/testtextbuffer.c: Add some tests for new mark
              functionality.
      
      
      svn path=/trunk/; revision=17922
      6ac30db0
  22. 05 Feb, 2007 1 commit
  23. 22 Mar, 2006 1 commit
    • Michael Natterer's avatar
      count down from G_MAXUINT to avoid clashes with application-added DND · ca658057
      Michael Natterer authored
      2006-03-22  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): count down
      	from G_MAXUINT to avoid clashes with application-added DND
      	targets.
      
      	* gtk/gtktextview.c (gtk_text_view_init): set an empty
      	GtkTargetList on the drag_dest so it is not NULL when a derived
      	class' init() function is called.
      
      	(gtk_text_view_target_list_notify): copy the text buffer's paste
      	targets into the view's destinstion target list (preserving
      	application-added DND targets), instead of replacing the view's
      	target list. Fixes bug #334399.
      ca658057
  24. 07 Mar, 2006 1 commit
    • Michael Natterer's avatar
      Add infrastructure for copy/paste and DND of rich text for GtkTextBuffer. · 6c1d990a
      Michael Natterer authored
      2006-03-07  Michael Natterer  <mitch@imendio.com>
      
      	Add infrastructure for copy/paste and DND of rich text for
      	GtkTextBuffer. Fixes bug #324177.
      
      	* gtk/gtktextbufferrichtext.[ch]: new files implementing a
      	per-buffer registry of rich text formats.
      
      	* gtk/gtk.h: #include gtktextbufferrichtext.h
      
      	* gtk/gtktextbufferserialize.[ch]: new files implementing an
      	internal serialization format that can handle all of a text
      	buffer's tags and pixbufs. It's not useful for anything except
      	tranfer between instances of GtkTextBuffer (Anders Carlsson).
      
      	* gtk/Makefile.am: build the new files.
      
      	* gtk/gtkclipboard.[ch]: added convenience APIs for rich text,
      	just as they exist for plain text and pixbufs.
      
      	* gtk/gtkselection.[ch]: added rich text convenience APIs here
      	too.  Return the target list from gtk_target_list_ref(). Register
      	GtkTargetList as boxed type. Added
      	gtk_target_table_new_from_list() and gtk_target_table_free(),
      	which make converting between GtkTargetList and arrays of
      	GtkTargetEntry considerably easier.
      
      	* gtk/gtktextutil.[ch]: added _gtk_text_util_create_rich_drag_icon()
      	which creates a fancy rich text icon (Matthias Clasen).
      
      	* gtk/gtktextbuffer.[ch]: use all the new stuff above and
      	implement copy and paste of rich text. Added APIs for getting the
      	target lists used for copy and paste. Added public enum
      	GtkTextBufferTargetInfo which contains the "info" IDs associated
      	with the entries of the target lists.
      
      	* gtk/gtktextview.c: use the new rich text APIs and
      	GtkTextBuffer's new target list API to enable DND of rich text
      	chunks.
      
      	* gtk/gtk.symbols: export all the new symbols added.
      
      	* tests/testtext.c: added rich text testing stuff.
      6c1d990a
  25. 07 Oct, 2005 1 commit
  26. 01 Aug, 2005 1 commit
  27. 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
  28. 08 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Use G_GNUC_NULL_TERMINATED where appropriate. (#165682, Marc Meissner) · c8830f25
      Matthias Clasen authored
      2005-03-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.h:
      	* gtk/gtktreeview.h:
      	* gtk/gtktreeviewcolumn.h:
      	* gtk/gtktextbuffer.h:
      	* gtk/gtkobject.h:
      	* gtk/gtkfilechooserdialog.h:
      	* gtk/gtkdialog.h:
      	* gtk/gtkcontainer.h:
      	* gtk/gtkcelllayout.h:
      	* gtk/gtkaboutdialog.h: Use G_GNUC_NULL_TERMINATED where
      	appropriate.  (#165682, Marc Meissner)
      c8830f25
  29. 21 Oct, 2004 1 commit
    • Owen Taylor's avatar
      #155952 · e0ad07e0
      Owen Taylor authored
      Thu Oct 21 15:01:09 2004  Owen Taylor  <otaylor@redhat.com>
      
              #155952
      
              * gtk/gtkentry.c: Fix checking the wrong position for
              the backspace_deletes_character PangoLogAttr.
      
              * gtk/gtktextbuffer.[ch] gtk/gtk.symbols (gtk_text_buffer_backspace):
              Move backspace logic from GtkTextView to here, check
              backspace_deletes_char.
      
              * gtk/gtktextview.c: Use gtk_text_buffer_backspace().
      e0ad07e0
  30. 06 Jan, 2003 1 commit
    • Matthias Clasen's avatar
      Implement a utility function proposed in #102534: · bc70dc94
      Matthias Clasen authored
      2003-01-06  Matthias Clasen  <maclas@gmx.de>
      
      	Implement a utility function proposed in #102534:
      
      	* gtk/gtktextbtree.h:
      	* gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function.
      	(_gtk_text_btree_place_cursor): Now a simple wrapper around
      	_gtk_text_btree_select_range().
      
      	* gtk/gtktextbuffer.h:
      	* gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function.
      	(gtk_text_buffer_place_cursor): Now a simple wrapper around
      	gtk_text_buffer_select_range().
      bc70dc94
  31. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Massive padding addition to class structures. · e5d1ea8c
      Owen Taylor authored
      Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.h gdk/*.h: Massive padding addition to class structures.
      
              * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
      e5d1ea8c
  32. 05 Dec, 2001 1 commit
    • Havoc Pennington's avatar
      remove g_assert_not_reached() that was bogus, since we demand-create the · 6b1407a3
      Havoc Pennington authored
      2001-12-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbtree.c (gtk_text_btree_remove_tag_info): remove
      	g_assert_not_reached() that was bogus, since we demand-create the
      	tag info. reported by Chris Phelps
      
              Jump through assorted hoops to fix bug from Chris Phelps where
      	removing tags from the table resulted in btree trying to
      	access tag->table
      
      	* gtk/gtktextbuffer.c: set up mechanics of adding/removing
      	ourselves to the tag table
      
      	* gtk/gtktexttagtable.c (_gtk_text_tag_table_add_buffer)
      	(_gtk_text_tag_table_remove_buffer): private cruft to
      	let us notify buffer of disappearing tags
      
      	* gtk/gtktexttag.h: remove BTreeNode typedef from this public
      	header, put it in tagprivate
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_new): don't connect to
      	tag_removed; it's emitted too late.
      	(_gtk_text_btree_notify_will_remove_tag): rename tag_remove_cb to
      	this
      
      	Padding for ABI-compat expansion
      
      	* gtk/gtktexttag.h (struct _GtkTextAttributes): pad this
      	(struct _GtkTextAppearance): one pad in here too
      
      	* gtk/gtktextlayout.h (struct _GtkTextLayoutClass): padding here
      
      	* gtk/gtktextview.h (struct _GtkTextViewClass): more padding,
      	since action signals etc. seem pretty likely
      
      	* gtk/gtktextbuffer.h (struct _GtkTextBufferClass): padding
      
      	* gtk/gtktexttag.h (struct _GtkTextTagClass): padding
      
      	* gtk/gtktexttagtable.h (struct _GtkTextTagTableClass): padding
      6b1407a3
  33. 31 Aug, 2001 1 commit
    • Owen Taylor's avatar
      Instead of always mirroring the selection to a single PRIMARY selection, · b97a0a45
      Owen Taylor authored
      Wed Aug 29 20:40:58 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextbuffer.[ch] (gtk_text_buffer_add/remove_selection_clipboard):
              Instead of always mirroring the selection to a single PRIMARY
              selection, allow it to be mirrored to any number of clipboards.
      
              * gtk/gtktextbuffer.[ch] (gtk_text_buffer_paste_primary): Remove,
              just use gtk_text_buffer_paste_clipboard with the appropriate clipboard.
      
              * gtk/gtktextbuffer.[ch] (gtk_text_buffer_cut/copy/paste_clipboard): Add a
              GtkClipboard argument, and for paste_clipboard, the
              @override_location argument from @paste_primary.
      
              * gtk/gtktextview.c: Adapt to above change.
      b97a0a45
  34. 08 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      added this function · 7009511a
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_get_start_iter): added this
      	function
      
      	* gtk/gtktextview.c (gtk_text_view_get_default_attributes): added
      	this function
      7009511a
  35. 07 May, 2001 1 commit
    • Havoc Pennington's avatar
      fix some shell typos · b4e4a0ed
      Havoc Pennington authored
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: fix some shell typos
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix
      
      	* gtk/gtkimage.c: handle animations
      
      	* gtk/gtkcheckbutton.c (gtk_check_button_size_request): request
      	border_width * 2, not just border_width
      
      	* gtk/gtkscale.c: add "format_value" signal to allow people
      	to override the way values are drawn.
      	(gtk_scale_get_value_size): fix width/height mistake,
      	and compute size from actual displayed text, not
      	from made-up text.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in
      	signal registration
      
      	* tests/testtext.c: Add "Remove all tags" menu item for testing
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement
      
      	* demos/gtk-demo/main.c (main): add hack so we can find modules
      	without installing gtk
      
      	* demos/gtk-demo/textview.c (insert_text): demo font scaling
      
      	* gtk/gtkcellrenderertext.c: Add "scale" property (font scaling
      	factor)
      	(gtk_cell_renderer_text_set_property): remove some bogus
      	g_object_notify
      
      	* gtk/gtktexttag.c: add "scale" property which is a font scaling
      	factor
      
      	* gtk/gtktextlayout.c (add_text_attrs): add font scale attribute
      	to layout
      
      	* gtk/gtktextiter.c (gtk_text_iter_is_start): rename from
      	gtk_text_iter_is_first
      
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* pixops/pixops.c (pixops_process): merge fix from stable: Patch
      	 from hoshem@mel.comcen.com.au to fix nonzero X offsets.  Fixes
      	 bug #50371.
      
              * gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): merge
      	from stable: Patch from OKADA Mitsuru <m-okada@fjb.co.jp> to fix
      	confusion of using "src" instead of "p".
              (pixops_composite_color_nearest): Use a more accurate (and
      	correct, to begin with) compositing method.  This cures checks
      	showing through on images with no alpha.
      
      	* gdk-pixbuf.c (gdk_pixbuf_fill): fix bug that left some trailing
      	bytes unfilled.
      
      	* gdk-pixbuf-io.h: fix UpdatedNotifyFunc to use signed ints
      
      	* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Change
      	area_updated signal to use signed ints.  Removed animation-related
      	signals.
      
      	* io-gif.c, io-gif-animation.h, io-gif-animation.c: Massive
      	rewrite action
      
      	* gdk-pixbuf-animation.c: Add GdkPixbufAnimationIter to abstract
      	all the pesky details. Remove old frame-based API. Make
      	GdkPixbufAnimation an abstract base class, derived by the loaders.
      b4e4a0ed
  36. 24 Apr, 2001 1 commit
    • Havoc Pennington's avatar
      handle 0-height empty/invisible lines. · b84d2f12
      Havoc Pennington authored
      2001-04-21  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextdisplay.c (gtk_text_layout_draw): handle 0-height
      	empty/invisible lines.
      
      	* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset)
      	(gtk_text_iter_set_visible_line_index): new functions to set
      	indexes excluding invisible text
      
      	* gtk/gtktextlayout.c (line_display_iter_to_index): get visible
      	index
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index)
      	(gtk_text_iter_get_visible_line_offset): new functions to
      	get indexes excluding invisible text
      
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_init): strip out a
      	bunch of extra padding that served no purpose
      
      	* gtk/gtkdialog.c: Make all the spacings configurable via style
      	properties, for chubbiness configuration in themes
      
      	* tests/testtext.c: fix path to the immodules.
      b84d2f12
  37. 16 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      add varargs for properties to set on the tag. · e7a21a2e
      Havoc Pennington authored
      2001-03-15  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): add varargs
      	for properties to set on the tag.
      
      	* gtk/testtext.c: fixups to reflect create_tag change
      
      	* gtk/gtktexttag.c (gtk_text_tag_set_property):
      	background/foreground stipple are objects, not boxed.
      
      	* demos/gtk-demo/textview.c: intellihancing
      e7a21a2e