1. 06 Jan, 2008 1 commit
    • Johan Dahlin's avatar
      Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. Fixes #5075 · 71e9be7e
      Johan Dahlin authored
      2008-01-06  Johan Dahlin  <johan@gnome.org>
      
      	* gtk/gtkcellrenderercombo.c:
      	(gtk_cell_renderer_combo_get_property),
      	(gtk_cell_renderer_combo_set_property):
      	* gtk/gtkcombobox.c: (gtk_combo_box_set_property):
      	* gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
      	* gtk/gtknotebook.c: (gtk_notebook_set_property):
      	* gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
      	* gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
      	(gtk_text_buffer_get_property):
      	* gtk/gtktextview.c: (gtk_text_view_set_property):
      	* gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
      	* gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
      	(gtk_tool_button_get_property):
      	* gtk/gtktoolitem.c: (gtk_tool_item_set_property),
      	(gtk_tool_item_get_property):
      	* gtk/gtktreeview.c: (gtk_tree_view_set_property):
      	* gtk/gtkwidget.c: (gtk_widget_set_property):
      	* gtk/gtkwindow.c: (gtk_window_set_property):
      	Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
      	Fixes #5075
      
      svn path=/trunk/; revision=19311
      71e9be7e
  2. 17 Nov, 2007 1 commit
  3. 15 Nov, 2007 1 commit
    • Yevgen Muntyan's avatar
      new functions _gtk_text_btree_get_insert() and · abad58b0
      Yevgen Muntyan authored
      2007-11-15  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtktextbtree.h:
      	* gtk/gtktextbtree.c: new functions _gtk_text_btree_get_insert()
      	and _gtk_text_btree_get_selection_bound() (#497102).
      	* gtk/gtktextbuffer.c (gtk_text_buffer_get_insert),
      	(gtk_text_buffer_get_selection_bound): use them here instead of
      	hash table lookup.
      
      
      svn path=/trunk/; revision=18996
      abad58b0
  4. 28 Oct, 2007 1 commit
    • Owen Taylor's avatar
      Allow the ::delete-range handler to delete text after the text it was · 5072e43b
      Owen Taylor authored
      2007-10-28  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextbuffer.c (gtk_text_buffer_delete_interactive): Allow
              the ::delete-range handler to delete text after the text it was
              explicitly asked to delete without confusing us as to whether
              we're currently on an editable or not-editable segment.
              (#491207)
      
      svn path=/trunk/; revision=18951
      5072e43b
  5. 26 May, 2007 2 commits
    • Matthias Clasen's avatar
      Formatting fixes. · d8e3fc2b
      Matthias Clasen authored
      2007-05-25  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtktextmark.c:
              * gtk/gtktextbuffer.c: Formatting fixes.
      
      
      
      svn path=/trunk/; revision=17923
      d8e3fc2b
    • 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
  6. 09 Mar, 2007 1 commit
  7. 20 Dec, 2006 1 commit
  8. 08 Oct, 2006 2 commits
  9. 08 Sep, 2006 1 commit
  10. 17 Aug, 2006 1 commit
  11. 14 May, 2006 1 commit
  12. 09 May, 2006 1 commit
  13. 02 May, 2006 1 commit
  14. 28 Apr, 2006 1 commit
    • Michael Natterer's avatar
      keep a reference to the source buffer while the clipboard contents buffer · 7e15674c
      Michael Natterer authored
      2006-04-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktextbuffer.c (create_clipboard_contents_buffer): keep a
      	reference to the source buffer while the clipboard contents buffer
      	exists, because it is needed for serializing the contents buffer.
      	Makes copying from the contents buffer possible even after the
      	resp. text view is destroyed (for example when there is a
      	clipboard manager running on app exit) (bug #339195).
      7e15674c
  15. 16 Apr, 2006 1 commit
  16. 26 Mar, 2006 1 commit
  17. 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
  18. 09 Dec, 2005 2 commits
  19. 07 Oct, 2005 1 commit
  20. 13 Sep, 2005 1 commit
  21. 11 Sep, 2005 1 commit
  22. 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
  23. 31 Aug, 2005 2 commits
  24. 04 Apr, 2005 2 commits
    • Johan Dahlin's avatar
      Add GtkTextBuffer::text (#172631) · 6675c29a
      Johan Dahlin authored
          * gtk/gtktextbuffer.c: (gtk_text_buffer_class_init),
          (gtk_text_buffer_set_property), (gtk_text_buffer_get_property),
          (gtk_text_buffer_set_text): Add GtkTextBuffer::text (#172631)
      6675c29a
    • Matthias Clasen's avatar
      Some trivial doc fixes. · 70d788c7
      Matthias Clasen authored
      2005-04-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextbuffer.c: Some trivial doc fixes.
      70d788c7
  25. 26 Mar, 2005 1 commit
  26. 22 Mar, 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. 09 Mar, 2005 1 commit
  29. 01 Nov, 2004 1 commit
  30. 28 Oct, 2004 1 commit
  31. 26 Oct, 2004 1 commit
    • Anders Carlsson's avatar
      Rewrite clipboard handling so that the clipboard contents won't be freed · 98e2b9ea
      Anders Carlsson authored
      2004-10-26  Anders Carlsson  <andersca@imendio.com>
      
      	* gtk/gtktextbuffer.c: (gtk_text_buffer_finalize),
      	(create_clipboard_contents_buffer), (clipboard_get_contents_cb),
      	(clipboard_clear_contents_cb), (cut_or_copy):
      	Rewrite clipboard handling so that the clipboard contents won't be
      	freed when the text buffer is finalized. Also add clipboard manager support.
      	Fixes #95496.
      98e2b9ea
  32. 22 Oct, 2004 1 commit
  33. 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
  34. 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
  35. 11 Jul, 2004 1 commit