Gimp/libgimpwidgets
Ell a9e357d72d libgimpwidgets: fix percentage use in size-entry arithmetic when lower-bound != 0
In GimpSizeEntry, the value corresponding to 0%, as per
gimp_size_entry_set_size(), may be non-zero.  This works correctly
when using the size entry in percentage mode, but not when using
precentage as part of arithmetic.

Fix this by adding an 'offset' parameter to eevl's unit-resolution
callback, which can be specifies a constant value to add as part
of unit conversion, after scaling the converted value by the
conversion factor.  In GimpSizeEntry, use this parameter to offset
percentages by their lower bound.
2020-01-06 21:35:52 +02:00
..
.gitignore libgimp*: add GI's .dirstamp to .gitigore 2019-08-03 19:50:17 +02:00
gimpbrowser.c libgimpwidgets: add GDestroyNotify to gimp_int_combo_box_connect() 2019-08-08 00:22:15 +02:00
gimpbrowser.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpbusybox.c libgimbase: merge gimpparam.h into gimpparamspecs.h 2019-07-31 10:16:21 +02:00
gimpbusybox.h libgimp*: lots of doc fixes and new docs for structs and enums 2019-07-24 01:18:30 +02:00
gimpbutton.c libgimp*: fix some parameter inconsistencies to silence GI warnings 2019-08-07 22:05:12 +02:00
gimpbutton.h libgimp*: fix some parameter inconsistencies to silence GI warnings 2019-08-07 22:05:12 +02:00
gimpcairo-utils.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpcairo-utils.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcellrenderercolor.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpcellrenderercolor.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcellrenderertoggle.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpcellrenderertoggle.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpchainbutton.c Issue #3876 - The tool options of some transform tools are vertically centered ... 2019-09-09 16:53:52 +03:00
gimpchainbutton.h libgimpwidgets: fix some glitches noticed when updating docs 2019-07-23 19:33:48 +02:00
gimpcolorarea.c libgimpwidgets: add GDestroyNotify to gimp_widget_track_monitor() 2019-08-07 23:44:18 +02:00
gimpcolorarea.h app, libgimpwidgets: new gimp_color_area_set_out_of_gamut(). 2019-03-06 16:30:35 +01:00
gimpcolorbutton.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpcolorbutton.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcolordisplay.c app, libgimpwidgets: use the new parasite (de)serialization API 2019-09-21 12:26:29 +02:00
gimpcolordisplay.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcolordisplaystack.c libgimpwidgets: some docs fixes 2019-08-18 14:07:17 +02:00
gimpcolordisplaystack.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcolorhexentry.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpcolorhexentry.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcolornotebook.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpcolornotebook.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcolorprofilechooserdialog.c libgimpwidgets: add more docs 2019-07-24 19:11:58 +02:00
gimpcolorprofilechooserdialog.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcolorprofilecombobox.c libgimpconfig: get rid of filenames in all config related APIs 2019-09-21 12:55:12 +02:00
gimpcolorprofilecombobox.h libgimpconfig: get rid of filenames in all config related APIs 2019-09-21 12:55:12 +02:00
gimpcolorprofilestore-private.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcolorprofilestore.c libgimpconfig: get rid of filenames in all config related APIs 2019-09-21 12:55:12 +02:00
gimpcolorprofilestore.h libgimpconfig: get rid of filenames in all config related APIs 2019-09-21 12:55:12 +02:00
gimpcolorprofileview.c libgimpwidgets: add more docs 2019-07-24 19:11:58 +02:00
gimpcolorprofileview.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcolorscale.c libgimpwidgets: add GDestroyNotify to gimp_widget_track_monitor() 2019-08-07 23:44:18 +02:00
gimpcolorscale.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcolorscales.c libgimpbase: add lots of const to GimpEnumDesc and GimpFlagsDesc APIs 2019-08-09 13:29:34 +02:00
gimpcolorscales.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcolorselect.c libgimpbase: add lots of const to GimpEnumDesc and GimpFlagsDesc APIs 2019-08-09 13:29:34 +02:00
gimpcolorselect.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcolorselection.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpcolorselection.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcolorselector.c libgimpwidgets: some docs fixes 2019-08-18 14:07:17 +02:00
gimpcolorselector.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpcontroller.c libgimbase: merge gimpparam.h into gimpparamspecs.h 2019-07-31 10:16:21 +02:00
gimpcontroller.h libgimp*: lots of doc fixes and new docs for structs and enums 2019-07-24 01:18:30 +02:00
gimpdialog.c libgimpwidgets: fix a warning. 2019-08-17 10:53:45 +02:00
gimpdialog.h libgimpwidgets: make a proper function out of the macro... 2019-07-30 14:05:08 +02:00
gimpeevl.c libgimpwidgets: fix percentage use in size-entry arithmetic when lower-bound != 0 2020-01-06 21:35:52 +02:00
gimpeevl.h libgimpwidgets: fix percentage use in size-entry arithmetic when lower-bound != 0 2020-01-06 21:35:52 +02:00
gimpenumcombobox.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpenumcombobox.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpenumlabel.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpenumlabel.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpenumstore.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpenumstore.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpenumwidgets.c libgimpwidgets: add GDestroyNotify to all enum widgets callback_data 2019-08-08 00:01:10 +02:00
gimpenumwidgets.h libgimpwidgets: add GDestroyNotify to all enum widgets callback_data 2019-08-08 00:01:10 +02:00
gimpfileentry.c Make sure to use % for constants 2019-08-03 07:53:47 +00:00
gimpfileentry.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpframe.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpframe.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimphelpui.c libgimpwidgets: add a GDestroyNotify for gimp_help_connect()'s user_data 2019-08-09 13:11:30 +02:00
gimphelpui.h libgimpwidgets: add a GDestroyNotify for gimp_help_connect()'s user_data 2019-08-09 13:11:30 +02:00
gimphintbox.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimphintbox.h libgimpwidgets: declare GimpHintBox with public instance and class 2019-07-24 15:11:51 +02:00
gimpicons.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpicons.h Issue #40 - Layer offset tool 2019-06-05 19:06:56 -04:00
gimpintcombobox.c libgimpwidgets: change gimp_int_store_new()'s signature 2019-09-24 00:20:47 +02:00
gimpintcombobox.h libgimpwidgets: add GDestroyNotify to gimp_int_combo_box_connect() 2019-08-08 00:22:15 +02:00
gimpintstore.c libgimpwidgets: reorder enum GimpIntStoreColumns 2019-11-19 21:06:05 +01:00
gimpintstore.h libgimpwidgets: reorder enum GimpIntStoreColumns 2019-11-19 21:06:05 +01:00
gimpmemsizeentry.c libgimpwidgets: add a bunch of (transfer) values. 2019-07-31 23:48:32 +02:00
gimpmemsizeentry.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpnumberpairentry.c Add (nullable) if applicable 2019-08-03 07:53:47 +00:00
gimpnumberpairentry.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpoffsetarea.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpoffsetarea.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppageselector.c libgimpwidgets: check error return for gtk_icon_theme_load_icon(). 2019-10-12 12:25:55 +02:00
gimppageselector.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppatheditor.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppatheditor.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppickbutton-default.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppickbutton-default.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppickbutton-kwin.c Issue 1878: Eyedrop tool doesn't work when screen composing (KWin)... 2019-05-07 18:49:35 +09:00
gimppickbutton-kwin.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppickbutton-private.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppickbutton-quartz.c Fix compilation on Mac 10.6 and 10.7 (#2112) 2018-10-24 10:45:07 +02:00
gimppickbutton-quartz.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppickbutton.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:39:56 -04:00
gimppickbutton.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppreview.c libgimpwidgets: more docs and annotations 2019-08-09 12:59:41 +02:00
gimppreview.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppreviewarea.c libgimpwidgets: add GDestroyNotify to gimp_widget_track_monitor() 2019-08-07 23:44:18 +02:00
gimppreviewarea.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimppropwidgets.c libgimpbase: rename and reorder the values of enum GimpSelectCriterion 2019-11-19 22:25:57 +01:00
gimppropwidgets.h libgimpwidgets: add gimp_prop_int_radio_frame,box_new() 2019-10-03 15:59:09 +02:00
gimpquerybox.c libgimpwidgets: add GDestroyNotify for gimp_query_foo_box() user_data 2019-08-07 22:48:06 +02:00
gimpquerybox.h libgimpwidgets: add GDestroyNotify for gimp_query_foo_box() user_data 2019-08-07 22:48:06 +02:00
gimpruler.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpruler.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpscaleentry.c libgimpwidgets: fix some typos. 2019-08-09 23:40:07 +02:00
gimpscaleentry.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpscrolledpreview.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:39:56 -04:00
gimpscrolledpreview.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpsizeentry.c libgimpwidgets: fix percentage use in size-entry arithmetic when lower-bound != 0 2020-01-06 21:35:52 +02:00
gimpsizeentry.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpspinbutton.c Issue #2557 - Gimp Can't Rotate By More Than 180 Degree 2019-03-09 07:28:56 -05:00
gimpspinbutton.h libgimpwidgets: add GimpSpinButton 2018-11-10 06:48:56 -05:00
gimpstringcombobox.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpstringcombobox.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpunitcombobox.c libgimpwidgets: more docs and annotations for GimpUnitComboBox 2019-08-08 00:40:03 +02:00
gimpunitcombobox.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpunitstore.c libgimp*: use more g_clear_pointer() 2019-07-25 12:37:52 +02:00
gimpunitstore.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpwidgets-error.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpwidgets-error.h Add other misc. typo fixes 2019-08-13 11:50:51 -04:00
gimpwidgets-private.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpwidgets-private.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimpwidgets.c libgimpwidgets: remove the gimp_radio_group_*() functions 2019-09-25 23:37:03 +02:00
gimpwidgets.def libgimpwidgets: add gimp_prop_int_radio_frame,box_new() 2019-10-03 15:59:09 +02:00
gimpwidgets.h libgimpwidgets: remove the gimp_radio_group_*() functions 2019-09-25 23:37:03 +02:00
gimpwidgetsenums.c libgimpwidgets: keep gimpwidgetsenums.h in alphabetical order 2019-06-01 16:41:59 +02:00
gimpwidgetsenums.h libgimpwidgets: keep gimpwidgetsenums.h in alphabetical order 2019-06-01 16:41:59 +02:00
gimpwidgetsmarshal.list Bug 783680 - Allow to hide color models in GimpColorScales 2018-03-19 23:11:27 +01:00
gimpwidgetstypes.h libgimpwidgets: declare GimpHintBox with public instance and class 2019-07-24 15:11:51 +02:00
gimpwidgetsutils.c libgimpwidgets: some docs fixes 2019-08-18 14:07:17 +02:00
gimpwidgetsutils.h libgimpwidgets: add GDestroyNotify to gimp_widget_track_monitor() 2019-08-07 23:44:18 +02:00
gimpzoommodel.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
gimpzoommodel.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
Makefile.am libgimpwidgets: introspect libgimpwidgets. 2019-07-30 12:53:15 +02:00
Makefile.gi libgimp*: move GObject Introspection into libgimp/. 2019-08-08 15:59:44 +02:00
meson.build libgimpwidgets: (meson) a whole list of headers were not introspected. 2019-10-19 22:45:59 +02:00
test-eevl.c libgimpwidgets: fix percentage use in size-entry arithmetic when lower-bound != 0 2020-01-06 21:35:52 +02:00
test-preview-area.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00