1. 11 Jul, 2018 1 commit
  2. 10 Apr, 2011 1 commit
  3. 06 Feb, 2011 1 commit
  4. 15 Oct, 2010 1 commit
  5. 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
      d9b5207a
  6. 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
      5503e6a0
  7. 26 Jun, 2007 1 commit
    • Michael Natterer's avatar
      Invalidate the image preview after the projection is completely · d8c632cb
      Michael Natterer authored
      2007-06-26  Michael Natterer  <mitch@gimp.org>
      
      	Invalidate the image preview after the projection is
      	completely constructed. Fixes bug #449141.
      
      	* app/core/gimpmarshal.list: add VOID:BOOLEAN
      
      	* app/core/gimpimage.[ch]: add boolean parameter
      	invalidate_preview to the "flush" signal.
      
      	* app/core/gimpprojection.[ch]: add boolean member
      	invalidate_preview to the GimpProjection struct. Set it to TRUE if
      	it was TRUE in the image's "flush" signal. When the projection is
      	completely constructed after a flush, invalidate the image's
      	preview.
      
      	* app/display/gimpdisplay-handlers.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimpimagedock.c
      	* app/widgets/gimpimageeditor.c: changed callback signatures
      	accordingly.
      
      
      svn path=/trunk/; revision=22840
      d8c632cb
  8. 09 Dec, 2006 1 commit
  9. 16 Jun, 2006 1 commit
    • Michael Natterer's avatar
      Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and · 88dedcc4
      Michael Natterer authored
      2006-06-16  Michael Natterer  <mitch@gimp.org>
      
      	Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and
      	<ColormapEditor>:
      
      	* app/pdb/gimppluginprocedure.c
      	(gimp_plug_in_procedure_add_menu_path): added the argument type
      	checks for the new locations. Factored out duplicated code.
      
      	* app/menus/menus.c (menus_init): add the "plug-in" action
      	group to the resp. UI managers.
      
      	* app/menus/plug-in-menus.c (plug_in_menus_menu_path_added):
      	support them here too.
      
      	* app/widgets/gimpimageeditor.[ch]
      	* app/widgets/gimpitemtreeview.[ch]: added get_image() functions.
      
      	* app/actions/plug-in-commands.c: added new utility functions
      	which collect plug-in arguments from GimpImageEditor and
      	GimpItemTreeView widgets.
      
      	* menus/channels-menu.xml
      	* menus/colormap-editor-menu.xml
      	* menus/layers-menu.xml
      	* menus/vectors-menu.xml: added separators.
      
      	* menus/image-menu.xml.in: added a "Colormap" placeholder in
      	Colors/Map
      
      	* plug-ins/common/colormap-remap.c (query): register a menu
      	entry in <ColormapEditor> and moved the existing one to the
      	"Colormap" placeholder. Also register an icon to make this
      	menu item clearly distinct from the others in that menu.
      
      	Unrelated:
      
      	* plug-ins/common/colormap-remap.c (run): cleaned up quite a
      	bit. Fixed last-vals code and simplified map handling.
      
      	(remap_swap): removed, folded into run().
      
      	(remap_dialog): use the passed map to initialize the dialog so it
      	starts with the last-vals. Tweaked layout to have 16 columns
      	and simplified cell renderer creation.
      88dedcc4
  10. 15 May, 2006 1 commit
  11. 28 Mar, 2006 1 commit
  12. 19 Dec, 2005 1 commit
  13. 27 May, 2005 1 commit
  14. 31 Oct, 2004 1 commit
  15. 25 Oct, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/gradient-editor-commands.c irrelevant coding style and spacing · e88a6636
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/gradient-editor-commands.c
      	* app/display/gimpdisplayshell-preview.c: irrelevant coding style
      	and spacing cleanups.
      
      	* app/widgets/gimpimageeditor.c: removed utility function
      	gimp_image_editor_context_changed() and connect
      	gimp_image_editor_set_image() directly using
      	g_signal_connect_swapped().
      e88a6636
  16. 23 May, 2004 1 commit
    • Michael Natterer's avatar
      reoedered to somehow reflect the class hierarchy. · 43cdd54d
      Michael Natterer authored
      2004-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-types.h: reoedered to somehow reflect the
      	class hierarchy.
      
      	Some dockable context handling cleanup:
      
      	* app/widgets/gimpdocked.[ch]: removed "prev_context" parameter
      	from GimpDocked::set_context(). Widgets which need the old context
      	to disconnect from should remember it themselves.
      
      	* app/widgets/gimpdockable.c (gimp_dockable_set_context): don't
      	pass the old context to gimp_docked_set_context().
      	Some cleanup.
      
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainereditor.c: changed accordingly.
      
      	* app/display/gimpnavigationview.[ch]
      	* app/widgets/gimpimageeditor.[ch]
      	* app/widgets/gimpitemtreeview.[ch]: added a "context" member
      	which holds the context set by GimpDocked::set_context().
      
      	* app/widgets/gimpdrawabletreeview.c: use the view's context
      	instead of gimp_get_user_context().
      
      	* app/widgets/gimpcoloreditor.[ch]: removed separate API to
      	set the context because it implements the GimpDockedInterface.
      
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimperrorconsole.c: pass "menu-factory",
      	"menu-identifier" and "ui-path" to g_object_new() instead of
      	calling gimp_editor_create_menu() later.
      
      	Action cleanup partly related to the context stuff above:
      
      	* app/actions/actions.c (action_data_get_gimp): get the Gimp from
      	context->gimp, not gimage->gimp because gimage may be NULL.
      
      	(action_data_get_context): changed to use the new context members
      	added above.
      
      	* app/actions/channels-actions.c (channels_actions_update): cleanup.
      
      	* app/actions/edit-actions.c (edit_actions_update): fixed
      	sensitivity of "edit-undo-clear".
      
      	* app/actions/vectors-actions.c (vectors_actions_update): make
      	"vectors-merge-visible" sensitive only if there is more than one
      	GimpVectors in the image.
      
      	* app/actions/colormap-editor-actions.c
      	* app/actions/gradient-editor-actions.c
      	* app/actions/palette-editor-actions.c: added FG/BG color previews
      	to actions which take colors from them. Changed code to be safe
      	against "context" being NULL.
      
      	* app/actions/drawable-commands.c:
      	s/active_drawable/drawable/g. Makes the code more readable.
      
      	* app/actions/select-commands.[ch]
      	* app/actions/vectors-commands.[ch]: removed public stroke utility
      	functions and other stuff which is not needed any more because
      	dialog buttons invoke the correct actions now. Moved the
      	functions' code to the resp. action callbacks.
      43cdd54d
  17. 12 May, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/documents-actions.c app/actions/documents-commands.c · 2632cd8f
      Michael Natterer authored
      2004-05-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/documents-actions.c
      	* app/actions/documents-commands.c
      	* app/actions/edit-actions.c
      	* app/actions/edit-commands.[ch]
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.c
      	* app/actions/select-actions.c
      	* app/actions/select-commands.[ch]
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.[ch]: added tooltips for actions
      	which are now used for dialog buttons, added callback
      	implementations which formerly lived in various widgets, moved
      	some actions around and did some general cleanups.
      
      	* menus/image-menu.xml.in: s/edit-stroke/select-stroke/
      
      	* menus/Makefile.am
      	* menus/selection-editor-menu.xml: new popup menu.
      
      	* app/menus/menus.c: register <SelectionEditor> and <UndoEditor>
      	UI managers.
      
      	* app/widgets/gimpeditor.[ch]: added construct properties
      	"menu-factory", "menu-identifier", "ui-path" and "popup-data".
      	Implement GObject::constructor() and create the UI manager
      	if all needed properties were set. Enables creating action
      	buttons at widget construction time because they need a
      	UI manager.
      
      	(gimp_editor_add_action_button): changed to take a va_list of
      	"extended" actions which are invoked if the resp. button emits
      	"extended_clicked". Store the actions and their modifier masks in
      	a list attached to the button.
      
      	* app/widgets/gimpcontainerview.c
      	(gimp_container_view_item_selected): if the view has container
      	*and* context, simply change the context and return.
      
      	(gimp_container_view_context_changed): don't emit "select_item"
      	manually but simply call gimp_container_view_select_item().
      
      	(gimp_container_view_viewable_dropped): use
      	gimp_container_view_item_selected() instead of changing the
      	context directly.
      
      	* app/widgets/gimpcontainereditor.c
      	(gimp_container_editor_select_item): update the UI manager.
      
      	* app/widgets/gimpdockable.c: don't try to fiddle with the
      	dialog's menu if it doesn't have a ui_path (happens if the UI
      	manager is just a collection of actions for the dialog buttons and
      	has no menu registered).
      
      	* app/widgets/gimpimageeditor.c: connect to the image's "flush"
      	signal and update the UI manager in the callback.
      
      	* app/widgets/gimpitemtreeview.c: use GimpEditor's construct
      	properties to create the UI manager so GimpItemTreeView subclasses
      	can have action buttons. Update the UI manager in
      	gimp_item_tree_view_select_item().
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpfontview.c
      	* app/widgets/gimpimageview.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimptoolview.c: changed calls to
      	gimp_editor_add_action_button() accordingly and removed some
      	unneeded select_item() implementations.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpvectorstreeview.[ch]
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpselectioneditor.[ch]
      	* app/widgets/gimpundoeditor.[ch]: use action buttons and removed
      	lots of callbacks which went to the resp. action callbacks.
      
      	* app/widgets/widgets-types.h: removed some now unneeded function
      	prototypes.
      
      	* app/gui/dialogs-constructors.c: changed (simplified) many dialog
      	constructors accordingly.
      2632cd8f
  18. 11 Oct, 2003 1 commit
    • Sven Neumann's avatar
      app/widgets/gimpdocked.[ch] renamed GimpDockedIface to · a88e11af
      Sven Neumann authored
      2003-10-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdocked.[ch]
      	* app/widgets/widgets-types.h: renamed GimpDockedIface to
      	GimpDockedInterface.
      
      	* app/display/gimpnavigationview.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpimageeditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimptooloptionseditor.c: changed accordingly.
      
      	* app/config/config-types.h
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig-utils.[ch]: added a GimpConfig typedef and
      	changed the GimpConfig API to take GimpConfig instead of GObject
      	pointers.
      
      	* app/config/gimpconfig-dump.c
      	* app/config/gimprc.c
      	* app/config/test-config.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimp.[ch]
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpgrid.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimptemplate.c
      	* app/core/gimptooloptions.c
      	* app/core/gimpviewable.c
      	* app/gui/grid-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/stroke-dialog.c
      	* app/gui/templates-commands.c
      	* app/gui/tool-options-commands.c
      	* app/paint/gimppaintcore.c
      	* app/pdb/gimprc_cmds.c
      	* app/text/gimptext-parasite.c
      	* app/text/gimptext.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimp-tools.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptemplateview.c
      	* tools/pdbgen/pdb/gimprc.pdb: changed accordingly.
      a88e11af
  19. 10 Oct, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new files implementing · 99746e1d
      Michael Natterer authored
      2003-10-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpdocked.[ch]: new files implementing
      	GimpDockedInterface, a GTypeInterface which must be implemented by
      	all widgets which want to be packed into a GimpDockable. Has
      	virtual functions similar to the ones GimpDockable had.
      
      	* app/widgets/gimpdockable.[ch]: removed all virtual functions and
      	all function pointers from the instance struct (also the ones just
      	added in the commit below). Make sure only widgets implementing
      	the GimpDockedIface are added and simply call the child's
      	GimpDocked functions where we used to call our own virtual
      	functions and function pointers.
      
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpimageeditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimpsessioninfo.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/display/gimpnavigationview.c: implement GimpDockedIface.
      
      	* app/gui/dialogs-constructors.c: removed all that get_preview_func(),
      	set_context_func() etc. cruft since that's done by GimpDockedIface.
      	It's really a file of constructors now.
      
      	* app/gui/dialogs-menu.c: changed accordingly.
      
      	* app/widgets/gimpimagedock.c: forgotten in the commit below.
      99746e1d
  20. 20 Mar, 2003 1 commit
    • Sven Neumann's avatar
      default the fill_type to GIMP_BACKGROUND_FILL (as in gimp_initialize()). · af066154
      Sven Neumann authored
      2003-03-20  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-new.c (gimp_image_new_values_new): default
      	the fill_type to GIMP_BACKGROUND_FILL (as in gimp_initialize()).
      
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c: made more dialogs transient for their
      	parent window.
      
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpimageeditor.c
      	* app/widgets/gimpundoeditor.c: simplified a little bit.
      af066154
  21. 20 Feb, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new GimpEditor · 94bdcbcc
      Michael Natterer authored
      2003-02-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpimageeditor.[ch]: new GimpEditor subclass adding
      	a GimpImage pointer and a virtual set_image() function.
      
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimpselectioneditor.[ch]
      	* app/widgets/gimpundoeditor.[ch]: derive them from GimpImageEditor.
      	Removed the public set_image() functions.
      
      	* app/gui/colormap-editor-commands.c
      	* app/gui/colormap-editor-menu.c: changed accordingly.
      
      	* app/gui/dialogs-constructors.c: removed lots of code duplication
      	and use the uniform GimpImageEditor API. Misc cleanups.
      94bdcbcc