1. 23 Oct, 2018 1 commit
  2. 11 Jul, 2018 1 commit
  3. 20 May, 2018 1 commit
  4. 13 Nov, 2017 1 commit
  5. 28 Oct, 2017 1 commit
    • Ell's avatar
      app: make error-console highlighting criterion configurable · 7655dd72
      Ell authored
      Currently, the error console is highlighted (shown/blinked) only
      upon errors; however, warnings, which are not shown on the
      statusbar while the error console is open, often also contain
      important information.
      
      Allow the user to configure which message types (errors, warnings,
      and regular messages) highlight the error console, using a new
      "highlight" submenu in the error-console menu.  Add corresponding
      config options, saved in sessionrc.  By default, highlight the
      error console unpon both errors and warnings.
      7655dd72
  6. 16 Oct, 2017 1 commit
    • Ell's avatar
      app: allow specifying a callback function for propgui pickers · c5b88702
      Ell authored
      Allow propgui constructors to specify an (optional) callback function
      when creating pickers, to be called when a color/coordinate is picked,
      similarly to controller callbacks.
      
      Implement picker callback support in GimpFilterTool.  When the active
      picker has an associated callback function, call it instead of the
      class's color_picked() function.
      
      Add lots of "#include <gegl.h>" to .c files that miss it, which is
      now necessary, since this commit adds a Babl* parameter in
      propgui-types.h.
      c5b88702
  7. 28 Jul, 2014 2 commits
  8. 01 Jul, 2014 2 commits
  9. 02 May, 2014 3 commits
    • Michael Natterer's avatar
      app: make sure the GUI appears on the same monitor as the splash · 62257edb
      Michael Natterer authored
      Manually figure the monitor where the pointer is and pass it to the
      splash, the empty image window and to session_restore() explicly.
      62257edb
    • Michael Natterer's avatar
      app: add gimp_get_monitor_at_pointer() · 051374a1
      Michael Natterer authored
      and use it instead of duplicating that code several times.
      051374a1
    • Michael Natterer's avatar
      app: make things behave more reasonable with multiple monitors · 843866e7
      Michael Natterer authored
      There is now a preference option that determines whether windows
      should be opened on the same monitor as before. It should be disabled
      when the machine gets monitors plugged/unplugged dynamically ("laptop")
      and enabled when there is a static multi-monitor setup ("wokstation").
      This is merely the current simplistic policy on top of the newly added
      underlying infrastructure:
      
      - pass integer monitor numbers around in all places where we already
        pass around a GdkScreen. Pass the "current" monitor to these changed
        APIs, where "current" is either the monitor where the action-triggering
        widget is, or if that is unavailable the monitor where the mouse is.
      
      - add gimp_widget_get_monitor() in order to easily get to the monitor,
        just like gtk_widget_get_screen().
      
      - add screen and monitor parameters in some places that were missed
        before.
      
      - in sessionrc, save all window positions relative to the window's
        monitor, and save the monitor separately, if it's not the screen's
        primary monitor.
      
      - when restoring window positions, use the stored monitor when the new
        prefs options says so (use the screen's primary monitor if there is
        no stored monitor), otherwise use current monitor that is now passed
        around.
      843866e7
  10. 22 Mar, 2014 1 commit
  11. 21 Nov, 2013 1 commit
  12. 11 Oct, 2013 1 commit
  13. 30 Mar, 2012 1 commit
  14. 05 Nov, 2011 1 commit
    • Michael Natterer's avatar
      Bug 657505 - Strange behaviour with SWM · bcb45524
      Michael Natterer authored
      when window positions aren't automatically saved.
      
      Save "hide-docks" and "single-window-mode" in sessionrc instead of
      gimprc, so a session layout is always saved either completely or not
      at all. Also change "last-tip-shown" saving a bit so all three
      session-saved gimprc properties are implemented the same.
      bcb45524
  15. 20 May, 2011 1 commit
  16. 18 May, 2011 1 commit
  17. 12 May, 2011 1 commit
  18. 28 Feb, 2010 3 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.
      11b1300b
    • 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.
      947e2859
    • Martin Nordholts's avatar
      app: Save and restore dialog factories explicitly · 87d89ce9
      Martin Nordholts authored
      With only one dialog factory around the for-each functions are not
      needed any more. Remove them, starting with save and restore.
      87d89ce9
  19. 20 Feb, 2010 3 commits
  20. 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
         types.
      1093462a
  21. 19 Jan, 2010 1 commit
    • 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
      56a8cb68
  22. 20 Dec, 2009 1 commit
  23. 20 Sep, 2009 4 commits
  24. 19 Sep, 2009 1 commit
  25. 16 Sep, 2009 1 commit
    • Martin Nordholts's avatar
      app: Don't blindly increment last-tip-shown · 05eb29b7
      Martin Nordholts authored
      Don't blindly increment last-tip-shown so that the sessionrc is not
      modified between each GIMP run. The change is to make it easier to
      write regression tests for sessionrc. Eventually we might want some
      proper fix.
      05eb29b7
  26. 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
  27. 12 Nov, 2008 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am added GIMP_ERROR as general error domain. · b37c8bcf
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimperror.[ch]: added GIMP_ERROR as general error 
      domain.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/core/gimptooloptions.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpheal.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimpperspectiveclone.c
      	* app/paint/gimpsourcecore.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdesaturatetool.c
      	* app/tools/gimpgegltool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/vectors/gimpvectors-import.c: use GIMP_ERROR as error 
      domain
      	instead of 0, which is not accepted by g_set_error_literal().
      
      	* app/gui/session.c
      	* app/menus/menus.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimpdevices.c: use G_FILE_ERROR as error domain 
      for
      	file errors.
      
      
      svn path=/trunk/; revision=27628
      b37c8bcf
  28. 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 
      2.18.0.
      
      	* INSTALL: document the updated dependency.
      
      	* app/core/gimp.[ch]: introduced gimp_message_literal(), a 
      variant
      	of gimp_message() that takes a literal string.
      
      	* app/errors.[ch]: removed format arguments from 
      gimp_fatal_error()
      	and gimp_terminate() and let them take a literal string instead.
      
      	* app/tools/gimptool.[ch]: introduced 
      gimp_tool_message_literal(),
      	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
      4762b734
  29. 22 Jul, 2008 1 commit
    • Sven Neumann's avatar
      plugged a small memory leak. · 460fe413
      Sven Neumann authored
      2008-07-22  Sven Neumann  <sven@gimp.org>
      
              * app/gui/session.c (session_init): plugged a small memory leak.
      
      
      svn path=/trunk/; revision=26268
      460fe413