1. 01 Oct, 2021 1 commit
  2. 06 Apr, 2021 1 commit
    • Jehan's avatar
      app, libgimp, pdb, plug-ins: more functions moved to get|set(). · ca8bc2bc
      Jehan authored
      The gimp_drawable_type() is an issue though as gimp_drawable_get_type()
      is already defined as a common GObject API.
      Though I'm actually wondering if GimpImageType is well called. Rather
      than Type, shouldn't we go with ColorModel?
      
      sed -i 's/\<gimp_drawable_bpp\>/gimp_drawable_get_bpp/g' "$@"
      sed -i 's/\<gimp_drawable_width\>/gimp_drawable_get_width/g' "$@"
      sed -i 's/\<gimp_drawable_height\>/gimp_drawable_get_height/g' "$@"
      sed -i 's/\<gimp_drawable_offsets\>/gimp_drawable_get_offsets/g' "$@"
      ca8bc2bc
  3. 05 Apr, 2021 1 commit
    • Jehan's avatar
      app, libgimp, pdb, plug-ins: update some more functions to get|set(). · fa161527
      Jehan authored
      s/gimp_image_base_type/gimp_image_get_base_type/
      s/gimp_image_width/gimp_image_get_width/
      s/gimp_image_height/gimp_image_get_height/
      
      Sorry plug-in developers, more porting work! But really this seems like
      the right thing to do in order not to get stuck with inconsistent naming
      for many more years to come.
      fa161527
  4. 20 Sep, 2019 1 commit
  5. 11 Sep, 2019 1 commit
  6. 29 Aug, 2019 1 commit
    • Michael Natterer's avatar
      app, libgimp: get rid of all ID GTypes and ID param specs · 392f00ba
      Michael Natterer authored
      Turn all ID param specs into object param specs (e.g. GimpParamImageID
      becomes GimpParamImage) and convert between IDs and objects in
      gimpgpparams.c directly above the the wire protocol, so all of app/,
      libgimp/ and plug-ins/ can deal directly with objects down to the
      lowest level and not care about IDs.
      
      Use the actual object param specs for procedure arguments and return
      values again instead of a plain g_param_spec_object() and bring back
      the none_ok parameter.
      
      This implies changing the PDB type checking functions to work on pure
      integers instead of IDs (one can't check whether object creation is
      possible if performing that check requires the object to already
      exist).
      
      For example gimp_foo_is_valid() becomes gimp_foo_id_is_valid() and is
      not involved in automatic object creation magic at the protocol
      level. Added wrappers which still say gimp_foo_is_valid() and take the
      respective objects.
      
      Adapted all code, and it all becomes nicer and less convoluted, even
      the generated PDB wrappers in app/ and libgimp/.
      392f00ba
  7. 27 Aug, 2019 1 commit
    • Michael Natterer's avatar
      libgimp: again, redo all APIs returning list of images, items, children · 0b3e02be
      Michael Natterer authored
      We now have both variants, one returning a GList, and another
      returning an array. Turns out that while a list is often nicer,
      sometimes a random-access array really keeps the code much simpler.
      
      Adapt all plug-ins, and clean up a bit (like use g_list_reverse() once
      instead of iterating the list reversed).
      0b3e02be
  8. 22 Aug, 2019 1 commit
  9. 13 Aug, 2019 1 commit
  10. 11 Jul, 2018 1 commit
  11. 05 Feb, 2018 2 commits
    • Jehan's avatar
      plug-ins: clean out some tabs who lost their way. · 2d2dc450
      Jehan authored
      2d2dc450
    • Jehan's avatar
      plug-ins: ico export crashes on indexed images. · 42eaf588
      Jehan authored
      It seems the current code simply forgot to break on indexed types and
      therefore hit some g_return_*if_reached() code breaking the logics.
      Looking further, I see some code taking care of indexed images and
      converting them to RGB. And testing after adding breaks looks like it
      works just fine.
      So I am assuming this was just forgotten breaks indeed, and not on
      purpose not allowing indexed images (if that were the intent though,
      this is not how it should be done).
      42eaf588
  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 3 commits
  15. 08 Jan, 2017 1 commit
  16. 16 Feb, 2016 1 commit
  17. 18 Sep, 2015 1 commit
  18. 24 May, 2015 1 commit
  19. 30 Nov, 2012 1 commit
  20. 12 Nov, 2010 1 commit
  21. 06 Sep, 2010 1 commit
  22. 15 Jul, 2010 1 commit
  23. 09 Jul, 2010 1 commit
  24. 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
  25. 20 Aug, 2008 2 commits
    • Sven Neumann's avatar
      create GHashTable with destroy notifiers. · 39571e16
      Sven Neumann authored
      2008-08-20  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/file-ico/ico-save.c: create GHashTable with destroy
      	notifiers.
      
      
      svn path=/trunk/; revision=26668
      39571e16
    • 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
      3f26d82b
  26. 15 Aug, 2008 1 commit
  27. 11 Aug, 2008 2 commits
    • Michael Natterer's avatar
      plug-ins/common/cml-explorer.c plug-ins/common/depth-merge.c · c023af46
      Michael Natterer authored
      2008-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/cml-explorer.c
      	* plug-ins/common/depth-merge.c
      	* plug-ins/common/file-cel.c
      	* plug-ins/common/oilify.c
      	* plug-ins/file-bmp/bmp-write.c
      	* plug-ins/file-bmp/bmp.[ch]
      	* plug-ins/file-ico/ico-dialog.c
      	* plug-ins/file-ico/ico-save.c
      	* plug-ins/file-ico/ico.h
      	* plug-ins/flame/flame.c
      	* plug-ins/fractal-explorer/fractal-explorer-dialogs.c
      	* plug-ins/fractal-explorer/fractal-explorer.[ch]
      	* plug-ins/gimpressionist/gimp.c
      	* plug-ins/gimpressionist/gimpressionist.[ch]
      	* plug-ins/gimpressionist/orientmap.c
      	* plug-ins/gimpressionist/presets.c
      	* plug-ins/gimpressionist/sizemap.c
      	* plug-ins/help-browser/dialog.[ch]
      	* plug-ins/help-browser/help-browser.c
      	* plug-ins/ifs-compose/ifs-compose.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_main.[ch]
      	* plug-ins/lighting/lighting-main.[ch]
      	* plug-ins/lighting/lighting-ui.c
      	* plug-ins/map-object/map-object-main.[ch]
      	* plug-ins/map-object/map-object-ui.c
      	* plug-ins/selection-to-path/selection-to-path.c
      	* plug-ins/win-snap/winsnap.c: use PLUG_IN_BINARY and PLUG_IN_PROC
      	defines consistently instead of using literal strings or other
      	random defines. Define them if not already there or move them to
      	plugin-global places.
      
      	* plug-ins/win-snap/Makefile.am: rename the binary to "win-snap".
      
      	* plug-ins/win-snap/winsnap.c: changed accordingly.
      
      
      svn path=/trunk/; revision=26509
      c023af46
    • 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" an...
      3d75c95f
  28. 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
      f640a82c
    • 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.
      
      	* plug-ins/win-icon -> ico
      
      	* configure.in
      	* plug-ins/Makefile.am: changed accordingly.
      
      
      svn path=/trunk/; revision=25200
      9e87fa3a
    • 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
      8876b879
  29. 03 May, 2007 1 commit
    • Sven Neumann's avatar
      plug-ins/winicon/icosave.c show a warning when the user is about to create · 7d6ce73d
      Sven Neumann authored
      2007-05-03  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/winicon/icosave.c
      	* plug-ins/winicon/icodialog.c: show a warning when the user is
      	about to create a file using newer features of the icon file 
      format.
      	Loosely based on a patch from Aurimas Juška. Fixes bug #409467.
      
      
      svn path=/trunk/; revision=22385
      7d6ce73d
  30. 09 Dec, 2006 1 commit
  31. 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
      c1041bcd
  32. 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.
      82bb5604
    • 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).
      091a12bc