Gimp/libgimpwidgets
Jehan d886bb1b90 libgimpwidgets: improve/fix more of GimpMemSizeEntry.
Looking further at this widget, many things are not right. Here are the
changes:
- Use binary prefixes (i.e. kibibyte, mebibyte and gibibyte) instead of
  decimal ones. We are making binary shifts so we were actually showing
  the wrong units.
- Round the value to the closest integer when showing it, not towards 0.
  Otherwise I had cases where it was showing 7GiB for an actual value of
  7.69GiB (default as computed by GIMP from my actual physical memory).
  Note that I am actually unsure even rounding makes sense. Shouldn't we
  rather show double values with a few digits after the decimal points?
  For such values, I think it would make sense.
- Do not edit the internally saved accurate value when the entry is
  edited to the same less accurate value as our saved value would be
  shown too. In particular when changing the display unit to a bigger
  one, we don't want to lose accuracy. This is especially true for low
  values. Say you don't have a lot of memory and you set the Tile cache
  size to 1.5GiB (1536MiB), you certainly don't want it to become either
  1 or 2GiB when switching display unit to GiB. Now even if the number
  will still display with less accuracy, the internal value will stay
  accurate.
2020-08-05 14:35:34 +02: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 Cleanup GObject signal marshallers 2020-04-01 21:20:01 +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 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 gir: (skip) functions with varargs 2020-05-21 13:49:38 +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 Cleanup GObject signal marshallers 2020-04-01 21:20:01 +00: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 gimppropwidgets: Add (nullable) annotation for label 2020-05-08 16:28:48 +02: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 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: fix logarithmic transform in gimp_scale_entry 2020-04-20 18:45:04 +03: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 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: UnitStore: Fix conflicting names 2020-05-10 12:06:33 +00: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 GimpHelpFunc: don't annotate (closure) 2020-05-09 00:16:15 +02: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 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