Sven Neumann
4f870bc132
deprecated RGB intensity functions and definitions. These coefficients do
...
2005-08-03 Sven Neumann <sven@gimp.org>
* libgimpcolor/gimprgb.[ch]: deprecated RGB intensity functions
and definitions. These coefficients do not accurately compute
luminance for contemporary monitors. Instead the coefficients from
the sRGB spec should be used which have now been added.
* libgimpcolor/gimpcolor.def: updated.
* libgimp/gimpdrawable.c
* libgimp/gimppixelfetcher.c
* app/base/colorize.c
* app/base/levels.c
* app/base/temp-buf.c
* app/core/gimpdrawable-blend.c
* app/core/gimpdrawable-convert.c
* app/core/gimpdrawable-desaturate.c
* app/core/gimpimage-convert.c
* app/core/gimpimage.c
* app/gui/splash.c
* app/widgets/gimpgradienteditor.c
* modules/colorsel_triangle.c
* plug-ins/common/aa.c
* plug-ins/common/bumpmap.c
* plug-ins/common/colorify.c
* plug-ins/common/despeckle.c
* plug-ins/common/displace.c
* plug-ins/common/engrave.c
* plug-ins/common/gradmap.c
* plug-ins/common/grid.c
* plug-ins/common/mng.c
* plug-ins/common/newsprint.c
* plug-ins/common/png.c
* plug-ins/common/whirlpinch.c
* plug-ins/gflare/gflare.c
* plug-ins/gfli/gfli.c
* plug-ins/maze/handy.c
* plug-ins/pagecurl/pagecurl.c: use gimp_rgb_luminance() and
friends instead of the deprecated intensity functions.
2005-08-03 00:36:41 +00:00
William Skaggs
36f062d1a0
broken pipe on previous commit, finishing
2005-01-22 00:43:31 +00:00
Sven Neumann
cace0a19a0
app/actions/qmask-commands.c just some cleanup.
...
2004-09-18 Sven Neumann <sven@gimp.org>
* app/actions/qmask-commands.c
* libgimpcolor/gimprgb.c (gimp_rgba_distance): just some cleanup.
* app/core/gimpimage-qmask.c (gimp_image_set_qmask_color): always
set gimage->qmask_color regardless of the qmask state.
* libgimpwidgets/gimpcolorbutton.c (gimp_color_button_new): set
the type before setting the color.
2004-09-17 22:16:21 +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
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
Sven Neumann
fd36a39850
fixed gtk-doc comments and updated API docs
2004-07-22 13:21:44 +00:00
Sven Neumann
b50ea15b26
rephrased the text for the dialog that appears if a new shortcut collides
...
2004-07-22 Sven Neumann <sven@gimp.org>
* app/widgets/gimpactionview.c: rephrased the text for the dialog
that appears if a new shortcut collides with an existing one.
* libgimpcolor/gimprgb.[ch]: added new function gimp_rgb_parse_name()
which accepts RGB colors in hexadezimal notation or as SVG color
keywords.
2004-07-22 12:42:57 +00:00
Sven Neumann
e4c5b6b0ca
added a GIMP_RGB prefix to the INTENSITY macros.
...
2003-11-17 Sven Neumann <sven@gimp.org>
* libgimpcolor/gimprgb.[ch]: added a GIMP_RGB prefix to the
INTENSITY macros.
* libgimp/gimpcompat.h: document this change here.
* app/base/colorize.c
* app/base/temp-buf.c
* app/core/gimpdrawable-blend.c
* app/core/gimpdrawable.c
* app/core/gimpimage-convert.c
* app/core/gimpimage.c
* plug-ins/common/aa.c
* plug-ins/common/bumpmap.c
* plug-ins/common/colorify.c
* plug-ins/common/displace.c
* plug-ins/common/engrave.c
* plug-ins/common/gradmap.c
* plug-ins/common/newsprint.c
* plug-ins/common/oilify.c
* plug-ins/gflare/gflare.c
* plug-ins/gfli/gfli.c
* plug-ins/pagecurl/pagecurl.c: changed accordingly.
* libgimpcolor/gimpcolor.h: removed trailing whitespace.
* app/paint-funcs/paint-funcs.c: fixed indentation.
2003-11-17 14:58:31 +00:00
Sven Neumann
f357b2cde0
libgimpcolor/Makefile.am libgimpcolor/makefile.msc new files that define a
...
2003-07-14 Sven Neumann <sven@gimp.org>
* libgimpcolor/Makefile.am
* libgimpcolor/makefile.msc
* libgimpcolor/gimpcmyk.[ch]: new files that define a GimpCMYK
structure similar to GimpRGB.
* libgimpcolor/gimpcolortypes.h: added the GimpCMYK typedef.
* libgimpcolor/gimpcolorspace.[ch]: added conversions between RGB
and CMYK. This implementation is the naive approach without any
color calibration whatsoever.
* libgimpcolor/gimphsv.[ch]
* libgimpcolor/gimprgb.[ch]: purely cosmetic changes.
2003-07-14 20:15:43 +00:00
Sven Neumann
aa4448db64
app/gui/info-window.c libgimpcolor/gimpcolorspace.c libgimpcolor/gimprgb.c
...
2003-06-13 Sven Neumann <sven@gimp.org>
* app/gui/info-window.c
* libgimpcolor/gimpcolorspace.c
* libgimpcolor/gimprgb.c
* libgimpwidgets/gimpcolorscales.c
* libgimpwidgets/gimpcolorselect.c: use ROUND() where appropriate.
* libgimpwidgets/gimpcolorarea.c (gimp_color_area_render): use
gimp_rgb_get_uchar().
2003-06-13 16:44:21 +00:00
Sven Neumann
08879c9f90
app/gui/info-window.c libgimpwidgets/gimpcolorscales.c applied some
...
2003-06-11 Sven Neumann <sven@gimp.org>
* app/gui/info-window.c
* libgimpwidgets/gimpcolorscales.c
* libgimpwidgets/gimpcolorselect.c: applied some slightly modified
patches from Michael Bushey that fix rounding errors when
converting between color values in gdouble and guchar
representation (bug #109241 ).
* libgimpcolor/gimpcolorspace.c
* libgimpcolor/gimprgb.c: similar fixes here.
2003-06-11 15:55:48 +00:00
Sven Neumann
62052c0c62
fixed gimp_rgb_intensity_uchar() which used to return 0 or 1 instead of 0
...
2003-02-27 Sven Neumann <sven@gimp.org>
* libgimpcolor/gimprgb.c: fixed gimp_rgb_intensity_uchar() which
used to return 0 or 1 instead of 0 to 255. Fixes bug #107202 .
2003-02-27 20:12:52 +00:00
Maurits Rijk
c4a5cb39a4
Added mnemonics ( #80804 ) to lic plug-in. Started code clean-up. Next time (hopefully) major speed improvements.
2002-06-23 13:08:21 +00:00
Sven Neumann
5439fe5b01
app/tools/airbrush.c app/tools/by_color_select.c include
...
2001-01-24 Sven Neumann <sven@gimp.org>
* app/tools/airbrush.c
* app/tools/by_color_select.c
* app/tools/color_picker.c: include gimpcolor/gimpcolor.h
* libgimpcolor/gimprgb.c: optimized compositing functions.
* plug-ins/Lighting/lighting_preview.c
* plug-ins/MapObject/mapobject_preview.c: use gimp_rgb_composite
functions instead of doing the blending manually
* plug-ins/MapObject/map_object_shade.c: fixed a rendering bug when
transparent_background == FALSE
2001-01-24 12:21:50 +00:00
Michael Natterer
cb16697229
Makefile.am configure.in added stuff for the new library below.
...
2001-01-24 Michael Natterer <mitch@gimp.org>
* Makefile.am
* configure.in
* gimptool.in: added stuff for the new library below.
* libgimpmath/.cvsignore
* libgimpmath/Makefile.am
* libgimpmath/gimpmath.def
* libgimpmath/gimpmath.h
* libgimpmath/gimpmathtypes.h
* libgimpmath/gimpmatrix.c
* libgimpmath/gimpmatrix.h
* libgimpmath/gimpvector.c
* libgimpmath/gimpvector.h
* libgimpmath/makefile.mingw.in
* libgimpmath/makefile.msc: new shared library. Depends on glib only.
* libgimp/Makefile.am
* libgimp/gimp.def
* libgimp/gimp.h: removed the math stuff.
* libgimp/gimpmath.h
* libgimp/gimpmatrix.[ch]
* libgimp/gimpvector.[ch]: removed.
* app/Makefile.am
* plug-ins/Lighting/Makefile.am
* plug-ins/MapObject/Makefile.am
* plug-ins/pagecurl/Makefile.am: link against libgimpmath.la
* app/[many files]
* libgimpcolor/gimpcolorspace.c
* libgimpcolor/gimprgb.c
* libgimp/gimpadaptivesupersample.c
* libgimp/gimpbilinear.c
* libgimp/gimpwidgets.c
* modules/colorsel_gtk.c
* modules/colorsel_triangle.c
* modules/colorsel_water.c
* plug-ins/libgck/gck/gckcolor.c
* tools/pdbgen/pdb/channel.pdb
* tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h",
removed the remaining includes of the old color stuff.
2001-01-23 23:56:18 +00:00
Michael Natterer
e803beddd4
Makefile.am configure.in added stuff for the new library below.
...
2001-01-23 Michael Natterer <mitch@gimp.org>
* Makefile.am
* configure.in
* gimptool.in: added stuff for the new library below.
* libgimpcolor/.cvsignore
* libgimpcolor/Makefile.am
* libgimpcolor/gimpcolor.h
* libgimpcolor/gimpcolorspace.c
* libgimpcolor/gimpcolorspace.h
* libgimpcolor/gimpcolortypes.h
* libgimpcolor/gimphsv.c
* libgimpcolor/gimphsv.h
* libgimpcolor/gimprgb.c
* libgimpcolor/gimprgb.h: new shared library which both the app
and plug-ins link against. The library depends only on glib.
* libgimpcolor/gimpcolor.def
* libgimpcolor/makefile.mingw.in
* libgimpcolor/makefile.msc: added Win32 build files which
definitely don't work.
* libgimp/Makefile.am
* libgimp/gimpcolor.[ch]
* libgimp/gimpcolorspace.[ch]: removed.
* libgimp/gimp.h
* libgimp/gimpadaptivesupersample.c
* libgimp/gimpbilinear.c
* libgimp/gimppalette.c
* libgimp/gimptypes.h: include the stuff from libgimpcolor.
Plug-Ins don't need to include <libgimpcolor/gimpcolor.h>
explicitely. LibGimp depends on libgimpcolor and thus also includes
it's headers.
* libgimp/gimp.def
* libgimp/makefile.mingw.in: fiddled around with Win32 stuff...
* app/Makefile.am: link against libgimpcolor.la
* app/apptypes.h: include "libgimpcolor/gimpcolortypes.h"
* app/asupsample.c
* app/channels_dialog.c
* app/colormap_dialog.c
* app/commands.c
* app/convert.c
* app/devices.c
* app/disp_callbacks.c
* app/drawable.c
* app/gimpcontext.c
* app/gimpdnd.c
* app/gimpimage.c
* app/gimppalette.c
* app/gimprc.c
* app/gradient.c
* app/libgimp_glue.c
* app/palette.c
* app/palette_import.c
* app/qmask.c
* app/xcf.c
* app/tools/paint_core.c
* app/tools/paintbrush.c
* app/tools/pencil.c: include "libgimpcolor/gimpcolor.h" before all
gimp includes because it's a standalone library.
* plug-ins/FractalExplorer/Makefile.am
* plug-ins/Lighting/Makefile.am
* plug-ins/MapObject/Makefile.am
* plug-ins/bmp/Makefile.am
* plug-ins/common/Makefile.am
* plug-ins/common/mkgen.pl
* plug-ins/dbbrowser/Makefile.am
* plug-ins/faxg3/Makefile.am
* plug-ins/fits/Makefile.am
* plug-ins/flame/Makefile.am
* plug-ins/fp/Makefile.am
* plug-ins/gap/Makefile.am
* plug-ins/gdyntext/Makefile.am
* plug-ins/gfig/Makefile.am
* plug-ins/gflare/Makefile.am
* plug-ins/gfli/Makefile.am
* plug-ins/gimpressionist/Makefile.am
* plug-ins/helpbrowser/Makefile.am
* plug-ins/ifscompose/Makefile.am
* plug-ins/imagemap/Makefile.am
* plug-ins/maze/Makefile.am
* plug-ins/mosaic/Makefile.am
* plug-ins/pagecurl/Makefile.am
* plug-ins/print/Makefile.am
* plug-ins/rcm/Makefile.am
* plug-ins/script-fu/Makefile.am
* plug-ins/sel2path/Makefile.am
* plug-ins/sgi/Makefile.am
* plug-ins/webbrowser/Makefile.am
* plug-ins/xjt/Makefile.am: add libgimpcolor.la to LDADD.
* INSTALL: don't recommend to --disable-shared for development.
* TODO.xml: increased some percentages, added plug-in help stuff.
2001-01-23 18:49:44 +00:00