aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetoothremotegattcharacteristic.rs
Commit message (Collapse)AuthorAgeFilesLines
* fixed the `unneeded return` statement warnings. (#31863)Aarya Khandelwal2024-03-261-4/+4
|
* clippy: Fix needless borrow warnings (#31813)Oluwatobi Sofela2024-03-211-2/+2
|
* clippy: Fix some warnings in `components/script` (#31735)Rosemary Ajayi2024-03-191-2/+2
| | | | | | | | | | | | | | | * fix clippy problems * fix clippy error * fix clippy error * fix clippy error * fix clippy error * fix clippy error * fix clippy errors
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-5/+7
| | | | | * strict imports formatting * Reformat all imports
* Remove global argument from Promise::new_in_current_realm.Josh Matthews2023-05-201-4/+4
|
* Add trait DomObjectWrap to provide WRAP functionYUAN LYU2020-03-201-2/+0
|
* rename compartment to realmKunal Mohan2020-01-241-9/+9
|
* Modify `script` to prevent further violations of snake_caseKunal Mohan2020-01-181-2/+5
|
* Use the newly added inCompartments option everywhere it can beBastien Orivel2019-05-251-25/+9
|
* Pass InCompartment by valueAron Zwaan2019-04-251-4/+4
|
* Add proof parameter to Promise::new_in_current_compartmentAron Zwaan2019-04-241-8/+21
|
* Rename Promise::new to Promise::new_in_current_compartmentAron Zwaan2019-04-031-4/+8
|
* Remove now-unnecessary must_root and allow(unrooted_must_root) annotationsManish Goregaokar2019-01-041-6/+0
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-2/+2
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Reorder importsPyfisch2018-11-061-8/+8
|
* Format remaining filesPyfisch2018-11-061-3/+6
|
* `cargo fix --edition`Simon Sapin2018-11-061-19/+19
|
* Format script componentchansuke2018-09-191-42/+72
|
* Updates Bluetooth type to use BufferSourceAnthony Urena2018-03-241-2/+2
|
* Switches characteristic to use BufferSourceAnthony Urena2018-03-241-3/+9
|
* Remove use of unstable box syntax.Simon Sapin2017-10-161-6/+7
| | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-6/+6
| | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned.
* Rename DOMRefCell<T> to DomRefCell<T>Anthony Ramine2017-09-261-3/+3
| | | | | | | | I don't want to do such a gratuitous rename, but with all the other types now having "Dom" as part of their name, and especially with "DomOnceCell", I feel like the other cell type that we already have should also follow the convention. That argument loses weight though when we realise there is still DOMString and other things.
* Rename JS<T> to Dom<T>Anthony Ramine2017-09-261-5/+5
|
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Remove JSContext argument from AsyncBluetoothListener::handle_responseAnthony Ramine2017-09-221-7/+1
|
* Make Promise::reject_error soundAnthony Ramine2017-09-221-15/+17
|
* Make Promise::resolve_native actually soundAnthony Ramine2017-09-211-5/+5
| | | | | We shouldn't have to pass a raw JSContext pointer, and to enter the promise's context's compartment by hand.
* Use absolute paths in the event handlers macrosAnthony Ramine2017-09-011-1/+0
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Bluetooth Permission API integrationZakor Gyula2017-02-131-6/+5
|
* Reorder startNotifications stepsZakor Gyula2017-02-101-9/+9
|
* Cleaned up ripples due to MutJS to JS type changePrudhvi Rampey2017-01-071-7/+7
|
* Implement GetGATTChildrenAttila Dusnoki2016-12-161-76/+11
|
* Auto merge of #14567 - szeged:represented-attributes, r=jdmbors-servo2016-12-141-21/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check if represented attributes are cached <!-- Please describe your changes on the following line: --> Improve existing cache checks in `/bluetooth/lib.rs`, and update Step comments in `script/dom` corresponding to this. --- <!-- 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 OR <!-- 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/14567) <!-- Reviewable:end -->
| * Check if represented attributes are cachedZakor Gyula2016-12-141-21/+10
| |
* | Remove HeapGCValueAnthony Ramine2016-12-121-5/+5
|/ | | | | | It could be used to have mutable JSVal fields without GC barriers. With the removal of that trait, MutHeap and MutNullableHeap can respectively be replaced by MutJS and MutNullableJS.
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-081-1/+1
| | | | Fixes https://github.com/servo/servo/issues/8473.
* Moved the AttributeInstanceMaps from bluetooth to bluetoothDevice.Valentin Fokin2016-12-021-25/+3
|
* Step annotations for WebBluetooth functionsZakor Gyula2016-11-291-1/+95
|
* Auto merge of #14393 - dati91:fix, r=jdmbors-servo2016-11-291-3/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WriteValue should return undefined <!-- Please describe your changes on the following line: --> <!-- 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 <!-- Either: --> - [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/14393) <!-- Reviewable:end -->
| * WriteValue should return undefinedAttila Dusnoki2016-11-281-3/+2
| |
* | Add event target for bluetoothAttila Dusnoki2016-11-281-3/+10
|/
* Add Start/Stop notificationsAttila Dusnoki2016-11-231-0/+44
|
* Rename blacklist to blocklistZakor Gyula2016-11-171-5/+5
|
* Webbluetooth Async behaviourAttila Dusnoki2016-11-081-141/+142
|
* Return the same JS object for the same Bluetooth item.zakorgyula2016-11-041-10/+30
|
* Blacklisted items are removed when calling ↵fokinv2016-11-041-1/+1
| | | | getServices/Characteristics/Descriptors.
* Update the value of the Characteristic/Descriptor when calling writeValue.zakorgyula2016-11-041-2/+2
|