chore(deps): update rust crate gdkx11 to 0.19 - #1840
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.18→0.19Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
gtk-rs/gtk3-rs (gdkx11)
v0.19.0Features
gtk::CellEditablegtk::CellLayoutgtk::Editablegtk::Gridgtk::ListStoregtk::Orientablegtk::Scrollablegtk::TreeDragDestgtk::TreeDragSourcegtk::TreeModelFiltergtk::TreeModelSortgtk::TreeStoregtk::MessageDialog::with_markup(), a constructor whose message isinterpreted as Pango markup
gtk::Clipboard::connect_owner_change()gtk::EntryExt::connect_toggle_direction()andgtk::EntryExt::emit_toggle_direction()atk::AtkObjectExt::accessible_help_text(),set_accessible_help_text(),connect_accessible_help_text_notify(), andconnect_accessible_id_notify()accessible_id()andaccessible_help_text()on the builders forgtk::HeaderBarAccessible,gtk::PlugAccessible, andgtk::SocketAccessiblegtk::EventControllerKey,gtk::EventControllerMotion,gtk::EventControllerScroll,gtk::FileChooserWidgetAccessible,gtk::GestureStylus,gtk::Settings, andgtk::ShortcutLabel.atk'sv2_52addsatk::AtkObjectExt::help_text(),set_help_text(),connect_attribute_changed(), andatk::DocumentExt::connect_document_attribute_changed().gtk'sgio_v2_80adds aversion()method togtk::Application's builder.gtk'sv3_22enablesgtk::FileChooserExtManual::add_choice(),which was previously unreachable because no crate defined the
feature.
atk::Rolehas a newSwitchvariant.*ExtManualand subclass*ImplExttraits are nolonger sealed with a private
sealed::Sealedsupertrait, matchingthe generated
*Exttraits. They still cannot be implementeddownstream, as the blanket impls already prevent it.
*ImplExttraits are now declared as
FooImplExt: FooImpl, so theirparent_*()methods are reached through the blanket impl rather thanas supertrait methods. Code that uses
gtk::subclass::prelude::*isunaffected, but code that imports subclassing traits individually
must also import
FooImplExtto callparent_*().gtk::Container:ContainerImplcan now declare and implementchild properties:
child_properties()child_property()set_child_property()gtk::TreeView: this used to be subclassable, but no vfuncs wereoverridable; now all are.
gtk::Widget:WidgetImplgained overrides for manypreviously-missing vfuncs:
can_activate_accel()event()focus()focus_in_event()focus_out_event()grab_broken_event()grab_focus()grab_notify()hide()hierarchy_changed()key_press_event()key_release_event()keynav_failed()map_event()mnemonic_activate()move_focus()parent_set()popup_menu()preferred_height_and_baseline_for_width()property_notify_event()proximity_in_event()proximity_out_event()query_tooltip()queue_draw_region()screen_changed()selection_clear_event()selection_get()selection_notify_event()selection_received()selection_request_event()show()show_all()show_help()state_flags_changed()style_updated()touch_event()unmap_event()visibility_notify_event()WidgetClassSubclassExt::set_accessible_type()andWidgetClassSubclassExt::set_accessible_role()allow a subclassto declare the accessibility type and role it presents.
WidgetClassSubclassExt::enable_baseline_support()opts asubclass into baseline support. Subclasses must call this in
order for
WidgetImpl::preferred_height_and_baseline_for_width()to be used instead of the non-baseline vfuncs.
Breaking Changes
gtk-rs-corecrates. Applicationsusing
gtk3-rs0.18 or below must update any references to thosecrates.
atk::Role::PushButtonis nowatk::Role::Button, following therename in ATK itself. The value is unchanged, and
atk-sysstillexports
ATK_ROLE_PUSH_BUTTONalongsideATK_ROLE_BUTTON.LastDefinedvariants have been removed fromatk::RelationType,atk::Role,atk::TextAttribute, andatk::ValueType, along withthe corresponding
ATK_*_LAST_DEFINEDconstants inatk-sys. Theseare sentinels marking the end of the value range, and aren't useful in
Rust code.
gtk::Stackmust now implementgtk::subclass::prelude::StackImpl. ItsIsSubclassableimpl wasbounded on
ContainerImpl, so implementingStackImplwas documentedbut not actually enforced.
Impltrait now requires the implementing type toname the matching class in its
glib::wrapper!@extendslist. Forexample,
ContainerImplis now declared as `ContainerImpl: WidgetImpl. A subclass whose@extends`list skips an ancestor still compiled before, but no longer does;
add the missing types to it.
gtk::Application's builder no longer has anaction_group()method.GIO now marks the
action-groupproperty deprecated since 2.32, whichis below the GIO version
gtk3-rsrequires, sogirno longergenerates it. Use the
gio::prelude::ActionMapExtmethods on thebuilt
gtk::Applicationinstead.gtk::RecentInfo::added(),gtk::RecentInfo::modified(), andgtk::RecentInfo::visited()now returnlibc::time_tinstead oflibc::c_long, as does the last element of the tuple returned bygtk::RecentInfo::application_info(). The two are the same type on64-bit Linux and on macOS, but differ on Windows and on 32-bit targets
with a 64-bit
time_t, where the previous signature was wrong.gtk::Widget::can_activate_accel()now takes aSignalIdfor thesignal_idargument instead ofu32.gtk::Widget::connect_can_activate_accel()nowtakes a
SignalIdfor thesignal_idargument instead of au32.can_activate_accel()andconnect_can_activate_accel()have movedfrom
gtk::prelude::WidgetExttogtk::prelude::WidgetExtManual.Code using
gtk::prelude::*is unaffected, but code that importsWidgetExtby name, or that calls either method through it, must beupdated.
gtk::WindowExt::type_()has been removed, because it awkwardlyconflicts with
glib::ObjectExt::type_(). Usegtk::WindowExt::window_type()instead.MessageDialogExthas been renamed toMessageDialogExtManual, and its methods now match the C functionsthey call:
set_secondary_markup()is nowformat_secondary_markup(), andset_secondary_text()is nowformat_secondary_text(). It previously shared its name with thegenerated
MessageDialogExtwhile being re-exported asgtk::MessageDialogExtinstead of through the prelude, so importingit silently replaced the generated trait. Both are now in the
prelude. Note that
format_secondary_text()also clearssecondary-use-markup, which the generatedset_secondary_text()property setter does not.
atk-sys,gdk-sys,and
gdkx11-sysare no longer pointers. For example,GdkFrameClockClassis now_GdkFrameClockClassrather than*mut _GdkFrameClockClass.gdkx11-sys: the optionalcairofeature is gone.cairo-sysisnow an unconditional dependency, and
v3_24_2no longer enables it.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.