Commit Graph

1585 Commits

Author SHA1 Message Date
3c3f00ede8 Merge branch 'bad_delete' into 'master'
text input: Disable erasing

See merge request Librem5/squeekboard!332
2020-02-18 20:38:33 +00:00
85be855032 text input: Disable erasing
Erasing with zwp_text_input_v3 version 1 requires bytes, and bytes require get_surrounding_text. That, however, is optional. That's a mistake in protocol design.

Easiest to drop this until the mess is solved on the protocol side.
2020-02-12 10:56:07 +00:00
3e642fdac7 Merge branch 'termi' into 'master'
layouts: terminal: Use altline outline for dot key

See merge request Librem5/squeekboard!331
2020-02-12 10:44:28 +00:00
ea288ca62e layouts: terminal: Use altline outline for dot key
This prevents the buttons from jumping around when switching between views.
2020-02-11 23:16:09 +01:00
a57a78aa2e Merge branch 'center' into 'master'
Center views relative to layout space

See merge request Librem5/squeekboard!326
2020-02-09 20:34:31 +00:00
b441103674 Merge branch 'slash' into 'master'
terminal: Make */ easier to reach

See merge request Librem5/squeekboard!325
2020-02-06 09:31:58 +00:00
1c3516d6bf terminal: Make */ easier to reach
They exchanged positions with @%
2020-02-05 19:46:59 +00:00
41be2747d5 Merge branch 'fix' into 'master'
layout: Improve scoping of locked variable

See merge request Librem5/squeekboard!329
2020-02-05 13:19:19 +00:00
c766fae686 layout: Improve scoping of locked variable 2020-02-05 12:55:31 +00:00
a0a2e40fa0 Merge branch 'pl' into 'master'
Better accents in PL

See merge request Librem5/squeekboard!323
2020-02-05 11:13:20 +00:00
aadcdbf276 Merge branch 'langs' into 'master'
Update translations & greek

See merge request Librem5/squeekboard!315
2020-02-05 11:05:42 +00:00
10178d204b Merge remote-tracking branch 'upstream/master' into center 2020-02-05 10:32:07 +00:00
0ac8c620fd Merge branch 'lock' into 'master'
Turn locking stateless

See merge request Librem5/squeekboard!322
2020-02-05 09:25:49 +00:00
80e83781bb Merge branch 'leaks' into 'master'
Allocation problems

See merge request Librem5/squeekboard!327
2020-02-05 09:24:46 +00:00
37e1ed93a6 Merge branch 'text_input_enable' into 'master'
Submit and delete strings via text_input

See merge request Librem5/squeekboard!304
2020-02-03 15:06:25 +00:00
b770511422 keyboard_layout: Fix leak 2020-02-03 14:59:14 +00:00
2e9b8581e7 variant: Fix leak 2020-02-03 14:53:27 +00:00
1cbc21ad11 variant: Fix double-free
gio::Settings::set_value takes over ownership of the Variant sometimes, but in other cases it doesn't. To prevent this being a problem, the custom Variant is made of the type that will never have its ownership taken.

This is not necessarily consistent with what gtk-rs authors intended.

In practice, the ownership is shared by refcounting, and after the Rust reference is dropped, one taken by Settings survives.
2020-02-03 14:53:24 +00:00
416bc6163e drawing: Generalized foreach_visible_button 2020-02-02 18:29:29 +00:00
40b79f6209 layout: Center views relative to each other and the layout bounds 2020-02-02 18:07:28 +00:00
782d80a007 row: Eliminate angle 2020-02-02 17:11:25 +00:00
687a512e5e layouts: Better accented uppercase in PL 2020-02-02 15:54:59 +00:00
500c23beec locking: Lock keys statelessly
Locking is not determined by button state any more, but rather based on the view active at the moment. If pressing/locking a key results in the current view being active, the key is active. If locking a key results in the current view, the unlock view is activated.
2020-02-02 15:41:47 +00:00
97d8dfe4cb locks: Draw based on current view 2020-02-02 14:45:33 +00:00
11213ba13a Merge branch '1.8.1' into 'master'
Release 1.8.1

See merge request Librem5/squeekboard!321
2020-01-31 14:23:03 +00:00
3d6c656c78 Merge branch 'pl' into 'master'
layouts: Add Polish layouts

See merge request Librem5/squeekboard!318
2020-01-31 10:40:06 +00:00
258dd9b926 Release 1.8.1 "Corona"
- Landscape layout doesn't crash
- CSS font is actually taken into account
- Failed start due to dbus is now communicated
- Better log messages
- Fixed Enter in numbers layout
- More consistent terminal layout
- Proper font sizes in terminal layout
2020-01-31 10:16:32 +00:00
4eaa8e316e cargo: Update deps 2020-01-31 10:08:48 +00:00
cbee649939 Merge branch 'update-docs' into 'master'
Update docs and CI builds

See merge request Librem5/squeekboard!320
2020-01-30 22:57:07 +00:00
b9db00c00c layouts: Add Polish layouts 2020-01-30 21:19:13 +01:00
99b1439d08 Use pip to install recommonmark 2020-01-30 16:51:35 +01:00
83fe2757ef Tidy build file and docs 2020-01-30 16:51:20 +01:00
d21d278710 Merge branch 'faster' into 'master'
build: Strip clap of optional features

See merge request Librem5/squeekboard!311
2020-01-29 09:27:42 +00:00
e6ca914d65 Merge branch 'return' into 'master'
number: Fix keysym for Return

See merge request Librem5/squeekboard!310
2020-01-29 09:26:05 +00:00
0d96a647f9 Merge branch 'packaging' into 'master'
debian: Add missing commas

See merge request Librem5/squeekboard!316
2020-01-29 09:05:07 +00:00
852289b5e3 Merge branch 'switch' into 'master'
setup: Connect ui to the state manager

See merge request Librem5/squeekboard!319
2020-01-28 22:04:47 +00:00
1f5e9566e4 debian: Add missing commas 2020-01-28 21:38:58 +00:00
7a588460bf setup: Connect ui to the state manager
This ensures that the layout type information is accessible to the state manager when new layout information arrive.

The should be thought of as a stopgap measure. A proper solution would be to separate the state properly, and probably turn layout information coming from random places into messages that some object (thread?) collects and displays.
2020-01-28 21:32:47 +00:00
d654b9cc73 Merge branch 'ux' into 'master'
layout: terminal: Replace actions button with period on symbols view

See merge request Librem5/squeekboard!317
2020-01-28 20:55:25 +00:00
3ed601a7e8 layout: terminal: Replace actions button with period on symbols view
Commit ab67bd2c5c took things a bit too
far and completely removed the period button.
2020-01-28 20:51:15 +01:00
63d68c004a Merge branch 'fix_wide' into 'master'
layouts: Fix segfault on switching to wide

See merge request Librem5/squeekboard!312
2020-01-28 19:43:46 +00:00
34c6d2ff28 Merge branch 'fintsize' into 'master'
font: Use font from style context

See merge request Librem5/squeekboard!313
2020-01-28 19:22:22 +00:00
7f32c5cf23 greek: Rename to gr which is used by gnome settings 2020-01-28 19:17:47 +00:00
9368a188b3 Merge branch 'ux' into 'master'
Terminal layout UX tweaks

Closes #175

See merge request Librem5/squeekboard!314
2020-01-28 19:16:07 +00:00
a61019c4b7 translations: Translate builtin layouts 2020-01-28 19:15:39 +00:00
f4f11e5051 translations: Remove redundant ones
Language translations are all handled by gnome-desktop
2020-01-28 19:15:05 +00:00
ab67bd2c5c layout: terminal: Show actions button on all views 2020-01-28 19:34:03 +01:00
f834fafd67 layout: terminal: Swap positions of preferences and actions button
This makes it consistent with regular layouts.

Helps with #175
2020-01-28 19:33:58 +01:00
4b34f18d34 font: Only pass relevant data to label renderer
This will help factoring the function out
2020-01-28 18:13:19 +00:00
d5682de47c font: Use font from style context
As a consequence, some dependency on renderer is gone.
2020-01-28 18:13:15 +00:00