David Boddie
64680664e3
Use a CSS provider and style context instead of the old theme support
2019-08-02 17:04:16 +02:00
David Boddie
87dd9b4374
Remove references to the removed theme classes
2019-08-02 17:04:16 +02:00
David Boddie
c7d5e8d152
Remove theme classes for future replacement
2019-08-02 17:04:16 +02:00
David Boddie
4cd15c074e
Merge branch 'fixes' into 'master'
...
Fixes
See merge request Librem5/squeekboard!115
2019-08-02 15:03:33 +00:00
David Boddie
9bfdabdf57
Merge branch 'textproperty' into 'master'
...
Removed text categories
See merge request Librem5/squeekboard!114
2019-08-02 14:36:41 +00:00
David Boddie
9375bc212b
Use keyboard's coordinate system to check for presses
2019-08-02 14:05:36 +00:00
Dorota Czaplejewicz
3829b52127
Merge branch 'center-keyboard' into 'master'
...
Center the keyboard horizontally
Closes #68
See merge request Librem5/squeekboard!104
2019-08-02 13:45:34 +00:00
David Boddie
f852cab0f9
Fix warnings, add gtk-doc strings
2019-08-02 12:49:15 +02:00
David Boddie
f53babcd68
Add gtk-doc style comment
2019-08-02 12:48:35 +02:00
David Boddie
016c1086e6
Center the keyboard horizontally
...
Also simplify individual key rendering to make the rendering model more
coherent.
2019-08-02 12:48:35 +02:00
Dorota Czaplejewicz
f7dd4c84b1
renderer: Render label directly
2019-08-02 09:21:38 +00:00
Dorota Czaplejewicz
c1c0cb6b31
Fix unused function
2019-08-01 20:30:57 +00:00
Dorota Czaplejewicz
e5858bf698
context: Remove vestigial key-activated
2019-08-01 20:25:07 +00:00
Dorota Czaplejewicz
b8389f6736
symbol: Simplify symbol storage
2019-08-01 20:25:01 +00:00
Dorota Czaplejewicz
6c1c979414
section: Removed multiple rows in section, row/column in key
2019-08-01 20:10:59 +00:00
Dorota Czaplejewicz
43df82355a
EekKey: Remove column and row fields
2019-08-01 20:10:59 +00:00
Dorota Czaplejewicz
d8b26040f9
symbolclass: Remove with surroundings
...
Collaterals: Enabled strict checking of initializers, fixed scripts generating keycode mappings.
2019-08-01 20:08:37 +00:00
Dorota Czaplejewicz
bdf29bf57b
symbol: forget serializing
2019-08-01 19:59:34 +00:00
Dorota Czaplejewicz
24358c39a6
Merge branch 'font_size' into 'master'
...
fonts: Reset font size to a constant
See merge request Librem5/squeekboard!112
2019-08-01 17:25:38 +00:00
Dorota Czaplejewicz
504285c08f
fonts: Reset font size to a constant
...
The font size will only be affected by the scaling factor, and not by an attempt to fit the labels into buttons.
Left to do: adjust it based on CSS.
2019-08-01 17:25:38 +00:00
Dorota Czaplejewicz
b7eb4026f6
Merge branch 'fix-tests' into 'master'
...
Use headless init functions to prevent test breakage
See merge request Librem5/squeekboard!109
2019-08-01 17:08:24 +00:00
David Boddie
ad5e4f58bb
Remove use of xvfb to check that the tests run headless
2019-08-01 18:15:42 +02:00
David Boddie
3085a10507
Merge branch 'cleanup' into 'master'
...
xml: Remove unused file
See merge request Librem5/squeekboard!110
2019-08-01 15:06:43 +00:00
Dorota Czaplejewicz
b5f0aa423b
xml: Remove unused file
2019-08-01 14:16:01 +00:00
David Boddie
9344a13bed
Use headless init functions to prevent test breakage
2019-08-01 16:00:59 +02:00
David Boddie
c8bc2c424f
Merge branch 'errors' into 'master'
...
Errors
See merge request Librem5/squeekboard!107
2019-07-31 18:54:15 +00:00
David Boddie
46fa6d4500
Merge branch 'rust_tests' into 'master'
...
Rust tests
See merge request Librem5/squeekboard!106
2019-07-31 17:11:33 +00:00
David Boddie
6002774f95
Merge branch 'imservice_cleanups' into 'master'
...
Imservice cleanups
See merge request Librem5/squeekboard!105
2019-07-31 14:27:13 +00:00
Dorota Czaplejewicz
f7f208883c
errors: Make compilation stricter
2019-07-31 14:11:49 +00:00
Dorota Czaplejewicz
5523b00442
test: Add missing gtk include
2019-07-31 14:11:35 +00:00
Dorota Czaplejewicz
c81fdb18de
eekelement: Fix case falling through
2019-07-31 14:11:03 +00:00
Dorota Czaplejewicz
778543c719
rust: Add a call to Rust test framework
2019-07-31 11:20:57 +00:00
Dorota Czaplejewicz
18b8972029
bitflags: Use absolute imports
...
With relative import of the bitflags crate, the macros would try to fetch nonexistent paths, preventing tests form compiling.
2019-07-31 11:13:24 +00:00
Dorota Czaplejewicz
fa31f8eee1
imservice: Check pointer validity
2019-07-31 10:43:39 +00:00
Dorota Czaplejewicz
98a2e33d78
imservice: Use TryFrom for u32->enum conversions
2019-07-31 10:05:35 +00:00
Dorota Czaplejewicz
58d01bf502
imservice: Use discriminants in enums
2019-07-31 10:05:35 +00:00
Dorota Czaplejewicz
8326bd7016
rust: Create a root file for modules
...
The new `lib.rs` file is created to refer to all modules written in Rust. This way, only one `rustc` call is needed to compile an arbitrary amount of modules. It also converges with the way crates are structured.
2019-07-31 10:05:27 +00:00
Dorota Czaplejewicz
d5f8b0d83b
Merge branch 'simplify-rendering' into 'master'
...
Simplify layout and rendering
See merge request Librem5/squeekboard!102
2019-07-31 09:10:57 +00:00
Dorota Czaplejewicz
e70a898af5
Merge branch 'adjust-keyboard-geometry' into 'master'
...
Adjust keyboard geometry
See merge request Librem5/squeekboard!103
2019-07-31 06:39:45 +00:00
Dorota Czaplejewicz
df249646bc
Merge branch 'update-numeric-keypad' into 'master'
...
Rename keypad-related files
See merge request Librem5/squeekboard!101
2019-07-31 06:37:09 +00:00
David Boddie
35ff93258e
Adjust geometry to match the compact keyboard in places
2019-07-31 00:43:39 +02:00
David Boddie
c58d034494
Adjust bounds of the keyboard to better fit it in the available space
2019-07-31 00:43:36 +02:00
David Boddie
8f1de46381
Simplify layout and rendering
...
Remove pre-scaling of the bounds for the keyboard and its contents.
Calculate the scale factor based on the allocation and the desired width
and height of each keyboard, using the lower value of the horizontal and
vertical scale factors.
Apply scaling in the renderer and prepare to perform centering there.
2019-07-30 21:48:36 +00:00
David Boddie
1846a67e83
Merge branch 'readme' into 'master'
...
readme: Change the clone URL
Closes #30
See merge request Librem5/squeekboard!100
2019-07-30 20:39:09 +00:00
David Boddie
35ac14806c
Rename keypad-related files
2019-07-30 20:47:29 +02:00
Dorota Czaplejewicz
4aee4915d9
Merge branch 'generate-xkb-files' into 'master'
...
Generate XKB keymaps from XML instead of using pre-made ones
See merge request Librem5/squeekboard!90
2019-07-30 17:38:06 +00:00
David Boddie
5eeaa1c693
Remove unused geometry file
2019-07-30 19:28:16 +02:00
David Boddie
9b2fcf89e8
Use a test-oriented init call
2019-07-30 17:20:15 +02:00
David Boddie
e801a68f0d
Add comments to explain what empty labels do
2019-07-30 16:50:23 +02:00
Dorota Czaplejewicz
ffc5628637
readme: Change the clone URL
2019-07-30 13:08:12 +00:00