NEWS: update.

In particular, make the "API" section a bit less messy by organising in
sublists of changes.
This commit is contained in:
Jehan 2022-02-19 03:03:01 +01:00
parent 657911ce48
commit 201eb46441
1 changed files with 44 additions and 24 deletions

68
NEWS
View File

@ -49,7 +49,8 @@ Core:
* Use GtkGestureDrag in ColorWheel module and ScrolledPreview widget * Use GtkGestureDrag in ColorWheel module and ScrolledPreview widget
to avoid unwanted popups and make us future-proof for GTK4. to avoid unwanted popups and make us future-proof for GTK4.
- macOS: various improvements for macOS support of the development - macOS: various improvements for macOS support of the development
version. version. In particular the slowness issues have been solved and
various bugs have been fixed.
- The debug dialog only gets a backtrace of the main thread now, - The debug dialog only gets a backtrace of the main thread now,
because of some bugs in GDB locking GIMP when trying to get a full because of some bugs in GDB locking GIMP when trying to get a full
backtrace for all threads. backtrace for all threads.
@ -203,32 +204,51 @@ Build:
API: API:
- New gimp_item_get_lock_visibility() and
gimp_item_set_lock_visibility() to get and set the visibility lock
of an item.
- New gimp_event_triggers_context_menu() as alternative to
gdk_event_triggers_context_menu() with the additional ability of
using button release events a contextual menu triggering (instead of
press events), which might be prefered in some cases. Other than
this, it uses exactly the same conditions as its GDK counterpart.
- Removed: gimp_item_set_linked() and gimp_item_get_linked().
- Vala bindings gimp-3.vapi and gimp-ui-3.vapi were renamed to - Vala bindings gimp-3.vapi and gimp-ui-3.vapi were renamed to
gimp-3.0.vapi and gimp-ui-3.0.vapi respectively in the autotools gimp-3.0.vapi and gimp-ui-3.0.vapi respectively in the autotools
build (now consistent with meson). build (now consistent with meson).
- New functions gimp_context_are_dynamics_enabled() and - Changes in libgimp:
gimp_context_enable_dynamics(). * GimpStringArray type was removed in favor of GStrv. Various libgimp
- New gimp_pdb_run_procedure_config() function. API were updated to use GStrv, and relevant plug-in procedures with
- GimpStringArray type was removed in favor of GStrv. Various libgimp GStrv arguments or return values were updated as well.
API were updated to use GStrv, and relevant plug-in procedure with * New functions:
GStrv arguments or return values were updated as well. + gimp_context_are_dynamics_enabled()
- New widget GimpSpinScale which is the scale widget used by core + gimp_context_enable_dynamics().
code, such as the "Opacity" slider on the Layers dockable, moved to + gimp_item_get_lock_visibility()
libgimpwidgets to be usable by plug-ins. + gimp_item_set_lock_visibility()
- New widgets: GimpLabelColor and GimpLabelEntry which are now used by + gimp_pdb_run_procedure_config()
default for GimpRGB and string properties by GimpProcedureDialog. * Removed functions:
They also come with their property widget API: + gimp_item_get_linked()
gimp_prop_label_entry_new() and gimp_prop_label_color_new(). + gimp_item_set_linked()
- New gimp_color_area_enable_drag() API. - Changes in libgimpui:
* New widgets:
+ GimpLabelColor (now used by default for GimpRGB properties in
GimpProcedureDialog)
+ GimpLabelEntry (now used by default for string properties in
GimpProcedureDialog)
+ GimpSpinScale (formerly a core-only widget, e.g. used by the
"Opacity" slider on the Layers dockable, moved to libgimpui to be
usable by plug-ins)
* New functions:
+ gimp_color_area_enable_drag()
+ gimp_event_triggers_context_menu(): alternative to
gdk_event_triggers_context_menu() with the additional ability of
using button release events as contextual menu triggering
(instead of press events), which might be prefered in some
cases. Other than this, it uses exactly the same conditions as
its GDK counterpart.
+ gimp_procedure_dialog_get_spin_scale()
+ gimp_prop_label_color_new().
+ gimp_prop_label_entry_new()
+ gimp_prop_spin_scale_new()
+ gimp_prop_widget_set_factor()
* Improved functions:
+ gimp_procedure_dialog_get_widget() can now generate widgets of
type GimpSpinScale (for int/double properties) and GimpLabelColor
or GimpColorButton (for GimpRGB properties).
+ gimp_procedure_dialog_get_color_widget() now only return
GimpLabelColor widgets (editable or not).
Documentation: Documentation: