Michael Natterer
251dd91395
modules: fix memory leaks in color-selector-cmyk.c
...
Also clean up a bit and make the profile label's tooltip show
the profile's summary.
2014-03-16 15:57:14 +01:00
Michael Natterer
ebc53672cb
libgimpcolor: add gimp_lcms_profile_is_rgb() and _is_cmyk()
...
And change all lcms code to use it.
2014-03-15 21:47:13 +01:00
Michael Natterer
a277a5b66f
modules: don't use CamelCase variable names in display-filter-proof.c
2014-03-15 21:47:13 +01:00
Michael Natterer
89b489b9bb
modules, plug-ins: use GimpColorProfileChooserDialog
...
instead of selfmade file choosers for picking color profiles from
disk.
2014-03-14 23:02:14 +01:00
Michael Natterer
ceb31cc02e
modules: use gimp_lcms_profile_get_summary() in the lcms display filter
2014-03-14 20:26:15 +01:00
Michael Natterer
eee6fa1e4b
libgimpcolor: start adding profile utility functions to gimplcms.[ch]
...
Add functions to get a profile's description, manufacturer, model and
copyright, and use them instead of implementing the same 10 times.
Also add a GimpColorProfile typedef which avoids both having to
include lcms globally or using a gpointer instead (which looks bad and
non-descriptive in an API).
2014-03-14 01:48:39 +01:00
Michael Natterer
f078cc5992
modules: make display-filter-lcms.c find the right monitor...
...
...when its GimpColorManaged's GdkWindow exists but is hidden, which
happens for all but the active tab of a single window with multiple
images open.
2014-03-13 22:39:03 +01:00
Elle Stone
05c5ca3216
Bug 723787 - Neutral sRGB profile matching Argyllcms sRGB.icm
...
Add gimp_lcms_create_srgb_profile() to libgimpcolor and use it where
we used to call cmsCreate_sRGBProfile().
2014-02-09 23:10:56 +01:00
Michael Natterer
84c132addc
Bug 721553 - License text contains obsolete FSF postal address
...
These files were forgotten when changing license from GPL2 to GPL3.
2014-01-05 14:25:46 +01:00
Elle Stone
a4821914d3
Bug 720045 - Add black point compensation to Preferences/Color Management
...
Make black point compensation configurable separately for both proof
and display.
2013-12-09 02:23:31 +01:00
Nils Philippsen
1bb379c3f5
gimpcolorwheel: comment out ineffectual code
2013-11-07 12:20:34 +01:00
Nils Philippsen
c028580ae0
color-selector-cmyk: avoid freeing uninitialized pointer
2013-11-07 12:20:33 +01:00
Michael Natterer
48582d4d6a
modules: silence defined but not used warning in color-selector-water.c
...
by uselessly calling colorsel_water_get_type().
2013-11-04 22:09:57 +01:00
Hartmut Kuhse
7027d3cb13
modules: include <gegl.h> in controller-dx-dinput.c
...
when we include "libgimpwidgets/gimpwidgets.h"
2013-11-04 21:25:22 +01:00
Michael Natterer
71b189e4da
modules: rename color-selector-cmyk-lcms.c to color-selector-cmyk.c
...
overwriting the old color-selector-cmyk.c
2013-11-03 22:06:51 +01:00
Michael Natterer
7bd4d2678a
configure, plug-ins, modules: make lcms a hard dependency
2013-11-03 21:19:51 +01:00
Michael Natterer
ae9d8c72bc
modules: add GEGL_LIBS to display_filter_libadd
2013-11-03 15:33:40 +01:00
Michael Natterer
337c1fe4bf
modules: port the proof display filter to convert_buffer()
2013-11-02 14:53:48 +01:00
Michael Natterer
73f5e2c21a
modules: remove the old convert_surface() from gamma and high contrast
2013-11-02 14:47:54 +01:00
Michael Natterer
e96b1db023
modules: implement convert_buffer() in the color blind display filter
2013-11-02 14:43:47 +01:00
Michael Natterer
78706f7796
modules: implement convert_buffer() in the lcms display filter
2013-11-02 03:02:09 +01:00
Michael Natterer
fcd457e67b
modules: implement convert_buffer() in the gamma display filter
2013-11-02 01:51:05 +01:00
Michael Natterer
a04c442e69
modules: implement convert_buffer() in the high contrast display filter
2013-11-02 01:38:50 +01:00
Michael Natterer
a5d4f3ae04
modules: also include <gegl.h> when we include "libgimpwidgets/gimpwidgets.h
2013-11-01 22:30:36 +01:00
Jehan
3838a8cebb
modules: small tabs replacement into spaces.
2013-09-21 18:17:34 +12:00
Michael Natterer
2cd25ec863
modules: turn GimpColorWheel into a proper dynamically loaded type
...
So it works with all GObject versions, until we determine how useful
it is generally, and what API it should get for possible
libgimpwidgets inclusion.
2013-07-14 13:41:29 +02:00
Michael Natterer
ec786816bb
*/Makefile.am: merge INCLUDES into AM_CPPFLAGS
...
automake-1.13 finally warns about this anachronism.
2013-06-05 20:48:37 +02:00
Michael Natterer
3c006d0a4f
modules: make all get_type() functions static
2013-01-17 20:57:50 +01:00
Michael Natterer
9f610ef3cf
modules: use G_DEFINE_DYNAMIC_TYPE() in color-selector-cmyk-lcms
2013-01-17 20:56:58 +01:00
Michael Natterer
632c577f18
Bug 689371 - GIMP uses deprecated GtkHSV widget
...
Swallow GtkHSV back into GIMP and call it GimpColorWheel. Keep it in
modules/ for the time being. Clean up and undeprecate it. Replace
set_metrics() API by set_ring_fraction() and make it follow the size
of its parent container, making its use straightforward. Kept it clean
of GIMP color types so it can be easily adapted by e.g. Inkscape.
2013-01-06 02:56:59 +01:00
Michael Natterer
2d6a880b12
Bug 662739 - Port to lcms2 for icc V4 profile support
...
Apply patch from Laurent Martelli which multiplies the out-of-gammut
color components by 256 to match the new 16 bit lcms data type.
2012-10-24 18:19:33 +02:00
Sven Neumann
3cb7f05e73
modules: mark new string for translation
2012-09-25 22:15:34 +02:00
Michael Natterer
e8b24abbf7
modules: say "(unnamed profile)" when a color profile provides no name
...
inatead of showing an empty label
2012-09-25 20:56:05 +02:00
Kevin Cozens
a2e037fb00
Corrected spelling errors spotted by Ari Pollak (Mostly fixes bug #683694 )
...
Still need to address the "allows to" grammatical error.
2012-09-10 12:22:12 -04:00
Michael Natterer
8bbfc9e5cf
Bug 675558 - switch from lcms-1 to lcms-2
...
Applied modified patch from Hartmut Kuhse which ports to lcms-2.
2012-09-03 20:03:53 +02:00
Kristian Rietveld
9514cf4871
Avoid using CMFlattenProfile
...
This symbol is not available to 64-bit applications. So put another
approach in place.
I can confirm that the code does not crash, but I do not know if it
works properly. Mitch forced me to push anyway.
2012-06-09 22:47:01 +02:00
Michael Natterer
3ad73b3658
libgimpcolor: add GdkPixbuf <-> GeglBuffer utility functions
...
and update tons of includes in libgimp and app.
2012-05-03 03:37:20 +02:00
Michael Natterer
2b2315deea
modules: forgot one #include <babl/babl.h>
2012-05-02 17:50:54 +02:00
Michael Natterer
3e119c5af7
libgimpcolor: add gimp_rgb[a]_set,get_pixel()
...
which converts from/to any pixel format using Babl. Added tons of
includes and CFLAGS now that libgimpcolor publically uses Babl.
2012-05-02 17:50:43 +02:00
Michael Natterer
056e09a6cb
Remove the makefile.msc build system, it is unmaintained since 2008
2011-12-16 15:53:56 +01:00
Michael Natterer
19b9bfd189
libgimpwidgets: add gtk_scale_new() to gimp3migration.[ch]
...
and use it all over the place. Also change some GtkObject* variables
to GtkAdjustment*.
2011-10-02 14:36:41 +02:00
Michael Natterer
4373dccdc1
modules: use gtk_box_new()
2011-09-30 11:00:22 +02:00
Michael Natterer
3b6ab5a48c
Bug 660067 - GIMP crashes after Wacom tablet's hot unplug
...
Don't call gimp_input_device_store_lookup() with a NULL name. Unplug
seems broken because we always get name == NULL, I need to fix this
but at least it doesn't crash any longer (and the fix is generally
correct and not a workaround).
2011-09-26 22:35:45 +02:00
Michael Natterer
ce4ab710f6
modules: gimp_input_device_store_add(): bail out if the device has no parent
2011-06-26 23:39:05 +02:00
Michael Natterer
f1bb40166b
Bug 592364 - Use GUdev rather than deprecated HAL for GIMP
...
GIMP was probably the only user of libhal on most systems, this had
to stop. Ported the linux-input module to GUdev.
2011-06-23 16:30:58 +02:00
Michael Natterer
cccddce106
modules: fix indentation in controller-dx-dinput.c
2011-06-23 16:26:55 +02:00
Michael Natterer
cc47b2a600
libgimpwidgets/color: move the cairo color utility functions to libgimpcolor
...
Add CAIRO_CFLAGS to a lot of Makefiles to make this possible, and
because they pull in cairo via the libgimp headers.
2011-04-28 15:50:39 +02:00
Omari Stephens
5cae0bf65c
Bug 630748 - display filters do not work
...
Create and use Cairo-compatible API for display filters. Also
includes logic changes to the display filters to deal with cairo's
ARGB32 pre-multiplied buffer format.
2011-01-25 20:24:42 +01:00
Michael Natterer
7b320c7bf6
Get rid of DOS line endings
2010-11-21 16:09:09 +01:00
Nelson A. de Oliveira
7666e5cf36
Fix memory and descriptor leaks
2010-11-12 21:56:17 +01:00