1. 05 Oct, 2022 1 commit
    • Alx Sa's avatar
      plug-ins: Fix odd length for .ani metadata · ffbee517
      Alx Sa authored
      .ani files require metadata fields to be an even length. If the data
      length is odd, an extra 0x00 is added for padding.
      This patch updates the export and import code to comply with this
  2. 08 Aug, 2022 1 commit
  3. 10 Feb, 2022 2 commits
    • Jehan's avatar
      Issue #526: Import/Export Windows cursor files (.CUR). · b301dbee
      Jehan authored
      MR !565 was only a partial implementation as it was assuming all cursors
      had the same hot spot coordinates in the file, which is false more often
      than not (since usually it's several sizes for the same image, hence
      coordinates move). I should have realized this before merging.
      With this new commit, we actually loads the hot spot coordinates per
      cursor, stores them as per-layer parasites, then exports with per-cursor
      Also it makes the procedure API use int32 array (should be int16 but we
      removed the support, now I think it may have been a mistake) which shows
      the ugliness of our array support once again with additional size args
      per array (even if it's the same size). Also I realize that our support
      of arrays with config object is not good. This is also something we'll
      have to look at.
    • Nikc's avatar
      Issue #526 - Add Import/Export for Windows .CUR files · a22fd4f4
      Nikc authored and Jehan's avatar Jehan committed
  4. 01 Oct, 2021 1 commit
    • Jehan's avatar
      plug-ins: various g_file_get_path() replaced by g_file_peek_path(). · 27dea4f7
      Jehan authored
      As explained in previous commits, the _peek_ call is advantageous
      - It is less bug-prone as we don't have to handle freeing the string. In
        all the cases I changed, I even spotted at least 2 cases where we were
        leaking a string (in file-mng, `temp_file_name` is never freed; and we
        were also leaking in an error case of gfig).
      - As a consequence of the previous point: simpler code with less lines.
      - In local file cases, the _peek_ variant does not even need to allocate
        an additional string.
      - In other case, if we query several times the path, it is allocated
        once and cached so it stays efficient.
      - When possible, working on the GFile rather than on a path string may
        be more robust. For instance I changed one g_unlink() into a
        g_file_delete(). Actually most reading/writing should be done with the
        GIO API when possible, but I didn't want to change too much code
        logics on this commit.
  5. 21 Sep, 2019 1 commit
    • Jehan's avatar
      plug-ins: fix a type warning. · 14200244
      Jehan authored
      When cross-compiling for Windows, I had this warning:
      > plug-ins/file-ico/ico-load.c:221:22: warning: format '%lu' expects
      > argument of type 'long unsigned int', but argument 5 has type 'long
      > long unsigned int' [-Wformat=]
      I guess that on some platform sizeof may be a long long uint. Just cast
      the result to long uint instead (I could have done the other way around,
      but I doubt the struct type IcoFileEntry would ever get bigger than long
      uint max!).
  6. 11 Sep, 2019 1 commit
  7. 22 Aug, 2019 1 commit
  8. 11 Jul, 2018 1 commit
  9. 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().
  10. 20 Aug, 2017 1 commit
  11. 26 Feb, 2017 1 commit
  12. 08 Jan, 2017 1 commit
  13. 06 Nov, 2016 1 commit
  14. 30 Nov, 2012 1 commit
  15. 15 May, 2011 1 commit
  16. 06 Sep, 2010 1 commit
  17. 31 Jan, 2010 1 commit
  18. 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
  19. 20 Aug, 2008 1 commit
    • Sven Neumann's avatar
      plug-ins/file-faxg3/faxg3.c plug-ins/file-ico/ico.c · 3f26d82b
      Sven Neumann authored
      2008-08-20  Sven Neumann  <sven@gimp.org>
      	* plug-ins/file-faxg3/faxg3.c
      	* plug-ins/file-ico/ico.c
      	* plug-ins/file-ico/ico-load.[ch]
      	* plug-ins/file-ico/ico-save.[ch]: pass error messages with the
      	return values instead of calling g_message().
      svn path=/trunk/; revision=26667
  20. 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-ins/common/Makefile.am: regenerated.
      	* configure.in: change folders and variable names to match above
      svn path=/trunk/; revision=26494
  21. 24 Mar, 2008 3 commits
    • Michael Natterer's avatar
      renamed all files. · f640a82c
      Michael Natterer authored
      2008-03-24  Michael Natterer  <mitch@gimp.org>
      	* plug-ins/ico/*: renamed all files.
      svn path=/trunk/; revision=25201
    • Michael Natterer's avatar
      The icon plugin should simply be "ico" just as the other file plug-ins. · 9e87fa3a
      Michael Natterer authored
      2008-03-24  Michael Natterer  <mitch@gimp.org>
      	The icon plugin should simply be "ico" just as the other file
      	* plug-ins/win-icon -> ico
      	* configure.in
      	* plug-ins/Makefile.am: changed accordingly.
      svn path=/trunk/; revision=25200
    • Michael Natterer's avatar
      Renamed folders in plug-ins/. Unfortunately it's impossible to rename the · 8876b879
      Michael Natterer authored
      2008-03-24  Michael Natterer  <mitch@gimp.org>
      	Renamed folders in plug-ins/. Unfortunately it's impossible to
      	rename the files inside at the same time, so this is just
      	part one...
      	* plug-ins/FractalExplorer -> fractal-explorer
      	* plug-ins/Lighting -> lighting
      	* plug-ins/MapObject -> map-object
      	* plug-ins/gflare -> gradient-flare
      	* plug-ins/gfli -> fli
      	* plug-ins/helpbrowser -> help-browser
      	* plug-ins/ifscompose -> ifs-compose
      	* plug-ins/rcm -> colormap-rotate
      	* plug-ins/sel2path -> selection-to-path
      	* plug-ins/winicon -> win-icon
      	* plug-ins/winsnap -> win-snap
      	* configure.in
      	* plug-ins/Makefile.am: changed accordingly.
      svn path=/trunk/; revision=25194
  22. 09 Dec, 2006 1 commit
  23. 30 Oct, 2006 1 commit
    • Michael Natterer's avatar
      plug-ins/Lighting/lighting_apply.c plug-ins/Lighting/lighting_preview.c · c1041bcd
      Michael Natterer authored
      2006-10-30  Michael Natterer  <mitch@gimp.org>
      	* plug-ins/Lighting/lighting_apply.c
      	* plug-ins/Lighting/lighting_preview.c
      	* plug-ins/MapObject/mapobject_apply.c
      	* plug-ins/common/spheredesigner.c
      	* plug-ins/flame/libifs.c
      	* plug-ins/gfig/gfig-arc.c
      	* plug-ins/gfig/gfig-bezier.c
      	* plug-ins/gfig/gfig-circle.c
      	* plug-ins/gfig/gfig-ellipse.c
      	* plug-ins/gfig/gfig-line.c
      	* plug-ins/gfig/gfig-poly.c
      	* plug-ins/gfig/gfig-spiral.c
      	* plug-ins/gfig/gfig-star.c
      	* plug-ins/gimpressionist/general.c
      	* plug-ins/gimpressionist/ppmtool.c
      	* plug-ins/gimpressionist/preview.c
      	* plug-ins/gimpressionist/preview.h
      	* plug-ins/gimpressionist/size.h
      	* plug-ins/jpeg/jpeg-save.c
      	* plug-ins/uri/uri-backend-gnomevfs.c
      	* plug-ins/uri/uri-backend-libcurl.c
      	* plug-ins/uri/uri-backend-wget.c
      	* plug-ins/winicon/icoload.c
      	* plug-ins/winicon/icosave.c: another bunch of missing includes,
      	missing "static" and wrong declarations found by -Wmissing-foo
  24. 16 Oct, 2006 2 commits
    • Sven Neumann's avatar
      plug-ins/winicon/Makefile.am plug-ins/winicon/icodialog.c · 82bb5604
      Sven Neumann authored
      2006-10-16  Sven Neumann  <sven@gimp.org>
      	* plug-ins/winicon/Makefile.am
      	* plug-ins/winicon/icodialog.c
      	* plug-ins/winicon/icoload.c
      	* plug-ins/winicon/icosave.c
      	* plug-ins/winicon/main.h: applied patch from Aurimas Juška that
      	adds support for the loading and saving Vista 256x256 PNG
      	Compressed Icons (bug #352899).
      	* configure.in
      	* plug-ins/Makefile.am: don't build the winicon plug-in if PNG
      	support has been explicitely disabled.
    • Sven Neumann's avatar
      plug-ins/winicon/icodialog.c plug-ins/winicon/icoload.c applied patches · 091a12bc
      Sven Neumann authored
      2006-10-16  Sven Neumann  <sven@gimp.org>
      	* plug-ins/winicon/icodialog.c
      	* plug-ins/winicon/icoload.c
      	* plug-ins/winicon/icosave.c: applied patches from Aurimas Juška
      	that add support for saving 24 bit files and fix a bug in the
      	load routines for this format (bug #352899).
  25. 06 Oct, 2006 1 commit
  26. 28 Aug, 2006 1 commit
  27. 14 Aug, 2006 1 commit
  28. 14 Feb, 2006 1 commit
  29. 30 Sep, 2005 1 commit
  30. 29 Sep, 2005 1 commit
    • Michael Natterer's avatar
      removed the "wrap" from gimp_progress_set_text() so it shows up as libgimp · e3da6be9
      Michael Natterer authored
      2005-09-29  Michael Natterer  <mitch@gimp.org>
      	* tools/pdbgen/pdb/progress.pdb: removed the "wrap" from
      	gimp_progress_set_text() so it shows up as libgimp function again.
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      	* libgimp/gimpprogress.[ch]: changed the old
      	gimp_progress_set_text() to gimp_progress_set_text_printf() and
      	added gimp_progress_init_printf(). (did this because the method of
      	calling init(NULL) followed by set_text("foo") caused popup
      	progress windows to be resized after they were shown).
      	* libgimp/gimp.def: changed accordingly.
      	* plug-ins/*/*.c: use gimp_progress_init_printf() instead of
      	init(NULL) plus set_text(foo) and changed users of set_text() to
      	use set_text_printf().
  31. 07 May, 2005 1 commit
  32. 06 May, 2005 2 commits
  33. 08 Apr, 2005 1 commit
  34. 04 Mar, 2005 1 commit
    • Sven Neumann's avatar
      plug-ins/FractalExplorer plug-ins/Lighting plug-ins/bmp plug-ins/dbbrowser · f48efa96
      Sven Neumann authored
      2005-03-04  Sven Neumann  <sven@gimp.org>
      	* plug-ins/FractalExplorer
      	* plug-ins/Lighting
      	* plug-ins/bmp
      	* plug-ins/dbbrowser
      	* plug-ins/faxg3
      	* plug-ins/fits
      	* plug-ins/flame
      	* plug-ins/gfig
      	* plug-ins/gflare
      	* plug-ins/gfli
      	* plug-ins/gimpressionist
      	* plug-ins/ifscompose
      	* plug-ins/jpeg
      	* plug-ins/maze
      	* plug-ins/pagecurl
      	* plug-ins/print
      	* plug-ins/rcm
      	* plug-ins/script-fu
      	* plug-ins/sel2path
      	* plug-ins/sgi
      	* plug-ins/twain
      	* plug-ins/winicon
      	* plug-ins/xjt: ported to gstdio, removed unnecessary includes,
      	minor fixes to filename handling here and there.
  35. 13 Feb, 2005 1 commit
    • Sven Neumann's avatar
      accept an empty string. · 4cf9d0e4
      Sven Neumann authored
      2005-02-13  Sven Neumann  <sven@gimp.org>
      	* app/core/gimpprogress.c (gimp_progress_start): accept an empty
      	* app/plug-in/plug-in-progress.c: if NULL is passed as message to
      	plug_in_progress_start(), set an empty string on the progress.
      	* tools/pdbgen/pdb/progress.pdb:
      	* libgimp/gimpprogress.[ch]: wrap the new gimp_progress_set_text()
      	PDP function with a function that accepts printf-like arguments.
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      	* lots of plug-ins, most of them file plug-ins:
      	use gimp_progress_init(NULL) followed by gimp_progress_set_text()
      	to initialize the progress using the new API instead of constructing
      	a temporary string.