2008-08-11 Michael Natterer <mitch@gimp.org>
* modules/Makefile.am
* modules/*.c: renamed all modules to color-selector-foo.c,
display-filter-foo.c and controller-foo.c
svn path=/trunk/; revision=26506
2008-08-11 Michael Natterer <mitch@gimp.org>
* configure.in: check for lcms with PKG_CHECK_MODULES(). Remove
check for <lcms.h> vs. <lsmc/lsmc.h> because the pc file should
give us the right location now.
* modules/cdisplay_lcms.c
* modules/cdisplay_proof.c
* modules/colorsel_cmyk_lcms.c
* plug-ins/file-jpeg/jpeg-load.c
* plug-ins/common/lcms.c: #include <lcms.h> and nothing else.
* modules/Makefile.am
* plug-ins/file-jpeg/Makefile.am
* plug-ins/common/plugin-defs.pl: add LCMS_CFLAGS where appropriate.
* plug-ins/common/Makefile.am: regenerated.
svn path=/trunk/; revision=26503
2008-08-11 Michael Natterer <mitch@gimp.org>
* configure.in: change all LIBFOO variables to FOO_LIBS for
consistency, could get rid of some variables alltogether since
PNG_CHECK_MODULES() already defined FOO_LIBS.
* tools/Makefile.am
* modules/Makefile.am
* plug-ins/file-ico/Makefile.am
* plug-ins/file-jpeg/Makefile.am
* plug-ins/file-psd/Makefile.am
* plug-ins/file-xjt/Makefile.am
* plug-ins/common/plugin-defs.pl
* plug-ins/common/mkgen.pl: changed accordingly.
* plug-ins/common/Makefile.am: regenerated.
svn path=/trunk/; revision=26498
2008-08-08 Michael Natterer <mitch@gimp.org>
* modules/colorsel_triangle.c: removed.
* modules/colorsel_wheel.c: new module using the GtkHSV widget
which was originally developed from above triangle selector.
* modules/Makefile.am: chaged accordingly.
svn path=/trunk/; revision=26448
2008-06-12 Michael Natterer <mitch@gimp.org>
* modules/controller_midi.c: applied patch from S. Fielding which
passes the right MIDI channel from the ALSA event to midi_event().
Fixes bug #537960.
svn path=/trunk/; revision=25931
2008-01-13 Michael Natterer <mitch@gimp.org>
* modules/colorsel_cmyk_lcms.c (colorsel_cmyk_config_changed): set
a tooltip on the profile name label because it's often ellipsized.
svn path=/trunk/; revision=24606
2007-12-05 Sven Neumann <sven@gimp.org>
* modules/gimpinputdevicestore-dx.c
* modules/gimpinputdevicestore-hal.c: the code for !HAVE_LIBHAL
ended up in the wrong file.
svn path=/trunk/; revision=24267
2007-12-04 Sven Neumann <sven@gimp.org>
* modules/Makefile.am
* modules/gimpinputdevicestore.c: split into two new files:
* modules/gimpinputdevicestore-dx.c: DirectX Input
implementation
* modules/gimpinputdevicestore-hal.c: HAL implementation
svn path=/trunk/; revision=24259
2007-11-10 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimppropwidgets.c: remove event boxes that were
only there for the old tooltips.
* modules/cdisplay_lcms.c: ditto. Also remove some code that was
only needed because of the event box hack.
svn path=/trunk/; revision=24110
2007-10-30 Michael Natterer <mitch@gimp.org>
* modules/cdisplay_lcms.c: applied patch from Sven Neumann and
Marianne Gagnon which adds support for getting the system monitor
profile on OS/X. Fixes bug #488170.
svn path=/trunk/; revision=23990
2007-10-18 Sven Neumann <sven@gimp.org>
* modules/cdisplay_lcms.c (cdisplay_lcms_get_display_profile):
introduced a utility function to retrieve the screen and
monitor.
svn path=/trunk/; revision=23878
2007-10-18 Sven Neumann <sven@gimp.org>
* modules/colorsel_cmyk_lcms.c: ellipsize the profile label. If
possible, use the profile description as we do in other places.
svn path=/trunk/; revision=23877
2007-10-05 Sven Neumann <sven@gimp.org>
* modules/cdisplay_lcms.c (cdisplay_lcms_get_display_profile):
corrected a mistake caused by a misinterpretation of the spec.
svn path=/trunk/; revision=23742
2007-10-05 Sven Neumann <sven@gimp.org>
* modules/cdisplay_lcms.c (cdisplay_lcms_get_display_profile):
support the new revision of the ICC Profiles In X specification
which handles Xinerama setups.
svn path=/trunk/; revision=23738
2007-10-05 Sven Neumann <sven@gimp.org>
* modules/colorsel_cmyk_lcms.c: always use the configured CMYK
profile, regardless of the color management mode.
svn path=/trunk/; revision=23731
2007-10-05 Sven Neumann <sven@gimp.org>
* libgimpconfig/gimpcolorconfig.[ch]: added settings for marking
out-of-gamut colors in the Print Simulation (bug #476824).
* app/dialogs/preferences-dialog.c: added a check-button for the
out-of-gamut warning and tweaked the layout of the Color Management
page to make the relationship of the settings more obvious.
* modules/cdisplay_lcms.c: mark out-of-gamut colors.
svn path=/trunk/; revision=23729
2007-10-04 Sven Neumann <sven@gimp.org>
* modules/colorsel_cmyk_lcms.c: use the
display rendering intent as set in the user's color management
preferences. Use black point compensation if the rendering intent
is relative colorimetric.
svn path=/trunk/; revision=23723
2007-10-03 Sven Neumann <sven@gimp.org>
* modules/cdisplay_lcms.c: use black point compensation if the
rendering intent is relative colorimetric.
svn path=/trunk/; revision=23720
2007-09-17 Sven Neumann <sven@gimp.org>
* modules/cdisplay_proof.c: use a GimpColorProfileComboBox for
profile selection.
svn path=/trunk/; revision=23571
2007-08-13 Sven Neumann <sven@gimp.org>
* modules/cdisplay_lcms.c: include glib.h before checking for
G_OS_WIN32. Also #define STRICT for strict type checks.
svn path=/trunk/; revision=23242
2007-08-13 Sven Neumann <sven@gimp.org>
* modules/Makefile.am (libcdisplay_lcms_la_LIBADD): link with
gdi32 on PLATFORM_WIN32.
* modules/cdisplay_lcms.c: changed include order to fix the
build
on MingW (see bug #78265).
svn path=/trunk/; revision=23229
2007-08-12 Sven Neumann <sven@gimp.org>
* modules/cdisplay_lcms.c (cdisplay_lcms_get_display_profile):
applied patch from Yoshinori Yamakawa that adds code to get the
monitor profile from Win32.
* app/dialogs/preferences-dialog.c: enabled the toggle for
"display-profile-from-gdk" on all systems.
svn path=/trunk/; revision=23222
2007-08-07 Sven Neumann <sven@gimp.org>
* app/plug-in/Makefile.am
* app/plug-in/plug-in-error.[ch]: new files defining the
GimpPlugIn error domain.
* app/plug-in/plug-in-icc-profile.c (plug_in_icc_profile_apply_rgb):
set an error code.
* app/file/file-open.c (file_open_profile_apply_rgb): only do the
profile conversion if color management is enabled. If the plug-in
is missing, show a warning and disable color management.
Fixes bug #434205.
* modules/cdisplay_lcms.c (cdisplay_lcms_get_rgb_profile): check
if we actually got a profile before checking its color space.
* libgimpwidgets/gimpwidgetstypes.h: removed leftover typedef
for GimpResolutionEntry.
svn path=/trunk/; revision=23130
2007-08-06 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpcolordisplay.[ch]: added GimpColorConfig
and
GimpColorManaged as construct-only properties.
Deprecated gimp_color_display_new().
* libgimpwidgets/gimpwidgets.def: updated for new symbols.
* app/widgets/gimpcolordisplayeditor.c: use g_object_new()
instead
of gimp_color_display_new().
* modules/cdisplay_lcms.c: use the image's embedded color
profile
for the display filter. Assume sRGB if no monitor profile is
configured.
* app/display/gimpdisplayshell.c:
* app/display/gimpdisplayshell-filter.[ch]: pass the display as
color-managed object to the display filter.
svn path=/trunk/; revision=23127
2007-05-05 Simon Budig <simon@gimp.org>
* tools/pdbgen/pdb/edit.pdb: make gimp-edit-paste-as-new not fail
at an empty clipboard, but return -1 as image id.
* app/pdb/edit_cmds.c
* libgimp/gimpedit_pdb.c: regenerated.
* plug-ins/script-fu/scripts/paste-as-brush.scm
* plug-ins/script-fu/scripts/paste-as-pattern.scm: Changed
accordingly, fixes bug #357059.
* modules/controller_linux_input.c: changed some axis names to
make more sense.
svn path=/trunk/; revision=22429
2007-02-21 Tor Lillqvist <tml@novell.com>
* modules/Makefile.am: It's pointless to build
libcontroller_midi.la on Windows, even if it happens to compile
and build. There are no MIDI "device files" on Windows. A totally
specific MIDI API would have to be used.
svn path=/trunk/; revision=21968
2007-02-20 Tor Lillqvist <tml@novell.com>
* modules/controller_dx_dinput.c: New file. Low level
GimpController support for DirectInput controllers on Win32.
* modules/gimpinputdevicestore.c: Add implementation for
DirectInput devices.
* modules/Makefile.am: Add libcontroller_dx_dinput.la with above
source files.
svn path=/trunk/; revision=21962
2007-02-19 Manish Singh <yosh@gimp.org>
* modules/gimpinputdevicestore.c: gimp_input_device_store_type
should be set to G_TYPE_NONE in the !HAVE_LIBHAL case.
* modules/controller_linux_input.c: we can't use
GIMP_TYPE_INPUT_DEVICE_STORE in the !HAVE_LIBHAL case.
svn path=/trunk/; revision=21954
2007-02-19 Michael Natterer <mitch@gimp.org>
* modules/gimpinputdevicestore.c: define gimp_input_device_store_type
also for the !HAVE_LIBHAL case.
svn path=/trunk/; revision=21953
2007-02-13 Raphael Quinet <raphael@gimp.org>
* modules/gimpinputdevicestore.c (gimp_input_device_store_new):
fix function prototype for when libhal is not available.
svn path=/trunk/; revision=21914
2007-02-13 Michael Natterer <mitch@gimp.org>
* modules/gimpinputdevicestore.[ch]: made dynamically loadable
using GTypeModule.
* modules/controller_linux_input.c (gimp_module_register):
register the new dynamic type.
svn path=/trunk/; revision=21909