Gimp/app
Michael Natterer a27f7c7724 Issue #1788 - Inconsistency between FG color and selected color in...
...palette views despite selected color being in the currently
selected pallette

As suggested by Massimo, changing the color comparison EPSILON in
gimppalette.c from 1e-10 to 1e-6 fixes this, and is really small
enough.

Also, generally clean up color comparison epsilons:

- use a #define, not hardcoded values for all uses of
  gimp_rgb[a]_distance()
- call the #defines RGB_EPSILON and RGBA_EPSILON
- make them all 1e-6 or larger

(cherry picked from commit abd7cbfc8d)
2019-01-02 01:53:02 +01:00
..
actions Issue #1788 - Inconsistency between FG color and selected color in... 2019-01-02 01:53:02 +01:00
config Issue #1299 - Add selection of default export file type 2018-12-10 12:17:00 +01:00
core Issue #1788 - Inconsistency between FG color and selected color in... 2019-01-02 01:53:02 +01:00
dialogs app: remove "Edit -> Fade..." 2018-12-27 11:45:11 -05:00
display app: fix type warning. 2018-12-19 16:24:50 +01:00
file Issue #2379 - Crash on saving 2018-10-31 23:52:13 +01:00
gegl app: more optimizations to gimp_gegl_mask_bounds() 2019-01-01 06:53:35 -05:00
gui app: make sure we reset tool modifier state before saving options. 2018-12-19 15:48:26 +01:00
menus Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
operations app: remove "Edit -> Fade..." 2018-12-27 11:45:11 -05:00
paint app: in GimpApplicator, allow enabling cache/preview after construction; remove preview cache 2018-12-29 14:28:50 -05:00
pdb app, pdb: more gimp-2-10 only tweak for the smart-colorization. 2018-12-19 16:25:04 +01:00
plug-in libgimpbase, libgimp, app: pass misc. GEGL config to plug-ins 2018-11-19 17:09:59 -05:00
propgui app: in prop-GUI, use "direction" UI-meta of angle props for dial 2018-07-24 02:27:01 -04:00
tests app: fix gimp-scratch linking in tests/ 2018-12-01 07:22:07 -05:00
text app: use gimp_async_add_callback_for_object() in various places 2018-11-30 04:15:45 -05:00
tools app: in warp tool, crop filter to stroke bounds 2018-12-30 05:13:30 -05:00
vectors app, libgimpconfig: make various usage of g_file_replace() safer. 2018-12-07 00:51:05 +01:00
widgets Issue #1788 - Inconsistency between FG color and selected color in... 2019-01-02 01:53:02 +01:00
xcf app: do no overwite XCF when an error occurred at saving time. 2018-12-07 00:27:12 +01:00
.gitignore
about.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
app.c app: more GimpBacktrace tidying 2018-09-03 15:58:01 -04:00
app.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
errors.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
errors.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-debug.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-debug.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-intl.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-log.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-log.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-priorities.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-version.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimp-version.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpcore.def app: remove "Edit -> Fade..." 2018-12-27 11:45:11 -05:00
language.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
language.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
main.c app: open the Windows console a bit earlier. 2018-08-15 14:24:15 +02:00
Makefile.am app: fix gimp-scratch linking 2018-12-01 06:23:40 -05:00
sanity.c configure.ac: require babl >= 0.1.61 2019-01-01 19:24:42 +01:00
sanity.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
signals.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
signals.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
tests.c tests: OSX - activate GIMP window when tests are running 2018-11-23 23:15:25 +01:00
tests.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
unique.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
unique.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00