Commit Graph

15 Commits

Author SHA1 Message Date
Kevin Cozens f200e3055c Applied patch from Andreas Turtschan to fix more RGB colour values. Fixes
2009-01-23  Kevin Cozens  <kcozens@cvs.gimp.org>

	* libgimpcolor/gimprgb-parse.c: Applied patch from Andreas Turtschan
	to fix more RGB colour values. Fixes bug #568909.

svn path=/trunk/; revision=27937
2009-01-23 21:49:25 +00:00
Kevin Cozens 00313687f2 Applied patch from Andreas Turtschan to fix colour values for slategray
2009-01-23  Kevin Cozens  <kcozens@cvs.gimp.org>

	* libgimpcolor/gimprgb-parse.c: Applied patch from Andreas Turtschan
	to fix colour values for slategray and slategray. Fixes bug #568839.

svn path=/trunk/; revision=27932
2009-01-23 16:08:24 +00:00
Michael Natterer d9b5207aa2 Change licence to GPLv3 (and to LGPLv3 for libgimp).
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
2009-01-17 22:28:01 +00:00
Sven Neumann bc5079d296 updated link to the color keywords in the SVG spec.
2008-12-10  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c: updated link to the color 
keywords
	in the SVG spec.


svn path=/trunk/; revision=27772
2008-12-10 12:16:46 +00:00
Sven Neumann da2a79fe42 corrected documentation.
2007-08-01  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c: corrected documentation.

svn path=/trunk/; revision=23095
2007-08-01 12:03:13 +00:00
Sven Neumann 3f9acbdbae fixed typos in comments.
2005-04-20  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c: fixed typos in comments.
2005-04-20 12:47:17 +00:00
Sven Neumann 6bf8cf5def fixed gtk-doc comment.
2004-09-19  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c (gimp_rgb_parse_hex): fixed gtk-doc
	comment.
2004-09-18 22:57:23 +00:00
Sven Neumann c03a5b837e register GimpRGB as a boxed type.
2004-07-26  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb.[ch]: register GimpRGB as a boxed type.

	* libgimpcolor/gimpadaptivesupersample.c
	* libgimpcolor/gimpcolorspace.c
	* libgimpcolor/gimprgb-parse.c
	* libgimp/gimp.h: include <glib-object.h> instead of <glib.h>.
2004-07-26 18:14:48 +00:00
Sven Neumann e0b4899157 libgimpcolor/gimprgb-parse.c added new function gimp_rgb_list_names() that
2004-07-26  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c
	* libgimpcolor/gimprgb.h: added new function gimp_rgb_list_names()
	that gives access to the list of SVG color keywords.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimpcolorhexentry.[ch]: added new widget that
	allows to enter colors in hex notation or by using color names.

	* libgimpwidgets/gimpcolorscales.c: use a GimpColorHexEntry.
2004-07-26 15:20:18 +00:00
Sven Neumann e965603984 added more test samples.
2004-07-23  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/test-color-parser.c: added more test samples.

	* libgimpcolor/gimprgb-parse.c: fixed a bug that I found with the
	new tests.

	* app/core/gimpgradient-load.c: changed SVG parser to handle
	gradients that are defined more deeply in the SVG hierarchy. Added
	a simplistic CSS style parser to deal with gradient definitions
	that use CSS to define the gradient stop properties (closes bug
	#148127).
2004-07-23 11:31:16 +00:00
Sven Neumann 516c5bf44c libgimpcolor/Makefile.am added a simple unit test framework for the color
2004-07-23  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/Makefile.am
	* libgimpcolor/test-color-parser.c: added a simple unit test
	framework for the color parser.

	* libgimpcolor/gimprgb-parse.c: fixed parsing of rgba() values.

	* libgimpmath/test-md5.c: minor cleanup.
2004-07-22 23:30:52 +00:00
Sven Neumann a28122f8db added support for the "transparent" color name.
2004-07-23  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c (gimp_rgba_parse_css): added support
	for the "transparent" color name.
2004-07-22 22:29:54 +00:00
Sven Neumann 75565f28f3 libgimpcolor/gimprgb-parse.c improved the CSS color parser code, added new
2004-07-22  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c
	* libgimpcolor/gimprgb.h: improved the CSS color parser code,
	added new function gimp_rgba_parse_css(), added support for HSL
	color values.
2004-07-22 22:22:59 +00:00
Sven Neumann a6f4f62608 libgimpcolor/gimprgb-parse.c use a signed integer to pass the string
2004-07-22  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c
	* libgimpcolor/gimprgb.h: use a signed integer to pass the string
	length to the new parser functions. The API explicitely asks for
	-1 to be passed...

	* app/core/gimp.c
	* app/core/gimpgradient-load.[ch]
	* app/core/gimpgradient.h: added preliminary support for loading
	simple SVG gradients (see bug #148127).  Be careful with this new
	feature; editing the loaded gradient will cause the SVG file to be
	overwritten! Work in progress...
2004-07-22 19:07:28 +00:00
Sven Neumann a14bddae8a libgimpcolor/Makefile.am libgimpcolor/gimprgb-parse.c added more RGB
2004-07-22  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/Makefile.am
	* libgimpcolor/gimprgb-parse.c
	* libgimpcolor/gimprgb.[ch]: added more RGB parsers and moved the
	code to a dedicated file.

	* libgimpcolor/gimpcolor.def: added new symbols.

	* libgimpwidgets/gimpcolorscales.c: use gimp_rgb_parse_hex().
2004-07-22 17:26:22 +00:00