Ashley Wulber
71d9d6d5bb
chore: updates after iced-rebase
2026-03-31 22:34:59 +02:00
Cheong Lau
5369b4eb29
perf: use rustc-hash for HashMap and HashSet
2025-10-22 04:33:30 +02:00
Ashley Wulber
4dae45733e
fix(bluetooth): avoid device discovery when applet is not open
...
some devices' audio stutters while discovery is active
2025-10-20 16:21:08 +02:00
Cheong Lau
38c037c977
perf: use unstable sorting when async
...
Unstable sorting should be slightly faster than stable sorting, and if
the vector was built asynchronously then preserving the initial order
doesn't matter too much.
Continue to use stable sorting where the vector is not built
asynchronously, or if the vector is partially sorted (e.g. when new
elements are pushed to a sorted vector).
2025-10-07 17:04:51 +02:00
Cheong Lau
dd0158d8f0
perf: refactor to reduce memory allocations and cpu work
2025-10-07 17:04:51 +02:00
Cheong Lau
8e0f1c4a09
chore: apply recommendations from clippy
2025-10-04 02:51:18 +02:00
Cheong Lau
d2e080427f
perf: replace rand with fastrand
2025-10-03 15:25:51 +02:00
Vukašin Vojinović
2b7b4cba56
chore: update to Rust 2024 edition
2025-08-18 16:44:50 +02:00
Ian Douglas Scott
d3ef5b181b
Fix calls to rfkill on distros that put in in sbin
...
This makes the network applet work on Debian, for instance.
It may be better to directly use `/dev/rfkill`, but this improves things
for now.
2025-08-01 20:38:23 -07:00
Ashley Wulber
c539b0628b
fix(bluetooth): reversed min/max condition on retry timer
2025-07-18 20:06:19 +02:00
Ashley Wulber
b6bb982f2d
fix(bluetooth): cpu usage
2025-05-07 17:14:48 +02:00
Michael Aaron Murphy
4f1ef57fe2
fix(bluetooth): other devices not initially appearing
2025-04-17 17:30:55 +02:00
Michael Aaron Murphy
b19aea769a
perf(bluetooth): reduce CPU usage and improve async performance
2025-04-15 17:15:22 +02:00
Michael Aaron Murphy
b3515bb9ba
improv(bluetooth): potential fixes for excess CPU usage
2025-04-14 17:18:52 +02:00
Michael Aaron Murphy
25263dad7d
fix: missing icons and actions from the dock
2025-04-04 02:30:03 +02:00
Ashley Wulber
28c3c7c456
fix(bluetooth): await sleep
2025-03-19 15:56:49 +00:00
Ashley Wulber
115e526528
fix(bluetooth): use rfkill for blocking bluetooth
...
this state will be persisted after reboot
2025-03-09 14:40:26 +01:00
Ashley Wulber
f08d80a891
fix(bluetooth): watch devices for changes after toggled back on
2025-03-05 13:02:46 -05:00
Michael Aaron Murphy
dc86f23a73
chore: upgrade all dependencies
2025-02-19 18:31:56 +01:00
Alexander Bachmann
a046692241
refactor: remove dead code and unused imports
2025-02-10 13:15:23 +01:00
Alexander Bachmann
0f4667fc47
improve(bluetooth): ignore devices with unknown type and without alias
2025-02-10 13:13:14 +01:00
Ashley Wulber
5b5cd77e7c
update iced
2024-10-31 17:52:33 -04:00
Luca Biendl
8973374a80
feat(bluetooth): add battery indicator to devices with battery status
2024-08-15 10:17:37 +02:00
Michael Aaron Murphy
8527257ddd
chore: add SPDX license identifiers
2024-05-06 21:56:50 +02:00
Ashley Wulber
40bae48195
fix: connect to paired and trusted devices when they reappear
2024-03-25 15:33:32 -06:00
Ashley Wulber
829ae04cde
fix: autoconnect to paired and trusted devices
2024-03-25 15:33:31 -06:00
Ashley Wulber
158139d466
fix: update and fixes for bluetooth
2023-12-05 15:32:18 -05:00
daniel.eades
b1aa5debc1
tighten significant 'Drop'
2023-11-16 15:47:20 -05:00
daniel.eades
c360a6158e
prefer 'is_empty' to comparison with empty str
2023-11-16 15:47:20 -05:00
daniel.eades
974367f312
don't clone 'Copy' types
2023-11-16 15:47:20 -05:00
Ashley Wulber
7249b6af68
refactor(bluetooth): use channel subscription
2023-08-02 12:35:26 -06:00
Ashley Wulber
9ebd9b511a
wip: update libcosmic ( #93 )
...
* wip: update libcosmic
* fix: damge issue resolved by updating iced
* fix: high cpu usage by time applet and app-list
* refactor subscriptions to produce fewer events
* refactor network applet to use less cpu
* fix: text size
* refactor: i18n for audio applet
* refactor: power applet i18n setup
* fix (battery): always send profile update
* fix (battery): set toggler width to layout correctly
* fix (app-list): backoff for restarts of toplevel subscription
* fix (network): alignment
* feat: ask for comfirmation before applying power applet actions
* wip: integrate cosmic-config
* update zbus
* feat: update to use latest libcosmic
* update iced
* udpate deps
* update deps
* refactor: move applet helpers to this repo, outside of libcosmic.
this should help alleviate some dependency hell
* chore update deps
* update deps
* cleanup
2023-06-01 12:23:12 -04:00
Ashley Wulber
5c725dd7a1
fix: add scrollbar with enough devices and display address for unnamed devices
2023-02-15 11:17:44 -05:00
Ashley Wulber
f272037bdd
feat(bluetooth): icons & text sizing
2023-02-15 11:17:44 -05:00
Ashley Wulber
02f3e8d76c
refactor(bluetooth): handle end of device scan stream
2023-02-15 11:17:44 -05:00
Ashley Wulber
7a9ab9de72
feat(bluetooth): define ordering of device lists
2023-02-15 11:17:44 -05:00
Ashley Wulber
b1a5468547
feat(bluetooth): add discoverable & pairable toggles + fix bug where the receiver for bluetooth events is accidentally dropped
2023-02-15 11:17:44 -05:00
Ashley Wulber
c068343c4d
cleanup
2023-02-15 11:17:44 -05:00
Ashley Wulber
5e0baa62aa
fix: don't register as default agent
2023-02-15 11:17:44 -05:00
Ashley Wulber
7a003389b8
feat: pairing via applet's agent
2023-02-15 11:17:44 -05:00
Ashley Wulber
000ac7b8b4
wip: bluetooth applet
2023-02-15 11:17:44 -05:00