Hysterical Raisins
5efb4cc58d
Bundle keyboard definitions
...
This allows running uninstalled from a git repo
Closes : #21 , #29
2019-07-11 13:40:03 +02:00
Hysterical Raisins
4b2977d601
Plug 3 leaks
2019-07-11 13:26:04 +02:00
Hysterical Raisins
2f1c1c2fb1
Remove unused variable and remove damage from botched rebase
...
- remove bounds it is not used.
- remove the g_clear_pointer, it does the same thing as the if-block
above, the were both there as the result of the merge, and it is
apparently easily overlooked
- cleanup after myself (FIXMEs)
2019-07-11 13:24:48 +02:00
David Boddie
f47ef09a1f
Merge branch 'implement-basic-views' into 'master'
...
Implement basic keyboard views
See merge request Librem5/squeekboard!51
2019-07-11 10:24:29 +00:00
David Boddie
47041b0fac
Implement basic keyboard views
...
Use existing concepts of levels and modifier latches and locks to
implement the three view design of issue #38 .
The use of a lock to switch from letter to numbers and a latch to
handle upper and lower case has side effects, but these can be
addressed in a future commit.
2019-07-10 23:33:45 +00:00
Sebastian Krzyszkowiak
b6111b5e00
Merge branch 'fix-backspace-key' into 'master'
...
Specify a keyval to make the backspace key work again
Closes #45
See merge request Librem5/squeekboard!50
2019-07-10 23:12:59 +00:00
David Boddie
b8a2b2d7c8
Specify a keyval to make the backspace key work again
2019-07-11 01:09:04 +02:00
David Boddie
0765ea1b86
Merge branch 'update-symbols' into 'master'
...
Update symbols to more closely resemble #38
See merge request Librem5/squeekboard!48
2019-07-10 22:20:30 +00:00
David Boddie
64223704e0
Update symbols to more closely resemble #38
2019-07-10 23:50:34 +02:00
Guido Gunther
8c14763ea4
Merge branch 'theme-path' into 'master'
...
Drop now unused theme_path
See merge request Librem5/squeekboard!46
2019-07-10 17:09:58 +00:00
Guido Gunther
10cd93022a
Merge branch 'update-icons' into 'master'
...
Use an icon for backspace
See merge request Librem5/squeekboard!47
2019-07-10 16:57:09 +00:00
David Boddie
d006aede6a
Merge branch 'top-margin' into 'master'
...
Add some border at the top
Closes #28
See merge request Librem5/squeekboard!43
2019-07-10 15:46:16 +00:00
Guido Günther
b57e1ce660
Drop now unused theme_path
2019-07-10 15:39:16 +02:00
David Boddie
1b59c4dad3
Use an icon for backspace
2019-07-10 14:36:19 +02:00
David Boddie
189c721d7e
Merge branch 'use_gresource' into 'master'
...
Use a gresource to store the css
See merge request Librem5/squeekboard!28
2019-07-10 11:36:53 +00:00
David Boddie
1ff1592f24
Merge branch 'master' into 'use_gresource'
...
# Conflicts:
# src/server-context-service.c
2019-07-10 11:35:40 +00:00
Guido Günther
7f5f310bf0
Add some border at the top
...
Closes : #28
2019-07-10 11:31:24 +02:00
David Boddie
f999861228
Merge branch 'remove-more-unused-code-and-data' into 'master'
...
Remove unused color definitions
See merge request Librem5/squeekboard!42
2019-07-09 21:40:36 +00:00
David Boddie
a571bd7dca
Remove unused color definitions
2019-07-09 17:55:40 +02:00
David Boddie
3d0d28fa01
Merge branch 'remove-unused-eekboard-context-service-code' into 'master'
...
Remove currently unused eekboard code
See merge request Librem5/squeekboard!41
2019-07-09 15:48:59 +00:00
David Boddie
4c54b49ef5
Merge branch 'remove-unused-sources' into 'master'
...
Remove unlisted files
See merge request Librem5/squeekboard!38
2019-07-09 14:44:00 +00:00
David Boddie
eb940bcf52
Remove currently unused eekboard code
2019-07-09 16:34:16 +02:00
David Boddie
be0e773879
Merge branch 'quick-review-fast-lane-very-speedy' into 'master'
...
Some cleanups, and some FIXME hints for future work (no functional changes)
See merge request Librem5/squeekboard!39
2019-07-09 14:25:45 +00:00
David Boddie
056e07e80e
Merge branch 'prevent-warnings' into 'master'
...
Prevent compiler warnings by commenting out unused code
See merge request Librem5/squeekboard!37
2019-07-09 13:44:54 +00:00
David Boddie
83b36d07d0
Add note about unused code
2019-07-09 15:28:02 +02:00
Hysterical Raisins
89aaf05aff
Some minor cleanups
2019-07-09 13:52:23 +02:00
Hysterical Raisins
2f87fd46fb
Improve codeflow
2019-07-09 13:50:14 +02:00
Hysterical Raisins
e04276ee38
Use properly typed and named variables for user_data
2019-07-09 13:46:44 +02:00
Hysterical Raisins
05c3061f08
Add some FIXME hints for future work
2019-07-09 13:41:20 +02:00
Hysterical Raisins
c33006bcbc
use g_clear_pointer with gtk_widget_destroy
...
brief, clear, idiomatic and grep friendly
2019-07-09 13:33:49 +02:00
David Boddie
4bf4500ae1
Remove unlisted files
2019-07-09 01:07:19 +02:00
David Boddie
e2944ff4a7
Use a macro to declare a type with private data
2019-07-09 00:46:03 +02:00
David Boddie
f79b5dadbb
Use a macro to declare a type with private data
2019-07-09 00:41:25 +02:00
David Boddie
4d44129b04
Prevent compiler warnings by commenting out unused code
2019-07-09 00:24:57 +02:00
David Boddie
b3e1d84e6c
Merge branch 'mem' into 'master'
...
Fix visibility-related bugs
See merge request Librem5/squeekboard!25
2019-07-08 21:25:27 +00:00
David Boddie
6702edaa9d
Merge branch 'fix-deprecated-warnings' into 'master'
...
Fix deprecated warnings
See merge request Librem5/squeekboard!34
2019-07-08 21:19:57 +00:00
David Boddie
a3a6e5933a
Merge branch 'quick-review-fast-lane-very-speedy' into 'master'
...
Quick review fast lane very speedy
See merge request Librem5/squeekboard!36
2019-07-08 21:01:40 +00:00
Hysterical Raisins
66ec95ebb0
fix-up prototypes (-Wincompatible-pointer-types)
2019-07-08 09:21:26 +02:00
Hysterical Raisins
a944bf85b8
remove stray const (-Wdiscarded-qualifiers)
2019-07-08 09:20:17 +02:00
Hysterical Raisins
1d1829f664
fix accidentally committed line (-Wincompatible-pointer-types)
2019-07-08 09:18:41 +02:00
Hysterical Raisins
094aa872ce
Cleanups: fix deprecated g_type_class_add_private()
...
- use G_DECLARE_ and G_DEFINE_ macros
- move all data into ClassNamePrivate
- use _get_instance_private()
This should not introduce any functional changes or breakage.
Skipped two classes (EekKeyboard and EekboardContextService) for now in
order not to break the build.
These two classes are used in some very funky WIP code that tries to
circumvent encapsulation.
(Funky code is in eekboard/key-emitter.c and eekboard/eekboard-context-service.c)
2019-07-08 08:44:05 +02:00
Hysterical Raisins
eaf925e30b
Cleanups: fix g_type_init() deprecation warning
...
None of this seems necessary anymore. This file could be axed, but leave
it for now.
2019-07-08 08:39:43 +02:00
Hysterical Raisins
722d3d1ad4
Cleanups: fix deprecations
...
gtk_widget_get_root_window()
gdk_screen_get_monitor_at_window()
gdk_screen_get_monitor_geometry()
2019-07-08 08:39:16 +02:00
Dorota Czaplejewicz
b69b3e9409
Merge branch 'fix-uninitialized-var' into 'master'
...
Fix an uninitialized-variable warning, and fixes gradients (quickie)
See merge request Librem5/squeekboard!35
2019-07-07 17:37:11 +00:00
Hysterical Raisins
ae5eaeec93
Fix an uninitialized-variable warning, and fixes gradients
2019-07-07 18:45:56 +02:00
Dorota Czaplejewicz
c393eb20be
Merge branch 'improve-key-rendering' into 'master'
...
Improve key rendering and eliminate two deprecation warnings
See merge request Librem5/squeekboard!33
2019-07-07 11:39:12 +00:00
Hysterical Raisins
0e8715b4ff
Improve key rendering and eliminate two deprecation warnings
...
- Replace two calls to deprecated gdk_cairo_create()
- Alleviate asymmetry between rendering pressed and released keys
by consistenly clipping the same area up front to avoid
artefacts
- make sure pressed and released keys are shown immediately by
calling gdk_window_invalidate_rect()
- improve consistency between render_(pressed|locked|released)_key
- improve code flow
2019-07-07 11:34:24 +02:00
Dorota Czaplejewicz
b09c812579
Merge branch 'drop-icons' into 'master'
...
Drop icons
See merge request Librem5/squeekboard!29
2019-07-04 18:34:15 +00:00
Dorota Czaplejewicz
d6f7c271e2
Merge branch 'kill-automake' into 'master'
...
Remove automake leftovers
See merge request Librem5/squeekboard!27
2019-07-04 18:26:24 +00:00
Guido Günther
f1d97e396b
Drop icons
...
They're not being installed and we want ones matching current
GNOME design anyway.
2019-07-04 16:25:05 +02:00