aboutsummaryrefslogtreecommitdiffstats
path: root/components/bluetooth_traits
Commit message (Collapse)AuthorAgeFilesLines
* Move `*_traits` and other shared types to `shared`Martin Robinson2023-11-034-391/+0
| | | | | | | | | | | | This is the start of the organization of types that are in their own crates in order to break dependency cycles between other crates. The idea here is that putting these packages into their own directory is the first step toward cleaning them up. They have grown organically and it is difficult to explain to new folks where to put new shared types. Many of these crates contain more than traits or don't contain traits at all. Notably, `script_traits` isn't touched because it is vendored from Gecko. Eventually this will move to `third_party`.
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-112-3/+5
| | | | | * strict imports formatting * Reformat all imports
* remove `extern crate` (#30311)Samson2023-09-082-3/+3
| | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Start the transition to workspace dependenciesMartin Robinson2023-05-171-3/+3
| | | | | | | This will ultimately make it simpler to update crate dependencies and reduce duplicate when specifying requirements. Generally, this change does not touch dependencies that are only used by a single crate. We could consider moving them to workspace dependencies in the future.
* Fix some Clippy lints.Teymour Aldridge2022-08-042-9/+8
|
* Some Cargo.toml cleanupsatouchet2020-05-131-1/+1
|
* Update ipc-channel and crossbeam-channel.Josh Matthews2020-02-201-1/+1
|
* Update ipc-channel and related dependenciesBastien Orivel2019-08-271-1/+1
|
* Update regex to 1.1CYBAI2019-04-291-1/+1
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-193-3/+3
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-3/+0
|
* Switch most crates to the 2018 editionSimon Sapin2018-11-061-0/+1
|
* Sort `use` statementsSimon Sapin2018-11-061-1/+1
|
* `cargo fix --edition`Simon Sapin2018-11-061-1/+1
|
* Add lots of derived Debug implsAlan Jeffrey2018-10-292-12/+12
|
* Make `mach test-unit` not recompile components after `mach build`Simon Sapin2018-10-071-3/+0
| | | | | | | | | | | | | Previously, the `tests` feature flag of the `embedder_traits` crate caused it and every crate recursively depending on it to be built twice. This feature flag was used to provide a specific set of "resources" when running tests. Instead, this commits overrides the `main()` function of the test harness to change resources at runtime before running any test. This is done by adding a dependency that has `name = "test"` in its `[lib]` section of `Cargo.toml`. This overrides the crate found by `extern crate test;` in code generated by `rustc --test`.
* Replace mpsc with crossbeam/servo channel, update ipc-channelSimon Sapin2018-09-121-1/+1
| | | | Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com>
* Format component bluetooth_traitskingdido9992018-08-173-37/+47
|
* Update regex to 1.0Bastien Orivel2018-07-071-1/+1
|
* Automatically provide a resource reader for testsPaul Rouget2018-04-301-0/+3
|
* delegate resource reading to embedderPaul Rouget2018-04-273-11/+4
|
* Bump ipc-channel and bincodeBastien Orivel2018-03-211-1/+1
| | | | This required bumping uuid too which unfortunately duplicated rand.
* Update WR (details below):Glenn Watson2017-10-161-1/+1
| | | | | | | | | | * Add support for clip masks on text runs. * Fix atomic ordering of items with multiple shadows. * Update to bincode + ipc-channel with optimizations. * Fix some plane splitting precision errors. * Improve the anti-aliasing quality significantly. * Add internal ClipChain support. * Fix diacritic glyphs on Linux.
* Remove explicit dependencies on serde_deriveSimon Sapin2017-06-162-3/+1
|
* Bump serde to 1.0Bastien Orivel2017-06-161-3/+3
|
* Update serde to 0.9 (fixes #15325)Anthony Ramine2017-02-181-3/+3
|
* Update ipc-channel to 0.6.3Anthony Ramine2017-02-161-1/+1
|
* Bluetooth Permission API integrationZakor Gyula2017-02-131-1/+2
|
* Implement GetAvailability for BluetoothAttila Dusnoki2017-02-081-0/+2
|
* Update regex.Ms2ger2017-01-161-1/+1
|
* Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06)Simon Sapin2017-01-061-2/+0
|
* Auto merge of #14612 - szeged:connect-disconnect-update, r=jdmbors-servo2016-12-221-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating GATTServer's Connect/Disconnect calls <!-- Please describe your changes on the following line: --> Added the missing [Step 5.2.3](https://github.com/servo/servo/compare/master...szeged:connect-disconnect-update#diff-1dbe29f87740f5aec93f37adbecace6cR213) to the `connect` function. Updated the [disconnect](https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattserver-disconnect) function to its current state in the specification, including the `clean_up_disconnected_device` and the `garbage_collect_the connection` functions. Added new tests for checking the invalid state of JS objects after disconnection. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14612) <!-- Reviewable:end -->
| * refactor Connect/Disconnect callsZakor Gyula2016-12-221-1/+3
| |
* | Separate the async bluetooth handling from networking code.Ms2ger2016-12-211-4/+0
|/ | | | | | | | | They're not at all related, besides both being asynchronous. This change adds a little extra code in response_async(), but makes this code more readable and reduces the unnecessary indirection. This change also makes the build system slightly more parallel, by dropping the dependency on bluetooth_traits from net_traits.
* Implement GetGATTChildrenAttila Dusnoki2016-12-161-16/+13
|
* Auto merge of #14592 - asajeffrey:util-goodbye, r=mbrubeckbors-servo2016-12-143-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the util crate <!-- Please describe your changes on the following line: --> This PR removes the `util` crate. * Replaced the `spawn_named` and `clamp` functions by appropriate uses of `std::thread::Builder::spawn`, `std::cmp::min` and `std::cmp::max`. * Moved `opts`, `prefs` and `resource_files` into a new `config` crate. * Moved `remutex` and `geometry` into their own crates. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because they are refactorings <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14592) <!-- Reviewable:end -->
| * Removed util.Alan Jeffrey2016-12-143-3/+3
| |
* | Replace AdvertisingData with AdvertisingEventAttila Dusnoki2016-12-141-4/+2
|/
* Fix a typo in bluetooth_traits/lib.rsZakor Gyula2016-11-281-1/+1
|
* Auto merge of #14276 - szeged:notify, r=jdmbors-servo2016-11-231-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Start/Stop notifications Add support for Start and Stop Notifications for WebBluetooth --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14276) <!-- Reviewable:end -->
| * Add Start/Stop notificationsAttila Dusnoki2016-11-231-0/+2
| |
* | serviceData and manufacturerData supportzakorgyula2016-11-231-13/+16
|/
* Rename blacklist to blocklistZakor Gyula2016-11-172-35/+35
|
* Webbluetooth Async behaviourAttila Dusnoki2016-11-081-13/+35
|
* Blacklisted items are removed when calling ↵fokinv2016-11-043-0/+129
| | | | getServices/Characteristics/Descriptors.
* Accepting empty deviceName, when requesting a BluetoothDevice.zakorgyula2016-11-041-6/+6
|
* Return with InvalidStateError if a Bluetooth id is not cached.zakorgyula2016-11-041-0/+1
|
* WebBluetooth Test APIzakorgyula2016-11-041-0/+1
|
* Split the bluetooth code out from the net crates.Ms2ger2016-11-033-0/+239