commit a445cc5fffa78590aa8955b5494a71982ba30e232d7492f826146f63b39c3238 Author: Adrian Schröter Date: Wed May 17 14:54:47 2023 +0200 Sync from SUSE:ALP:Source:Standard:1.0 libadwaita revision 43513eb660ced87a1e5792afa3a8f0d0 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_service b/_service new file mode 100644 index 0000000..c5ff01a --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + + https://gitlab.gnome.org/GNOME/libadwaita.git + git + refs/tags/1.3.2 + @PARENT_TAG@+@TAG_OFFSET@ + (.*)\+0 + \1 + + + + *.tar + xz + + + diff --git a/libadwaita-1.3.2.obscpio b/libadwaita-1.3.2.obscpio new file mode 100644 index 0000000..02a94f0 --- /dev/null +++ b/libadwaita-1.3.2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eacb7f576cd1af74e93305316f6f641eb3e48140687f3e60d652333e7f45edd1 +size 5640205 diff --git a/libadwaita.changes b/libadwaita.changes new file mode 100644 index 0000000..89a643a --- /dev/null +++ b/libadwaita.changes @@ -0,0 +1,857 @@ +------------------------------------------------------------------- +Sat Apr 22 02:13:15 UTC 2023 - Bjørn Lie + +- Update to version 1.3.2: + + AdwAvatar: Fix a memory leak + + AdwMessageDialog: Fix criticals when using choose() with + hide-on-close=true + + AdwTabBar/Overview: Correctly unparent context menu + + Build: Fix build on Windows + + Demo: Fix a critical when trying to set a non-image file as + avatar + + Docs: + - Remove an erroneous mention of mnemonics in row subtitles + - Clarify AdwBanner title placement + - Mention the version .large-title is deprecated since + - Fix successs/error color values + - List thumbnail colors on the named colors page + + Stylesheet: + - Improve selected list/grid item contrast + - Fix file chooser grid dimensions + - Fix button.card checked state + + Updated translations. + +------------------------------------------------------------------- +Fri Mar 17 15:36:32 UTC 2023 - Bjørn Lie + +- Update to version 1.3.1: + + AdwAboutWindow: Add a missing Since annotation + + AdwCarousel: Fix allocation + + AdwFlap: + - Add a missing setter annotation for :fold-policy + - Correctly measure separator + - Avoid notify emissions in dispose() + + AdwTabBar: Fix clipped labels + + AdwTabOverview + - Fix clipped labels + - Add a translator comment for "%u tabs" + + Demo: Open primary menu with F10 + + Don't show marshal functions in docs +- Changes from version 1.3.0: + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 6 14:35:24 UTC 2023 - Bjørn Lie + +- Update to version 1.3.rc: + + Build: Depend on GTK 4.9.5 + + AdwApplication: Disable style loading if Granite is present + + AdwAvatar: Improve filtering for custom images + + AdwCarousel: Doc updates + + AdwEntryRow: Fix :disabled styles + + AdwExpanderRow: Expose expanded state for a11y + + AdwPropertyAnimationTarget: Remove critical when finalizing the + object before the target + + AdwSplitButton: + - Correctly set a11y relations + - Add a default tooltip to the dropdown + + AdwStyleManager: + - Fix regressions from 1.3.beta + - Disable built-in styles if Granite is present + + AdwTabOverview: Clarify docs + + AdwToastOverlay: Fix a use-after-free when quickly creating and + dismissing toasts + + Docs: + - Update named color descriptions + - Update .linked widget list to keep up with GTK 4.9.x + - Mention AdwHeaderBar along with GtkHeaderBar + + Stylesheet: + - Fix page switcher in GtkShortcutsWindow + - Fix GtkSearchBar spacing + + Memory leak fixes + + Various cleanups + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 6 14:35:23 UTC 2023 - Bjørn Lie + +- Update to version 1.3.beta: + + AboutWindow: + - Prevent double clicks from opening troubleshooting page + - Fix a GTK 4.9.x deprecation + + AdwActionRow: Add :subtitle-selectable + + AdwAnimation: Add :follow-enable-animations-setting + + AdwBanner: Sizing fixes + + AdwEntryRow: Make accessible + + AdwLeaflet: Fix can-unfold=false + + AdwMessageDialog: Increase spacing when heading or body are + missing + + AdwSpringAnimation: + - Add calculate_value() and calculate_velocity() + - Fix unsafe float comparisons + - Fix critical damping velocity + + AdwStyleManager: Support color schemes and high contrast on + Windows + + AdwSwipeable: Fix get_swipe_area() fallback + + AdwTabBar, AdwTabOverview: Emit ::extra-drag-value on ::enter + + AdwTabButton: + - Fix needs-attention dot after viewing AdwTabPages in + inspector + - Fix warning when building in Visual Studio + + AdwTabView: Make accessible + + AdwToastOverlay: + - Don't focus buttons on click + - Prevent toast labels from wrapping + + AdwViewStack: Make accessible + + Demo: + - Don't follow "enable animations" setting for the demo + animation + - Fix the switch on the avatar page + + Stylesheet: + - Style GtkMenuBar like header bars and similar widgets + - Add minimum width to menu popovers + - Fix GtkLevelBar fill colors + - Fix GtkFileDialog path bar padding + - Fix GtkAssistant sidebar color + - Support marked days in GtkCalendar + + Documentation fixes + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 6 14:35:22 UTC 2023 - Dominique Leuenberger + +- Update to version 1.3.alpha: + + Introduce AdwBanner. + + Introduce AdwTabButton and AdwTabOverview. + + Fix or silence GTK 4.9.x deprecations. + + Require GTK 4.9.2 and GLib 2.72.0. + + Add developer name to metainfo. + + AdwActionRow: + - Deprecate icon-name property. + - Fix spacing after removing all prefixes/suffixes. + + AdwAvatar: Correctly redraw on custom image changes. + + AdwEntryRow: + - Add adw_entry_row_grab_focus_without_selecting(). + - Respect use-markup property. + - Fix error/warning/success styles. + - Fix spacing after removing all prefixes/suffixes. + + AdwExpanderRow: + - Add title-lines and subtitle-lines properties. + - Deprecate icon-name property. + - Fix spacing after removing all prefixes/suffixes. + + AdwFlap: Fix natural width with fold-policy=never. + + AdwMessageDialog: + - Add adw_message_dialog_choose(). + - Fix focus styles in RTL. + - Refactor adaptive layout. + + AdwTabBar: + - Add preload property and extra-drag-value signal. + - Fix focus handling. + - Fix autoscroll for non-local drags. + + AdwTabView: + - Update default tab icon. + - Rewrite internals to allow overview thumbnails for inactive + pages. + + AdwPreferencesPage: Add a function to scroll to top. + + AdwPreferencesWindow: Fix a memory leak. + + AdwSplitButton: Don't make dropdown insensitive when the button + is. + + AdwSpringAnimation: Correctly mark as final. + + AdwToastOverlay: Clarify documentation. + + AdwViewSwitcherBar: Fix typos in examples. + + AdwViewSwitcherTitle: Fix typos in examples. + + Demo: + - Update icons. + - Make tabs demo adaptive using the new widgets. + - Use G_DEFINE_FINAL_TYPE where appropriate. + + Doc: + - Rename visual index to widget gallery. + - Stop marking symbols from 1.0 as such to reduce clutter. + + Stylesheet: + - Fix GtkSpinButton inside toolbars. + - Update for file chooser changes. + - Use accent color for default list/grid selection. + + Tests: Introduce manual tests in tests/manual/. + + Updated translations. + +------------------------------------------------------------------- +Sun Mar 5 13:24:20 UTC 2023 - Bjørn Lie + +- Update to version 1.2.3: + + AdwEntryRow: Fix :disabled styles. + + AdwExpanderRow: Expose expanded state for a11y. + + Memory leak fixes. + +------------------------------------------------------------------- +Sun Feb 12 12:13:17 UTC 2023 - Bjørn Lie + +- Update to version 1.2.2: + + AboutWindow: Prevent double clicks from opening troubleshooting + page. + + AdwLeaflet: Fix can-unfold=false. + + AdwSpringAnimation: Fix critical damping velocity. + + AdwSwipeable: Fix get_swipe_area() fallback. + + AdwToastOverlay: + - Don't focus buttons on click. + - Prevent toast labels from wrapping. + + Demo: Fix the switch on the avatar page. + + Stylesheet: Fix GtkLevelBar fill colors. + + Fix dependency names in docs. + + Updated translations. + +------------------------------------------------------------------- +Fri Jan 6 19:16:10 UTC 2023 - Bjørn Lie + +- Update to version 1.2.1: + + AdwActionRow: Fix spacing after removing all prefixes/suffixes + + AdwAvatar: Correctly redraw on custom image changes + + AdwEntryRow: + - Respect use-markup property + - Fix error/warning/success styles + - Fix spacing after removing all prefixes/suffixes + + AdwExpanderRow: Fix spacing after removing all + prefixes/suffixes + + AdwFlap: Fix natural width with fold-policy=never + + AdwMessageDialog: Fix focus styles in RTL + + AdwPreferencesWindow: Fix a memory leak + + AdwSplitButton: Don't make dropdown insensitive when the button + is + + AdwTabBar: + - Fix focus handling + - Fix autoscroll for non-local drags + + AdwToastOverlay: Clarify documentation + + AdwViewSwitcherBar: Fix typos in examples + + AdwViewSwitcherTitle: Fix typos in examples + + Stylesheet: Fix GtkSpinButton inside toolbars + + Updated translations. + +------------------------------------------------------------------- +Thu Sep 15 14:33:50 UTC 2022 - Bjørn Lie + +- Update to version 1.2.0: + + Docs: + - Fix @card_shade_color description. + - Fix a typo in AdwTabView docs. + - Fix AdwMessageDialog example. + + Updated translations. + +------------------------------------------------------------------- +Tue Sep 6 21:26:19 UTC 2022 - Bjørn Lie + +- Update to version 1.2.rc: + + Ensure setter documentation is consistent with their properties + + Demo: Fix a critical when toggling tab indicators + + AdwCarousel: Fix a crash when removing a child while it's + animating + + AdwMessageDialog: Use maximum width when no parent is set, + instead of minimum + + AdwSqueezer: Sizing fixes + + AdwTabBar + - Fix long press handling + - Fix a crash when clicking empty space while a tab is + animating + + AdwTabView: Fix set_menu_model() input check + + AdwWindow: Clarify docs around child/content properties + + Stylesheet + - Fix AdwSplitButton disabled state + - Fix focus transitions + - Fix GtkColorScale slider + - Fix AdwViewSwitcher needs-attention dot color + + Updated translations. + +------------------------------------------------------------------- +Tue Sep 6 11:05:17 UTC 2022 - Bjørn Lie + +- Update to version 1.2.beta: + + Fix deprecations with newer GLib + + Fix strict aliasing warnings + + Fix GLSL shader compile errors on certain systems + + AdwAboutWindow: + - Fix a random crash when closing + - Rework the flat header bar layout + - Properly mark as final class + + AdwAvatar: Fix draw_to_texture() with rectangular avatars + + AdwEntryRow: + - Add entry-activated signal + - Add attributes property + - Add activates-default property + - Don't select text when clicking the row + + AdwMessageDialog: Fix crash when destroying the parent before + the dialog + + AdwShadowHelper: Fix warnings when drawing vertical shadow + + AdwSplitButton: Add dropdown-tooltip property + + AdwSwipeTracker: + - Fix swipe speed on GTK 4.7.x + - Fix criticals with GTK 4.7.x + + AdwTabBar: + - Remove tab background when there's only one tab + - Add a tooltip for close buttons + - Fix squished or clipped text with gtk-hint-font-metrics=0 + - Fix scrolling to a tab with disabled animations + - Fix assorted tab reordering issues + + AdwTabView: + - Add shortcut management API + - Add AdwTabPage:indicator-tooltip property + - Handle shortcuts on CAPTURE phase + - Shortcut propagation and bell fixes + + AdwToast: Add button-clicked signal + + AdwViewStack: Add adw_view_stack_add_titled_with_icon() + + Demo: + - Prefer properties over in UI files + - Don't explicilty add GtkViewport to GtkScrolledWindow + - Stop using .inline-toolbar + - Fix build on Windows + + Stylesheet: + - Unify @view_fg_color with other foreground colors + - Improve contrast of @success_color and @warning_color + - Fix infobar margins and spacing + - Partially support .navigation-sidebar with GtkTreeView + - Move GtkScale focus onto its slider + - Ensure consistant GtkScale size when using marks + - Remove unnecessary transitions + + Updated translations. + +------------------------------------------------------------------- +Mon Sep 5 20:03:30 UTC 2022 - Bjørn Lie + +- Update to version 1.2.alpha: + + Introduce AdwAboutWindow. + + Introduce AdwEntryRow and AdwPasswordEntryRow. + + Introduce AdwMessageDialog. + + Introduce AdwPropertyAnimationTarget. + + AdwAnimation: Add adw_animation_set_target(). + + AdwCallbackAnimationTarget: Fix callback annotations. + + AdwActionRow: + - Set a11y relations for the activatable widget. + - Tweak spacing to match toolbars and AdwEntryRow. + + AdwAvatar: Fix initials not updating after setting + custom-image. + + AdwComboRow: Add an example to docs. + + AdwExpanderRow: Change arrow orientation to make it look less + similar to action rows that open subpages. + +------------------------------------------------------------------- +Sun Sep 4 17:54:44 UTC 2022 - Bjørn Lie + +- Update to version 1.1.5: + + AdwCarousel: Fix a crash when removing a child while it's + animating. + + AdwSqueezer: Sizing fixes. + + AdwTabBar: + - Fix long press handling. + - Fix a crash when clicking empty space while a tab is + animating. + + AdwTabView: Fix set_menu_model() input check. + +------------------------------------------------------------------- +Fri Aug 5 17:19:27 UTC 2022 - Bjørn Lie + +- Update to version 1.1.4: + + AdwAvatar: Fix draw_to_texture() with rectangular avatars. + + AdwTabBar: Fix squished or clipped text with + gtk-hint-font-metrics=0. + + AdwShadowHelper: Fix warnings when drawing vertical shadow. + + AdwSwipeTracker: + - Fix swipe speed on GTK 4.7.x. + - Fix criticals with GTK 4.7.x. + +------------------------------------------------------------------- +Sun Jul 10 15:28:15 UTC 2022 - Bjørn Lie + +- Update to version 1.1.3: + + AdwLeaflet: Fix a broken link in docs. + + AdwPreferencesGroup: Fix accessibility labels. + + AdwToast: Fix the example in docs. + + Stylesheet: Add missing borders in high contrast version. + +------------------------------------------------------------------- +Wed Jun 1 11:57:44 UTC 2022 - Dominique Leuenberger + +- Update to version 1.1.2: + + AdwLeaflet: Fix child sizing with + fold-threshold-policy=natural. + + AdwStyleManager: Correctly handle removing a GdkDisplay. + + AdwSwipeTracker: + - Fix a memory leak. + - Fix high contrast setting name when using a portal. + + AdwTabBar: Fix middle click when inside GtkWindowHandle. + + Stylesheet: + - Fix action row title and subtitle inside GtkHeaderBar. + - Fix progressbar.osd overriding text color. + - Ensure active states consistently work with touchscreens. + - Fix GtkDropDown visual glitch when pressed on touchscreen. + + Updated translations. + +------------------------------------------------------------------- +Mon Apr 25 08:49:59 UTC 2022 - Dominique Leuenberger + +- Update to version 1.1.1: + + AdwAvatar: Fix initials not updating after setting. + custom-image. + + AdwSplitButton: Avoid state changes during dispose. + + AdwViewSwitcherTitle: Clear pending idle callback on unrealize. + + AdwPreferencesGroup: Annotation fixes. + + AdwTabBar: + - Ensure indicators are clickable with inverted=true. + - Fix resize deferring with non-expanded tabs. + - Fix scroll animation stopping too early. + + Mention AdwComboRow:selected type in migration guide. + + Fix a Meson error when using as a subproject. + + Updated translations. + +------------------------------------------------------------------- +Fri Mar 18 14:59:58 UTC 2022 - Bjørn Lie + +- Update to version 1.1.0: + + Fix introspection-related build warnings. + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 7 18:17:13 UTC 2022 - Bjørn Lie + +- Update to version 1.1.rc: + + AdwAvatar: Fix invalid UTF-8 handling. + + AdwStyleManager: + - Follow color-scheme on macOS. + - Don't disable non-CSS animations during style changes. + + AdwToast: Fix GVariant handling. + + Stylesheet: Fix scrollbars inside .osd widgets. + + Fix carousel indicator sizing. + + Memory leak fixes. + + Updated translations. + +------------------------------------------------------------------- +Sat Feb 12 23:04:37 UTC 2022 - Bjørn Lie + +- Update to version 1.1.beta: + + AdwActionRow: Don't make activatable if the activatable widget + is insensitive + + AdwClamp: Fix measure() with height-for-width children + + AdwComboRow: Fix end padding when the dropdown arrow is hidden + + AdwExpanderRow: Fix focus handling + + AdwPreferencesGroup: Add support for header suffixes + + AdwPreferencesRow: Add 'title-selectable' property + + Demo: + - Fix combo rows in AdwCarousel demo + - Remove the "Frobnicate" button + +------------------------------------------------------------------- +Fri Feb 11 13:39:33 UTC 2022 - Bjørn Lie + +- Update to version 1.0.2: + + Fix AdwExpanderRow focus handling + + Fix combo rows in AdwCarousel demo + + Fix radio hover state in GtkPopoverMenu + + Docs: + - Fix AdwViewSwitcherBar and AdwViewStack examples + - Fix typos + + Updated translations. + +------------------------------------------------------------------- +Mon Jan 3 20:12:01 UTC 2022 - Bjørn Lie + +- Update Summaries and descriptions. + +------------------------------------------------------------------- +Sun Jan 2 13:25:11 UTC 2022 - Bjørn Lie + +- Update to version 1.0.1: + + Include pre-built stylesheet and docs into release tarballs. + +------------------------------------------------------------------- +Fri Dec 31 12:23:20 UTC 2021 - Bjørn Lie + +- Update to version 1.0.0: + + Rework GtkInspector page to not require a module, remove + -Dinspector + + Accessibility fixes in action row, flap, leaflet, preferences + group, preferences page, status page, view switcher, window + + Animation: + - Properly mark AdwAnimation as abstract + - Make ADW_DURATION_INFINITE introspectable + + Carousel: Fix reorder(), prepend() and insert() behavior + + Clamp Layout: Fix measure() behavior + + Demo: + - Split every page into separate files + - Remove .app-notification demo + - Fix the animation skip button sensitivity + - Fix capitalization + - Various cleanups + + Add a hello world example + + Documentation: + - Add a screenshot generator, update all screenshots + - Add widget screenshots + - Update build instructions + - Update visual index + - New pages: + . Initialization + . Adaptive Layouts + . Boxed Lists + . Styles and Appearance + . Named Colors + . Style Classes + + Various small updates + + Leaflet: Fix property notification ordering when starting a + swipe + + Stylesheet: + - Improve emoji chooser styles + - Add hover style to .activatable GtkGridView children + - Fix menu checks + - Fix @warning_fg_color to be legible against @warning_bg_color + + Tab Bar: Fix various layout warnings + + Tab View: + - Implement adding pages from ui files + - Propagate Alt-[0-9] if selected tab doesn't change + + Toast Overlay: Implement adding toasts from ui files + + Updated translations. +- Stop passing inspector=false to meson, no longer needed, nor + recognized, dropped upstream. +- Add fdupes BuildRequires and macro, remove duplicate files. +- Add explicit pkgconfig BuildRequires. + +------------------------------------------------------------------- +Sat Dec 18 21:26:18 UTC 2021 - Florian "spirit" + +- Adwaita docs are now generated (with new pkgconfig(gi-docgen) + BuildRequires) and packaged in a seperate subpackage called + "libadwaita-docs". + +------------------------------------------------------------------- +Sat Dec 18 21:05:11 UTC 2021 - Florian "spirit" + +- Update to version 1.0.0~beta.1: + + Build + - Depend on GTK 4.5.0. + - Depend on GLib 2.66. + - Fix building as a subproject. + - Remove unused dependencies. + + Introduce AdwToastOverlay for showing in-app notifications + + Introduce AdwAnimation - a basic animation API: + - AdwTimedAnimation provides simple time-based animations. + - AdwSpringAnimation provides flexible animations based on + spring physics. + - Replace adw_ease_out_cubic() with adw_easing_ease(). + - Make adw_lerp() public. + + adw_init() now automatically calls gtk_init(). + + Use G_DEFINE_FINAL_TYPE if available. + + Action Row: Increase spacing between title and subtitle. + + Carousel: + - Use spring animations for scrolling, replace + animation-duration with scroll-params. + - Remove adw_carousel_scroll_to_full(), add 'animate' parameter + to adw_carousel_scroll_to() instead. + + Flap: Use spring animations for reveal, replace reveal-duration + with reveal-params. + + Leaflet: + - Rename can-swipe-back/forward to can-navigate-back/forward, + make them handle mouse back/forward buttons, back/forward + keys, as well as Alt+arrow shortcuts. + - Make child transitions use spring animations, replace + child-transition-duration with child-transition-params. + + Preferences Page: Remove adaptive margins - they never worked + properly. + + Preferences Window: + - Rename can-swipe-back to can-navigate-back, following the + equivalent AdwLeaflet change. + - Add API to show toasts. + + Swipe Tracker: + - Move 'begin-swipe' signal to when the swipe actually starts + instead of when it's detected; add 'prepare' to replace it. + - Replace duration with velocity in the 'end-swipe' signal. + + Status Page: Update title label style. + + Style Manager: + - Set GtkSettings:gtk-application-prefer-dark-theme=true for + dark. + - Properly reset enable-animations. + + Stylesheet: + - New style classes: + * entry.success to match entry.warning and entry.error + * Generic .success to match .warning and .error. + * checkbutton.selection-mode + - Tweak accent color in dark variant, use + accent_color/accent_bg_color more consistently. + - Consistently support regular/bg/fg variants for success, + warning and error colors. + - Make menu items taller. + - Make checked buttons more visible. + - Update entry style. + - Update GtkTreeView and GtkColumnView header style. + - Tweak check button style. + - Update window and popover shadows. + - Make boxed lists use shadows as well. + - Use white accent color for .osd. + - Use tabular figures for GtkCalendar. + - Support .navigation-sidebar in combination with .background. + - Remove the GtkButton .outline class. + - Remove .content-view check buttons. + - Fix check hover styles in menus. + + Tab Bar: Fix needs-attention indicators. + + Tab View: Remove shortcut-widget, use managed shortcuts + instead. + + View Stack: + - Layout fixes + - Remove crossfade transition. + + View Switcher: + - Update styles. + - Fix measure() criticals. + - Fix a crash when hiding the visible child. + - Fix outlines in high contrast mode. + + View Switcher Title: Always hide switcher in mobile. + + Various fixes and cleanups. + + Updated translations. + +------------------------------------------------------------------- +Tue Nov 2 21:57:20 UTC 2021 - Bjørn Lie + +- Update to version 1.0.0~alpha.4: + + Depend on meson 0.59.0. + + Action Row: + - Drop use-underline property. + - Stop supporting mnemonics on subtitles. + - Support markup on the title and subtitle. + - Fix layout with empty title and subtitle. + - Don't expand horizontally by default. + - Fix row titles inside GtkMessageDialog. + + Avatar: Crop non-square custom images to fill the avatar. + + Carousel: Fix a crash when scrolling in an empty carousel. + + Clamp: Set the proper accessible role. + + Combo Row: Fix row colors while the popover is open. + + Demo + - Add a style classes demo. + - Add about dialog. + - Add an inspector item to the primary menu. + - Change appid to org.gnome.Adwaita1.Demo to version it. + - Add an icon, metainfo and desktop file. + - Make the desktop file visible for nightly flatpaks. + - Make non-unique. + - Tighten flatpak permissions. + - Various polish. + + Expander Row + - Drop use-underline property. + - Rename adw_expander_row_add() to adw_expander_row_add_row(). + + Inspector: Fix color scheme resetting when opening inspector. + + Preferences Window: Fix a memory leak. + + Status Page: + - Allow setting the icon from a paintable and not just icon + name. + - Set the proper accessible role. + - Reduce margins with the .compact style class. + + Style Manager: + - Fix styles breaking when setting + gtk-application-prefer-dark-theme. + - Fix crash on systems with xdg-desktop-portal but no settings + portal. + - Fix a memory leak. + + Stylesheet: + - New style classes: + . .card to have a style similar to a boxed list for a + standalone widget. Can be combined with .activatable to + have hover and active states, or can be added to GtkButton + to have them automatically. + . button.opaque to allow custom colored buttons in the style + of that look like .suggested-action or .destructive-action. + . tabbar.inline and searchbar.inline - to opt out from using + header bar colors for AdwTabBar and GtkSearchBar. + - Boxed lists: + . Rename .content to .boxed-list to match HIG, keep .content + as an alias. + . Stop supporting .content with GtkListView as it was broken + anyway. + . Fix focus ring offsets. + - Sidebars: + . Use the same background as the window. + . Make .navigation-sidebar handle background, so it's + sufficient to achieve the proper style. + . Deprecate the .sidebar style class. + - Buttons: + . Stop supporting button.flat.suggested-acton and + button.flat.destructive-action. Special case those styles + for GtkMessageDialog buttons instead. + . Support .pill on GtkMenuButton + . Support .suggested-action and .destructive-action on + GtkMenuButton and AdwSplitButton. + . Use toolbar-style buttons for GtkSearchBar. + . Fix AdwSplitButton styles in high contrast mode. + . Reduce disabled flat button opacity to make them easier to + tell apart from the regular state. + - Popovers: + . Drop popover.combo, make popover.menu handle this case + instead. + . Unify GtkDropDown and AdwComboRow popup styles with menus. + . Fix a double border with menu radios in high contrast mode. + - Refresh UI colors. + - Refresh scrollbar style. + - Unify progress bar and level bar sizes and styles. + - Make checks and radios larger. + - Refresh border radii across the board. + - Refresh scroll overshoot effect. + - Remove notebook header background. + - Export all UI colors and allow overriding them. + - Use accent color for active drop styles. + - Ensure proper opacity for the high contrast mode. + - Simplify recoloring for GtkScale, GtkCheckButton, GtkSwitch, + GtkColumnView and AdwTabBar. + - Various toolbar button fixes. + - Make entry.error and .warning style icons and progress bar + too. + - Fix disabled state on GtkScale, GtkNotebook and + GtkSpinButton. + - Fix GtkMessageDialog paddings. + - Fix margins on GtkWindowControls icon. + - Stop removing toolbar.osd rounding in overlays. + - Remove a GtkGridView override specific to gtk4-icon-browser. + + Tab Bar: + - Fix artifacts when maximizing the window. + - Fix hover. + - Handle middle click on button release and not press. + - Show close button correctly when raising the window and the + pointer is already over a tab. + + View Switcher: Fix screen readers reading page titles 4 times. + + Add API to allow checking libadwaita version in runtime. + + Various fixes and cleanups. + + Updated translations. + +------------------------------------------------------------------- +Tue Sep 28 11:42:39 UTC 2021 - Dominique Leuenberger + +- Update to version 1.0.0~alpha.3: + + Depend on GTK 4.4.0. + + Add a GtkInspector extension for simulating different system + appearance settings. + + Introduce AdwStyleManager for managing color schemes + (light/dark) and high contrast mode. + + Introduce AdwApplication to handle automatic initialization and + style loading. + + Avatar: + - Replace adw_avatar_draw_to_pixbuf() with + adw_avatar_draw_to_texture() that returns a GdkTexture + instead. + - Remove the size parameter, use the avatar's current size + instead. + + Carousel: Allow to shrink carousel if children are expanded. + + Clamp: Fix measuring with for_size = -1. + + Combo Row: Have a .combo style class. + + Leaflet: + - Remove hhomogeneous-folded, hhomogeneous-unfolded, + vhomogeneous-folded and vhomogeneous-unfolded properties. + Assume non-homogeneous layout when unfolded and homogeneous + when folded. + - Add a single homogeneous property that corresponds to folded + state and opposite orientation. + - Remove interpolate-size, assume it's set to true. + - Set the fold threshold policy to MINIMUM by default. + + Preferences Group: + - Fix default visibility of the internal list box. + - Allow markup on title and description. + + Squeezer + - Fix the child switch threshold in vertical orientation. + - Add switch-threshold-policy, matching AdwFlap and AdwLeaflet. + - Add allow-none property, allowing to hide the last child as + well. + + Status Page: Make icon optional. + + Tab View: Fix model updates when page selection changes. + + View Switchers: + - Remove AdwViewSwitcher:narrow-ellipsize. + - Remove the policy property from AdwViewSwitcherBar and + AdwViewSwitcherTitle. + - Remove the auto policy, applications can use two view + switchers and an AdwSqueezer instead. + - Switch to narrow layouts earlier. + + Window and Application Window: Rename the child property to + content to avoid the name clash with GtkWindow:child. + + Stylesheet: + - New style classes: + . headerbar.flat to remove headerbar's background and border. + . separator.spacer to create spacing in toolbars or header + bars. + . button.pill for prominent standalone buttons, for example + on status pages. + . statuspage.compact to make AdwStatusPage suitable for + contexts such as sidebars. + . .numeric as an easy way to enable tabular figures in a + label. + + Use flat buttons by default in header bars and action bars, + matching existing .toolbar. + + Use stripes for header bars in .devel windows instead of cogs + to make it work better with split header bars and flat header + bars. + + Updated translations. +- Pass -Dinspector=false to meson: do not build the GTK Inspector + right now. + +------------------------------------------------------------------- +Tue Aug 17 15:50:33 UTC 2021 - Florian "spirit" + +- Update to version 1.0.0~alpha.2: + + Stylesheet: + * Large redesign to make it flat and recolorable. + * Replace @theme_suggested_bg_color by @accent_bg_color and + @accent_color. + * Replace @theme_suggested_fg_color by @accent_fg_color. + * Add @destructive_bg_color, @destructive_fg_color and + @destructive_color. + * Add the .accent style class to give the accent color to labels. + * Add the palette colors in the form @hue_n, with hue being blue, + green, yellow, orange, red, purple, brown, light and dark, and n + being a darkness level from 1 to 5. + + View Switcher: + * Add the AdwViewStack widget to represent views. + * Use AdwViewStack instead of GtkStack. + * Display a badge on buttons to display the pages' value from the + AdwViewStack:badge-number property. + * Keep displaying needs-attention when active. + + Preferences Page: + * Add the name property. + + Preferences Window: + * Add the visible-child and visible-child-name properties. + + Leaflet and Flap: + * Add the AdwFoldThresholdPolicy enumeration. + * Add the fold-threshold-policy property to determine the size at + which the leaflet or flap should fold. + + Leaflet: + * Fix a crash by NULL-checking a pointer before dereferencing it when + there is no children. + * Annotate the values of the visible-child and visible-child-name + properties as nullable in their accessors. + + Action Row and Expander Row: + * Annotate the value of the icon-name property as nullable in its + accessors. + + Tab View: + * Fix updating the model at the right time after attaching pages. + * Fix emitting notify::selected-page after the model has been + completely updated. + * Prevent pages from receiving pointer events during drag and drop. + + Combo Row: + * Fix subtitles when the model is empty and when using expressions. + + Carousel: + * Fix a crash with 2 overlapping animations. + * Fix a crash when scrolling when there is no children. + + Avatar: + * Fix memory leaks in adw_avatar_draw_to_pixbuf(). + * Fix a memory leak in the avatar demo. + + Fix crashes by freeing shaders at the right time. + + Specify the translation domain in UI files to avoid leaving them + unlocalized. + + Fix cross-compilation with -Dgtk_doc=true. + + Stop accepting NULL for most string properties, use the empty string + instead. + + Translation updates: + * German + * Indonesian + * Chinese (China) + +------------------------------------------------------------------- +Thu Jun 3 10:19:04 UTC 2021 - Dominique Leuenberger + +- Update to version 1.0.0~alpha.1 (factually a downgrade, but + upstream is still in prorgress of finalizing their versioning + scheme): + + First official libadwaita 1 alpha. +- Enable introspection support: + + Pass -Dintrospection=enabled to meson. + + Create new typelib-1_0-Adw-1 sub package. + +------------------------------------------------------------------- +Sat May 15 00:08:38 UTC 2021 - Dominique Leuenberger + +- Initial package, version 1.1.0 diff --git a/libadwaita.obsinfo b/libadwaita.obsinfo new file mode 100644 index 0000000..36d87be --- /dev/null +++ b/libadwaita.obsinfo @@ -0,0 +1,4 @@ +name: libadwaita +version: 1.3.2 +mtime: 1682123944 +commit: dfaf404704a6e4a15d9881fc39ec8a607cd47701 diff --git a/libadwaita.spec b/libadwaita.spec new file mode 100644 index 0000000..c2b1d05 --- /dev/null +++ b/libadwaita.spec @@ -0,0 +1,115 @@ +# +# spec file for package libadwaita +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: libadwaita +Version: 1.3.2 +Release: 0 +Summary: Building blocks for modern GNOME applications +License: LGPL-2.1-or-later +URL: https://gitlab.gnome.org/GNOME/libadwaita +Source: %{name}-%{version}.tar.xz + +BuildRequires: fdupes +BuildRequires: meson >= 0.59.0 +BuildRequires: pkgconfig +BuildRequires: sassc +BuildRequires: vala +BuildRequires: pkgconfig(fribidi) +BuildRequires: pkgconfig(gi-docgen) +BuildRequires: pkgconfig(glib-2.0) >= 2.72 +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gtk4) >= 4.9.5 +%lang_package + +%description +Building blocks for modern GNOME applications. + +%package -n libadwaita-1-0 +Summary: Building blocks for modern GNOME applications +# Make the -lang package installable +Provides: %{name} = %{version} + +%description -n libadwaita-1-0 +Building blocks for modern GNOME applications. +This package provides the shared library for libadwaita. + +%package docs +Summary: Developer documentation for libadwaita +BuildArch: noarch + +%description docs +Building blocks for modern GNOME applications. +This package provides the documentation for libadwaita. + +%package devel +Summary: Development files for the Adwaita library +Requires: libadwaita-1-0 = %{version} +Requires: typelib-1_0-Adw-1 = %{version} + +%description devel +Building blocks for modern GNOME applications. +This package provides the development files for libadwaita. + +%package -n typelib-1_0-Adw-1 +Summary: Introspection bindings for Adwaita +Group: System/Libraries + +%description -n typelib-1_0-Adw-1 +Building blocks for modern GNOME applications. +This package provides the GObject Introspection bindings for libadwaita. + +%prep +%autosetup -p1 + +%build +%meson \ + -Dexamples=false \ + -Dintrospection=enabled \ + -Dgtk_doc=true \ + %{nil} +%meson_build + +%install +%meson_install +%find_lang %{name} +%fdupes %{buildroot}%{_datadir} + +%{ldconfig_scriptlets -n libadwaita-1-0} + +%files lang -f %{name}.lang + +%files -n libadwaita-1-0 +%license COPYING +%doc README.md +%{_libdir}/libadwaita-1.so.0 + +%files -n typelib-1_0-Adw-1 +%{_libdir}/girepository-1.0/Adw-1.typelib + +%files docs +%{_datadir}/doc/%{name}-1/ + +%files devel +%{_includedir}/libadwaita-1/ +%{_libdir}/libadwaita-1.so +%{_libdir}/pkgconfig/libadwaita-1.pc +%{_datadir}/gir-1.0/Adw-1.gir +%dir %{_datadir}/vala/vapi +%{_datadir}/vala/vapi/libadwaita-1.{deps,vapi} + +%changelog