1. 11 Jul, 2018 1 commit
  2. 25 Nov, 2016 1 commit
  3. 20 Apr, 2013 1 commit
  4. 27 Aug, 2012 1 commit
  5. 26 Aug, 2012 1 commit
  6. 10 Jan, 2012 1 commit
  7. 24 Jul, 2011 1 commit
  8. 28 Mar, 2011 1 commit
  9. 20 Feb, 2011 1 commit
  10. 02 Oct, 2010 2 commits
  11. 23 Sep, 2010 1 commit
  12. 26 Aug, 2010 1 commit
  13. 23 Aug, 2010 1 commit
  14. 28 Feb, 2010 2 commits
    • Martin Nordholts's avatar
      app: Introduce gimp_dialog_factory_get_singleton() · 11b1300b
      Martin Nordholts authored
      Instead of including dialogs/dialogs.h everywhere, introduce
      gimp_dialog_factory_get_singleton(). The dialog factory singleton is
      still initialized by dialogs.c though.
      Right now the assumption is that we never will have another dialog
      factory instance around. There were so many problems before when we
      had four of them, so let's just keep one of them around.
    • Martin Nordholts's avatar
      app: Remove gimp_dialog_factory_from_name() · 947e2859
      Martin Nordholts authored
      We only have one dialog factory now, and
      gimp_dialog_factory_from_name() doesn't provide compile-time type
      safety, so use global_dialog_factory directly instead.
  15. 20 Feb, 2010 1 commit
  16. 17 Oct, 2009 1 commit
  17. 06 Oct, 2009 1 commit
  18. 04 Oct, 2009 1 commit
  19. 02 Oct, 2009 1 commit
  20. 29 Sep, 2009 2 commits
  21. 28 Sep, 2009 3 commits
  22. 20 Sep, 2009 1 commit
  23. 15 Jul, 2009 1 commit
  24. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      	* all files with a GPL header and all COPYING files:
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      svn path=/trunk/; revision=27913
  25. 09 Nov, 2008 1 commit
    • Martin Nordholts's avatar
      Prepare GimpCursorView for a dependency to GimpDisplayShell. · 983c3751
      Martin Nordholts authored
      * app/widgets/gimpcursorview.[ch]: Move from here...
      * app/display/gimpcursorview.[ch]: ...to here.
      * app/widgets/Makefile.am
      * app/display/Makefile.am: Change accordingly.
      * app/actions/cursor-info-actions.c
      * app/dialogs/dialogs-constructors.c
      * app/actions/cursor-info-commands.c
      * app/display/gimpdisplayshell-cursor.c: Update includes.
      svn path=/trunk/; revision=27581
  26. 09 Oct, 2008 1 commit
    • Michael Natterer's avatar
      Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a · 5503e6a0
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      	Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h
      	had a GEGL dependency (they will have in the next commit, but I
      	wanted to keep the commit separate).
      	* app/dialogs/Makefile.am
      	* app/file/Makefile.am
      	* app/gui/Makefile.am
      	* app/menus/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/vectors/Makefile.am
      	* app/widgets/Makefile.am
      	* app/xcf/Makefile.am: add GEGL_CFLAGS.
      	* app/actions/*.c
      	* app/core/*.c
      	* app/dialogs/*.c
      	* app/display/*.c
      	* app/file/*.c
      	* app/gui/*.c
      	* app/menus/*.c
      	* app/paint/*.c
      	* app/pdb/gimppdb-utils.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/*.c
      	* app/text/*.c
      	* app/tools/*.c
      	* app/vectors/*.c
      	* app/widgets/*.c
      	* app/xcf/*.c: add <gegl.h> or replace <glib-object.h> by <gegl.h>
      	to all files which include a drawable subclass or gimpimage.h
      	* tools/pdbgen/app.pl: include <gegl.h> instead of <glib-object.h>
      	in all generated files.
      	* app/pdb/*-cmds.c: regenerated.
      	* data/images/gimp-splash.png: the goat is still sleeping.
      	By Aurore Derriennic.
      svn path=/trunk/; revision=27202
  27. 20 Aug, 2008 1 commit
    • Michael Natterer's avatar
      Bug 496772 – Position shown in the statusbar needs more precision (for · d51c5082
      Michael Natterer authored
      2008-08-20  Michael Natterer  <mitch@gimp.org>
      	Bug 496772 – Position shown in the statusbar needs more
      	precision (for some tools)
      	* app/display/display-enums.[ch]: add enum GimpCursorPrecision
      	which can be one of { PIXEL_CENTER, PIXEL_BORDER, SUBPIXEL }.
      	* app/display/gimpdisplayshell-cursor.[ch]: add "precision"
      	parameter to gimp_display_shell_update_cursor() and pass it
      	on to the statusbar.
      	* app/display/gimpstatusbar.[ch]: add "precision" parameters to
      	the cursor coordinates APIs, offset the passed coords accordingly
      	and display them with one decimal point if SUBPIXEL is requested
      	and the display's unit is PIXEL. Keep a second floating-point
      	format string around at any time.
      	* app/tools/gimptoolcontrol.[ch]: add a "precision" member and API
      	so tools can configure the precision they need. Defalt to
      	PIXEL_CENTER since that's right for almost all tools.
      	* app/display/gimpdisplayshell-callbacks.c: pass the tool's
      	precision to gimp_display_shell_update_cursor().
      	* app/tools/gimptool.[ch]: add "precision" parameter to
      	gimp_tool_push_status_coords() and pass it on to the statusbar.
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpperspectiveclonetool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c: set precision in init() where
      	needed. Adjust the precision in the fly when needed, e.g. while
      	moving guides or when toggling hard-edge on paint tools. Also pass
      	an appropriate precision to gimp_tool_push_status_coords(), which
      	is not always the tool's precision as used for cursor display.
      svn path=/trunk/; revision=26681
  28. 30 Mar, 2008 1 commit
    • Sven Neumann's avatar
      added new function gimp_display_shell_unset_cursor(). · 9acc157a
      Sven Neumann authored
      2008-03-30  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpdisplayshell-cursor.[ch]: added new function
      	(gimp_display_shell_real_set_cursor): deal with cursor_type -1 
      	change the cursor to the default desktop cursor. Fixes warnings 
      	image load.
      	* app/display/gimpdisplayshell.c (gimp_display_shell_empty):
      	use gimp_display_shell_unset_cursor().
      svn path=/trunk/; revision=25312
  29. 18 Mar, 2008 1 commit
    • Michael Natterer's avatar
      First draft of the "no image open" window, which is implemented as a · cee3baea
      Michael Natterer authored
      2008-03-18  Michael Natterer  <mitch@gimp.org>
      	First draft of the "no image open" window, which is implemented as
      	a display without image (a view with NULL model). Didn't change
      	the display's appearance yet so I can first make sure the display
      	without image works properly in all details before hiding these
      	* app/core/gimp-gui.[ch]: add "gimp" parameter to display_create()
      	and allow "image" to be NULL.
      	* app/core/gimpcontext.c (gimp_context_real_set_display): a
      	display's image can be NULL now.
      	* app/display/gimpdisplay.[ch]: add Gimp and GimpDisplayConfig
      	members.  Add Gimp parameter to gimp_display_shell_new(). Changed
      	gimp_display_reconnect() to gimp_display_set_image() and allow to
      	set a NULL image.
      	* app/gui/gui-vtable.c (gui_display_create): if there is a single
      	display without an image, call gimp_display_set_image() on that
      	display instead of creating a new one.
      	* app/display/gimpdisplayshell-close.c: if the last display is
      	closed, don't close it but make it empty. Factored out that code
      	to gimp_display_shell_really_close().
      	* app/display/gimpdisplayshell-dnd.c: when dropping uris on an
      	empty display, open the first one into that display and the other
      	ones as layers of the newly opened image. This is consistent with
      	dropping on an existing image but maybe needs some discussion.
      	* app/display/gimpdisplayshell-callbacks.c: bail out early in the
      	tool event callback so tools never have to deal with empty
      	displays. In expose(), draw the drop zone on the empty display.
      	* app/display/gimpdisplayshell-title.c: set the empty display's
      	title to "Gimp - Drop Files".
      	* app/display/gimpdisplay-foreach.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-autoscroll.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-cursor.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell-preview.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpnavigationeditor.c
      	* app/display/gimpstatusbar.c: use display->gimp and
      	display->config instead of going via the image. Guard against
      	empty displays in some few places (most places can't be
      	called). Where needed, use the canvas' dimensions instead of the
      	image's dimensions so scroll offsets and scrollbars still have
      	sane values instead of the last image's ones.
      	* app/actions/actions.c (action_data_get_gimp)
      	(action_data_get_context): use display->gimp instead of
      	* app/actions/edit-commands.c (edit_paste_cmd_callback): redirect
      	to "paste as new" if there is an empty display.
      	* app/actions/tools-commands.c (tools_select_cmd_callback): don't
      	initialize the new tool on an empty display.
      	* app/actions/view-actions.c (view_actions_update): changed lots
      	of sensitivity settings to be insensitive when there is no image
      	(instead of no display).
      	* app/actions/view-commands.c: use the display's config object
      	instead of gimp's.
      svn path=/trunk/; revision=25113
  30. 20 Mar, 2007 1 commit
    • Michael Natterer's avatar
      disallow passing a NULL image. · 1c233b6f
      Michael Natterer authored
      2007-03-20  Michael Natterer  <mitch@gimp.org>
      	* app/widgets/gimpcursorview.[ch] (gimp_color_frame_update_cursor):
      	disallow passing a NULL image.
      	(gimp_color_frame_clear_cursor): new function that clears the
      	cursor view.
      	* app/widgets/gimpcolorframe.c (gimp_color_frame_update): if
      	color_frame->sample_valid is FALSE, don't do any color
      	transformations and don't construct any string because none
      	of them is going to be used (all labels will show "n/a").
      	* app/display/gimpstatusbar.[ch]: renamed set_cursor() API
      	to update_cursor().
      	* app/display/gimpdisplayshell-cursor.c
      	(gimp_display_shell_update_cursor): move variables to local
      	scopes. Follow GimpStatusbar API change. Cleanup.
      	(gimp_display_shell_clear_cursor): ditto. Follow GimpColorFrame
      	API change.
      svn path=/trunk/; revision=22153
  31. 09 Dec, 2006 1 commit
  32. 02 Jun, 2006 1 commit
    • Michael Natterer's avatar
      cursors/Makefile.am cursors/cursor-corner-bottom-left.png · d1a76d93
      Michael Natterer authored
      2006-06-02  Michael Natterer  <mitch@gimp.org>
      	* cursors/Makefile.am
      	* cursors/cursor-corner-bottom-left.png
      	* cursors/cursor-corner-bottom-right.png
      	* cursors/cursor-corner-top-left.png
      	* cursors/cursor-corner-top-right.png
      	* cursors/cursor-side-bottom.png
      	* cursors/cursor-side-left.png
      	* cursors/cursor-side-right.png
      	* cursors/cursor-side-top.png
      	* cursors/xbm/cursor-corner-bottom-left-mask.xbm
      	* cursors/xbm/cursor-corner-bottom-left.xbm
      	* cursors/xbm/cursor-corner-bottom-right-mask.xbm
      	* cursors/xbm/cursor-corner-bottom-right.xbm
      	* cursors/xbm/cursor-corner-top-left-mask.xbm
      	* cursors/xbm/cursor-corner-top-left.xbm
      	* cursors/xbm/cursor-corner-top-right-mask.xbm
      	* cursors/xbm/cursor-corner-top-right.xbm
      	* cursors/xbm/cursor-side-bottom-mask.xbm
      	* cursors/xbm/cursor-side-bottom.xbm
      	* cursors/xbm/cursor-side-left-mask.xbm
      	* cursors/xbm/cursor-side-left.xbm
      	* cursors/xbm/cursor-side-right-mask.xbm
      	* cursors/xbm/cursor-side-right.xbm
      	* cursors/xbm/cursor-side-top-mask.xbm
      	* cursors/xbm/cursor-side-top.xbm: new cursors for edge and corner
      	resizing. They perfectly align with the small crosshair and can be
      	used together with tool cursors and cursor modifiers.
      	* cursors/gimp-tool-cursors.xcf: add them here too.
      	* app/widgets/widgets-enums.h: add them to the GimpCursorType enum.
      	* app/widgets/gimpcursor.c: add them here too.
      	* app/display/gimpdisplayshell-cursor.c: treat them like the small
      	crosshair (don't replace them by the small crosshair but use them
      	as-is). Also allow the bad modifier with the large crosshair.
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_cursor_update): use the new cursors. Don't
      	call gimp_tool_set_cursor() here.
      	(gimp_rectangle_tool_response): reset "function" to RECT_CREATING
      	when resetting the tool.
      	* app/tools/gimpselectiontool.[ch] (struct GimpSelectionTool):
      	added boolean member "allow_move" which defalts to TRUE.
      	(gimp_selection_tool_oper_update): don't move masks, floating
      	selections or anything when "allow_move" is FALSE. Changed
      	behavior of click inside a selection to simply create a new
      	selection, need to press alt+shift now to drag-float the
      	selection. Please test this, it's apretty fundamental change!
      	(gimp_selection_tool_cursor_update): use the tool's configured
      	cursor instead of always GIMP_CURSOR_MOUSE, so this function can
      	be called after gimp_rectangle_tool_cursor_update() to add the
      	plus, minus etc. modifiers.
      	* app/tools/gimpnewrectselecttool.c: implement
      	GimpTool::cursor_update() and call
      	gimp_rectangle_tool_cursor_update() from there. Chain up to get
      	the plus, minus etc. modifiers added.
      	Re-enble selection moving:
      	(gimp_new_rect_select_tool_oper_update): set GimpSelectionTool's
      	"allow_move" to FALSE unless the rectangle tool is in an idle
      	(gimp_new_rect_select_tool_button_press): allow a selection moving
      	to be started if the rectangle tool is idle. Fall back to starting
      	a rect select if gimp_selection_tool_start_edit() returned FALSE.
  33. 12 Apr, 2006 1 commit
  34. 28 Mar, 2006 2 commits