701 Commits
Author SHA1 Message Date
Sebastian Krzyszkowiak 754b520c05 Add "button-released" to the event naming spec
It has been added to the default theme in a985d0dd9f.
2020-07-03 16:02:09 +00:00
Dorota Czaplejewicz 08fbb1c0d6 build: Remove feedback dependencies from libfeedback builds 2020-06-27 10:25:00 +00:00
Guido Günther e4c793f6b2 README: Fix spelling
It's `from` not `form`.
2020-06-25 08:36:06 +02:00
Guido Günther f5f6308fc4 README: Fix command line tool name
It's called fbcli (but was called fbdcli initially)
2020-06-25 08:22:38 +02:00
Guido Günther 58c370407f fbcli: Quit main loop on CTRL-C / SIGTERM
This makes sure we invoke the cleanup function correctly and allows
to test running event handling.
2020-06-02 16:36:24 +00:00
Guido Günther 49dab605c2 libfeedback: Cancel all running feedbacks on uninit
We keep track of the active ids and end them on uninit. This
make sure feedbacks don't continue to run if the application quits
and forgets to end a feedback.
2020-06-02 16:36:24 +00:00
Guido Günther ceef33c6a0 libfeedback: Unset _initted early
This make sure a client does not end up in our shutdown phase and sees a
half initted library.
2020-06-02 16:36:24 +00:00
Guido Günther 1af281d8e2 data: Clarify DBus wording 2020-06-02 16:36:24 +00:00
Guido Günther bdf251e565 feedback-manager: Only act on add
We would otherwise ignore the action when no vibra device was yet found.
Make sure we release the old device when updating.
2020-06-02 16:36:24 +00:00
Guido Günther 5d947f51b1 feedback-manager: Fix indentation and typo 2020-06-02 16:36:24 +00:00
Guido Günther 784152ba67 feedback-manager: Drop superfluous g_clear_error
The error is a g_autoptr
2020-06-02 16:36:24 +00:00
Guido Günther 81fda3134b feedback-vibra: Make doc strings match the class name 2020-06-02 16:36:24 +00:00
Guido Günther 35f35b8bb4 feedback-profile: Fix docstring 2020-06-02 16:36:24 +00:00
Guido Günther 6c0ac9ad6c feedback-sound: Plug a leak
We did not free the effect name
2020-06-02 16:36:24 +00:00
Guido Günther f51721b77a lfb-event: Fix comment 2020-06-02 16:36:24 +00:00
Sebastian Krzyszkowiak a985d0dd9f data: Add button-released event 2020-05-28 16:05:10 +00:00
Sebastian Krzyszkowiak ff1c2993e6 data: Lower rumble time for window-close and button-pressed even more
Haptic feedback for touchscreen input should be as subtle as possible
to not make it distracting.
2020-05-28 16:05:10 +00:00
Guido Günther 7bd82a59aa Document changes and release 0.0.0+git20200527 2020-05-27 10:00:50 +02:00
Guido Günther 00c363293a Honor sound theme on GNOME
We don't set this for other DEs since they might want to pick
a good default from elsewhere.
2020-05-26 18:39:58 +02:00
Rasmus Thomsen 851b46f4a4 build: add proper dependencies on gdbus-codgen-generated headers
Without this it was possible that ninja built a target that needs
the generated header before the header was generated

fixes #14
2020-04-24 15:25:11 +02:00
Guido Günther fd5e63c0a0 Document changes and release 0.0.0+git20200420 2020-04-20 12:20:08 +02:00
Guido Günther 10b1c90d57 data: Lower rumble time for window-close and button press
It's too intrusive otherwise
2020-04-20 11:31:14 +02:00
Guido Günther 20dc8bd156 debian: Ensure smooth upgrades after package rename 2020-04-20 09:55:14 +02:00
Guido Günther 9cb62dee1d Allow to lower the feedback level per application
We munge the application id the same way as it's done
for notifications so these can eventually move into
the same schema.
2020-04-20 07:23:44 +00:00
Guido Günther eec1556d87 data: Add schema for per app settings 2020-04-20 07:23:44 +00:00
Guido Günther 49e5656ac1 theme: Add feedbacks for window-close and button-press 2020-04-20 07:23:44 +00:00
Guido Günther 4d484c9cc9 theme: order feedbacks alphabetically
We don't have better ordering but this makes is simple
to check if a feedback is present in a certain level.
2020-04-20 07:23:44 +00:00
Arnaud Ferraris 2fecbea077 debian: rename gir package to match typelib name 2020-04-19 09:25:19 +02:00
Arnaud Ferraris b21aa217bd d/control: change feedbackd-common architecture to 'all' 2020-04-19 09:25:14 +02:00
Arnaud Ferraris 3808fc0f32 d/control: customize short descriptions per binary package 2020-04-19 09:25:08 +02:00
Guido Günther e40fe3c343 debian: Add symbols file
This will allow dpkg-buildpackage to generate proper depends
2020-04-17 11:53:10 +02:00
Guido Günther 89edad123d Add symbols file 2020-04-17 11:45:02 +02:00
Guido Günther 351f56b1ad Document changes and release 0.0.0+git20200305 2020-03-23 10:21:20 +01:00
Guido Günther de3665975c feedbackd-common: Add proper Breaks/Replaces
This handles partial upgrades with newer schema but old feebackd.
2020-03-23 10:20:07 +01:00
Guido Günther d80b97ae9b Document changes and release 0.0.0+git20200304 2020-03-04 16:48:30 +01:00
Guido Günther dcae16429f Update .gitignore 2020-03-04 16:48:30 +01:00
Guido Günther 6723944782 debian: Split out shared files
This allows other programs (like gnome-control-center) to consume the
settings schema without having to depend on the daemon itself.
2020-03-04 15:28:27 +00:00
Guido Günther c5130abdac Fix typos 2020-03-04 15:28:27 +00:00
Rasmus Thomsen 4839853662 fbd-feedback-profile: use G_GSIZE_FORMAT instead of hardcoding lu
On 32-bit platforms lu doesn't apply since GType is defined as a gsize

fixes #15
2020-03-01 18:13:11 +01:00
Guido Günther 524ed476a2 Expand examples
Closes: #4
2020-02-25 18:37:23 +01:00
Guido Günther a2e86bd277 docs: Move descriptive text to overview.xml
Our short intro paragraph did not get rendered otherwise.
2020-02-25 18:37:23 +01:00
Guido Günther 96dd2abef2 lfb-event: Fix property names in doc strings
This makes them render correctly in the generated docs.
2020-02-25 18:35:16 +01:00
Guido Günther e3e9ba89fc lfb-event: Document constructor
Closes: #8
2020-02-25 18:35:16 +01:00
Guido Günther c54ff7fcb9 theme: Add timeout-completed event 2020-02-25 14:05:38 +00:00
Guido Günther 0be818a1e1 theme: Fix typo 2020-02-25 14:05:38 +00:00
Guido Günther a2d3e82cf1 gitignore: Ignore more files from debian packing
The current pattern was too strict to match all the files
generated during the Debian package build.
2020-02-25 13:11:09 +00:00
Guido Günther 7abeaf8816 debian: use proper test name 2020-02-25 13:11:09 +00:00
Guido Günther e4af4eb9f7 Fix typos 2020-02-25 13:11:09 +00:00
Guido Günther 38b0fa8df5 build: Don't add lfb-enums.c to list of generated sources
Otherwise when used as a subproject the master project will try
to rebuild with it's own set of flags. These lack
LIBFEEDBACK_COMPILATION which does not end well.
2020-02-25 12:46:40 +00:00
Guido Günther 41eda0ea49 libfeedback: Drop trailing semicolon
Trips up some compilers.

Thanks: Andrea Schaefer
2020-02-21 12:44:13 +01:00