1. 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
  2. 19 Oct, 2018 1 commit
    • Josef Ridky's avatar
      Issue #2087 - Issues discovered by coverity scan · 2987f012
      Josef Ridky authored
      Add missing fclose invocations and fix copy-paste issue.
      
      This issues has been discovered by coverity scan proceeded by Red Hat.
      
      Fixed some mistakes in the patch and added more fclose() (Mitch)
      
      (cherry picked from commit 56c8f832)
      2987f012
  3. 11 Jul, 2018 1 commit
  4. 24 Jun, 2018 1 commit
  5. 20 May, 2018 1 commit
  6. 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
  7. 20 Aug, 2017 1 commit
  8. 26 Feb, 2017 1 commit
  9. 08 Jan, 2017 1 commit
  10. 16 Feb, 2016 1 commit
  11. 05 Oct, 2014 1 commit
  12. 23 Jul, 2014 1 commit
  13. 22 Jun, 2014 1 commit
  14. 09 Nov, 2013 1 commit
  15. 16 Jan, 2013 1 commit
  16. 18 Nov, 2012 1 commit
  17. 30 Sep, 2011 1 commit
  18. 11 May, 2011 1 commit
  19. 10 Apr, 2011 1 commit
  20. 08 Apr, 2011 1 commit
  21. 08 Mar, 2011 1 commit
  22. 06 Sep, 2010 1 commit
  23. 21 Jul, 2009 1 commit
  24. 15 Jul, 2009 1 commit
  25. 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
  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. 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
  28. 06 Oct, 2008 1 commit
  29. 17 Sep, 2008 1 commit
    • Michael Natterer's avatar
      plug-ins/common/file-header.c plug-ins/common/file-psp.c · 251c11aa
      Michael Natterer authored
      2008-09-17  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/file-header.c
      	* plug-ins/common/file-psp.c
      	* plug-ins/common/file-xbm.c
      	* plug-ins/common/file-xpm.c
      	* plug-ins/common/hot.c
      	* plug-ins/common/mail.c: add const plus misc. cleanups.
      
      
      svn path=/trunk/; revision=26965
      251c11aa
  30. 26 Aug, 2008 1 commit
    • Martin Nordholts's avatar
      libgimpwidgets/gimpwidgets.c · b5b51b47
      Martin Nordholts authored
      2008-08-26  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* libgimpwidgets/gimpwidgets.c
      
      	* plug-ins/common/file-xbm.c
      	* plug-ins/common/file-wmf.c
      	* plug-ins/common/file-svg.c
      	* plug-ins/common/file-gih.c
      	* plug-ins/common/blur-motion.c
      	* plug-ins/file-jpeg/jpeg-save.c
      	* plug-ins/lighting/lighting-ui.c
      	* plug-ins/map-object/map-object-ui.c
      
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimplevelstool.c
      	* app/dialogs/resize-dialog.c
      	* app/dialogs/offset-dialog.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/dialogs/layer-options-dialog.c
      	* app/display/gimpdisplayshell-scale-dialog.c: Pass page_size = 0
      	to gimp_spin_button_new() to adapt to new and correct value
      	clamping in GTK+.
      
      svn path=/trunk/; revision=26778
      b5b51b47
  31. 18 Aug, 2008 1 commit
  32. 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
  33. 26 Jul, 2007 1 commit
  34. 04 Jul, 2007 1 commit
    • Raphael Quinet's avatar
      plug-ins/common/pnm.c (load_image) plug-ins/common/psp.c · 8cadeeb7
      Raphael Quinet authored
      2007-07-05  Raphael Quinet  <raphael@gimp.org>
      
      	* plug-ins/common/pnm.c (load_image)
      	* plug-ins/common/psp.c (read_layer_block)
      	* plug-ins/common/sunras.c (load_image)
      	* plug-ins/common/xbm.c (load_image)
      	* plug-ins/common/xwd.c (load_image): validate size values read
      	from files before using them to allocate memory (bug #451379).
      
      svn path=/trunk/; revision=22865
      8cadeeb7
  35. 06 Jun, 2007 1 commit
  36. 09 Dec, 2006 1 commit
  37. 16 Jun, 2006 1 commit
    • Michael Natterer's avatar
      increased the max length for the identifier prefix from 24 to 64 chars. I · 5e3b4891
      Michael Natterer authored
      2006-06-16  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/xbm.c: increased the max length for the
      	identifier prefix from 24 to 64 chars. I have no idea if this
      	violates any spec or produces identifiers too long for stone age C
      	standards, but 24 did truncate the identifiers in the newly added
      	edge and corner cursors.
      5e3b4891
  38. 16 May, 2006 1 commit
  39. 06 Oct, 2005 1 commit
  40. 30 Sep, 2005 1 commit