Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | -9/+9 |
| | | | | | | | 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 MutNullableJS<T> to MutNullableDom<T> | Anthony Ramine | 2017-09-26 | 1 | -8/+8 |
| | |||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | WebVR 1.1 spec compatibility | Imanol Fernandez | 2017-07-05 | 1 | -6/+15 |
| | |||||
* | Implement Gamepad API | Imanol Fernandez | 2017-04-12 | 1 | -8/+14 |
| | |||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Permission API | Attila Dusnoki | 2017-02-13 | 1 | -1/+9 |
| | |||||
* | WebVR API Implementation, r=larsbergstrom | Imanol Fernandez | 2017-01-09 | 1 | -0/+16 |
| | |||||
* | Remove HeapGCValue | Anthony Ramine | 2016-12-12 | 1 | -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 Farwell | 2016-12-08 | 1 | -1/+1 |
| | | | | Fixes https://github.com/servo/servo/issues/8473. | ||||
* | Rename Reflectable::global_scope to global | Anthony Ramine | 2016-10-06 | 1 | -4/+4 |
| | |||||
* | Introduce Reflectable::global_scope | Anthony Ramine | 2016-10-06 | 1 | -4/+4 |
| | |||||
* | Make reflect_dom_object take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -6/+7 |
| | |||||
* | Replace instances of old ServiceWorker specification URL with new one | Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ) | 2016-09-25 | 1 | -1/+1 |
| | | | | | | The old specification URL is https://slightlyoff.github.io/ServiceWorker/spec/service_worker/ has been replaced by the new one at https://w3c.github.io/ServiceWorker/. | ||||
* | Most of the code refactoring needed to be done is done with this commit. | Arthur Marble | 2016-09-18 | 1 | -3/+3 |
| | |||||
* | Implemented Navigator.cookieEnabled | Ashwin R | 2016-09-01 | 1 | -0/+6 |
| | |||||
* | implement related sw interface and register method | Rahul Sharma | 2016-06-02 | 1 | -0/+8 |
| | |||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -1/+1 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Implemented stub for NavigatorPlugins | Connor Brewster | 2016-04-11 | 1 | -0/+21 |
| | |||||
* | implements NavigatorLanguage | Rahul Sharma | 2016-03-17 | 1 | -0/+5 |
| | |||||
* | WebBluetooth API classes | Attila Dusnoki | 2016-03-16 | 1 | -3/+11 |
| | |||||
* | more refactoring | rohan.prinja | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | Make the traits for the IDL interfaces take &self | Anthony Ramine | 2015-08-27 | 1 | -8/+8 |
| | |||||
* | make dom_struct derive HeapSizeOf, | João Oliveira | 2015-08-27 | 1 | -2/+0 |
| | | | | closes #7357 | ||||
* | Measure heap memory usage for more types. Fixes #6951 | Bogdan Cuza | 2015-08-13 | 1 | -0/+1 |
| | |||||
* | Add spec links | Bogdan Cuza | 2015-07-28 | 1 | -0/+7 |
| | |||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -3/+3 |
| | |||||
* | Implement Navigator.appVersion(#5409) | Deokjin Kim | 2015-04-01 | 1 | -0/+4 |
| | |||||
* | Import the util crate as util rather than servo_util. | Ms2ger | 2015-01-29 | 1 | -1/+1 |
| | | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there. | ||||
* | Remove the NavigatorInfo struct. | Ms2ger | 2015-01-09 | 1 | -7/+7 |
| | | | | It serves no purpose. | ||||
* | Remove manual impls of Reflectors (autogen) | Manish Goregaokar | 2014-12-27 | 1 | -6/+1 |
| | | | | | | | | | Obtained via: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/\\nimpl Reflectable for[^{]*{[^}]*}[^}]*}\\n//"` `find . -maxdepth 1 -type f -print0 |xargs -0 grep -lZ dom_struct | xargs -0 grep -LZ "reflector()\\|Reflector::new" |xargs -0 sed -z -i "s/use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};/use dom::bindings::utils::reflect_dom_object;/"` followed by semi-automated removal of leftover imports | ||||
* | script: Remove glob imports added in #4405 | Tetsuharu OHZEKI | 2014-12-19 | 1 | -2/+2 |
| | |||||
* | Updated reflect_dom_object to be passed by value | Michael Booth | 2014-11-30 | 1 | -1/+1 |
| | |||||
* | Use #[dom_struct] everywhere | Manish Goregaokar | 2014-10-16 | 1 | -3/+1 |
| | |||||
* | Remove obsolete comments about cycles. | Ms2ger | 2014-10-16 | 1 | -1/+1 |
| | | | | | The tracing setup has ensured that the cycles can be collected for a long time now. | ||||
* | auto merge of #3666 : ttaubert/servo/issue/3644-privatize-dom, r=Manishearth | bors-servo | 2014-10-13 | 1 | -1/+2 |
|\ | | | | | | | | | | | This PR removes public fields from all (hope I didn't miss any) DOM structs. Should |Page| be privatized as well? This PR additionally introduces a #[privatize] lint to ensure nobody accidentally re-introduces a public field. All changesets compile separately if applied in the same order. Hope that helps reviewing but I can of course squash them before merging. | ||||
| * | Simple privatizations | Tim Taubert | 2014-10-13 | 1 | -1/+2 |
| | | |||||
* | | Expose user agent option to DOM navigator interface. | Glenn Watson | 2014-10-13 | 1 | -0/+4 |
|/ | |||||
* | Upgrade to rustc d2b30f7d3 2014-09-23 | Simon Sapin | 2014-09-29 | 1 | -2/+2 |
| | |||||
* | Made some DOM fields private. | ProgramFOX | 2014-09-26 | 1 | -1/+1 |
| | | | | Relevant to #2242. | ||||
* | Use JSTraceable everywhere | Manish Goregaokar | 2014-09-24 | 1 | -1/+1 |
| | |||||
* | More progress in the &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-20 | 1 | -5/+5 |
| | | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`. | ||||
* | Share code between Navigator and WorkerNavigator | Gilles Leblanc | 2014-09-20 | 1 | -5/+6 |
| | | | | | | | Also shares code between Location and WorkerLocation. This has been done by introducing NavigatorInfo and UrlHelper. Fixes #3159 | ||||
* | First steps of &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-19 | 1 | -2/+2 |
| | | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally. | ||||
* | Make Reflector #[must_root], propagate to non-HTMLElements | Manish Goregaokar | 2014-09-17 | 1 | -0/+1 |
| | |||||
* | Cargoify servo | Jack Moffitt | 2014-09-08 | 1 | -0/+58 |