aboutsummaryrefslogtreecommitdiffstats
path: root/components/bluetooth
Commit message (Collapse)AuthorAgeFilesLines
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-112-15/+22
| | | | | * strict imports formatting * Reformat all imports
* remove `extern crate` (#30311)Samson2023-09-081-5/+2
| | | | | | | | | | | * 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-4/+4
| | | | | | | 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.
* feat: shorten thread namesyvt2021-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Linux kernel imposes a 15-byte limit on thread names[1]. This means information that does not fit in this limit, e.g., the pipeline ID of layout and script threads, is lost in a debugger and profiler (see the first column of the table below). This commit shortens the thread names used in Servo to maximize the amount of information conveyed. It also rectifies some inconsistencies in the names. | Before | After | |-------------------|-------------------| | `BluetoothThread` | `Bluetooth` | | `CanvasThread` | `Canvas` | | `display alert d` | `AlertDialog` | | `FontCacheThread` | `FontCache` | | `GLPlayerThread` | `GLPlayer` | | `HTML Parser` | `Parse:www.examp` | | `LayoutThread Pi` | `Layout(1,1)` | | `Memory profiler` | `MemoryProfiler` | | `Memory profiler` | `MemoryProfTimer` | | `OfflineAudioCon` | `OfflineACResolv` | | `PullTimelineMar` | `PullTimelineDat` | | `ScriptThread Pi` | `Script(1,1)` | | `WebWorker for h` | `WW:www.example.` | | `ServiceWorker f` | `SW:www.example.` | | `ServiceWorkerMa` | `SvcWorkerManage` | | `Time profiler t` | `TimeProfTimer` | | `Time profiler` | `TimeProfiler` | | `WebGL thread` | `WebGL` | | `Choose a device` | `DevicePicker` | | `Pick a file` | `FilePicker` | | `Pick files` | `FilePicker` | [1]: https://stackoverflow.com/questions/5026531/thread-name-longer-than-15-chars
* Use struct shorthand initialization.teymour-aldridge2021-06-251-3/+3
|
* Pin git revisions of dependencies that aren't compatible in newer revisions.Josh Matthews2020-11-121-1/+1
|
* Some Cargo.toml cleanupsatouchet2020-05-131-6/+6
|
* Update ipc-channel and crossbeam-channel.Josh Matthews2020-02-202-2/+2
|
* Fix some warnings in future Rust nightliesSimon Sapin2020-01-021-1/+1
|
* Update rand to 0.7 (fixes #24448)Anthony Ramine2019-10-231-1/+1
|
* Update ipc-channel and related dependenciesBastien Orivel2019-08-271-1/+1
|
* #23065 removed unnecessary headless checkingcdeler2019-03-221-2/+1
|
* #8539 Config preferences backend restructurePeter Hall2019-03-201-2/+2
|
* Update bool pattern matching into if-elsePiotr Szpetkowski2019-01-301-15/+15
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-7/+5
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-192-2/+2
|
* Get the magicleap build to work in CIAlan Jeffrey2018-11-091-7/+2
|
* Update uuidBastien Orivel2018-11-091-1/+1
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-082-25/+18
|
* Reorder importsPyfisch2018-11-062-4/+8
|
* Format remaining filesPyfisch2018-11-062-8/+13
|
* Switch most crates to the 2018 editionSimon Sapin2018-11-061-0/+1
|
* `cargo fix --edition`Simon Sapin2018-11-061-1/+1
|
* Add a build switch to disable the native bluetooth backend.Josh Matthews2018-10-301-1/+9
|
* 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 bluetoothkingdido9992018-08-172-306/+442
|
* Remove unused compositing dependency from bluetooth crateGeorge Roman2018-08-051-1/+0
|
* move top_level_browsing_context_id out of embedder msgGregory Terzian2018-05-231-1/+1
|
* move msg to embedder_traits, use in script, handle send error in embedderGregory Terzian2018-05-232-2/+6
|
* refactor(bluetooth): uses embedderproxy directlyOJ Kwon2018-04-182-22/+36
|
* refactor(bluetooth): send message to open select dialogOJ Kwon2018-04-182-34/+4
|
* refactor(bluetooth): factory fn returns constellation channelOJ Kwon2018-04-182-18/+21
|
* Bump ipc-channel and bincodeBastien Orivel2018-03-211-2/+2
| | | | This required bumping uuid too which unfortunately duplicated rand.
* update tinyfiledialogsPaul Rouget2018-03-031-1/+1
|
* Bump bitflags to 1.0 in every servo crateBastien Orivel2017-10-302-29/+29
|
* Auto merge of #18968 - mbrubeck:try, r=emiliobors-servo2017-10-211-24/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | Use try syntax for Option where appropriate - [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 refactoring only <!-- 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/18968) <!-- Reviewable:end -->
| * Use try syntax for Option where appropriateMatt Brubeck2017-10-201-24/+6
| |
* | Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest ↵Gecko Backout2017-10-192-29/+29
|/ | | | | | failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE Backs out https://github.com/servo/servo/pull/18809
* Update bitflags to 1.0 in every servo crateBastien Orivel2017-10-192-29/+29
| | | | | It still needs dependencies update to remove all the other bitflags versions.
* 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.
* Use BluetoohAdapter mock when bluetooth is disabledPaul Rouget2017-09-171-2/+6
|
* UntrySimon Sapin2017-06-182-133/+133
|
* Bump serde to 1.0Bastien Orivel2017-06-161-2/+2
|
* Use servo_config::opts only on linux target.Lucjan Suski2017-03-211-0/+2
| | | | It's not used for other architectures and triggers warnings.
* Disabled tinyfiledialogs when running headless.Alan Jeffrey2017-03-162-1/+4
|
* Update serde to 0.9 (fixes #15325)Anthony Ramine2017-02-181-2/+2
|
* Update ipc-channel to 0.6.3Anthony Ramine2017-02-161-1/+1
|
* Bluetooth Permission API integrationZakor Gyula2017-02-131-5/+18
|
* Auto merge of #15368 - szeged:get_availability, r=noxbors-servo2017-02-131-3/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement GetAvailability for Bluetooth <!-- Please describe your changes on the following line: --> This implements the [getAvailability](https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetooth-getavailability) function from the spec. --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/15368) <!-- Reviewable:end -->