1. 29 Jul, 2005 1 commit
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · b8fc8e60
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/tools/stock-tool-foreground-select-16.png
      	* themes/Default/images/tools/stock-tool-foreground-select-22.png:
      	added placeholder for yet-to-be-drawn tool icon.
      
      	* libgimpwidgets/gimpstock.[ch]: register it.
      
      	* app/tools/gimpforegroundselecttool.c: use it.
      
      	* app/widgets/gimpclipboard.[ch] (gimp_clipboard_get_svg): return
      	a signed char pointer.
      
      	* app/actions/edit-commands.c
      	* app/tools/gimpinkoptions-gui.c: fixed signedness issues.
      b8fc8e60
  2. 27 May, 2005 1 commit
  3. 25 May, 2005 1 commit
    • Sven Neumann's avatar
      fixed gtk-doc comments. · e0b3fdfc
      Sven Neumann authored
      2005-05-25  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpclipboard.[ch]: fixed gtk-doc comments.
      e0b3fdfc
  4. 16 May, 2005 1 commit
    • Michael Natterer's avatar
      added gimp_clipboard_has_svg() and gimp_clipboard_get_svg(). · cd53b607
      Michael Natterer authored
      2005-05-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpclipboard.[ch]: added gimp_clipboard_has_svg()
      	and gimp_clipboard_get_svg().
      
      	* app/actions/edit-commands.c (edit_paste_cmd_callback): enabled
      	pasting of SVG data using gimp_vectors_import_buffer().
      cd53b607
  5. 27 Apr, 2005 1 commit
    • Sven Neumann's avatar
      free all memory allocated for GimpClipboard. · 55be97a0
      Sven Neumann authored
      2005-04-27  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpclipboard.c (gimp_clipboard_free): free all
      	memory allocated for GimpClipboard.
      
      	* libgimpwidgets/gimppatheditor.c (gimp_path_editor_set_path):
      	always free old_path.
      55be97a0
  6. 11 Apr, 2005 1 commit
  7. 09 Apr, 2005 2 commits
    • Michael Natterer's avatar
      added gimp_buffer_new_from_pixbuf(). · 9d439fe0
      Michael Natterer authored
      2005-04-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbuffer.[ch]: added gimp_buffer_new_from_pixbuf().
      
      	* app/widgets/gimpclipboard.c: removed
      	tile_manager_new_from_pixbuf() and base/ dependency.
      9d439fe0
    • Michael Natterer's avatar
      Implement dragging and dropping in any GdkPixbuf supported format. Fixes · 76096459
      Michael Natterer authored
      2005-04-09  Michael Natterer  <mitch@gimp.org>
      
      	Implement dragging and dropping in any GdkPixbuf supported
      	format. Fixes bug #172794 and bug #172795.
      
      	* app/core/gimplayer.[ch] (gimp_layer_new_from_region): new
      	function which contains all stuff that was in
      	gimp_layer_new_from_tiles().
      
      	(gimp_layer_new_from_tiles): use above function.
      	(gimp_layer_new_from_pixbuf): new function.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimppixbuf.[ch]: new files containing GdkPixbuf
      	utility functions for clipboard and DnD.
      
      	* app/widgets/gimpselectiondata.[ch]: removed
      	gimp_selection_data_set,get_pixbuf(), GTK+ provides the same API.
      	Also removed GdkAtom parameters all over the place because it's
      	always the same as selection_data->target.
      
      	* app/widgets/gimpclipboard.c: use the new pixbuf utility
      	functions and gtk_selection_data_set,get_pixbuf().
      
      	* app/widgets/widgets-enums.h
      	* app/widgets/gimpdnd.[ch]: removed never-implemented
      	GIMP_DND_TYPE_PNG and added a generic GIMP_DND_TYPE_PIXBUF
      	instead. Added API to drag and drop GdkPixbufs which transparently
      	converts from/to and GdkPixbuf-supported image format. Removed
      	passing around of GdkAtoms, since they were always the same
      	as selection_data->target.
      
      	* app/widgets/gimpdnd-xds.[ch]: follow GdkAtom parameter removal.
      
      	* app/widgets/gimpcontainertreeview.[ch]: added virtual function
      	GimpContainerTreeView::drop_pixbuf().
      
      	* app/widgets/gimpcontainertreeview-dnd.c: dispatch drop_pixbuf().
      
      	* app/widgets/gimplayertreeview.c: implement drop_pixbuf().
      
      	* app/widgets/gimpdrawabletreeview.c: allow to drag all drawables
      	as pixbufs.
      
      	* app/display/gimpdisplayshell-dnd.c: allow dropping of pixbufs.
      76096459
  8. 04 Apr, 2005 1 commit
    • Tor Lillqvist's avatar
      On Win32, move the "bmp" format to the front. Means less conversion in · 61ca231c
      Tor Lillqvist authored
      2005-04-04  Tor Lillqvist  <tml@novell.com>
      
      	* app/widgets/gimpclipboard.c (gimp_clipboard_format_compare): On
      	Win32, move the "bmp" format to the front. Means less conversion
      	in most cases, as other apps on Win32 typically provide/want the
      	BMP format on the Clipboard. (Actually CF_DIB, but that's the
      	same, just without the BMP file header.) See also bug #168173.
      61ca231c
  9. 29 Mar, 2005 1 commit
  10. 29 Oct, 2004 1 commit
  11. 08 Jul, 2004 1 commit
    • Michael Natterer's avatar
      added a "const gchar *format" parameter to · d1809702
      Michael Natterer authored
      2004-07-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpselectiondata.[ch]: added a "const gchar *format"
      	parameter to gimp_selection_data_set_pixbuf() which selects the
      	format in which to encode the pixbuf (was defaulting to "png"
      	before).
      
      	* app/widgets/gimpclipboard.c: when copying, offer all formats which
      	are savable with GdkPixbuf. Added a GimpClipboard struct which is
      	attached to the Gimp and which stores all the persistent data
      	needed by the clipboard. Renamed some private functions.
      
      	(unfortunately this change breaks pasting to AbiWord:
      	 http://bugzilla.abisource.com/show_bug.cgi?id=7068)
      d1809702
  12. 07 Jul, 2004 3 commits
  13. 02 Jul, 2004 1 commit
    • Sven Neumann's avatar
      app/gui/Makefile.am new files implementing a clipboard for image data · 6423529b
      Sven Neumann authored
      2004-07-02  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/Makefile.am
      	* app/gui/clipboard.[ch]: new files implementing a clipboard for
      	image data based on GDK_SELECTION_CLIPBOARD (bug #133247).
      
      	* app/actions/edit-actions.c
      	* app/actions/edit-commands.c: use the new clipboard API.
      
      	* app/gui/gui.c: initialize and shutdown the clipboard.
      
      	* app/core/gimpbuffer.c: cosmetics.
      
      	* app/actions/actions.c
      	* app/menus/menus.c: added sanity checks to exit functions.
      
      	* app/display/gimpdisplayshell-dnd.[ch]: let
      	gimp_display_shell_drop_svg() take a guchar * buffer.
      
      	* app/widgets/gimpselectiondata.c (gimp_selection_data_get_pixbuf):
      	fixed the implementation.
      6423529b