1. 24 Jul, 2018 1 commit
    • Ell's avatar
      */Makefile.am: add *marshal.h files to BUILT_SOURCES · efe72a8d
      Ell authored
      In subdirs containing a generated foomarshal.h header, add the
      generated sources to BUILT_SOURCES, so that they're generated
      before the rest of the source files are built.  Otherwise, since
      there is no rule specifying the dependency between the rest of the
      source files and foomarshal.h, and since foomarshal.h is not
      checked into git (and hence doesn't exist when doing a clean
      build), compilation of the said source files may fail if they're
      built before foomarshal.h is generated.
      
      (cherry picked from commit a5102a7d)
      efe72a8d
  2. 15 Apr, 2018 1 commit
    • Michael Natterer's avatar
      Bug 795230 - Rename Blend tool and provide PDB compatibility · 50536e1c
      Michael Natterer authored
      Add new PDB group "drawable_edit" which has all procedures from the
      "edit" group which are not cut/copy/paste.
      
      The new group's procedures don't have opacity, paint_mode
      etc. arguments but take them from the context instead. Unlike the old
      gimp-edit-fill, gimp-drawable-edit-fill now uses the context's opacity
      and paint_mode.
      
      The new gimp-drawable-edit-gradient-fill procedure uses even more
      context properties which are also newly added with this commit
      (gradient_color_space, gradient_repeat_mode, gradient_reverse).
      
      And some cleanup in context.pdb.
      
      This is still WIP, nothing in the edit group is depcreated yet.
      50536e1c
  3. 08 Apr, 2018 1 commit
    • Ell's avatar
      Makefiles: don't use -xobjective-c when linking files on Mac · 6ebc3f1b
      Ell authored
      Last commit caused -xobjective-c to be passed during linking on
      Mac, causing object files to be treated as source files.  Add a
      -xnone flag to AM_LDFLAGS, canceling the effect of -xobjective-c.
      
      Additinally, add a -xobjective-c++ flag to AM_CXXFLAGS, so that we
      can use Objective-C in C++ files on Mac, if we ever need to.
      6ebc3f1b
  4. 07 Apr, 2018 1 commit
  5. 17 Mar, 2018 1 commit
  6. 30 Nov, 2017 1 commit
    • Ell's avatar
      */Makefile.am: add abbreviations to generated enum files · f7d6805e
      Ell authored
      Update the dprod production of generated enum files to include
      abbreviated value descriptions, as per the previous commits.
      
      Add a comment for translators above the abbreviated descriptions,
      specifying the full description they abbreviate.
      f7d6805e
  7. 29 Oct, 2017 1 commit
  8. 27 Aug, 2017 1 commit
    • Ell's avatar
      */Makefile.am: work around a bug in the new glib-genmarshal · 0ef3795f
      Ell authored
      glib-genmarshal was rewritten in glib 2.53.4, and as of now (2.53.6)
      it has a bug where it unconditionally generates marshaler bodies,
      even for standard marshalers, even with --stdinc.  This causes
      libgimpwidgets to define and export g_cclosure_marshal_VOID__INT()
      and g_cclosure_marshal_VOID__OBJECT(), which upsets defcheck, and
      breaks the build.
      
      Work around this for now by using --header --body when generating
      the marshal.c files, which includes the prototypes in the source,
      instead of including the header ourselves.  This is the only code
      path where the new glib-genmarshal doesn't generate bodies for
      standard marshalers.  Note, however, that this usage is deprecated,
      so we'll probably want to change it back once it's fixed.
      0ef3795f
  9. 23 May, 2017 1 commit
    • Ell's avatar
      enums: run gimp-mkenums from the build dir · 5bcde32c
      Ell authored
      Commit 1e6acbd4 modified the
      generated enum recipes to run gimp-mkenums from the source
      directory, instead of the build directory, so that only the
      basenames of the corresponding header files would appear in
      the comment at the top of the generated files.  This was a
      mistake -- $(GIMP_MKENUMS) is expecting to be invoked from the
      build directory.
      
      Switch back to running gimp-mkenums from the build directory.  To
      avoid including the relative path from the build directory to the
      source directory in the generated file, add a @basename@ production
      variable to gimp-mkenums, which exapnds to the basename of the
      input file, and use it instead of @filename@ in the recipes for the
      generated enum files.
      5bcde32c
  10. 22 May, 2017 1 commit
    • Ell's avatar
      enums: don't write generated enum files to src-dir if unchanged · f9fa0d1b
      Ell authored
      When regenerating an enum file, don't copy it back to the source
      directory if it hasn't actually changed.  This allows using a read-
      only source directory where the enum header is newer than the
      generated file, as long as they're not really out of sync.
      
      OTOH, *do* touch the generated source-dir file even when unchanged,
      in order to avoid re-running its recipe on the next build, however,
      allow this to silently fail (which is harmless).
      f9fa0d1b
  11. 06 May, 2017 1 commit
    • Ell's avatar
      enums: generate enum files in source dir · 1e6acbd4
      Ell authored
      We check them into git, so this makes it easier to keep them in
      sync when using a separate build directory.
      
      Case in point -- this commit also syncs a few enum files that went
      out-of-sync with their headers.
      1e6acbd4
  12. 06 Apr, 2017 1 commit
    • Ell's avatar
      pdb: add debug group; add debug-timer-{start,end} procs · 16bebedc
      Ell authored
      Add a debug procedure group, living in 'debug.pdb', which would host
      useful debug helper functions.  Functions in this group are not part
      of the stable API, and may be changed at any point.
      
      All procedures added to 'debug.pdb' should have a 'debug_' prefix,
      and use the new std_pdb_debug() macro, which adds the proper "here be
      dragons" warning to their description.
      
      Add two debug procedures: gimp-debug-timer-start() and
      gimp-debug-timer-end(), which measure elapsed time, a la
      GIMP_TIMER_{START,END}, and can be used to profile script-fu
      commands.
      16bebedc
  13. 03 Jan, 2017 2 commits
  14. 20 Sep, 2016 1 commit
  15. 12 Jun, 2016 1 commit
  16. 06 Jun, 2016 1 commit
  17. 02 Jun, 2016 1 commit
  18. 04 Jan, 2016 1 commit
  19. 02 Jan, 2016 1 commit
  20. 24 Sep, 2015 1 commit
  21. 09 Jun, 2015 1 commit
  22. 05 Jun, 2015 1 commit
  23. 30 May, 2015 5 commits
  24. 14 Sep, 2014 1 commit
  25. 19 May, 2014 1 commit
  26. 15 Mar, 2014 1 commit
  27. 14 Mar, 2014 1 commit
  28. 12 Jan, 2014 1 commit
    • Michael Natterer's avatar
      app,libgimp,pdb: add a "drawable_color" PDB group · b4462e9e
      Michael Natterer authored
      Which contains all the API from the "color" group, but with a
      gimp_drawable namespace and with support for high bit depths. The
      group is actually a copy of "color" with cruft removed and some API
      ported to using float instead of integer API.
      
      Deprecated all "color" functions that already have a ported version in
      "drawable_color".
      
      This is unfinished WIP, some functions in "drawable_color" still have
      the old API.
      b4462e9e
  29. 27 Oct, 2013 1 commit
  30. 26 Oct, 2013 1 commit
    • Hartmut Kuhse's avatar
      Completely rewrite metadata handling using gexiv2 · 21bed1e2
      Hartmut Kuhse authored
      Based on original patches from Hartmut Kuhse and modified
      by Michael Natterer. Changes include:
      
      - remove libexif dependency and add a hard dependency on gexiv2
      - typedef GExiv2Metadata to GimpMetadata to avoid having to
        include gexiv2 globally
      - add basic GimpMetadata handling functions to libgimpbase
      - add image and image file specific metadata functions to libgimp,
        including the exif orientation image rotate dialog
      - port plug-ins to use the new APIs
      - port file-tiff-save's UI to GtkBuilder
      - add new plug-in "metadata" to view the image's metadata
      - keep metadata around as GimpImage member in the core
      - update the image's metadata on image size, resolution and precision
        changes
      - obsolete the old metadata parasites
      - migrate the old parasites to new GimpMetadata object on XCF load
      21bed1e2
  31. 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
  32. 05 Jun, 2013 1 commit
  33. 07 Nov, 2012 1 commit
    • Michael Natterer's avatar
      Bug 677776 - filter popup windows get hidden behind main image window · 0b56aa0d
      Michael Natterer authored
      On OSX, call [NSApp activateIgnoringOtherApps] when a plug-in dialog
      is shown, so the plug-in process becomes the active app, and the
      dialog gets focussed.
      
      In order to avoid doing this in GimpDialog (which is also used in
      the core), do it in gimp_ui_init() which all interactive plug-ins
      call, and when gimp_temp_proc_run() is called interactively, to
      catch repeated activation of an already running plug-in.
      
      Also, set GimpDialog's initial position to GTK_WIN_POS_CENTER,
      or they will pop up in the top left corner.
      
      Inspired by patches from Simone Karin Lehmann and Daniel Sabo.
      0b56aa0d
  34. 13 May, 2012 1 commit
  35. 10 May, 2012 1 commit