Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -7/+8 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | Remove global argument from Promise::new_in_current_realm. | Josh Matthews | 2023-05-20 | 1 | -1/+1 |
| | |||||
* | Add trait DomObjectWrap to provide WRAP function | YUAN LYU | 2020-03-20 | 1 | -2/+0 |
| | |||||
* | rename compartment to realm | Kunal Mohan | 2020-01-24 | 1 | -3/+3 |
| | |||||
* | Use the newly added inCompartments option everywhere it can be | Bastien Orivel | 2019-05-25 | 1 | -7/+3 |
| | |||||
* | Pass InCompartment by value | Aron Zwaan | 2019-04-25 | 1 | -1/+1 |
| | |||||
* | Add proof parameter to Promise::new_in_current_compartment | Aron Zwaan | 2019-04-24 | 1 | -1/+6 |
| | |||||
* | Rename Promise::new to Promise::new_in_current_compartment | Aron Zwaan | 2019-04-03 | 1 | -1/+2 |
| | |||||
* | Remove now-unnecessary must_root and allow(unrooted_must_root) annotations | Manish Goregaokar | 2019-01-04 | 1 | -3/+0 |
| | |||||
* | Rustfmt has changed its default style :/ | Simon Sapin | 2018-12-28 | 1 | -1/+1 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -2/+2 |
| | |||||
* | Format remaining files | Pyfisch | 2018-11-06 | 1 | -1/+2 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -12/+12 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -13/+34 |
| | |||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -1/+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 Ramine | 2017-09-26 | 1 | -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 Ramine | 2017-09-26 | 1 | -3/+3 |
| | |||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Remove JSContext argument from AsyncBluetoothListener::handle_response | Anthony Ramine | 2017-09-22 | 1 | -7/+1 |
| | |||||
* | Make Promise::reject_error sound | Anthony Ramine | 2017-09-22 | 1 | -4/+9 |
| | |||||
* | Make Promise::resolve_native actually sound | Anthony Ramine | 2017-09-21 | 1 | -3/+3 |
| | | | | | We shouldn't have to pass a raw JSContext pointer, and to enter the promise's context's compartment by hand. | ||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Fix comments, and lesser modifications | Zakor Gyula | 2017-02-13 | 1 | -4/+2 |
| | |||||
* | Bluetooth Permission API integration | Zakor Gyula | 2017-02-13 | 1 | -3/+3 |
| | |||||
* | Cleaned up ripples due to MutJS to JS type change | Prudhvi Rampey | 2017-01-07 | 1 | -4/+4 |
| | |||||
* | refactor Connect/Disconnect calls | Zakor Gyula | 2016-12-22 | 1 | -19/+18 |
| | |||||
* | Implement GetGATTChildren | Attila Dusnoki | 2016-12-16 | 1 | -78/+14 |
| | |||||
* | Auto merge of #14567 - szeged:represented-attributes, r=jdm | bors-servo | 2016-12-14 | 1 | -12/+5 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 cached | Zakor Gyula | 2016-12-14 | 1 | -12/+5 |
| | | |||||
* | | Remove HeapGCValue | Anthony Ramine | 2016-12-12 | 1 | -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 Farwell | 2016-12-08 | 1 | -1/+1 |
| | | | | Fixes https://github.com/servo/servo/issues/8473. | ||||
* | Auto merge of #14441 - szeged:attribute-instance-map, r=jdm | bors-servo | 2016-12-06 | 1 | -28/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the AttributeInstanceMaps from bluetooth to bluetoothDevice. <!-- Please describe your changes on the following line: --> The previous implementation differed from the spec, because there was three maps instead of one. With this, they will be merged into one. Also this map has been moved from bluetooth to bluetoothDevice, because its make more sense to store it there. There is an issue about it [here](https://github.com/WebBluetoothCG/web-bluetooth/issues/330). --- <!-- 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/14441) <!-- Reviewable:end --> | ||||
| * | Moved the AttributeInstanceMaps from bluetooth to bluetoothDevice. | Valentin Fokin | 2016-12-02 | 1 | -28/+3 |
| | | |||||
* | | Add missing connection check for disconnect | Attila Dusnoki | 2016-12-05 | 1 | -1/+4 |
|/ | |||||
* | Step annotations for WebBluetooth functions | Zakor Gyula | 2016-11-29 | 1 | -0/+58 |
| | |||||
* | Rename blacklist to blocklist | Zakor Gyula | 2016-11-17 | 1 | -3/+3 |
| | |||||
* | Webbluetooth Async behaviour | Attila Dusnoki | 2016-11-08 | 1 | -99/+95 |
| | |||||
* | Return the same JS object for the same Bluetooth item. | zakorgyula | 2016-11-04 | 1 | -12/+32 |
| | |||||
* | Blacklisted items are removed when calling ↵ | fokinv | 2016-11-04 | 1 | -1/+1 |
| | | | | getServices/Characteristics/Descriptors. | ||||
* | Check if the BluetoothDevice is connected, when calling getGATT functions. | zakorgyula | 2016-11-04 | 1 | -1/+7 |
| | |||||
* | Split the bluetooth code out from the net crates. | Ms2ger | 2016-11-03 | 1 | -1/+1 |
| | |||||
* | Rename Reflectable::global_scope to global | Anthony Ramine | 2016-10-06 | 1 | -6/+6 |
| | |||||
* | Make bluetooth::result_to_promise take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -3/+3 |
| | |||||
* | Introduce GlobalScope::as_window | Anthony Ramine | 2016-10-06 | 1 | -3/+1 |
| | |||||
* | Introduce Reflectable::global_scope | Anthony Ramine | 2016-10-06 | 1 | -2/+2 |
| | |||||
* | Make reflect_dom_object take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -6/+6 |
| | |||||
* | Reorganise the BluetoothUUID utility functions | Anthony Ramine | 2016-10-02 | 1 | -2/+2 |
| | |||||
* | Update WebBluetooth to use Promises | Mátyás Mustoha | 2016-09-26 | 1 | -34/+57 |
| | |||||
* | Reorder `use` statements | UK992 | 2016-09-09 | 1 | -1/+1 |
| |