1. 15 Aug, 2018 1 commit
  2. 12 Aug, 2018 1 commit
    • Jehan's avatar
      app, configure: add a --enable-win32-debug-console build option. · ddeff314
      Jehan authored
      Debugging stable versions under Windows is a pain because we don't have
      access to the standard outputs. The debug console is indeed only built
      on unstable builds. Let's make the debug console a separate build option
      to allow building stable versions for debug (obviously the default
      behavior when not configuring, is same as before, i.e. stable without
      console and unstable with console).
      
      (cherry picked from commit 1a288789)
      ddeff314
  3. 11 Jul, 2018 1 commit
  4. 21 Apr, 2018 1 commit
    • Jehan's avatar
      app: make --show-playground visible in --help. · 4d6cba0c
      Jehan authored
      After Alexandre Prokoudine's insistent demand! :-)
      I am still not sure how wise this is, since this should be really
      considered a "developer-only" option. Basically these tools are really
      too buggy and unstable and we should not shine too much light on these.
      The counter-argument is that doing so will favor the bitrot.
      
      Well ok. At least let's add a big warning message at the top of the
      Playground page, to make it very clear (if that were not already the
      case) that basically this is not to be considered a secret feature, but
      really more a "we are looking for contributors" option.
      4d6cba0c
  5. 29 Mar, 2018 1 commit
    • Ell's avatar
      app: add --show-debug-menu command-line option · 53c145c0
      Ell authored
      The debug menu is currently not included in stable versions.
      
      Include the menu unconditionally, but hide it, and its associated
      actions, by default in stable versions.  Allow enabling the menu
      using a new --show-debug-menu command-line option, in the same vein
      as --show-playground.
      53c145c0
  6. 29 Jan, 2018 1 commit
  7. 28 Jan, 2018 3 commits
    • Jehan's avatar
      app: make the backtrace GUI actually work on Win32. · 4e5a5dbb
      Jehan authored
      It was previously untested, hence as expected needed fixes. First I add
      our own exception handler using Win32 API SetUnhandledExceptionFilter().
      Second, I reorder things so that ExcHndlInit() is run after this setter,
      since they will be executed as a FILO and we need backtraces to be
      generated before our separate GUI runs. Last I run the backtrace GUI as
      async. No need to keep the main GIMP waiting since the traces have
      already been generated into a separate file.
      
      Also replace gtk_show_uri() by the implementation taken straight from
      our web-browser plug-in, since apparently gtk_show_uri() doesn't work in
      Windows (and probably not macOS either since I see we have a separate
      implementation for this platform as well). I would like to be able to
      use the PDB but can't because this code needs to be usable both within
      the main process and into a separate tool process. Ideally, this should
      just be a utils function which could be included without a problem.
      4e5a5dbb
    • Jehan's avatar
      app, tools: add support for ExcHndl/DrMinGW for Win32 debugging. · ae3cd00f
      Jehan authored
      The feature already exists in our code and produces backtraces upon a
      crash into a file. The only difference is that we are now getting the
      file contents and showing it in our new debug dialog, so that it works
      similarly on all platform (and therefore making the debug info visible
      to people, otherwise they would never report, even though the data is
      generated).
      The difference with gdb/lldb is that it doesn't allow backtraces at
      random points (for debugging non-fatal yet bad errors). Also the API has
      just 2 functions and in particular an ExcHndlInit() but no way to unload
      the feature. So we don't need the debugging page in Preferences because
      the switch option would not work. On Windows, the feature will be
      decided at build time only.
      
      Last point: the code is untested on Windows so far. I assume it would
      work, but there is at least one point I am unsure of: will ExcHndl have
      already generated the backtrace file when gimpdebug runs? If not, I will
      have to let gimp die first to be able to get the backtrace.
      ae3cd00f
    • Jehan's avatar
      app: add a "generate-backtrace" preference in GimpCoreConfig. · f8411a3d
      Jehan authored
      This will determine whether to output backtrace in a GUI and is disabled
      by default on stable, and activated in dev builds. It is a bit redundant
      with --stack-trace-mode option CLI and will take priority when enabled
      since most people would run GIMP with a graphical interface anyway.
      f8411a3d
  8. 15 Jun, 2017 1 commit
    • Ell's avatar
      app: split sanity check into early/late stages, to fix gegl translation · d37fb8aa
      Ell authored
      The GEGL ops sanity check causes all ops to be initialized.  The
      strings used by their properties will pick the translation selected
      at the time of the check.  It must therefore run after language
      intiailization, otherwise the selected translation would correspond
      to the system locale, even if the user selected a different language
      in the preferences.
      
      Split the sanity check into early and late stages.  The early stage
      is run before the call to app_run(), as it did before, while the
      late stage is run during app_run(), after the configuration has been
      loaded.  Currently, the GEGL ops check is the only late-stage check;
      all other checks are performed during the early stage.
      d37fb8aa
  9. 21 Mar, 2017 1 commit
  10. 13 Sep, 2016 2 commits
    • Michael Natterer's avatar
      Bug 599573 - Remember dialog defaults between Gimp sessions · 20a32d97
      Michael Natterer authored
      Add GimpFillOptions and GimpStrokeOptions to GimpDialogConfig and use
      them in the Fill/Stroke Selection/Path dialogs and for the "with last
      values" commands. Add GUI for them to Preferences -> Dialog Defaults.
      
      This requires most of the stuff in my last few commits, and some
      more changes:
      
      GimpFillOptions is a GimpContext which has all sorts of connections to
      everything, including a Gimp pointer. Hack around in GimpDialogConfig
      to add a Gimp property, and add "gimp" parameters to quite some GimpRC
      functions. Treat the Gimp* as a GObject* in all public API because
      core/ stuff is not known in config/.
      20a32d97
    • Michael Natterer's avatar
      app: always call gimp_load_config() on a newly created Gimp instance · 6fe900f7
      Michael Natterer authored
      Simply creating and destroying a Gimp now creates and destroys more
      members, and some of them always need a gimp->config object.
      6fe900f7
  11. 12 Sep, 2016 1 commit
    • Michael Natterer's avatar
      app: merge units.[ch] into core/gimp-units.[ch] · 631110e0
      Michael Natterer authored
      and initialize units in gimp_init(). This was completely
      over-engineered but in the end boils down to a bad hack that needs a
      static "the_unit_gimp" pointer anyway, so let's at least have the hacks
      in one file.
      631110e0
  12. 29 May, 2016 3 commits
  13. 27 May, 2016 1 commit
  14. 02 Jan, 2016 1 commit
  15. 01 Jan, 2016 1 commit
  16. 28 Sep, 2015 1 commit
  17. 11 Aug, 2015 1 commit
  18. 13 Apr, 2015 1 commit
    • Mukund Sivaraman's avatar
      windows: Call SetDLLDirectory() in the app · 60197c22
      Mukund Sivaraman authored
      With this patch, there should be no more need to set PATH on Windows
      before running GIMP.
      
      This patch was tested by me and drawoc, but there could be some
      undetected issues lurking. Revert if any problems arise.
      60197c22
  19. 13 Sep, 2014 1 commit
  20. 12 Aug, 2014 1 commit
  21. 28 Jul, 2014 1 commit
  22. 08 Mar, 2014 1 commit
  23. 14 Oct, 2013 1 commit
    • Michael Natterer's avatar
      app,libgimp*: fix includes to follow our include policy · 697572cc
      Michael Natterer authored
      - don't include <gdk-pixbuf/gdk-pixbuf.h> in headers in app/
      - instead, include it in many .c files instead of <glib-object.h>,
        finally acknowledging the fact that app/ depends on gdk-pixbuf almost
        globally
      - fix up includes as if libgimpbase depended in GIO, which it soon will
      697572cc
  24. 20 Nov, 2012 1 commit
  25. 20 Jun, 2012 1 commit
    • Michael Natterer's avatar
      app: completely remove TileManager and friends (base/ and paint-funcs/) · 373a4e74
      Michael Natterer authored
      And along with it a lot of stuff like the drawable preview cache, the
      gegl tile manager backend, temporary gimp_gegl_buffer_foo() stuff, and
      the remaining bits of performance.
      
      The projection is in an evil semi-ported state which makes it work
      ok-ish for stuff like layer moving, but absolutely unbearable for
      painting, there is also an off-by-one rendering glitch at some zoom
      levels.
      373a4e74
  26. 03 May, 2012 1 commit
    • Michael Muré's avatar
      remove now useless and deprecated g_thread_init · 9966bcfd
      Michael Muré authored
      Warning
      
      g_thread_init has been deprecated since version 2.32 and should not be used in newly-written code. This function is no longer necessary. The GLib threading system is automatically initialized at the start of your program.
      9966bcfd
  27. 06 May, 2011 1 commit
  28. 04 May, 2011 1 commit
  29. 09 Mar, 2011 1 commit
    • Mikael Magnusson's avatar
      app: fix goption warning · b81276ca
      Mikael Magnusson authored
      Using G_OPTION_FLAG_NO_ARG with G_OPTION_ARG_NONE is not a valid combination,
      glib 2.28.2 warns about it.
      
      (gimp:20379): GLib-WARNING **: goption.c:2132: ignoring no-arg, optional-arg or filename flags (8) on option "debug-handlers" of type 0
      b81276ca
  30. 02 Sep, 2010 1 commit
    • Tor Lillqvist's avatar
      Increase safety on Windows · 24386abb
      Tor Lillqvist authored
      Call SetDllDirectory() to reduce risk of DLL hijacking, and call
      SetProcessDEPPolicy() to reduce risk of rogue code execution.
      24386abb
  31. 17 Aug, 2010 1 commit
  32. 05 Jan, 2010 1 commit
  33. 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
  34. 13 Oct, 2008 2 commits