-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a new Bluetooth indicator #459
Commits on Jan 27, 2024
-
Implement the private portion of the Bluetooth API
(I hope... The organization is a mess.) Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba0d60b - Browse repository at this point
Copy the full SHA ba0d60bView commit details -
Add the public-facing Bluetooth API
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 29f9614 - Browse repository at this point
Copy the full SHA 29f9614View commit details -
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 891dea9 - Browse repository at this point
Copy the full SHA 891dea9View commit details -
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 820d716 - Browse repository at this point
Copy the full SHA 820d716View commit details -
WIP: Redo Bluetooth indicator and popover
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f7d4d1 - Browse repository at this point
Copy the full SHA 5f7d4d1View commit details -
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 672501a - Browse repository at this point
Copy the full SHA 672501aView commit details -
Greatly simplify the BluetoothClient API
At this time, I have no idea how to integrate the UPower aspect with the Bluetooth devices. Moreover, I can't test if it's working even if I did, because none of my Bluetooth devices trigger the UPower signals. Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c4f9d82 - Browse repository at this point
Copy the full SHA c4f9d82View commit details -
Follow Vala naming conventions
It'll automagically figure it out for DBus. Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 588dbab - Browse repository at this point
Copy the full SHA 588dbabView commit details -
Add new Bluetooth popover layout
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 72b4082 - Browse repository at this point
Copy the full SHA 72b4082View commit details -
Add widgets for Bluetooth devices
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae5f353 - Browse repository at this point
Copy the full SHA ae5f353View commit details -
Pack popover header like the new network popover header
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d0a8fe - Browse repository at this point
Copy the full SHA 1d0a8feView commit details -
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a098229 - Browse repository at this point
Copy the full SHA a098229View commit details -
Make sure connection button is clickable if the device is now paired
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 64ec428 - Browse repository at this point
Copy the full SHA 64ec428View commit details -
Implement pairing and forgetting Bluetooth devices
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 91fe9cd - Browse repository at this point
Copy the full SHA 91fe9cdView commit details -
Set a filter for Bluetooth discovery so we only get actual discoverab…
…le devices Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 669b4b8 - Browse repository at this point
Copy the full SHA 669b4b8View commit details -
Start/stop discovery on all adapters instead of the first one found
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f2d74e6 - Browse repository at this point
Copy the full SHA f2d74e6View commit details -
Ensure that the correct height is given to the listbox
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fb3da60 - Browse repository at this point
Copy the full SHA fb3da60View commit details -
Remove the Meson option for Bluetooth
The reason for the option's addition no longer applies; the new Bluetooth indicator uses Bluez directly instead of gnome-bluetooth. Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f71bace - Browse repository at this point
Copy the full SHA f71baceView commit details -
Use better wording for pairing button
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b3322ea - Browse repository at this point
Copy the full SHA b3322eaView commit details -
Reset revealer state when DBus operations are successful
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9427cfb - Browse repository at this point
Copy the full SHA 9427cfbView commit details -
Always set adapters to be discovering
While not ideal, I suspect this is the only way to reliably pair devices. Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e314ff1 - Browse repository at this point
Copy the full SHA e314ff1View commit details -
Forget about Bluetooth pairing; leave it to the Settings
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab12231 - Browse repository at this point
Copy the full SHA ab12231View commit details -
Remove forget device button because dialogs from the panel are Bad TM
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4501673 - Browse repository at this point
Copy the full SHA 4501673View commit details -
Make Bluetooth row widget subclass ListBoxRow
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f5fcd91 - Browse repository at this point
Copy the full SHA f5fcd91View commit details -
Add slightly more spacing around separators
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f107a8 - Browse repository at this point
Copy the full SHA 7f107a8View commit details -
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b3a0704 - Browse repository at this point
Copy the full SHA b3a0704View commit details -
Filter out unpaired Bluetooth devices
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df858fa - Browse repository at this point
Copy the full SHA df858faView commit details -
Rename row widget to be shorter and add consistent style classes
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa24672 - Browse repository at this point
Copy the full SHA fa24672View commit details -
Add an expander indicator to Bluetooth device rows
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c48641b - Browse repository at this point
Copy the full SHA c48641bView commit details -
Show connected devices, paired or not
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d01de3 - Browse repository at this point
Copy the full SHA 7d01de3View commit details -
Implement power display for Bluetooth devices
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6dfedc - Browse repository at this point
Copy the full SHA c6dfedcView commit details -
Use correct icon name for generic bluetooth items
At least so far as there is a correct icon... Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b3af29 - Browse repository at this point
Copy the full SHA 6b3af29View commit details -
Add styling to Bluetooth applet
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c6f1fb - Browse repository at this point
Copy the full SHA 6c6f1fbView commit details -
Redesign of Bluetooth device rows
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d79ac2d - Browse repository at this point
Copy the full SHA d79ac2dView commit details -
Update the name of a Bluetooth device if it changes
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 90911d9 - Browse repository at this point
Copy the full SHA 90911d9View commit details -
Add a placeholder widget if there are no Bluetooth devices
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b63b435 - Browse repository at this point
Copy the full SHA b63b435View commit details -
Make setting a new UPower device more robust
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 408168e - Browse repository at this point
Copy the full SHA 408168eView commit details -
Updating the battery state when the UPower device is null closes the …
…revealer We want to do this, so put it above the null check. Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ea5e6c - Browse repository at this point
Copy the full SHA 9ea5e6cView commit details -
Don't rely on theme to pad revealer
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 07cd3af - Browse repository at this point
Copy the full SHA 07cd3afView commit details -
Refine dis/connection code flow
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a422a2 - Browse repository at this point
Copy the full SHA 9a422a2View commit details -
Show or hide the panel widget based on if a Bluetooth adapter is present
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac0dded - Browse repository at this point
Copy the full SHA ac0ddedView commit details -
Remove extra separator in Bluetooth popover
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2dbadbd - Browse repository at this point
Copy the full SHA 2dbadbdView commit details -
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 869564d - Browse repository at this point
Copy the full SHA 869564dView commit details -
Ensure that state hinging on connection status is always updated
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb4bb9a - Browse repository at this point
Copy the full SHA cb4bb9aView commit details -
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 467ec47 - Browse repository at this point
Copy the full SHA 467ec47View commit details -
Refine battery display for new device row layout
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e821bb9 - Browse repository at this point
Copy the full SHA e821bb9View commit details -
Update the tray icon when Bluetooth is enabled or disabled
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 22e0097 - Browse repository at this point
Copy the full SHA 22e0097View commit details -
bluetooth-indicator: Invalidate the device filter whenever we invalid…
…ate the sorting Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1a4ee8 - Browse repository at this point
Copy the full SHA b1a4ee8View commit details -
bluetooth-indicator: Final (I hope) design edit to the device row layout
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9ab2a7 - Browse repository at this point
Copy the full SHA c9ab2a7View commit details -
bluetooth-indicator: Use an icon button for the disconnect button
Also fixes some spacing issues when not using built-in theme. Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8bfae77 - Browse repository at this point
Copy the full SHA 8bfae77View commit details -
[WIP] bluetooth-indicator: Implement support for file sending
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1baa1a - Browse repository at this point
Copy the full SHA b1baa1aView commit details -
bluetooth-indicator: Use rfkill to enable/disable Bluetooth
Yes, the DBus interface for it is provided by Gnome Settings Daemon, but that's always going to be present anyways and this makes life way simpler. Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f249729 - Browse repository at this point
Copy the full SHA f249729View commit details -
bluetooth-indicator: Use label attributes to achieve consistent styli…
…ng across all themes Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b175a06 - Browse repository at this point
Copy the full SHA b175a06View commit details -
build: Reintroduce option to compile without Bluetooth
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4b08e87 - Browse repository at this point
Copy the full SHA 4b08e87View commit details -
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f92036e - Browse repository at this point
Copy the full SHA f92036eView commit details -
[WIP] bluetooth: Implement bluetooth sendto functionality
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e58bd4b - Browse repository at this point
Copy the full SHA e58bd4bView commit details -
sendto: Fix command line arguments
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a20022 - Browse repository at this point
Copy the full SHA 3a20022View commit details -
sendto: Better description for files arg
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28819c0 - Browse repository at this point
Copy the full SHA 28819c0View commit details -
sendto: Remember to remove comment
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d71f89 - Browse repository at this point
Copy the full SHA 6d71f89View commit details -
sendto: Properly exit if the file picker or scan dialog is closed
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 92de442 - Browse repository at this point
Copy the full SHA 92de442View commit details -
bluetooth-indicator: Hook up file send button in the header
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f73a8d - Browse repository at this point
Copy the full SHA 9f73a8dView commit details -
sendto: Implement file receiving, which manages to break everything
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2788220 - Browse repository at this point
Copy the full SHA 2788220View commit details -
bluetooth/sendto: Fix issues with no transfer dialog windows being shown
Also fixes saving received files to the Downloads folder. Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f51606 - Browse repository at this point
Copy the full SHA 1f51606View commit details -
sendto: Correct attribution in file headers
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c65652d - Browse repository at this point
Copy the full SHA c65652dView commit details -
sendto: Add spacing in dialogs
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 181545e - Browse repository at this point
Copy the full SHA 181545eView commit details -
sendto: Cancel the transfer on cancel/reject
This means that the sending device will no longer still send the file, even if the transfer was rejected. Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0aef339 - Browse repository at this point
Copy the full SHA 0aef339View commit details -
bluetooth-indicator: Use symbolic icons for the tray item
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f0a34a - Browse repository at this point
Copy the full SHA 8f0a34aView commit details -
sendto: Filter devices in the device chooser by connected state
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 419cae4 - Browse repository at this point
Copy the full SHA 419cae4View commit details -
sendto: Let's actually use the grid we're creating for the header
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54cddb8 - Browse repository at this point
Copy the full SHA 54cddb8View commit details -
sendto: Somehow these files were using spaces instead of tabs
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c40c6e - Browse repository at this point
Copy the full SHA 7c40c6eView commit details -
sendto: Add titles and margins to send and receive dialogs
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b9a67b5 - Browse repository at this point
Copy the full SHA b9a67b5View commit details -
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d022e6b - Browse repository at this point
Copy the full SHA d022e6bView commit details -
sendto: Use the correct property when looking for changes
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c3a682d - Browse repository at this point
Copy the full SHA c3a682dView commit details -
sendto: Refactor format_time function
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05e95d2 - Browse repository at this point
Copy the full SHA 05e95d2View commit details -
Apply suggestions from code review
Co-authored-by: Joshua Strobl <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a55093 - Browse repository at this point
Copy the full SHA 1a55093View commit details -
sendto: Add new base dialog class
Both the send and receive dialogs are almost the same, the main difference being in the background implementation and wording of strings. This causes some duplicated logic, especially around the formatting of times remaining. This adds a new base class that both dialogs can derive from while still having their own implementations for doing the work, leading to less duplicated code. Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bac7e64 - Browse repository at this point
Copy the full SHA bac7e64View commit details -
bluetooth-indicator: Address feedback from fossfreedom
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81a2bfc - Browse repository at this point
Copy the full SHA 81a2bfcView commit details -
sendto, bluetooth-indicator: Support sending files to a specific device
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 32cd3ab - Browse repository at this point
Copy the full SHA 32cd3abView commit details -
bluetooth-indicator: Fix button relief and device class checks
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a16257 - Browse repository at this point
Copy the full SHA 4a16257View commit details -
bluetooth-indicator: Hide the device's battery status when disconnected
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a46306 - Browse repository at this point
Copy the full SHA 1a46306View commit details -
bluetooth-indicator: Remove debugging message
Signed-off-by: Evan Maddock <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 891839e - Browse repository at this point
Copy the full SHA 891839eView commit details