1. 24 Jun, 2010 1 commit
  2. 04 Apr, 2010 1 commit
  3. 03 Apr, 2010 1 commit
  4. 13 Mar, 2010 1 commit
    • Martin Nordholts's avatar
      app: Session manage empty- and single-image window separately · 0c4409c8
      Martin Nordholts authored
      Session manage empty- and single-image window separately. So when
      starting up, the default 2.6 UI is the same. But when enabling
      single-window mode, the image window will become much larger then the
      empty-image window. These conceptually different windows will then
      from that point be session managed separately: switching mode switches
      size of the image window.
  5. 28 Feb, 2010 1 commit
    • 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.
  6. 20 Feb, 2010 4 commits
  7. 19 Feb, 2010 1 commit
  8. 20 Jan, 2010 1 commit
    • Martin Nordholts's avatar
      app: Merge 'global_toolbox_factory' into 'global_dock_factory' · 1093462a
      Martin Nordholts authored
      Get rid of 'global_toolbox_factory' and manage everything dock-related
      with 'global_dock_factory'. The whole of 'global_toolbox_factory' was
      a big special-case and getting rid of it makes it easier to extend the
      session management with e.g. single-window mode dock functionality.
      To get rid of 'global_toolbox_factory' we, roughly, have to
       * Replace 'global_toolbox_factory' with 'global_dock_factory'
         everywhere. We can also get rid of lots of code that did special
         things for the "toolbox" factory.
       * Make the use or interaction with the toolbox explicit in some
         places. For example, a function gimp_dock_window_has_toolbox() has
         been introduced.
       * Make GimpSessionInfoDock have an 'identifier' parameter so we can
         differentiate between the "gimp-dock" and "gimp-toolbox" dock
  9. 19 Jan, 2010 2 commits
    • Martin Nordholts's avatar
      app: global_dock_window_factory -> global_dock_factory · 66197c5d
      Martin Nordholts authored
      Rename back global_dock_window_factory to
      global_dock_factory. Renaming to global_dock_window_factory was done
      under the assumption that there would be a separate factory that would
      create non-toplevel dockables, but I don't expect this to happen in
      the forseeable future.
    • Martin Nordholts's avatar
      app: Have dialog factory entries for the dock windows · 56a8cb68
      Martin Nordholts authored
      Let dock windows have proper GimpDialogFactory entries. This allows us
      to get rid of a lot of ugly mostly duplicated code. This also makes us
      ready the merge the dock window and toolbox factories which will soon
      be done. A few things should be noted:
       * We adjust the wrap box aspect ratio in the toolbox to avoid having
         the toolbox dock window explode
       * We make sure that we still can handle sessionrc files from GIMP 2.6
         and older
  10. 16 Jan, 2010 4 commits
    • Martin Nordholts's avatar
      app: Use the dialog factory for creating docks · 408c22b7
      Martin Nordholts authored
      Instead of having one dock constructor per dialog factory, put entries
      for the normal dock and the toolbox dock in the dock window
      factory. To do this we also need to merge the dock and normal dialog
      constructors into one function protptype.
      This takes us one step closer to be able to merge the
      global_dock_window_factory and the global_toolbox_factory into one.
      The long term goal: Support multi-column dock windows with one of the
      docks being the toolbox. In this situation we can't have the toolbox
      dock created by a separate dialog factory, that is too messy.
    • Martin Nordholts's avatar
      app: Remove gimp_dialog_factory_set_put_in_dockables() · 08078ca7
      Martin Nordholts authored
      Instead of having gimp_dialog_factory_set_put_in_dockables() with all
      the cruft that leads to we can use the 'dockable' member on
      GimpDialogFactoryEntry. This is a general strategy that the code base
      is being moved in: try to keep information per-entry rather than
    • Martin Nordholts's avatar
      app: Copy 'dockable' member in gimp_dialog_factory_register_entry() · 2527955c
      Martin Nordholts authored
      Copying 'dockable' for a dialog factory entry was forgotten in
    • Martin Nordholts's avatar
      app: Introduce gimp_dialog_factory_set_put_in_dockables() · deb07e81
      Martin Nordholts authored
      Change gimp_dialog_factory_set_constructor() to
      gimp_dialog_factory_set_put_in_dockables() order to narrow the
      interface a bit. We can make both
      gimp_dialog_factory_set_put_in_dockables() and the
      GimpDialogConstructor typedef internal this way.
      The main reason we do this is because we want to get rid of a
      dependency on factory->p->new_dock_func. Eventually we want to
      construct docks just like we construct other widgets in the factory,
      so new_dock_func will be removed.
      Also improve readability of code such as making it explicit that
      gimp_dialog_factory_put_in_dockable_constructor() is just an extended
      version of gimp_dialog_factory_default_constructor().
  11. 20 Dec, 2009 3 commits
  12. 19 Dec, 2009 3 commits
  13. 18 Oct, 2009 1 commit
  14. 17 Oct, 2009 1 commit
  15. 09 Oct, 2009 1 commit
  16. 26 Sep, 2009 1 commit
    • Martin Nordholts's avatar
      app: Make GimpDock a GtkVBox · 4f7693ac
      Martin Nordholts authored
      Make GimpDock be a GtkVBox instead of a GimpDockWindow. This means we
      can now put a GimpDock anywhere, including inside an image window.
      In order to do this we need to:
       * Separate dock and dock window creation in the dialog factory and
         add a couple of new dock window constructors
       * Change gimp_dialog_factory_dock_new() to not only create a dock,
         but also create a dock window and then combine those two
       * Change the dock constructor to take a GimpUIManager since they
         depend on that during their construction. We get the ui manager
         from the dock window, but we can't create the dock *inside* the
         dock window, we have to add the dock later. So we create the dock
         window first and then pass its ui manager to the dock constructors
       * Make some other minor adaptions, mostly with
         gimp_dock_window_from_dock() and gimp_dock_window_get_dock()
  17. 20 Sep, 2009 1 commit
  18. 30 Jul, 2009 1 commit
  19. 21 Jul, 2009 1 commit
    • Stephen Griffiths's avatar
      app: Remove Tools dockable · c53113d0
      Stephen Griffiths authored
      Remove the Tools dockable. The toolbox will be configured from the
      Toolbox page in preferences instead. This is part of the fix for
      bug #500930.
  20. 16 May, 2009 1 commit
  21. 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
  22. 04 Nov, 2008 1 commit
    • Sven Neumann's avatar
      bumped minimum required version of GLib to 2.18.0. · 4762b734
      Sven Neumann authored
      2008-11-04  Sven Neumann  <sven@sven>
      	* configure.in: bumped minimum required version of GLib to 
      	* INSTALL: document the updated dependency.
      	* app/core/gimp.[ch]: introduced gimp_message_literal(), a 
      	of gimp_message() that takes a literal string.
      	* app/errors.[ch]: removed format arguments from 
      	and gimp_terminate() and let them take a literal string instead.
      	* app/tools/gimptool.[ch]: introduced 
      	a variant of gimp_tool_message() that takes a literal string.
      	* app/actions/documents-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/error-console-commands.c
      	* app/actions/file-commands.c
      	* app/actions/gradients-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/plug-in-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/config/gimprc.c
      	* app/core/gimp-modules.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimp-units.c
      	* app/core/gimpchannel.c
      	* app/core/gimpcontainer-filter.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/dialogs/convert-dialog.c
      	* app/dialogs/dialogs.c
      	* app/dialogs/palette-import-dialog.c
      	* app/dialogs/preferences-dialog.c
      	* app/dialogs/quit-dialog.c
      	* app/dialogs/stroke-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/file/file-procedure.c
      	* app/file/file-save.c
      	* app/file/file-utils.c
      	* app/gegl/gimpcurvesconfig.c
      	* app/gegl/gimplevelsconfig.c
      	* app/gui/gui-message.c
      	* app/gui/gui.c
      	* app/gui/session.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpheal.c
      	* app/paint/gimpperspectiveclone.c
      	* app/paint/gimpsourcecore.c
      	* app/pdb/gimppdb-utils.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/gimpplugin-message.c
      	* app/plug-in/gimpplugin.c
      	* app/plug-in/gimppluginmanager-restore.c
      	* app/plug-in/gimppluginprocedure.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimp-tools.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdesaturatetool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpgegltool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool-settings.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsourcetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpactionview.c
      	* app/widgets/gimpcontrollerlist.c
      	* app/widgets/gimpcontrollers.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimperrordialog.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppdbdialog.c
      	* app/widgets/gimpsettingsbox.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/image.pdb: use the _literal variants for
      	g_set_error(), gimp_message() and gimp_tool_message().
      	* app/pdb/convert-cmds.c
      	* app/pdb/edit-cmds.c
      	* app/pdb/floating-sel-cmds.c
      	* app/pdb/image-cmds.c: regenerated.
      svn path=/trunk/; revision=27548
  23. 29 Sep, 2008 1 commit
    • Martin Nordholts's avatar
      Bug 554125 – Tab key doesn't hide utility windows when there is no · 958de4c2
      Martin Nordholts authored
      image open.
      * app/widgets/gimpdialogfactory.[ch]: Add 'toggle_visibility' to
      GimpDialogFactory and as a parameter to gimp_dialog_factory_new(),
      and set it there.
      (gimp_dialog_factories_hide_foreach): Don't hide dialogs belonging
      to factories with toggle_visibility FALSE.
      * app/display/gimpdisplayshell-callbacks.c
      (gimp_display_shell_canvas_tool_events): Move no-image event
      handling to a new helper function, and make pressing Tab hide
      * app/dialogs/dialogs.c (dialogs_init): Allow toggling visibility
      for all factories except the display-factory.
      svn path=/trunk/; revision=27077
  24. 22 Aug, 2008 1 commit
    • Sven Neumann's avatar
      app/widgets/gimpaction.c app/widgets/gimpdockable.c · 961683cc
      Sven Neumann authored
      2008-08-22  Sven Neumann  <sven@gimp.org>
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimpradioaction.c
      	* app/widgets/gimpstringaction.c
      	* app/widgets/gimptoggleaction.c: added basic support for icon
      	names for actions and dockables. Uses the stock-id as icon name
      	if the icon theme provides an icon under this name.
      	* app/dialogs/dialogs.c
      	* app/actions/documents-actions.c
      	* app/actions/dialogs-actions.c: use the "document-open-recent"
      	icon for the document history.
      svn path=/trunk/; revision=26710
  25. 21 May, 2008 1 commit
    • Sven Neumann's avatar
      Add Desaturate as an image-map tool with live preview (bug #533808): · e86e0032
      Sven Neumann authored
      2008-05-21  Sven Neumann  <sven@gimp.org>
      	Add Desaturate as an image-map tool with live preview (bug #533808):
      	* app/gegl/Makefile.am
      	* app/gegl/gegl-types.h
      	* app/gegl/gimpdesaturateconfig.[ch]: added config object for the
      	desaturate point filter.
      	* app/gegl/gimpoperationdesaturate.[ch]: derive from
      	GimpOperationPointFilter. Unrolled the inner loop.
      	* app/core/gimpdrawable-desaturate.c: changed accordingly.
      	* app/tools/Makefile.am
      	* app/tools/gimpdesaturatetool.[ch]: added desaturate as an
      	imagemap tool. So far only the GEGL code path is implemented.
      	* app/tools/gimp-tools.c: register the new tool.
      	* app/dialogs/dialogs.c: register the new tool dialog.
      	* app/dialogs/Makefile.am
      	* app/dialogs/desaturate-dialog.[ch]: removed the desaturate dialog.
      	* app/actions/drawable-actions.c
      	* app/actions/drawable-commands.[ch]: removed action
      	* app/widgets/gimphelp-ids.h: changed help IDs accordingly.
      	* menus/image-menu.xml.in: replaced "drawable-desaturate" with
      	* libgimpwidgets/gimpstock.h: added a define for
      svn path=/trunk/; revision=25726
  26. 16 May, 2008 2 commits
    • Michael Natterer's avatar
      reverse the list after loading so it keeps its order. · ab56cfde
      Michael Natterer authored
      2008-05-16  Michael Natterer  <mitch@gimp.org>
      	* app/dialogs/dialogs.c (dialogs_load_recent_docks): reverse the
      	list after loading so it keeps its order.
      	* app/menus/windows-menu.c (windows_menu_setup)
      	(windows_menu_recent_add): keep the recent docks menu in MRU
      svn path=/trunk/; revision=25672
    • Michael Natterer's avatar
      Implement the presistent menu of recently closed docks, still somewhat · ff5310a4
      Michael Natterer authored
      2008-05-16  Michael Natterer  <mitch@gimp.org>
      	Implement the presistent menu of recently closed docks, still
      	somewhat hackish but fully functional. Fixes bug #132744.
      	* app/actions/dialogs-actions.c
      	* app/actions/dialogs-commands.[ch]
      	* menus/image-menu.xml.in: remove the menu items that were
      	creating the hardcoded preconfigured docks.
      	* app/dialogs/dialogs.[ch]: add GimpContainer of recently closed
      	docks and API to load and save it.
      	* app/gui/session.c: call the recent dock load and save functions.
      	* app/widgets/gimpsessioninfo.[ch]: implement the GimpConfig interface
      	and (de)serialize via proper interface methods.
      	* app/gui/session.c
      	* app/widgets/gimpdialogfactory.c: use the GimpConfig API
      	to (de)serialize session infos and added the code that was
      	formerly in the info's (de)serialize functions but didn't belong
      	* app/widgets/gimpaction.[ch]: add "max-width-chars" property and
      	set it on proxy menu item labels.
      	* app/actions/windows-actions.[ch]
      	* app/actions/windows-commands.[ch]
      	* app/menus/windows-menu.c: add actions and menu of recently
      	closed docks and code to restore the dock when the menu items are
      	selected. Use above new action property to ensure a minimum
      	width of the menu.
      	* app/widgets/gimpmenudock.c: use '-' instead of '|' for
      	separating notebooks in the window title. Menu items don't like	'|'.
      	* app/widgets/gimpdock.c: removed the confirmation dialog when
      	closing docks and simply add them to the recent docks container.
      	This code is totally misplaced and will move to another file soon.
      svn path=/trunk/; revision=25671
  27. 23 Mar, 2008 2 commits
    • Sven Neumann's avatar
      app/dialogs/dialogs.c changed "gimp-no-image-window" to · 9af8a16e
      Sven Neumann authored
      2008-03-23  Sven Neumann  <sven@gimp.org>
      	* app/dialogs/dialogs.c
      	* app/display/gimpdisplayshell.c: changed "gimp-no-image-window" 
      svn path=/trunk/; revision=25180
    • Michael Natterer's avatar
      added a dialog factory for displays and register "gimp-no-image-window" · 54d306e8
      Michael Natterer authored
      2008-03-23  Michael Natterer  <mitch@gimp.org>
      	* app/dialogs/dialogs.[ch]: added a dialog factory for displays
      	and register "gimp-no-image-window" with it.
      	* app/display/gimpdisplay.[ch]: add a GimpDialogFactory parameter
      	to gimp_display_new() and pass it on to gimp_display_shell_new().
      	* app/display/gimpdisplayshell.[ch]: keep the passed
      	GimpDialogFactory around. When the shell becomes empty, add it to
      	the dialog factory and resize it to the remembered size; when it
      	becomes non-empty, remove it from the dialog factory again.
      	* app/gui/gui-vtable.c: pass the display dialog factory to
      svn path=/trunk/; revision=25177