aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10)Simon Sapin2017-08-151-1/+0
|
* Audit usages of unicode case-changing methods.Corey Farwell2017-07-261-0/+1
|
* Implement basic Time To First Paint and First Contentful Paint PWMsFernando Jiménez Moreno2017-07-201-0/+1
|
* Replace all uses of the style::stylearc alias with servo_arc.Michael Partheil2017-07-191-0/+1
| | | | | | The alias is left there temporarilly and will be removed completely in a later commit where also components/style/gecko/generated/structs_{debug|release}.rs are re-generated (they still use the old alias).
* script: Move the layout_wrapper outside of script.Emilio Cobos Álvarez2017-07-151-4/+18
| | | | | | | | This allows us to have ensure_data() and clear_data() functions on the TElement trait, instead of hacking around it adding methods in random traits. This also allows us to do some further cleanup, which I'd rather do in a followup.
* Upgrade to the latest version of WebRenderMartin Robinson2017-07-131-1/+1
|
* Stop using the unstable optin_builtin_traits featureMatt Brubeck2017-06-281-1/+0
|
* EventSource: decode UTF-8 code points across network packetsSimon Sapin2017-05-271-0/+1
|
* Implement WebGL extensions.Imanol Fernandez2017-05-181-0/+2
|
* Implemented Houdini worklets.Alan Jeffrey2017-05-171-1/+4
|
* Upgrade to html5ever 0.16Simon Sapin2017-05-021-2/+1
|
* Stop using unstable slice_patterns featureMatt Brubeck2017-05-011-1/+0
|
* Auto merge of #15666 - clementmiao:keyboard_shortcuts, r=asajeffreybors-servo2017-04-121-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added keyboard shortcuts for navigation inside text box PR to implement keyboard shortcuts per issue #12278, r? jdm Thanks for letting me help! --- <!-- 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] These changes fix #12278 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/15666) <!-- Reviewable:end -->
| * new keyboard shortcuts inside text inputClement Miao2017-04-071-0/+1
| |
* | Revert to per-process shared lock for author-origin stylesheetsSimon Sapin2017-04-031-0/+2
| | | | | | | | | | Fixes https://github.com/servo/servo/issues/16097 Reopens https://github.com/servo/servo/issues/16027
* | Replace use of rustc_serialize::base64 by base64Anthony Ramine2017-03-261-1/+1
| |
* | Only pass the protocol in use in to establish a WS connectionAnthony Ramine2017-03-241-1/+0
| |
* | Update cssparser for https://github.com/servo/rust-cssparser/pull/123Simon Sapin2017-02-281-1/+0
| |
* | Update to cssparser 0.11Simon Sapin2017-02-261-4/+3
| |
* | Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+2
| |
* | Update to rustc 1.17.0-nightly (413a975e3 2017-02-23)Simon Sapin2017-02-241-1/+0
| | | | | | | | Fix #15704
* | Extract layout image request into separate file. Do not block the document ↵Josh Matthews2017-02-221-0/+1
| | | | | | | | load event.
* | Add ImmutableOrigin to allow for serializing originsConnor Brewster2017-02-221-1/+0
| |
* | Kill the plugins crate and its clippy supportAnthony Ramine2017-02-211-1/+0
|/ | | | | | Sometimes clippy gets outdated by months, and its current support setup means that each Servo component need to opt into it by depending on the plugins crate manually, and not all components do that.
* Move script lints to script_pluginsAnthony Ramine2017-02-161-0/+1
| | | | The plugins crate now just allows to hook into clippy from a single crate.
* Change #[privatize] into #[derive(DenyPublicFields)]Anthony Ramine2017-02-151-0/+2
|
* Derive DomObject with a proc macroAnthony Ramine2017-02-141-0/+2
|
* Remove a gate for the stabilized more_struct_aliases feature.Ms2ger2017-02-061-1/+0
|
* Auto merge of #15189 - jdm:microtasks, r=noxbors-servo2017-02-031-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement microtask checkpoints This generalizes the work previously done for Promise job callbacks. There is now a microtask queue that correctly processes all queued microtasks after each turn of the event loop, as well as after a scripted callback finishes executing, and after a classic script executes. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #4283 - [X] There are tests for these changes <!-- 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/15189) <!-- Reviewable:end -->
| * Generalize promise job queue into solitary microtask queue.Josh Matthews2017-02-011-0/+1
| |
* | webgl: Convert non-raw TexImage sources to the requested format.Eric Anholt2017-01-281-0/+1
|/ | | | | | | | | | | | | The code was returning RGBA8 data from the non-raw sources (HTML canvas elements, JS ImageData, etc.), but we then validated and passed that rgba8 data as if it was whatever format/datatype was specified in TexImage2D/TexSubImage2D, so the pixels would come out as garbage. It would seem like we could just rewrite the passed in format/datatype for the TexImage call to be RGBA/UNSIGNED_BYTE, but that would leave incorrect levels of precision if the internalformat didn't match the format/datatype (and older desktop implementations often ignore the internalformat in choosing their internal format, anyway).
* Auto merge of #15176 - nox:the-sadness, r=Ms2gerbors-servo2017-01-241-1/+0
|\ | | | | | | | | | | | | | | Revert "Auto merge of #15136 - nox:mitochondria-finally-makes-it-into… <!-- 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/15176) <!-- Reviewable:end -->
| * Revert "Auto merge of #15136 - ↵Anthony Ramine2017-01-241-1/+0
| | | | | | | | | | | | | | nox:mitochondria-finally-makes-it-into-the-tree, r=jdm" This reverts commit ca6376a7142640185f21beca4b11011e8367ec91, reversing changes made to bb24fd3177cd69931d6a894bfcbb605286cefa1e.
* | Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23).Ms2ger2017-01-241-3/+1
|/
* Use mitochondria::OnceCell to store ScriptThread in TLSAnthony Ramine2017-01-231-0/+1
|
* Remove usage of phf_macros.Simon Sapin2017-01-181-1/+0
| | | | | | | | | It’s a compiler plugin that uses unstable compiler APIs that are not on a path to stabilization. With this changes, there is one less thing that might break when we update the compiler. For example: https://github.com/sfackler/rust-phf/pull/101
* Introduce PendingScriptAnthony Ramine2017-01-111-0/+1
| | | | | This moves scripts' loading results in Document, instead of maintaining them behind a DOMRefCell in each HTMLScriptElement.
* WebVR API Implementation, r=larsbergstromImanol Fernandez2017-01-091-0/+1
|
* Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06)Simon Sapin2017-01-061-1/+0
|
* An in-memory RNG that shares its file descriptor.Alan Jeffrey2017-01-051-1/+1
|
* Switch to crates.io for atomic_refcell.Bobby Holley2017-01-031-0/+1
|
* Make the dom module private.Ms2ger2016-12-221-1/+1
|
* Introduce a script::test module to expose the APIs needed for unit tests.Ms2ger2016-12-221-0/+1
|
* script: Move the stylesheet loading code from htmllinkelement to ↵Emilio Cobos Álvarez2016-12-161-0/+1
| | | | stylesheet_loader. Make it track subresource loads properly.
* Removed util.Alan Jeffrey2016-12-141-1/+2
|
* Remove usage of FnBox for animation frame callbacks (fixes #14416)Anthony Ramine2016-12-061-1/+1
|
* Refactor the locate a namespace algorithmAnthony Ramine2016-12-011-0/+1
|
* Initial work on job queues for service workersRahul Sharma2016-11-221-0/+1
|
* Auto merge of #14246 - emilio:servo-url, r=SimonSapinbors-servo2016-11-171-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Urlmageddon <!-- Please describe your changes on the following line: --> Still needs a bunch of code in net to be converted in order to get more advantage of this for images and stuff, but meanwhile this should help quite a bit with #13778. Still wanted to get this in. r? @SimonSapin <!-- 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/14246) <!-- Reviewable:end -->
| * Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-0/+1
| |