• 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
Name
Last commit
Last update
contrib Loading commit data...
debian Loading commit data...
demos Loading commit data...
docs Loading commit data...
examples Loading commit data...
gdk Loading commit data...
gdk-pixbuf Loading commit data...
gtk Loading commit data...
m4macros Loading commit data...
modules Loading commit data...
perf Loading commit data...
po Loading commit data...
po-properties Loading commit data...
tests Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-0 Loading commit data...
ChangeLog.pre-1-2 Loading commit data...
ChangeLog.pre-2-0 Loading commit data...
ChangeLog.pre-2-10 Loading commit data...
ChangeLog.pre-2-2 Loading commit data...
ChangeLog.pre-2-4 Loading commit data...
ChangeLog.pre-2-6 Loading commit data...
ChangeLog.pre-2-8 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
INSTALL.in Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-0 Loading commit data...
README Loading commit data...
README.cvs-commits Loading commit data...
README.in Loading commit data...
README.win32 Loading commit data...
acconfig.h Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.h.win32.in Loading commit data...
configure.in Loading commit data...
gdk-2.0-uninstalled.pc.in Loading commit data...
gdk-2.0.pc.in Loading commit data...
gdk-pixbuf-2.0-uninstalled.pc.in Loading commit data...
gdk-pixbuf-2.0.pc.in Loading commit data...
gtk+-2.0-uninstalled.pc.in Loading commit data...
gtk+-2.0.pc.in Loading commit data...
gtk+.spec.in Loading commit data...
gtk-config-2.0.in Loading commit data...
gtk-zip.sh.in Loading commit data...
makecopyright Loading commit data...
makefile.msc Loading commit data...
sanitize-la.sh Loading commit data...
sanity_check Loading commit data...