@@ -36,7 +36,7 @@ feedbackd 0.4.1
|
|||||||
---------------
|
---------------
|
||||||
Released August 2024
|
Released August 2024
|
||||||
* Simplify udev rule installation
|
* Simplify udev rule installation
|
||||||
* Dont' fail tests with newer json-glib
|
* Don't fail tests with newer json-glib
|
||||||
* Issues fixed:
|
* Issues fixed:
|
||||||
* https://source.puri.sm/Librem5/feedbackd/-/issues/79
|
* https://source.puri.sm/Librem5/feedbackd/-/issues/79
|
||||||
* Contributors:
|
* Contributors:
|
||||||
@@ -50,7 +50,7 @@ Released June 2024
|
|||||||
* Internal cleanups and restructuring to cater for different
|
* Internal cleanups and restructuring to cater for different
|
||||||
LED types.
|
LED types.
|
||||||
* Support RGB color mixing for multicolor leds
|
* Support RGB color mixing for multicolor leds
|
||||||
* Allow to use (camera) flash LEDs as notificaton LED
|
* Allow to use (camera) flash LEDs as notification LED
|
||||||
* Immediately end "too noisy" feedbacks when switching profile levels
|
* Immediately end "too noisy" feedbacks when switching profile levels
|
||||||
* Issues fixed:
|
* Issues fixed:
|
||||||
* https://source.puri.sm/Librem5/feedbackd/-/issues/77
|
* https://source.puri.sm/Librem5/feedbackd/-/issues/77
|
||||||
|
|||||||
@@ -177,7 +177,7 @@ modified theme file in
|
|||||||
If multiple theme files exist, the selection logic follows these steps:
|
If multiple theme files exist, the selection logic follows these steps:
|
||||||
|
|
||||||
1. It picks an identifier from the devicetree, until none are left
|
1. It picks an identifier from the devicetree, until none are left
|
||||||
1. It searches through the folders in `XDG_DATA_DIRS` in order of appearence,
|
1. It searches through the folders in `XDG_DATA_DIRS` in order of appearance,
|
||||||
until none are left
|
until none are left
|
||||||
1. If a theme file is found in the current location with the current name,
|
1. If a theme file is found in the current location with the current name,
|
||||||
**it will be chosen** and other themes are ignored.
|
**it will be chosen** and other themes are ignored.
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<default>false</default>
|
<default>false</default>
|
||||||
<summary>Prefer camera flash LED over notification LED</summary>
|
<summary>Prefer camera flash LED over notification LED</summary>
|
||||||
<description>
|
<description>
|
||||||
Prefer the (camera) flash LED over other notifiction LEDs.
|
Prefer the (camera) flash LED over other notification LEDs.
|
||||||
</description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
|
|
||||||
|
|||||||
Vendored
+9
-9
@@ -33,9 +33,9 @@ feedbackd (0.6.0) experimental; urgency=medium
|
|||||||
|
|
||||||
[ Guido Günther ]
|
[ Guido Günther ]
|
||||||
* event-naming-spec: Fix section description
|
* event-naming-spec: Fix section description
|
||||||
* event-naming-spec: Expand on notifiction events.
|
* event-naming-spec: Expand on notification events.
|
||||||
We move them to the system category as the notification server
|
We move them to the system category as the notification server
|
||||||
is a system component and add an event for now notifictions
|
is a system component and add an event for new notifications
|
||||||
for the notification server to use
|
for the notification server to use
|
||||||
* theme: Add notification-missed-new.
|
* theme: Add notification-missed-new.
|
||||||
We'll remove message-new-notification somewhat later to not break
|
We'll remove message-new-notification somewhat later to not break
|
||||||
@@ -101,7 +101,7 @@ feedbackd (0.5.0) experimental; urgency=medium
|
|||||||
[ Guido Günther ]
|
[ Guido Günther ]
|
||||||
* packaging: Update lintian overrides
|
* packaging: Update lintian overrides
|
||||||
* packaging: Install NEWS and README. They contain useful information
|
* packaging: Install NEWS and README. They contain useful information
|
||||||
* packaging: Use pkgconf. It's prefered over pkg-config in Debian
|
* packaging: Use pkgconf. It's preferred over pkg-config in Debian
|
||||||
* doc: Document gsettings used by feedbackd
|
* doc: Document gsettings used by feedbackd
|
||||||
* udev: Add support for haptics on Oneplus Enchilada / Fajita.
|
* udev: Add support for haptics on Oneplus Enchilada / Fajita.
|
||||||
The spmi_haptics driver isn't in mainline Linux as of Linux 6.11.
|
The spmi_haptics driver isn't in mainline Linux as of Linux 6.11.
|
||||||
@@ -266,7 +266,7 @@ feedbackd (0.4.0) experimental; urgency=medium
|
|||||||
even if the device is suspended.
|
even if the device is suspended.
|
||||||
* fbd-dev-led-qcom-multicolor: Support QCOM LPG LED multicolor.
|
* fbd-dev-led-qcom-multicolor: Support QCOM LPG LED multicolor.
|
||||||
QCOM LPG LEDs can also operate in a multicolor fashion.
|
QCOM LPG LEDs can also operate in a multicolor fashion.
|
||||||
Re-use the probing sequence of multicolor LEDs and the hw_pattern
|
Reuse the probing sequence of multicolor LEDs and the hw_pattern
|
||||||
configuration of single color QCOM LPG LEDs.
|
configuration of single color QCOM LPG LEDs.
|
||||||
* fbd-dev-leds: Probe QCOM HW LED types.
|
* fbd-dev-leds: Probe QCOM HW LED types.
|
||||||
Try first the QCOM hardware LED types which require the most features of
|
Try first the QCOM hardware LED types which require the most features of
|
||||||
@@ -486,7 +486,7 @@ feedbackd (0.0.2) experimental; urgency=medium
|
|||||||
* Include specifications in the documentation.
|
* Include specifications in the documentation.
|
||||||
Now that we can use markdown easily add them as they provide
|
Now that we can use markdown easily add them as they provide
|
||||||
help to the developer what events exist, etc.
|
help to the developer what events exist, etc.
|
||||||
* dir-locals: Simlify consistent JS indenting
|
* dir-locals: Simplify consistent JS indenting
|
||||||
* feedback-vibra: Fix indentation
|
* feedback-vibra: Fix indentation
|
||||||
* tests: Test feedback theme name
|
* tests: Test feedback theme name
|
||||||
* feedback-theme: No need for constructed.
|
* feedback-theme: No need for constructed.
|
||||||
@@ -700,13 +700,13 @@ feedbackd (0.0.0+git20210426) byzantium; urgency=medium
|
|||||||
* event: Make log-domain match source file name
|
* event: Make log-domain match source file name
|
||||||
* tests: Run event tests too
|
* tests: Run event tests too
|
||||||
* event: Remove 'g' prefix from common C types.
|
* event: Remove 'g' prefix from common C types.
|
||||||
This matchs phosh's style.
|
This matches phosh's style.
|
||||||
* fbd-event: Add sender property.
|
* fbd-event: Add sender property.
|
||||||
This allows us to store the DBus sender
|
This allows us to store the DBus sender
|
||||||
* fbd-manager: Keep DBus sender around
|
* fbd-manager: Keep DBus sender around
|
||||||
* feedback-manager: Track DBus clients and end feedbacks if they go away.
|
* feedback-manager: Track DBus clients and end feedbacks if they go away.
|
||||||
When the client goes away we build up a list of events to end feedback
|
When the client goes away we build up a list of events to end feedback
|
||||||
for to make sure the hash table isn't modified in place. tThe alternative
|
for to make sure the hash table isn't modified in place. the alternative
|
||||||
approach would be to disconnect the on_event_feedbacks_ended handler,
|
approach would be to disconnect the on_event_feedbacks_ended handler,
|
||||||
duplicate the DBus signal emission and use g_hash_table_foreach_remove
|
duplicate the DBus signal emission and use g_hash_table_foreach_remove
|
||||||
but that looks less robust than using the same code path. (Closes: #25)
|
but that looks less robust than using the same code path. (Closes: #25)
|
||||||
@@ -838,7 +838,7 @@ feedbackd (0.0.0+git20200714) amber-phone; urgency=medium
|
|||||||
|
|
||||||
[ Guido Günther ]
|
[ Guido Günther ]
|
||||||
* lfb-event: Clarify return values of `finished` functions.
|
* lfb-event: Clarify return values of `finished` functions.
|
||||||
They just inidicate that we talked to feedbackd successfully.
|
They just indicate that we talked to feedbackd successfully.
|
||||||
* lfb-event: Connect done handler in async case too.
|
* lfb-event: Connect done handler in async case too.
|
||||||
Otherwise the event state is not updated properly
|
Otherwise the event state is not updated properly
|
||||||
* tests: Don't quit mainloop on event end.
|
* tests: Don't quit mainloop on event end.
|
||||||
@@ -886,7 +886,7 @@ feedbackd (0.0.0+git20200707) amber-phone; urgency=medium
|
|||||||
trigger.
|
trigger.
|
||||||
* data: Use LED feedback for missed calls, IMs and SMS
|
* data: Use LED feedback for missed calls, IMs and SMS
|
||||||
* Add generic missed notification.
|
* Add generic missed notification.
|
||||||
This can be used e.g. by the shell for general purpose notifictions
|
This can be used e.g. by the shell for general purpose notifications
|
||||||
but also for in app notifications of the foreground app.
|
but also for in app notifications of the foreground app.
|
||||||
* feedback-manager: Add hint to select feedback profile per event.
|
* feedback-manager: Add hint to select feedback profile per event.
|
||||||
This e.g. allows events that are meant for haptic only to avoid
|
This e.g. allows events that are meant for haptic only to avoid
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ The `Led` feedback type uses two properties to specify the way a LED blinks.
|
|||||||
`green`, `blue` and `white` as well as values in the RGB HEX format (`#RRGGBB`) where
|
`green`, `blue` and `white` as well as values in the RGB HEX format (`#RRGGBB`) where
|
||||||
`RR`, `GG` and `BB` are two digit hex value between `00` and `FF` specifying the value of
|
`RR`, `GG` and `BB` are two digit hex value between `00` and `FF` specifying the value of
|
||||||
each component. E.g. `#00FFFF` corresponds to cyan color.
|
each component. E.g. `#00FFFF` corresponds to cyan color.
|
||||||
- `frequency`: The LEDs blinkinig frequencey in mHz.
|
- `frequency`: The LEDs blinkinig frequency in mHz.
|
||||||
|
|
||||||
See also
|
See also
|
||||||
========
|
========
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ call [func@Lfb.init]() with the id of your application (usually
|
|||||||
the desktop file name without the .desktop extension). For that you
|
the desktop file name without the .desktop extension). For that you
|
||||||
include the `libfeedback.h` header. Since the API is considered
|
include the `libfeedback.h` header. Since the API is considered
|
||||||
unstable at this point in time you need to acknowledge this by
|
unstable at this point in time you need to acknowledge this by
|
||||||
definining `LIBFEEDBACK_USE_UNSTABLE_API`:
|
defining `LIBFEEDBACK_USE_UNSTABLE_API`:
|
||||||
|
|
||||||
```c
|
```c
|
||||||
#define LIBFEEDBACK_USE_UNSTABLE_API
|
#define LIBFEEDBACK_USE_UNSTABLE_API
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ lfb_cancel_feedbacks (void)
|
|||||||
while (g_hash_table_iter_next (&iter, &key, &value)) {
|
while (g_hash_table_iter_next (&iter, &key, &value)) {
|
||||||
guint id = GPOINTER_TO_UINT(key);
|
guint id = GPOINTER_TO_UINT(key);
|
||||||
g_hash_table_iter_remove (&iter);
|
g_hash_table_iter_remove (&iter);
|
||||||
g_debug ("Cancellling feedback on shutdown %d", id);
|
g_debug ("Cancelling feedback on shutdown %d", id);
|
||||||
/* Need to use a sync call here since there might not be a main loop anymore */
|
/* Need to use a sync call here since there might not be a main loop anymore */
|
||||||
lfb_gdbus_feedback_call_end_feedback_sync (_proxy, id, NULL, NULL);
|
lfb_gdbus_feedback_call_end_feedback_sync (_proxy, id, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ fbd_dev_led_multicolor_probe (FbdDevLed *led, GError **error)
|
|||||||
priv->blue_index = counter;
|
priv->blue_index = counter;
|
||||||
counter++;
|
counter++;
|
||||||
} else {
|
} else {
|
||||||
g_warning ("Unsupport LED color index: %d %s", counter, index[i]);
|
g_warning ("Unsupported LED color index: %d %s", counter, index[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ fbd_feedback_manager_handle_vibrate (LfbGdbusFeedbackHaptic *object,
|
|||||||
fbd_feedback_end (FBD_FEEDBACK_BASE (self->vibra));
|
fbd_feedback_end (FBD_FEEDBACK_BASE (self->vibra));
|
||||||
if (fbd_dev_vibra_is_busy (vibra_dev)) {
|
if (fbd_dev_vibra_is_busy (vibra_dev)) {
|
||||||
g_debug ("Haptic busy");
|
g_debug ("Haptic busy");
|
||||||
/* If there's an event with haptic deny haptic patter */
|
/* If there's an event with haptic deny haptic pattern */
|
||||||
lfb_gdbus_feedback_haptic_complete_vibrate (object, invocation, FALSE);
|
lfb_gdbus_feedback_haptic_complete_vibrate (object, invocation, FALSE);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user