libhandy merge requestshttps://source.puri.sm/Librem5/libhandy/-/merge_requests2020-01-21T15:30:29Zhttps://source.puri.sm/Librem5/libhandy/-/merge_requests/371gitlab-ci: Use the prebuilt pipeline2020-01-21T15:30:29ZGuido Gunthergitlab-ci: Use the prebuilt pipelinethis lowers maintenane and gives us lintian and autopktests for free (which will be useful to spot problems in https://source.puri.sm/Librem5/libhandy/merge_requests/248) early.
This needs https://source.puri.sm/Librem5/libhandy/merge...this lowers maintenane and gives us lintian and autopktests for free (which will be useful to spot problems in https://source.puri.sm/Librem5/libhandy/merge_requests/248) early.
This needs https://source.puri.sm/Librem5/libhandy/merge_requests/370https://source.puri.sm/Librem5/libhandy/-/merge_requests/370debian: Update autopkgtests2020-01-21T14:48:39ZGuido Guntherdebian: Update autopkgtestsThis improves the autopkgtest to not use deprected symbols,
do a runtime test and be more cross build friendly.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946676This improves the autopkgtest to not use deprected symbols,
do a runtime test and be more cross build friendly.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946676https://source.puri.sm/Librem5/libhandy/-/merge_requests/369column: Add the .narrow, .medium and .wide style classes2020-01-22T18:01:50ZAdrien Plazascolumn: Add the .narrow, .medium and .wide style classesThese classes are added automatically depending on the reached
threshold: .narrow when the column is so narrow it allocates all its
size to its child, .wide when the child won't be allocated more space as
the column grows, .medium in bet...These classes are added automatically depending on the reached
threshold: .narrow when the column is so narrow it allocates all its
size to its child, .wide when the child won't be allocated more space as
the column grows, .medium in between, and none of these when there is no
child or it isn't visible.https://source.puri.sm/Librem5/libhandy/-/merge_requests/368leaflet: Add the .folded and .unfolded style classes2020-01-22T16:54:51ZAdrien Plazasleaflet: Add the .folded and .unfolded style classesThis will help styling the children of the leaflet depending on whether
it is folded or not.
Fixes https://source.puri.sm/Librem5/libhandy/issues/182.This will help styling the children of the leaflet depending on whether
it is folded or not.
Fixes https://source.puri.sm/Librem5/libhandy/issues/182.https://source.puri.sm/Librem5/libhandy/-/merge_requests/367paginator: Use G_PI instead of M_PI2020-01-14T07:35:22ZAlexander Mikhaylenkopaginator: Use G_PI instead of M_PIhttps://source.puri.sm/Librem5/libhandy/-/merge_requests/364Drop the deprecated elements2020-01-22T19:40:38ZAdrien PlazasDrop the deprecated elements1.0https://source.puri.sm/Librem5/libhandy/-/merge_requests/363leaflet: Set 'over' as the default transition type2020-02-14T14:27:04ZAdrien Plazasleaflet: Set 'over' as the default transition typeThis better reflects the typical use-case.This better reflects the typical use-case.1.0https://source.puri.sm/Librem5/libhandy/-/merge_requests/360README.md: Phosh uses HdyKeypad, not HdyDialer2020-01-08T10:24:50ZAdrien PlazasREADME.md: Phosh uses HdyKeypad, not HdyDialerhttps://source.puri.sm/Librem5/libhandy/-/merge_requests/359gitlab: Updates classes in the issue template2020-01-23T09:47:30ZAdrien Plazasgitlab: Updates classes in the issue templateThis adds all the non-deprecated public classes to the issue template.This adds all the non-deprecated public classes to the issue template.https://source.puri.sm/Librem5/libhandy/-/merge_requests/358tests: Add allow_mouse_drag test for HdyPaginator2020-01-09T12:08:05ZAlexander Mikhaylenkotests: Add allow_mouse_drag test for HdyPaginatorOopsOopshttps://source.puri.sm/Librem5/libhandy/-/merge_requests/357Release libhandy 0.0.132019-12-27T11:37:59ZGuido GuntherRelease libhandy 0.0.13Guido GuntherGuido Guntherhttps://source.puri.sm/Librem5/libhandy/-/merge_requests/354leaflet: Remove visible child workaround2020-01-09T08:41:34ZAlexander Mikhaylenkoleaflet: Remove visible child workaroundLooks like it's not needed after https://source.puri.sm/Librem5/libhandy/merge_requests/339
Signed-off-by: Alexander Mikhaylenko <alexm@gnome.org>Looks like it's not needed after https://source.puri.sm/Librem5/libhandy/merge_requests/339
Signed-off-by: Alexander Mikhaylenko <alexm@gnome.org>https://source.puri.sm/Librem5/libhandy/-/merge_requests/353HdyDeck2020-04-15T09:31:14ZAlexander MikhaylenkoHdyDeckAs mentioned in #28, I would prefer to have a simple property in `HdyLeaflet` that would force it into folded mode. Otherwise we would end up with a lot of code duplication, which is... This.
```
~/Projects/libhandy wc -l src/hdy-...As mentioned in #28, I would prefer to have a simple property in `HdyLeaflet` that would force it into folded mode. Otherwise we would end up with a lot of code duplication, which is... This.
```
~/Projects/libhandy wc -l src/hdy-stack*
2511 src/hdy-stack.c
63 src/hdy-stack.css
74 src/hdy-stack.h
2648 total
```
It's more or less `HdyLeaflet` with box bits removed and with things renamed back to what they are called in `GtkStack`.
In the demo, it's used in the complex dialog example.
Fixes #28
CC @adrien.plazas1.0https://source.puri.sm/Librem5/libhandy/-/merge_requests/352swipe-tracker: Don't animate when the distance is 02019-12-25T09:32:32ZAlexander Mikhaylenkoswipe-tracker: Don't animate when the distance is 0Remove an unnecessary delay.Remove an unnecessary delay.https://source.puri.sm/Librem5/libhandy/-/merge_requests/350Release libhandy 0.0.122019-12-12T09:08:38ZGuido GuntherRelease libhandy 0.0.12https://source.puri.sm/Librem5/libhandy/-/merge_requests/349keypad: Fix compilation error for clang2019-12-10T08:25:42ZTing-Wei Lankeypad: Fix compilation error for clangFunction hdy_keypad_button_get_digit is declared to return 'char' in
src/hdy-keypad-button-private.h but defined to return 'const char' in
src/hdy-keypad-button.c. This is not allowed by clang. Since it is
unusual to mark a return value ...Function hdy_keypad_button_get_digit is declared to return 'char' in
src/hdy-keypad-button-private.h but defined to return 'const char' in
src/hdy-keypad-button.c. This is not allowed by clang. Since it is
unusual to mark a return value itself as const, just drop const here.
```
[30/104] Compiling C object 'src/25a6634@@handy-0.0@sha/hdy-keypad-button.c.o'.
FAILED: src/25a6634@@handy-0.0@sha/hdy-keypad-button.c.o
clang -B/home/lantw44/.local/bin -Isrc/25a6634@@handy-0.0@sha -Isrc -I../../source/libhandy/src -I. -I../../source/libhandy/ -I/home/lantw44/gnome/devinstall/include/glib-2.0 -I/home/lantw44/gnome/devinstall/lib/glib-2.0/include -I/usr/local/lib/libffi-3.2.1/include -I/home/lantw44/gnome/devinstall/include/gtk-3.0 -I/home/lantw44/gnome/devinstall/include/pango-1.0 -I/home/lantw44/gnome/devinstall/include/harfbuzz -I/home/lantw44/gnome/devinstall/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/uuid -I/home/lantw44/gnome/devinstall/include/cairo -I/home/lantw44/gnome/devinstall/include/pixman-1 -I/usr/local/include/libdrm -I/home/lantw44/gnome/devinstall/include/gdk-pixbuf-2.0 -I/home/lantw44/gnome/devinstall/include/gio-unix-2.0 -I/home/lantw44/gnome/devinstall/include/atk-1.0 -I/home/lantw44/gnome/devinstall/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/home/lantw44/gnome/devinstall/include/at-spi-2.0 -I/home/lantw44/gnome/build/libhandy -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -g -DHAVE_CONFIG_H -DHANDY_COMPILATION -Wcast-align -Wdate-time -Wdeclaration-after-statement -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wtype-limits -Wundef -Wunused-function -fstack-protector-strong -march=corei7 -B/home/lantw44/.local/bin -g3 -Og -gz -fdebug-macro -fPIC -D_THREAD_SAFE -pthread '-DG_LOG_DOMAIN="Handy"' -MD -MQ 'src/25a6634@@handy-0.0@sha/hdy-keypad-button.c.o' -MF 'src/25a6634@@handy-0.0@sha/hdy-keypad-button.c.o.d' -o 'src/25a6634@@handy-0.0@sha/hdy-keypad-button.c.o' -c ../../source/libhandy/src/hdy-keypad-button.c
../../source/libhandy/src/hdy-keypad-button.c:303:1: error: conflicting types for 'hdy_keypad_button_get_digit'
hdy_keypad_button_get_digit (HdyKeypadButton *self)
^
../../source/libhandy/src/hdy-keypad-button-private.h:27:14: note: previous declaration is here
gchar hdy_keypad_button_get_digit (HdyKeypadButton *self);
^
1 error generated.
[31/104] Compiling C object 'src/25a6634@@handy-0.0@sha/hdy-header-bar.c.o'.
../../source/libhandy/src/hdy-header-bar.c:1305:37: warning: suggest braces around initialization of subobject [-Wmissing-braces]
GtkRequestedSize side_size[2] = { 0 }; /* The size requested by each side. */
^
{}
1 warning generated.
```https://source.puri.sm/Librem5/libhandy/-/merge_requests/348leaflet: Add Alexander Mikhaylenko's copyright2019-12-09T15:17:50ZAdrien Plazasleaflet: Add Alexander Mikhaylenko's copyrightHis work on this class is far from negligeable, let's reflect that in
the copyright.
CC @exalm @guido.guntherHis work on this class is far from negligeable, let's reflect that in
the copyright.
CC @exalm @guido.guntherhttps://source.puri.sm/Librem5/libhandy/-/merge_requests/346Some docs fixes2019-12-09T14:21:41ZAlexander MikhaylenkoSome docs fixesNow that https://developer.puri.sm/projects/libhandy/unstable is up to date, some fixes. :)Now that https://developer.puri.sm/projects/libhandy/unstable is up to date, some fixes. :)https://source.puri.sm/Librem5/libhandy/-/merge_requests/345leaflet: Queue relayout after child transition ends2019-12-07T11:58:09ZAlexander Mikhaylenkoleaflet: Queue relayout after child transition endsPrevents close button from occasionally disappearing after swipes.
Signed-off-by: Alexander Mikhaylenko <alexm@gnome.org>Prevents close button from occasionally disappearing after swipes.
Signed-off-by: Alexander Mikhaylenko <alexm@gnome.org>https://source.puri.sm/Librem5/libhandy/-/merge_requests/344paginator: Add 'mouse-drag' property2019-12-13T15:22:09ZAlexander Mikhaylenkopaginator: Add 'mouse-drag' property