Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | | Ensure that clicking a link in an iframe gets the existing iframe rect. | Glenn Watson | 2015-03-17 | 1 | -1/+3 |
| | | | | | | | | | | Otherwise, the new iframe may not get a valid window size until the parent frame does another reflow. | ||||
* | | auto merge of #5244 : mattnenterprise/servo/page_load_thread_name, r=jdm | bors-servo | 2015-03-16 | 1 | -1/+1 |
|\ \ | |||||
| * | | Fixes #5215 Serializing the thread name for the page load task to make it a ↵ | Matt McCoy | 2015-03-16 | 1 | -1/+1 |
| |/ | | | | | | | simple url | ||||
* / | First part of refactoring constellation to support iframe navigation. | Glenn Watson | 2015-03-17 | 1 | -27/+39 |
|/ | | | | | | | | | The history is now recorded per frame, but needs to be exposed in a followup PR. Also fixes a race condition that occurs loading iframes under heavy CPU load. This ensures that iframes never do a reflow / layout until they have a valid window size set from their parent frame. | ||||
* | Refactored optional argument "last_modified" for Document | Martin Schröder | 2015-03-16 | 1 | -9/+10 |
| | | | | Fixes #4981 | ||||
* | make MouseEvent::new() and UIEvent::new() take enums for the bubbles and ↵ | Rohan Prinja | 2015-03-15 | 1 | -3/+3 |
| | | | | cancelable arguments | ||||
* | Remove unused subpage field from page | Glenn Watson | 2015-03-11 | 1 | -2/+1 |
| | |||||
* | Subsume ScriptMsg::WorkerDispatchErrorEvent into ScriptMsg::RunnableMsg via ↵ | Avi Weinstock | 2015-03-09 | 1 | -6/+0 |
| | | | | introduction of Worker::WorkerErrorHandler (Closes #5171). | ||||
* | auto merge of #5150 : Adenilson/servo/reflowNotifications03, r=jdm | bors-servo | 2015-03-06 | 1 | -9/+9 |
|\ | |||||
| * | Implements reflow events debugging. | Adenilson Cavalcanti | 2015-03-06 | 1 | -9/+9 |
| | | | | | | | | | | Start servo with -Z relayout-event and you should have reflow events printed to the terminal. | ||||
* | | ScriptTask::mouse_over_targets is not traced #4985 | Guro Bokum | 2015-03-06 | 1 | -3/+29 |
|/ | |||||
* | Due to changes on Page/Window interfaces, we no longer have use | Adenilson Cavalcanti | 2015-03-04 | 1 | -1/+1 |
| | | | | for flush_layout(). | ||||
* | Remove the newly-created Page from the tree if loading fails. | Josh Matthews | 2015-03-03 | 1 | -0/+45 |
| | |||||
* | Separate disposing of layout data from the GCing of the DOM object ↵ | Josh Matthews | 2015-03-03 | 1 | -11/+8 |
| | | | | reflectors. Change the order of operations when shutting down the script task to ensure that Window globals aren't used after they've been GCed. | ||||
* | Documentation and cleanup. | Josh Matthews | 2015-03-03 | 1 | -10/+48 |
| | |||||
* | Move everything unrelated to the frame tree out of Page and into Document or ↵ | Josh Matthews | 2015-03-03 | 1 | -133/+96 |
| | | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. | ||||
* | Split page load into separate network and parsing stages. Delay Page ↵ | Josh Matthews | 2015-03-03 | 1 | -173/+249 |
| | | | | creation until the load is finished. Make session history traversal simply activate existing pipelines, rather than potentially loading them from the network. | ||||
* | Remove unused import from script_task. | Ms2ger | 2015-02-28 | 1 | -1/+0 |
| | |||||
* | Move body of ScriptTask::handle_mouse_move_event into a method on #5073 | Guro Bokum | 2015-02-28 | 1 | -73/+8 |
| | |||||
* | Moved dispatch_key_event method from script_task.rs to document.rs, fixes #4982 | Keith Yeung | 2015-02-26 | 1 | -90/+7 |
| | |||||
* | If root html element contains "reftest-wait" class, don't mark document as ↵ | Glenn Watson | 2015-02-26 | 1 | -2/+9 |
| | | | | | | ready until it's removed. This allows reftests to perform tests for incremental layout and other bugs that require rendering multiple frames. | ||||
* | Remove ScriptMsg::Navigate (fixes #4948). | Dae-seon Moon | 2015-02-25 | 1 | -13/+1 |
| | |||||
* | auto merge of #4960 : ↵ | bors-servo | 2015-02-23 | 1 | -0/+24 |
|\ | | | | | | | | | | | pkondzior/servo/add-script-timers-suspend-resume-functionality, r=jdm Adds free/thaw methods to script_task that let you send suspend/resume messages to web content timers. Fixes #4907 | ||||
| * | Add thaw/freeze messages that can suspend/resume webcontent timers #4907 | Pawel Kondzior | 2015-02-24 | 1 | -0/+24 |
| | | |||||
* | | auto merge of #4959 : glennw/servo/fix-hover, r=jdm | bors-servo | 2015-02-23 | 1 | -79/+64 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Specifically: - Use inclusive_ancestors instead of ancestors, to detect hover on elements like divs. - Send the mousemove event after all the hover states have been set correctly. - Correctly handle removing hover state from elements when mouse is not over any elements. - Correctly detect when a reflow is required (previous code failed in several edge cases). | ||||
| * | | Fixes a number of issues with setting hover state, and simplifies the code. | Glenn Watson | 2015-02-19 | 1 | -79/+64 |
| |/ | | | | | | | | | | | | | | | Specifically: - Use inclusive_ancestors instead of ancestors, to detect hover on elements like divs. - Send the mousemove event after all the hover states have been set correctly. - Correctly handle removing hover state from elements when mouse is not over any elements. - Correctly detect when a reflow is required (previous code failed in several edge cases). |