aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetoothdevice.rs
Commit message (Collapse)AuthorAgeFilesLines
* Replace script_plugins with a clippy like rustc driver (named crown) (#30508)Samson2023-12-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove script_plugins * Use crown instead of script_plugins * crown_is_not_used * Use crown in command base * bootstrap crown * tidy happy * disable sccache * Bring crown in tree * Install crown from tree * fix windows ci * fix warning * fix mac libscript_plugins.dylib is not available anymore * Update components/script/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> * Update for nightly-2023-03-18 Mostly just based off https://github.com/servo/servo/pull/30630 * Always install crown it's slow only when there is new version * Run crown test with `mach test-unit` * Small fixups; better trace_in_no_trace tests * Better doc * crown in config.toml * Fix tidy for real * no sccache on rustc_wrapper * document rustc overrides * fixup of compiletest * Make a few minor comment adjustments * Fix a typo in python/servo/platform/base.py Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com> * Proper test types * Ignore tidy on crown/tests --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-10/+13
| | | | | * strict imports formatting * Reformat all imports
* Remove global argument from Promise::new_in_current_realm.Josh Matthews2023-05-201-1/+1
|
* Add trait DomObjectWrap to provide WRAP functionYUAN LYU2020-03-201-2/+0
|
* rename compartment to realmKunal Mohan2020-01-241-3/+3
|
* Use the newly added inCompartments option everywhere it can beBastien Orivel2019-05-251-7/+3
|
* Pass InCompartment by valueAron Zwaan2019-04-251-1/+1
|
* Add proof parameter to Promise::new_in_current_compartmentAron Zwaan2019-04-241-2/+6
|
* Rename Promise::new to Promise::new_in_current_compartmentAron Zwaan2019-04-031-1/+2
|
* Remove now-unnecessary must_root and allow(unrooted_must_root) annotationsManish Goregaokar2019-01-041-1/+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-2/+2
|
* Format remaining filesPyfisch2018-11-061-3/+6
|
* `cargo fix --edition`Simon Sapin2018-11-061-19/+19
|
* Format script componentchansuke2018-09-191-74/+121
|
* Implements profiler for blocked recvNakul Jindal2018-03-221-3/+4
|
* Remove use of unstable box syntax.Simon Sapin2017-10-161-3/+1
| | | | | | | | | | | | | | | | | | | | 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-12/+12
| | | | | | | 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-7/+7
| | | | | | | | 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 MutNullableJS<T> to MutNullableDom<T>Anthony Ramine2017-09-261-2/+2
|
* Rename JS<T> to Dom<T>Anthony Ramine2017-09-261-9/+9
|
* 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-2/+7
|
* Make Promise::resolve_native actually soundAnthony Ramine2017-09-211-1/+1
| | | | | 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
|
* removed instances of -> () in existing codelucantrop2017-03-131-1/+1
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Move extra permission data to windowAttila Dusnoki2017-02-131-2/+3
|
* Bluetooth Permission API integrationZakor Gyula2017-02-131-8/+16
|
* Cleaned up ripples due to MutJS to JS type changePrudhvi Rampey2017-01-071-14/+14
|
* refactor Connect/Disconnect callsZakor Gyula2016-12-221-1/+68
|
* Replace AdvertisingData with AdvertisingEventAttila Dusnoki2016-12-141-14/+55
|
* Remove HeapGCValueAnthony Ramine2016-12-121-12/+12
| | | | | | 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.
* Remove the unused get_context() functionValentin Fokin2016-12-021-4/+0
|
* Moved the AttributeInstanceMaps from bluetooth to bluetoothDevice.Valentin Fokin2016-12-021-0/+79
|
* Step annotations for WebBluetooth functionsZakor Gyula2016-11-291-0/+1
|
* Add event target for bluetoothAttila Dusnoki2016-11-281-3/+8
|
* Return the same JS object for the same Bluetooth item.zakorgyula2016-11-041-3/+13
|
* Rename Reflectable::global_scope to globalAnthony Ramine2016-10-061-1/+1
|
* Introduce Reflectable::global_scopeAnthony Ramine2016-10-061-1/+1
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-3/+5
|
* Refactored a bluetooth* related files from codeStyle to code_style.Arthur Marble2016-09-181-4/+4
|
* Remove empty lines following braces.Josh Matthews2016-05-271-1/+0
|
* Move DOMString back to scriptAnthony Ramine2016-05-241-1/+1
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Remove BluetoothDevice memberszakorgy2016-05-051-54/+4
|
* Fix value typesAttila Dusnoki2016-05-031-36/+33
|
* WebBluetooth API classesAttila Dusnoki2016-03-161-0/+125