1. 11 Jul, 2018 1 commit
  2. 19 May, 2016 1 commit
  3. 14 Jul, 2013 1 commit
    • Michael Natterer's avatar
      Bug 704118 - crash on invalid number of PLTE entries · 37372555
      Michael Natterer authored
      Make sure an indexed image always has a colormap. This was the case
      before, except one could set a NULL colormap via the PDB.
      
      Add gimp_image_unset_colormap(), and make gimp_image_set_colormap()
      never set the colormap to NULL, even if NULL is passed. Change the
      only places where actual unsetting makes sense to use unset().
      
      Make some GUI places deal gracefully with palettes/colormaps with zero
      entries.
      37372555
  4. 02 May, 2012 2 commits
  5. 28 Oct, 2010 1 commit
  6. 27 Oct, 2010 1 commit
  7. 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
  8. 25 Dec, 2007 1 commit
    • Michael Natterer's avatar
      : renamed "cmap" to "colormap" and "num_cols" to "n_colors". · 0d31cf55
      Michael Natterer authored
      2007-12-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.h (struct GimpImage):: renamed "cmap" to
      	"colormap" and "num_cols" to "n_colors".
      
      	* app/core/gimpimage.c
      	* app/core/gimpimage-colormap.[ch]
      	* app/widgets/gimpcolormapeditor.c: changed accordingly.
      
      
      svn path=/trunk/; revision=24433
      0d31cf55
  9. 09 Dec, 2006 1 commit
  10. 28 Mar, 2006 1 commit
  11. 27 Apr, 2005 1 commit
  12. 07 May, 2004 1 commit
    • Sven Neumann's avatar
      added a const qualifier. · 8e6d919c
      Sven Neumann authored
      2004-05-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-colormap.[ch]: added a const qualifier.
      
      	Changed how the image unit and dot-for-dot mode is handled. Might
      	break things and certainly needs more changes (mainly in tools):
      
      	* app/core/gimptemplate.c: allow GIMP_UNIT_PIXEL as image unit.
      
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpstatusbar.c: always use the image unit for the
      	rulers and to display lengths.
      
      	* app/widgets/gimptemplateeditor.c: redone GimpTemplateEditor
      	based on a dialog mockup from Jimmac and Tigert.
      
      	* app/core/core-enums.[ch]: changed some descriptions used by the
      	template editor.
      8e6d919c
  13. 18 Mar, 2003 1 commit
    • Michael Natterer's avatar
      Added an API for image colormap manupulation and made colormap changes · 94590602
      Michael Natterer authored
      2003-03-18  Michael Natterer  <mitch@gimp.org>
      
      	Added an API for image colormap manupulation and made colormap
      	changes undoable (fixes bug #25963).
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-colormap.[ch]: new files implementing
      	colormap getters/setters. The setters push undos using the
      	new function below.
      
      	* app/core/core-enums.[ch]: added GIMP_UNDO_IMAGE_COLORMAP.
      
      	* app/core/gimpimage-undo-push.[ch]: added
      	gimp_image_undo_push_image_colormap(). Use GimpItemUndo even more
      	often. Cleanup.
      
      	* app/core/gimpimage.[ch]: removed gimp_image_get_colormap() here.
      
      	* app/core/gimpimage-convert.c
      	* app/gui/colormap-editor-commands.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimptoolbox.c
      	* tools/pdbgen/pdb/image.pdb: use the new API.
      
      	* app/pdb/image_cmds.c: regenerated.
      
      	* plug-ins/common/vinvert.c: removed the comment about the bug,
      	cosmetic cleanup.
      
      	Unrelated:
      
      	* app/gui/splash.c: added a frame around the splash. Please eek
      	if it doesn't please you.
      94590602