aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetoothremotegattservice.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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-4/+4
| | | | | | | 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 JS<T> to Dom<T>Anthony Ramine2017-09-261-3/+3
|
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Remove JSContext argument from AsyncBluetoothListener::handle_responseAnthony Ramine2017-09-221-2/+1
|
* Make Promise::reject_error soundAnthony Ramine2017-09-221-2/+2
|
* Make Promise::resolve_native actually soundAnthony Ramine2017-09-211-6/+4
| | | | | 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-8/+7
|
* Cleaned up ripples due to MutJS to JS type changePrudhvi Rampey2017-01-071-4/+4
|
* Implement GetGATTChildrenAttila Dusnoki2016-12-161-176/+29
|
* Auto merge of #14567 - szeged:represented-attributes, r=jdmbors-servo2016-12-141-12/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-12/+4
| |
* | Remove HeapGCValueAnthony Ramine2016-12-121-3/+3
|/ | | | | | 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-55/+3
|
* Step annotations for WebBluetooth functionsZakor Gyula2016-11-291-0/+56
|
* Add event target for bluetoothAttila Dusnoki2016-11-281-3/+14
|
* Rename blacklist to blocklistZakor Gyula2016-11-171-5/+5
|
* Webbluetooth Async behaviourAttila Dusnoki2016-11-081-196/+181
|
* Return the same JS object for the same Bluetooth item.zakorgyula2016-11-041-33/+76
|
* Blacklisted items are removed when calling ↵fokinv2016-11-041-1/+1
| | | | getServices/Characteristics/Descriptors.
* Check if the BluetoothDevice is connected, when calling getGATT functions.zakorgyula2016-11-041-1/+15
|
* Split the bluetooth code out from the net crates.Ms2ger2016-11-031-1/+1
|
* Rename Reflectable::global_scope to globalAnthony Ramine2016-10-061-9/+9
|
* Make bluetooth::result_to_promise take a &GlobalScopeAnthony Ramine2016-10-061-4/+4
|
* Introduce GlobalScope::as_windowAnthony Ramine2016-10-061-3/+1
|
* Introduce Reflectable::global_scopeAnthony Ramine2016-10-061-12/+8
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-8/+14
|
* Reorganise the BluetoothUUID utility functionsAnthony Ramine2016-10-021-4/+4
|
* Update WebBluetooth to use PromisesMátyás Mustoha2016-09-261-29/+64
|
* Refactored a bluetooth* related files from codeStyle to code_style.Arthur Marble2016-09-181-8/+8
|
* Refactor Bluetooth error handlingzakorgy2016-07-271-5/+5
|
* Remove some unnecessary pub modifiers (#50)zakorgy2016-07-141-1/+1
|
* Add blacklist check to GetIncludedSevice(s) functionszakorgyula2016-06-071-1/+9
|
* Add WebBluetooth Blacklist supportfokinv2016-05-311-2/+11
|
* Remove unused importConnor Brewster2016-05-261-1/+0
|
* Auto merge of #11367 - szeged:included_services, r=jdmbors-servo2016-05-261-1/+57
|\ | | | | | | | | | | | | | | | | | | | | | | | | Extend WebBluetooth with included services - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes do not require tests because there are no webbluetooth tests yet <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11367) <!-- Reviewable:end -->
| * Add included servicesAttila Dusnoki2016-05-241-1/+57
| |
* | Move DOMString back to scriptAnthony Ramine2016-05-241-1/+1
|/ | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Refactor IPC-message sendingfokinv2016-05-031-82/+39
|
* Replace the union types with the correct typedefs in the webidl files and ↵zakorgy2016-05-031-4/+3
| | | | the API classes.
* Style fixfokinv2016-05-031-38/+39
|
* Error handlingzakorgy2016-05-031-21/+16
|
* Implementation of the getPrimaryService(s), the getCharacteristic(s) and the ↵fokinv2016-05-031-3/+81
| | | | getDescriptor(s) functions.
* Add Bluetooth IPC supportfokinv2016-05-031-6/+64
|
* WebBluetooth API classesAttila Dusnoki2016-03-161-0/+70