libhandy merge requestshttps://source.puri.sm/Librem5/libhandy/-/merge_requests2019-08-22T07:09:52Zhttps://source.puri.sm/Librem5/libhandy/-/merge_requests/297Add HdyPaginator2019-08-22T07:09:52ZAlexander MikhaylenkoAdd HdyPaginator![Screenshot_from_2019-08-04_17-11-30](/uploads/25e928e1e437656b041080330d34e23c/Screenshot_from_2019-08-04_17-11-30.png)
Some notes:
Yes, it reallocates children on every frame of animation. It would be a lot more efficient to hav...![Screenshot_from_2019-08-04_17-11-30](/uploads/25e928e1e437656b041080330d34e23c/Screenshot_from_2019-08-04_17-11-30.png)
Some notes:
Yes, it reallocates children on every frame of animation. It would be a lot more efficient to have a GdkWindow and move it. But tis causes weird stuttering either just with touch input or specifically in phosh.
~~~In the demo, if you press the back button, it blinks and prints:~~~ fixed
```
(handy-0.0-demo:2): Gtk-CRITICAL **: 21:23:59.342: gtk_widget_draw: assertion '!widget->priv->alloc_needed_on_child' failed
```
~~~Interestingly, this doesn't happen with GtkStack, only with HdyLeaflet.~~~Current: Aster (W32-34)Adrien PlazasAdrien Plazashttps://source.puri.sm/Librem5/libhandy/-/merge_requests/112Various dialer improvements2019-08-19T10:33:51ZAdrien PlazasVarious dialer improvementsThis is basically my take on the fix proposed by @sadiq here: https://source.puri.sm/Librem5/libhandy/merge_requests/109
Here is what it does:
- Merge the dialer digits and letters as a unified symbols concept, use the first symbol a...This is basically my take on the fix proposed by @sadiq here: https://source.puri.sm/Librem5/libhandy/merge_requests/109
Here is what it does:
- Merge the dialer digits and letters as a unified symbols concept, use the first symbol as the main dialer button label and the rest of the symbols as the secondary label.
- Don't make the secondary label smaller to better match the designs and make them dim on cycle buttons as the symbols are accessible.
- Move the + symbol on the 0 key to match the design of most dialers.
https://source.puri.sm/Librem5/libhandy/-/merge_requests/293glade: Don't install glade files outside build prefix2019-08-12T09:18:23ZAdrien Plazasglade: Don't install glade files outside build prefixWhen using pkg-config variables to get installation directory locations,
we must be careful to redefine any pkgconfig variables necessary to
ensure the installation does not occur outside the build prefix. We
could do, e.g.:
module_dir ...When using pkg-config variables to get installation directory locations,
we must be careful to redefine any pkgconfig variables necessary to
ensure the installation does not occur outside the build prefix. We
could do, e.g.:
module_dir = gladeui_dep.get_pkgconfig_variable(
'moduledir',
define_variable: ['libdir', libdir)])
Except in the particular case of glade, this is not possible because the
pkg-config file uses absolute paths (i.e. the moduledir variable is not
relative to libdir, and not even relative to prefix!) so there's no way
to override it. This means we can't use the pkg-config directories at
all.
If bored, fixing glade might be fun to do. In the meantime, we'll need
to install these manually. This fixes the files being installed under
/usr instead of /app when building a Fedora flatpak.
Note: submitted on behalf of Michael Catanzaro, he didn't want to create yet another account or something. 🤷️https://source.puri.sm/Librem5/libhandy/-/merge_requests/304README.md: Update the documentation URL2019-08-11T09:29:27ZAdrien PlazasREADME.md: Update the documentation URLMakes it point to https://developer.puri.sm/ rather than Guido's
version.Makes it point to https://developer.puri.sm/ rather than Guido's
version.https://source.puri.sm/Librem5/libhandy/-/merge_requests/301Deploy documentation for the master branch2019-08-09T15:03:28ZDavid BoddieDeploy documentation for the master branchThe CI variables have been added to the main repository's settings.
Closes developer.puri.sm#133.The CI variables have been added to the main repository's settings.
Closes developer.puri.sm#133.https://source.puri.sm/Librem5/libhandy/-/merge_requests/300Deploy documentation for the master branch2019-08-08T14:39:32ZDavid BoddieDeploy documentation for the master branchhttps://source.puri.sm/Librem5/libhandy/-/merge_requests/298glade: Update catalog dtd2019-08-05T08:26:11ZAlexander Mikhaylenkoglade: Update catalog dtdThe dtd file is very old and doesn't match gtk+.xml from glade gtk plugin.
Update it so that the future additions pass verification.
---
Add add-child-verify-function, add-child-function, remove-child-function,
replace-child-function,...The dtd file is very old and doesn't match gtk+.xml from glade gtk plugin.
Update it so that the future additions pass verification.
---
Add add-child-verify-function, add-child-function, remove-child-function,
replace-child-function, child-action-activate-function,
get-property-function, verify-function, special-child-type and
packing-actions to glade-widget-class element definition.
Additionally define add-child-verify-function,
child-action-activate-function, get-property-function, special-child-type,
and packing-actions elements.
For packing-action, define action element and attributes.
Define and add displayable-values to property definition.
Remove parameter-spec's duplicate "paremter-spec" and add min child,
along with its definition.https://source.puri.sm/Librem5/libhandy/-/merge_requests/274search-bar: Hide start and end boxes instead of close button2019-08-05T07:53:57ZAlexander Mikhaylenkosearch-bar: Hide start and end boxes instead of close buttonFixes https://source.puri.sm/Librem5/libhandy/issues/115Fixes https://source.puri.sm/Librem5/libhandy/issues/115Adrien PlazasAdrien Plazashttps://source.puri.sm/Librem5/libhandy/-/merge_requests/296Add HydraPaper to Python 3 examples2019-07-31T11:35:50ZGuido GuntherAdd HydraPaper to Python 3 exampleshttps://source.puri.sm/Librem5/libhandy/-/merge_requests/292Added HydraPaper as an example app using libhandy2019-07-31T10:55:14ZGabriele MuscoAdded HydraPaper as an example app using libhandy- `hydrapaper/headerbar.py`: HdyHeaderBar, HdyViewSwitcher
- `hydrapaper/settings_box.py`: HdyActionRow, HdyPreferencesGroup, HdyPreferencesPage, HdyPreferencesRow, HdyPreferencesWindow
Feel free to [look at the source](https://gitlab.c...- `hydrapaper/headerbar.py`: HdyHeaderBar, HdyViewSwitcher
- `hydrapaper/settings_box.py`: HdyActionRow, HdyPreferencesGroup, HdyPreferencesPage, HdyPreferencesRow, HdyPreferencesWindow
Feel free to [look at the source](https://gitlab.com/gabmus/hydrapaper)! Just remember the name of the library in Python is `Handy` not `Hdy` :smiley:https://source.puri.sm/Librem5/libhandy/-/merge_requests/295install libhandy demo and examples2019-07-29T13:42:01ZGuido Guntherinstall libhandy demo and exampleswip since it depends on !294wip since it depends on !294https://source.puri.sm/Librem5/libhandy/-/merge_requests/290meson: Set the log domain2019-07-29T13:01:49ZAdrien Plazasmeson: Set the log domainThis makes the log messages from libhandy look like `Handy-Debug: …`
rather than `** Debug: …`, making them easier to distinguish.This makes the log messages from libhandy look like `Handy-Debug: …`
rather than `** Debug: …`, making them easier to distinguish.https://source.puri.sm/Librem5/libhandy/-/merge_requests/294Debian packaging improvements2019-07-29T12:04:13ZGuido GuntherDebian packaging improvementsBring over some packaging improvements that were submitted via salsa.debian.org, thanks Jeremy Bicha.Bring over some packaging improvements that were submitted via salsa.debian.org, thanks Jeremy Bicha.https://source.puri.sm/Librem5/libhandy/-/merge_requests/291header-bar: Show a back button on small non-sovereign windows2019-07-24T08:44:23ZAdrien Plazasheader-bar: Show a back button on small non-sovereign windowsThis will show the back button not only in small HdyDialog but in all
small windows that are not sovereign.This will show the back button not only in small HdyDialog but in all
small windows that are not sovereign.https://source.puri.sm/Librem5/libhandy/-/merge_requests/278header-bar: Render margins and borders2019-07-11T07:59:29ZAdrien Plazasheader-bar: Render margins and bordersFixes https://source.puri.sm/Librem5/libhandy/issues/121Fixes https://source.puri.sm/Librem5/libhandy/issues/121https://source.puri.sm/Librem5/libhandy/-/merge_requests/289Replace \+ with \{1,\}2019-07-11T06:24:05ZTing-Wei LanReplace \+ with \{1,\}\+ is a non-standard GNU extension recognized by GNU sed. However, it
doesn't work on FreeBSD, causing the generated hdy_init_public_types
function to be empty.
Fixes https://source.puri.sm/Librem5/libhandy/issues/135\+ is a non-standard GNU extension recognized by GNU sed. However, it
doesn't work on FreeBSD, causing the generated hdy_init_public_types
function to be empty.
Fixes https://source.puri.sm/Librem5/libhandy/issues/135https://source.puri.sm/Librem5/libhandy/-/merge_requests/287Make HdyHeaderBar have a back button in HdyDialog2019-07-09T14:40:12ZAdrien PlazasMake HdyHeaderBar have a back button in HdyDialogMake `HdyHeaderBar` have a back button instead of its window decorations if it is placed inside a `HdyDialog`. This allows to have adaptive dialogs with a complex titlebar layout by replacing `GtkHeaderBar` by `HdyHeaderBar` in your `Hdy...Make `HdyHeaderBar` have a back button instead of its window decorations if it is placed inside a `HdyDialog`. This allows to have adaptive dialogs with a complex titlebar layout by replacing `GtkHeaderBar` by `HdyHeaderBar` in your `HdyDialog`.
Fixes https://source.puri.sm/Librem5/libhandy/issues/73.https://source.puri.sm/Librem5/libhandy/-/merge_requests/285Added Unifydmin to Python 3 examples2019-06-20T10:38:10ZGabriele MuscoAdded Unifydmin to Python 3 exampleshttps://source.puri.sm/Librem5/libhandy/-/merge_requests/284dialer: Work around GtkGrid row homogeneity2019-06-19T15:14:46ZAdrien Plazasdialer: Work around GtkGrid row homogeneityPuts the buttons into a vertical size group rather than making the rows
homogeneous. This prevents a bug from GtkGrid to make the buttons too
tall when the action buttons are hidden.
Fixes https://source.puri.sm/Librem5/libhandy/issues/130Puts the buttons into a vertical size group rather than making the rows
homogeneous. This prevents a bug from GtkGrid to make the buttons too
tall when the action buttons are hidden.
Fixes https://source.puri.sm/Librem5/libhandy/issues/130https://source.puri.sm/Librem5/libhandy/-/merge_requests/265Let HdyViewSwitcherBar ellipsize in narrow mode2019-06-18T14:59:17ZAdrien PlazasLet HdyViewSwitcherBar ellipsize in narrow modeThis allows it to reach narrower widths.This allows it to reach narrower widths.Past: Tulip (W20 - 22)