libhandy merge requestshttps://source.puri.sm/Librem5/libhandy/-/merge_requests2020-03-17T16:11:14Zhttps://source.puri.sm/Librem5/libhandy/-/merge_requests/418Add HdyAvatar2020-03-17T16:11:14ZJulian SparberAdd HdyAvatarA widget for showing a Avatar (a.k. Pixbuf) or generate a fallback avatar.
The fallback is based on https://gitlab.gnome.org/GNOME/Initiatives/issues/6
* [x] Docs
* [x] Tests
* [x] We probably want the new style https://gitlab.g...A widget for showing a Avatar (a.k. Pixbuf) or generate a fallback avatar.
The fallback is based on https://gitlab.gnome.org/GNOME/Initiatives/issues/6
* [x] Docs
* [x] Tests
* [x] We probably want the new style https://gitlab.gnome.org/Teams/Design/os-mockups/issues/47
* [x] Fix: The icon (fallback when no name is given) is black.
* [x] Better name for the "name" property (GtkWidget has already a "name" property): maybe "text"?
* [x] Works on HIDPIhttps://source.puri.sm/Librem5/libhandy/-/merge_requests/333Deprecate HdyArrows2019-12-02T11:41:01ZAdrien PlazasDeprecate HdyArrowsIt's not used by anything else AFAWK.
Fixes https://source.puri.sm/Librem5/libhandy/issues/126.
Ping @guido.gunther as you wrote that widget and @exalm as you helped fixing deprecations.It's not used by anything else AFAWK.
Fixes https://source.puri.sm/Librem5/libhandy/issues/126.
Ping @guido.gunther as you wrote that widget and @exalm as you helped fixing deprecations.https://source.puri.sm/Librem5/libhandy/-/merge_requests/164Adaptive dialog2019-01-22T23:46:38ZZander Brownzbrown@gnome.orgAdaptive dialogImplementation of #52
TODO:
* [x] - Avoid double shadow
* [ ] - Find a better way to set modal & use-header-bar (currently broken when used GtkBuilder)Implementation of #52
TODO:
* [x] - Avoid double shadow
* [ ] - Find a better way to set modal & use-header-bar (currently broken when used GtkBuilder)https://source.puri.sm/Librem5/libhandy/-/merge_requests/459adwaita: Fix nested list bottom rounding2020-05-20T08:15:01ZAdrien Plazasadwaita: Fix nested list bottom roundingFixes https://source.puri.sm/Librem5/libhandy/issues/271.Fixes https://source.puri.sm/Librem5/libhandy/issues/271.https://source.puri.sm/Librem5/libhandy/-/merge_requests/458Split shared css2020-05-20T11:12:09ZAlexander MikhaylenkoSplit shared css* Remove all "inessential" styles from `shared.css`, leaving only the rules without which layout breaks
* Introduce `fallback.css`, move things such as leaflet shadow there, so they can be overridden externally
* Move window corners spec...* Remove all "inessential" styles from `shared.css`, leaving only the rules without which layout breaks
* Introduce `fallback.css`, move things such as leaflet shadow there, so they can be overridden externally
* Move window corners specifically to Adwaita styles. This leaves random themes with glitchy corners, but not like they aren't broken already.https://source.puri.sm/Librem5/libhandy/-/merge_requests/452Separate public and private enums2020-05-11T17:34:51ZAdrien PlazasSeparate public and private enumsThis avoids leaking private enums in the public API, e.g.
StackableBoxTransitionType here.This avoids leaking private enums in the public API, e.g.
StackableBoxTransitionType here.https://source.puri.sm/Librem5/libhandy/-/merge_requests/450debian: Drop handy-1-examples's dep on libhandy-0.0-02020-05-11T10:01:03ZAdrien Plazasdebian: Drop handy-1-examples's dep on libhandy-0.0-0It of course needs libhandy-1-0, which is automatically added.
Fixes https://source.puri.sm/Librem5/libhandy/issues/261
CC @guido.guntherIt of course needs libhandy-1-0, which is automatically added.
Fixes https://source.puri.sm/Librem5/libhandy/issues/261
CC @guido.guntherhttps://source.puri.sm/Librem5/libhandy/-/merge_requests/449expander-row: Some code simplification and prevent show_all()2020-05-06T07:03:32ZAdrien Plazasexpander-row: Some code simplification and prevent show_all()Fixes https://source.puri.sm/Librem5/libhandy/issues/257.Fixes https://source.puri.sm/Librem5/libhandy/issues/257.https://source.puri.sm/Librem5/libhandy/-/merge_requests/448Fix acknowledge typo in build doc2020-04-21T23:36:11ZlouibFix acknowledge typo in build dochttps://source.puri.sm/Librem5/libhandy/-/merge_requests/442Resize demo window2020-04-01T21:02:24ZUjjwal KumarResize demo windowFixes: https://source.puri.sm/Librem5/libhandy/issues/235Fixes: https://source.puri.sm/Librem5/libhandy/issues/235https://source.puri.sm/Librem5/libhandy/-/merge_requests/436avatar: Add a missing transfer annotation2020-03-24T14:14:32ZJulian Sparberavatar: Add a missing transfer annotationFix set_image_load_func() introspection.Fix set_image_load_func() introspection.https://source.puri.sm/Librem5/libhandy/-/merge_requests/433Unified window2020-04-09T19:38:57ZAlexander MikhaylenkoUnified window* [x] Decide on title areas API and implement it, see https://gitlab.gnome.org/GNOME/gtk/issues/2242
* [x] Try to optimize the masking further
* [x] Figure out something for default titlebars
* [x] Figure out something for `GtkApplica...* [x] Decide on title areas API and implement it, see https://gitlab.gnome.org/GNOME/gtk/issues/2242
* [x] Try to optimize the masking further
* [x] Figure out something for default titlebars
* [x] Figure out something for `GtkApplicationWindow` menubars (document they are unsupported)
* [x] Figure out something for server-side decorations (that's not supported case, but it shouldn't glitch out still)
* [x] Docs
* [x] Tests (though there's just _new() in each class, so not much)
* [x] Figure out something for dialogs (!434 drops them)
* [x] Reorganize the example to actually take advantage of this
* [x] Figure out what to do wrt leaflet+titlebar (!439)
* [x] Window crashes with no children (!440)
I have a titlebar widget in the [Vala prototype](https://gitlab.gnome.org/exalm/unified-window) that I didn't port over yet, because I don't particularly like the API. Tried to catch Company today unsuccessfully to discuss it, so it's blocked on that :)
Fixes #231 https://source.puri.sm/Librem5/libhandy/-/merge_requests/428column: Child size fix2020-03-18T10:56:40ZAdrien Plazascolumn: Child size fixThis fixes cases where HdyColumn didn't request enough width to fit the minimum request of its child.This fixes cases where HdyColumn didn't request enough width to fit the minimum request of its child.https://source.puri.sm/Librem5/libhandy/-/merge_requests/415main: Make the style init priority super high2020-03-03T14:13:15ZAdrien Plazasmain: Make the style init priority super highThis ensures we load the styles before any window appears.
Fixes https://source.puri.sm/Librem5/libhandy/issues/214.This ensures we load the styles before any window appears.
Fixes https://source.puri.sm/Librem5/libhandy/issues/214.https://source.puri.sm/Librem5/libhandy/-/merge_requests/414stackable-box: Remove an extra line in a doc comment2020-02-27T15:43:10ZAlexander Mikhaylenkostackable-box: Remove an extra line in a doc commenthttps://source.puri.sm/Librem5/libhandy/-/merge_requests/409stackable-box: Only count allow-visible=true children for index2020-02-26T18:58:34ZAlexander Mikhaylenkostackable-box: Only count allow-visible=true children for indexFixes https://source.puri.sm/Librem5/libhandy/issues/213
Signed-off-by: Alexander Mikhaylenko <alexm@gnome.org>Fixes https://source.puri.sm/Librem5/libhandy/issues/213
Signed-off-by: Alexander Mikhaylenko <alexm@gnome.org>https://source.puri.sm/Librem5/libhandy/-/merge_requests/403Make hdy_style_init() static2020-02-21T11:37:41ZAdrien PlazasMake hdy_style_init() staticThis moves hdy_style_init() to hdy-main.c and make it static, to avoid
exposing it in the ABI.This moves hdy_style_init() to hdy-main.c and make it static, to avoid
exposing it in the ABI.https://source.puri.sm/Librem5/libhandy/-/merge_requests/401action-row: Add the 'activated' signal2020-02-21T13:42:23ZAdrien Plazasaction-row: Add the 'activated' signalThis allows apps to direct attach a callback when the row is activated.This allows apps to direct attach a callback when the row is activated.https://source.puri.sm/Librem5/libhandy/-/merge_requests/398example: Vertically align the radio buttons2020-02-21T10:46:06ZAdrien Plazasexample: Vertically align the radio buttonsThis prevents the radio buttons' focus lasso from being stupidly tall.This prevents the radio buttons' focus lasso from being stupidly tall.https://source.puri.sm/Librem5/libhandy/-/merge_requests/393swipe-tracker: Fix a leak in hdy_swipe_tracker_confirm_swipe()2020-02-14T13:31:39ZAdrien Plazasswipe-tracker: Fix a leak in hdy_swipe_tracker_confirm_swipe()The swipe tracker takes ownership of the heap-allocated snap points in
`hdy_swipe_tracker_confirm_swipe()`, but if any of the preconditions fail
the function would return without freeing that memory. This uses an auto
cleanup function to...The swipe tracker takes ownership of the heap-allocated snap points in
`hdy_swipe_tracker_confirm_swipe()`, but if any of the preconditions fail
the function would return without freeing that memory. This uses an auto
cleanup function to handle these many cases automatically.
This also uses `g_clear_pointer()` where possible to simplify the code.
CC @exalm