Gimp/libgimpwidgets
Jehan ad8b417871 libgimpwidgets: better algorithm for GimpScaleEntry default increments.
For very small ranges, just dividing by 10 and 100 is not very good. You
could end up with weird step values. It is often better to use 10^(-x)
values just below your range.
I.e for a 0.5 range, a step of 0.1 and page of 0.01 are probably fine
(better than 0.05 and 0.005).

Of course as usual these are default values only and setting custom
increments is possible through available API.

Also fixing a small bug in gimp_scale_entry_set_increments() added in
commit 0f05825a29.
2020-10-30 17:41:24 +01:00
..
.gitignore libgimp*: add GI's .dirstamp to .gitigore 2019-08-03 19:50:17 +02:00
gimpbrowser.c gir: (skip) functions with varargs 2020-05-21 13:49:38 +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 Cleanup GObject signal marshallers 2020-04-01 21:20:01 +00: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 Cleanup GObject signal marshallers 2020-04-01 21:20:01 +00:00
gimpchainbutton.h libgimpwidgets: fix some glitches noticed when updating docs 2019-07-23 19:33:48 +02:00
gimpcolorarea.c Cleanup GObject signal marshallers 2020-04-01 21:20:01 +00:00
gimpcolorarea.h app, libgimpwidgets: new gimp_color_area_set_out_of_gamut(). 2019-03-06 16:30:35 +01:00
gimpcolorbutton.c Cleanup GObject signal marshallers 2020-04-01 21:20:01 +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 Cleanup GObject signal marshallers 2020-04-01 21:20:01 +00: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 Cleanup GObject signal marshallers 2020-04-01 21:20:01 +00: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 Cleanup GObject signal marshallers 2020-04-01 21:20:01 +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 colorselector: Rename signal emitters 2020-05-03 23:23:44 +02: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 colorselector: Rename signal emitters 2020-05-03 23:23:44 +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 colorselector: Rename signal emitters 2020-05-03 23:23:44 +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 Cleanup GObject signal marshallers 2020-04-01 21:20:01 +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 Use GIMP_TYPE_RGB instead of G_TYPE_POINTER 2020-05-06 10:36:33 +00:00
gimpcolorselector.h colorselector: Rename signal emitters 2020-05-03 23:23:44 +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 gir: Mark gimp_dialog_new() parent nullable 2020-05-05 19:14:58 +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 gir: (skip) functions with varargs 2020-05-21 13:49:38 +02: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 gimpenumwidgets: Apply (transfer none) annotation 2020-05-18 13:00:58 +02:00
gimpenumwidgets.h libgimpwidgets: add GDestroyNotify to all enum widgets callback_data 2019-08-08 00:01:10 +02:00
gimpfileentry.c libgimpwidgets: store GimpFileEntry private data in appropriate struct. 2020-10-30 11:02:20 +01:00
gimpfileentry.h libgimpwidgets: store GimpFileEntry private data in appropriate struct. 2020-10-30 11:02:20 +01: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 GimpHelpFunc: don't annotate (closure) 2020-05-09 00:16:15 +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 app, icons: add 3D Transform tool 2020-01-06 21:52:54 +02:00
gimpintcombobox.c libgimpwidgets: GtkComboBox "active" property must trigger… 2020-09-29 17:02:21 +02:00
gimpintcombobox.h gir: Add (closure) tags 2020-05-04 21:31:30 +02:00
gimpintstore.c gir: (skip) functions with varargs 2020-05-21 13:49:38 +02:00
gimpintstore.h libgimpwidgets: reorder enum GimpIntStoreColumns 2019-11-19 21:06:05 +01:00
gimpmemsizeentry.c libgimpwidgets: improve/fix more of GimpMemSizeEntry. 2020-08-05 14:35:34 +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 gir: Fix some missing (out) annotations 2020-05-18 13:26:23 +02: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 gir: Mark more (out) annotations 2020-05-08 17:11:14 +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 libgimpwidgets: store GimpFileEntry private data in appropriate struct. 2020-10-30 11:02:20 +01: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 Use GIMP_TYPE_RGB instead of G_TYPE_POINTER 2020-05-06 10:36:33 +00: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 gir: Mark more (out) annotations 2020-05-08 17:11:14 +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 gir: Add more missing (array) and (out) annotations 2020-05-04 21:29:42 +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 app, libgimpwidgets, plug-ins: default increments for GimpScaleEntry. 2020-10-30 12:33:46 +01:00
gimppropwidgets.h app, libgimpwidgets, plug-ins: default increments for GimpScaleEntry. 2020-10-30 12:33:46 +01:00
gimpquerybox.c libgimpwidgets: add GDestroyNotify for gimp_query_foo_box() user_data 2019-08-07 22:48:06 +02:00
gimpquerybox.h Fix some gtk-doc comments and GIR annotations 2020-05-08 15:26:42 +02:00
gimpruler.c gir: Add more (out) annotations 2020-05-03 17:57:23 +02: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: better algorithm for GimpScaleEntry default increments. 2020-10-30 17:41:24 +01:00
gimpscaleentry.h app, libgimpwidgets, plug-ins: default increments for GimpScaleEntry. 2020-10-30 12:33:46 +01:00
gimpscrolledpreview.c gir: Fix some missing (out) annotations 2020-05-18 13:26:23 +02: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 Cleanup GObject signal marshallers 2020-04-01 21:20:01 +00: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 libgimpwidgets: handle Enter/Esc keys in GimpSpinButton 2020-07-14 13:00:55 +03: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 libgimpwidgets: UnitStore: Fix conflicting names 2020-05-10 12:06:33 +00:00
gimpunitstore.h libgimpwidgets: UnitStore: Fix conflicting names 2020-05-10 12:06:33 +00: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 gir: (skip) functions with varargs 2020-05-21 13:49:38 +02:00
gimpwidgets.def libgimpwidgets: fix def files. 2020-10-30 13:04:30 +01:00
gimpwidgets.h gimpwidget: Correct gtk-doc docs wrt GtkHBox 2020-05-08 14:17:18 +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 Use GIMP_TYPE_RGB instead of G_TYPE_POINTER 2020-05-06 10:36:33 +00:00
gimpwidgetstypes.h libgimpwidgets: make GimpScaleEntry into its own widget. 2020-10-30 11:02:20 +01:00
gimpwidgetsutils.c gir: (skip) functions with varargs 2020-05-21 13:49:38 +02:00
gimpwidgetsutils.h libgimpwidgets: add GDestroyNotify to gimp_widget_track_monitor() 2019-08-07 23:44:18 +02:00
gimpzoommodel.c gir: Add more (out) annotations 2020-05-03 17:57:23 +02: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 Issue #5809: missing dependency on libm for libgimpwidgets/test-eevl 2020-10-24 18:24:14 +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