Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Factor out a handle_parsing_complete function from ScriptTask::Load. | Ms2ger | 2015-04-27 | 1 | -34/+46 |
| | |||||
* | Add script execution support via WebDriver | James Graham | 2015-04-23 | 1 | -0/+13 |
| | |||||
* | Auto merge of #5802 - mmatyas:indentfix, r=jdm | bors-servo | 2015-04-22 | 1 | -1/+1 |
|\ | | | | | | | | | | | <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5802) <!-- Reviewable:end --> | ||||
| * | Fix some irregular indentation. | Mátyás Mustoha | 2015-04-22 | 1 | -1/+1 |
| | | |||||
* | | Refactored image cache task - details below. | Glenn Watson | 2015-04-23 | 1 | -39/+47 |
|/ | | | | | | | | | | | | | | | | | | | | * Simpler image cache API for clients to use. * Significantly fewer threads. * One thread for image cache task (multiplexes commands, decoder threads and async resource requests). * 4 threads for decoder worker tasks. * Removed ReflowEvent hacks in script and layout tasks. * Image elements pass a Trusted<T> to image cache, which is used to dirty nodes via script task. Previous use of Untrusted addresses was unsafe. * Image requests such as background-image on layout / paint threads trigger repaint only rather than full reflow. * Add reflow batching for when multiple images load quickly. * Reduces the number of paints loading wikipedia from ~95 to ~35. * Reasonably simple to add proper prefetch support in a follow up PR. * Async loaded images always construct Image fragments now, instead of generic. * Image fragments support the image not being present. * Simpler implementation of synchronous image loading for reftests. * Removed image holder. * image.onload support. * image NaturalWidth and NaturalHeight support. * Updated WPT expectations. | ||||
* | Store a Runtime object in ScriptTask. | Ms2ger | 2015-04-22 | 1 | -17/+13 |
| | |||||
* | Make ScriptTask::js_context immutable. | Ms2ger | 2015-04-20 | 1 | -11/+4 |
| | | | | | Since we drop the ScriptTask almost immediately after clearing the field, there's little reason to do it manually. | ||||
* | Support focus management and keyboard events for iframes. | Glenn Watson | 2015-04-20 | 1 | -25/+38 |
| | |||||
* | Make mouse_over_targets a RootedVec | Bogdan Cuza | 2015-04-18 | 1 | -3/+5 |
| | |||||
* | Documentation. | Josh Matthews | 2015-04-16 | 1 | -0/+3 |
| | |||||
* | Implement sync XHR by creating and spinning on-demand event loops. | Josh Matthews | 2015-04-16 | 1 | -0/+26 |
| | |||||
* | Start switching net/ to use abstractions over channels to allow introducing ↵ | Josh Matthews | 2015-04-16 | 1 | -3/+2 |
| | | | | non-channel communication in the future. | ||||
* | Make Metadata use ContentType | Bogdan Cuza | 2015-04-14 | 1 | -5/+4 |
| | |||||
* | Update some URLs. | Ms2ger | 2015-04-14 | 1 | -1/+1 |
| | | | | | The HTML spec's division into pages is not stable, so it is safer to use the URL without a specific page (which will redirect). | ||||
* | Using unwrap() as suggested in review. | Adenilson Cavalcanti | 2015-04-13 | 1 | -2/+2 |
| | |||||
* | Squashing a few compiler warnings. | Adenilson Cavalcanti | 2015-04-13 | 1 | -1/+1 |
| | |||||
* | Firefox timeline integration #4957 | Guro Bokum | 2015-04-13 | 1 | -0/+72 |
| | |||||
* | Use a simple Temporary value in TreeIterator | Anthony Ramine | 2015-04-13 | 1 | -14/+10 |
| | |||||
* | Use Page::window_for_script_deallocation in ScriptMemoryFailsafe | josiahdaniels | 2015-04-12 | 1 | -2/+2 |
| | | | | Also: Rename window_for_script_dealloation to window_for_script_deallocation | ||||
* | Move Runtime to rust-mozjs. | Ms2ger | 2015-04-10 | 1 | -56/+2 |
| | |||||
* | Add rt and cx methods to Runtime. | Ms2ger | 2015-04-10 | 1 | -4/+14 |
| | |||||
* | Create a Runtime struct to manage JSRuntime and JSContext. | Ms2ger | 2015-04-10 | 1 | -25/+44 |
| | | | | | I intend to move this struct into rust-mozjs, but I kept it here for easier iteration for now. | ||||
* | Resume tracing our collections of roots. | Ms2ger | 2015-04-10 | 1 | -3/+4 |
| | | | | | The second JS_SetExtraGCRootsTracer call clobbered the first, so trace_collections was no longer being called. | ||||
* | Split out shared networking code into net_traits crate | Gilles Leblanc | 2015-04-03 | 1 | -4/+4 |
| | | | | Fixes #4476 | ||||
* | Introduce a MouseButton enum. | Ms2ger | 2015-04-03 | 1 | -2/+2 |
| | |||||
* | script: Stop destroying all flows on every mouse-over event. | Patrick Walton | 2015-04-01 | 1 | -3/+1 |
| | |||||
* | broadcasting storage changes events | snf | 2015-03-31 | 1 | -1/+1 |
| | |||||
* | auto merge of #5428 : pcwalton/servo/squash-mouse-move, r=jdm | bors-servo | 2015-03-30 | 1 | -2/+17 |
|\ | | | | | | | | | | | Otherwise they queue up if the event handler isn't 60FPS. r? @jdm | ||||
| * | script: Squash mouse-move events just like resizes. | Patrick Walton | 2015-03-27 | 1 | -2/+17 |
| | | | | | | | | Otherwise they queue up if the event handler isn't 60FPS. | ||||
* | | auto merge of #5422 : bdero/servo/bdero/box-syntax, r=jdm | bors-servo | 2015-03-29 | 1 | -2/+2 |
|\ \ | | | | | | | | | | Closes #5417 | ||||
| * | | Use box syntax instead of Box::new() | Brandon DeRosier | 2015-03-29 | 1 | -2/+2 |
| |/ | | | | | | | Closes #5417 | ||||
* | | Remove some unnecessary uses of `as_slice` | Corey Farwell | 2015-03-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | For the majority of these cases, `as_slice` can be removed due to `Deref`. In particular, `Deref` for: * `String` -> `str` * `Atom` -> `str` The latter of those two requires, a bump of the locked `string-cache` library | ||||
* | | Implement RootedVec<T> | Mukilan Thiyagarajan | 2015-03-29 | 1 | -1/+5 |
| | | |||||
* | | Use u32 for reflow ids. | Ms2ger | 2015-03-28 | 1 | -1/+1 |
|/ | |||||
* | Notify devtools about new worker globals | Thiago Pontes | 2015-03-27 | 1 | -6/+10 |
| | |||||
* | auto merge of #5359 : aweinstock314/servo/moz-events, r=jdm | bors-servo | 2015-03-25 | 1 | -11/+8 |
|\ | | | | | | | | | | | Addresses #5352. This is based on https://github.com/glennw/servo/tree/moz-events | ||||
| * | Replace (String, Option<String>) with MozBrowserEvent in uses of ↵ | Avi Weinstock | 2015-03-25 | 1 | -11/+8 |
| | | | | | | | | MozBrowserEventMsg. | ||||
* | | implementing MainThreadRunnable in ScriptTask | snf | 2015-03-25 | 1 | -0/+8 |
|/ | |||||
* | Ensures that iframe navigation updates the parent iframe element subpage id. | Glenn Watson | 2015-03-24 | 1 | -0/+23 |
| | | | | This fixes the case of clicking a link in an iframe, going back, then clicking the link again. | ||||
* | Fix double-panic when the script task panics. | Josh Matthews | 2015-03-23 | 1 | -3/+4 |
| | |||||
* | Fix warnings in script. | Ms2ger | 2015-03-23 | 1 | -1/+0 |
| | |||||
* | auto merge of #5281 : glennw/servo/mozbrowser, r=jdm | bors-servo | 2015-03-22 | 1 | -29/+69 |
|\ | |||||
| * | Experimental implementation of (a small subset of) mozbrowser APIs. | Glenn Watson | 2015-03-23 | 1 | -29/+69 |
| | | |||||
* | | Stop abusing format! macro when construct a String | Corey Farwell | 2015-03-22 | 1 | -1/+1 |
| | | | | | | | | | | In these cases for `format!`, we're just constructing a String of the single argument with no special format. | ||||
* | | Replace unsafe_blocks by unsafe_code. | Manish Goregaokar | 2015-03-21 | 1 | -1/+1 |
| | | |||||
* | | script: Stop rebuilding every flow in the document when an image | Patrick Walton | 2015-03-20 | 1 | -1/+5 |
|/ | | | | finishes loading. | ||||
* | Implement Element.innerHTML setter | Chris Paris | 2015-03-18 | 1 | -1/+1 |
| | |||||
* | Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. | Ms2ger | 2015-03-18 | 1 | -1/+1 |
| | |||||
* | auto merge of #5219 : doublec/servo/view_source_protocol_and_plain_text, r=jdm | bors-servo | 2015-03-17 | 1 | -1/+10 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | Implements view-source protocol by having a view-source handler, and modifying the content type to be text/plain if that is used. Implements text/plain handling. This allows view-source content to display as plain text. Example usage: ./mach run http://cd.pn/x.txt ./mach run view-source:http://tinyvid.tv/ This fixes issue #4181. Issue #3649 includes "support text/plain" so this possibly fixes some of that issue as well. | ||||
| * | Implement displaying of text/plain documents | Chris Double | 2015-03-17 | 1 | -1/+10 |
| | | | | | | | | | | | | This is done by detecting the content type as text/plain and following the requirements from: https://html.spec.whatwg.org/multipage/browsers.html#read-text |