1. 05 Jul, 2022 1 commit
  2. 04 Jun, 2022 1 commit
    • Jehan's avatar
      plug-ins, libgimp: override set_i18n() for all our core plug-ins. · 18c37f70
      Jehan authored
      Hence avoiding the stderr messages. These are going to be localized with
      centrally installed catalogs "gimp*-std-plugins", "gimp*-script-fu" and
      "gimp*-python".
      
      We now handle core plug-in localizations differently and in particular,
      with kind of a reverse logic:
      
      - We don't consider "gimp*-std-plugins" to be the default catalog
        anymore. It made sense in the old world where we would consider the
        core plug-ins to be the most important and numerous ones. But we want
        to push a world where people are even more encouraged to develop their
        own plug-ins. These won't use the standard catalog anymore (because
        there are nearly no reasons that the strings are the same, it's only a
        confusing logic). So let's explicitly set the standard catalogs with
        DEFINE_STD_SET_I18N macro (which maps to a different catalog for
        script-fu plug-ins).
      - Doing something similar for Python plug-ins which have again their own
        catalog.
      - Getting rid of the INIT_I18N macro since now all the locale domain
        binding is done automatically by libgimp when using the set_i18n()
        method infrastructure.
      18c37f70
  3. 17 May, 2020 1 commit
    • Jehan's avatar
      app: support saving/exporting with multi-selection. · d3139e0f
      Jehan authored
      This commit just changes our saving API (i.e. the GimpSaveProcedure
      class) to take an array of drawables as argument instead of a single
      drawable.
      
      It actually doesn't matter much for exporting as the whole API seems
      more or less bogus there and all formats plug-ins mostly care only
      whether they will merge/flatten all visible layers (the selected ones
      don't really matter) or if the format supports layers of some sort. It
      may be worth later strengthening a bit this whole logics, and maybe
      allow partial exports for instance.
      
      As for saving, it was not even looking at the passed GimpDrawable either
      and was simply re-querying the active layer anyway.
      Note that I don't implement the multi-selection saving in XCF yet in
      this commit. I only updated the API. The reason is that the current
      commit won't be backportable to gimp-2-10 because it is an API break. On
      the other hand, the code to save multi-selection can still be backported
      even though the save() API will only pass a single drawable (as I said
      anyway, this argument was mostly bogus until now, hence it doesn't
      matter much for 2.10 logics).
      d3139e0f
  4. 20 Sep, 2019 1 commit
  5. 11 Sep, 2019 1 commit
  6. 30 Aug, 2019 1 commit
  7. 24 Aug, 2019 1 commit
  8. 19 Aug, 2019 1 commit
    • Michael Natterer's avatar
      Change the "handles uri" flag of file procedures to "handle remote" · de121374
      Michael Natterer authored
      And always pass URIs to all file procedures, the ones what didn't
      register as "handles remove" will only ever get local file:// URIs.
      
      Change all file plug-ins (also legacy ones) to expect URIs instead
      of filenames, and convert to local paths in the plug-in.
      
      The wire protocol should now be almost 100% clean of non-UTF-8 strings.
      de121374
  9. 27 Nov, 2018 1 commit
    • Jehan's avatar
      plug-ins: make various usage of g_file_replace() safer. · 66ec4672
      Jehan authored
      As I did on app/, finalizing an output stream also implicitly flushes
      and closes it. Hence if an export ended with an error, we'd end up with
      incomplete data file (possibly overwriting a previously exported image).
      Only 2 plug-ins I haven't fixed yet are file-tiff-io and file-gif-save.
      The later one don't even clean up its memory (which somehow is good here
      as at least the output stream is never finalized hence sane files are
      not overwritten in case of errors). As for the former (TIFF plug-in), it
      doesn't even seem to have any error control AFAICS, apart from printing
      error messages on standard error output.
      66ec4672
  10. 11 Jul, 2018 1 commit
  11. 12 May, 2018 1 commit
  12. 21 Aug, 2017 1 commit
    • Michael Natterer's avatar
      Move the new "default_new_layer_mode" APIs to the image... · e16c8a23
      Michael Natterer authored
      ...in both the core and libgimp.
      
      Images now know what the default mode for new layers is:
      
      - NORMAL for empty images
      - NORMAL for images with any non-legacy layer
      - NORMAL_LEGAVY for images with only legacy layers
      
      This changes behavior when layers are created from the UI, but *also*
      when created by plug-ins (yes there is a compat issue here):
      
      - Most (all?) single-layer file importers now create NORMAL layers
      - Screenshot, Webpage etc also create NORMAL layers
      
      Scripts that create images from scratch (logos etc) should not be
      affected because they usually have NORMAL_LEGACY hardcoded.
      
      3rd party plug-ins and scripts will also behave old-style unless they
      get ported to gimp_image_get_default_new_layer_mode().
      e16c8a23
  13. 20 Aug, 2017 1 commit
  14. 26 Feb, 2017 1 commit
  15. 08 Jan, 2017 1 commit
  16. 16 Feb, 2016 1 commit
  17. 04 Oct, 2014 1 commit
  18. 07 Sep, 2014 1 commit
  19. 23 Jul, 2014 1 commit
  20. 11 Apr, 2014 2 commits
  21. 17 Nov, 2013 1 commit
  22. 09 Nov, 2013 1 commit
  23. 06 Jun, 2013 1 commit
  24. 19 Nov, 2012 1 commit
  25. 10 Apr, 2011 1 commit
  26. 08 Apr, 2011 1 commit
  27. 06 Sep, 2010 1 commit
  28. 10 Feb, 2010 1 commit
  29. 21 Jul, 2009 1 commit
  30. 19 Jan, 2009 1 commit
    • Michael Natterer's avatar
      plug-ins/common/*.c plug-ins/color-rotate/color-rotate.c · 4ea14376
      Michael Natterer authored
      2009-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/*.c
      	* plug-ins/color-rotate/color-rotate.c
      	* plug-ins/file-bmp/bmp.c
      	* plug-ins/file-faxg3/faxg3.c
      	* plug-ins/file-fits/fits.c
      	* plug-ins/file-fli/fli-gimp.c
      	* plug-ins/file-ico/ico.c
      	* plug-ins/file-jpeg/jpeg.c
      	* plug-ins/file-psd/psd-save.c
      	* plug-ins/file-psd/psd.c
      	* plug-ins/file-sgi/sgi.c
      	* plug-ins/file-uri/uri.c
      	* plug-ins/file-xjt/xjt.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fractal-explorer/fractal-explorer.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gimpressionist/gimp.c
      	* plug-ins/gradient-flare/gradient-flare.c
      	* plug-ins/help-browser/help-browser.c
      	* plug-ins/ifs-compose/ifs-compose.c
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/lighting/lighting-main.c
      	* plug-ins/map-object/map-object-main.c
      	* plug-ins/maze/maze.c
      	* plug-ins/metadata/metadata.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/print/print.c
      	* plug-ins/pygimp/gimpfu.py
      	* plug-ins/script-fu/script-fu-script.c
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/selection-to-path/selection-to-path.c
      	* plug-ins/twain/twain.c
      	* plug-ins/win-snap/winsnap.c: document the "run-mode" parameter
      	as we document enums for core procedures.
      
      
      svn path=/trunk/; revision=27922
      4ea14376
  31. 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
  32. 20 Oct, 2008 1 commit
    • David Odin's avatar
      untabified · 83e631fa
      David Odin authored
      * plug-ins/common/*.c: untabified
      
      svn path=/trunk/; revision=27335
      83e631fa
  33. 18 Aug, 2008 1 commit
    • Sven Neumann's avatar
      plug-ins/common/file-gbr.c plug-ins/common/file-gih.c · a1cbd581
      Sven Neumann authored
      2008-08-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/file-gbr.c
      	* plug-ins/common/file-gih.c
      	* plug-ins/common/file-pat.c
      	* plug-ins/common/file-pix.c
      	* plug-ins/common/file-sunras.c: for the most common errors, 
      pass
      	the error message with the return values instead of calling
      	g_message().
      
      
      svn path=/trunk/; revision=26650
      a1cbd581
  34. 11 Aug, 2008 1 commit
    • Michael Natterer's avatar
      plug-ins/bmp/* plug-ins/faxg3/* plug-ins/fits/* plug-ins/fli/* · 3d75c95f
      Michael Natterer authored
      2008-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/bmp/*
      	* plug-ins/faxg3/*
      	* plug-ins/fits/*
      	* plug-ins/fli/*
      	* plug-ins/ico/*
      	* plug-ins/jpeg/*
      	* plug-ins/psd/*
      	* plug-ins/sgi/*
      	* plug-ins/uri/*
      	* plug-ins/xjt/*: removed these...
      
      	* plug-ins/file-bmp/*
      	* plug-ins/file-faxg3/*
      	* plug-ins/file-fits/*
      	* plug-ins/file-fli/*
      	* plug-ins/file-ico/*
      	* plug-ins/file-jpeg/*
      	* plug-ins/file-psd/*
      	* plug-ins/file-sgi/*
      	* plug-ins/file-uri/*
      	* plug-ins/file-xjt/*: and moved them here. Changed executable
      	names to "file-foo".
      
      	* plug-ins/Makefile.am: changed accordingly.
      
      	* plug-ins/common/*: rename all file plug-ins to file-foo.c. Get
      	rid of the names "poppler" and "postscript" and call them
      	"file-pdf" and "file-ps" because the conflict with standard
      	autofoo targets is gone.
      
      	* plug-ins/common/plugin-defs.pl: changed accordingly.
      
      	* plug-ins/common/mkgen.pl: make sure cflags variables are named
      	"PLUG_IN_NAME_CFLAGS" and not "PLUG-IN-NAME_CFLAGS"
      
      	* plug-ins/common/Makefile.am: regenerated.
      
      	* configure.in: change folders and variable names to match above
      	changes.
      
      
      svn path=/trunk/; revision=26494
      3d75c95f
  35. 19 Feb, 2007 1 commit
    • Sven Neumann's avatar
      plug-ins/common/curve_bend.c plug-ins/common/depthmerge.c · b99f99f1
      Sven Neumann authored
      2007-02-19  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/neon.c
      	* plug-ins/common/nlfilt.c
      	* plug-ins/common/pix.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/spheredesigner.c
      	* plug-ins/metadata/interface.c
      	* plug-ins/pygimp/gimpmodule.c
      	* plug-ins/pygimp/pygimp-pdb.c
      	* plug-ins/script-fu/scheme-wrapper.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/xjt/xjpeg.c
      	* plug-ins/xjt/xjt.c: use g_printerr() instead of fprintf().
      
      
      svn path=/trunk/; revision=21947
      b99f99f1
  36. 09 Dec, 2006 1 commit
  37. 13 Sep, 2006 1 commit
  38. 16 May, 2006 1 commit
  39. 30 Sep, 2005 1 commit