aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* auto merge of #1163 : metajack/servo/kmc-rust-upgrade, r=kmcallisterbors-servo2013-10-311-13/+12
|\ | | | | | | | | | | Most work courtesy of @kmcallister. I already reviewed Keegan's work, so just the last two commits need attention.
| * Store the Page's final URL before parsingKeegan McAllister2013-10-311-2/+1
| | | | | | | | | | | | | | | | | | We were parsing URLs like //bits.wikimedia.org/static-1.22wmf22/skins/vector/images/search-ltr.png?303-4 as local filenames because HTMLImageElement::update_image didn't have a current_url to pass to make_url().
| * fmt! -> format!Keegan McAllister2013-10-311-11/+11
| |
* | Make Document a Node.Josh Matthews2013-10-311-1/+1
|/
* Revert "Make Document a Node." for breaking Acid1Patrick Walton2013-10-241-1/+1
| | | | | | | | This reverts commit 4e47d59165d186d0938fe9ffd726b2c1b83d50f4. Conflicts: src/components/script/dom/domparser.rs
* Make Document a Node.Josh Matthews2013-10-241-1/+1
|
* Update to latest Rust.Jack Moffitt2013-10-211-6/+6
|
* Replace Document::{with_base, with_mut_base} by Document::{document, ↵Ms2ger2013-10-211-9/+5
| | | | mut_document}.
* Remove special-casing of URLs ending in ".js"Keegan McAllister2013-10-171-27/+0
| | | | | | | This was a very old (May 2012) testing feature which used std::io::read_whole_file rather than our normal resource-loader mechanism. We can implement javascript: URLs later.
* auto merge of #1077 : kmcallister/servo/jsstr, r=jdmbors-servo2013-10-171-1/+2
|\ | | | | | | This doesn't resolve the big questions of how Servo will represent strings; it's just about doing the conversion correctly for our existing types.
| * Pass scripts as ~str to support non-ASCII string literals etc.Keegan McAllister2013-10-161-1/+2
| | | | | | | | | | Of course scripts on the Web are not always encoded as UTF-8 and we will have to deal with that at some point.
* | Move Element::get_attr to a trait defined in util::treeSimon Sapin2013-10-161-1/+1
|/ | | | … and add a get_local_name() method to that trait.
* Issue #1071 - Ensure that Documents always have a non-null Window.Ms2ger2013-10-161-1/+1
|
* Make Document::root private, in preparation for removing it as part of ↵Ms2ger2013-10-131-3/+5
| | | | making Document a Node.
* Issue #888 - Node's owner document should never be None.Ms2ger2013-10-101-5/+5
|
* Rename {get,set}_wrapper to {get,set}_jsobject. v1Bobby Holley2013-10-091-1/+1
|
* Rename get_wrappercache() to reflector(). v1Bobby Holley2013-10-091-1/+1
| | | | I also updated some variable names in the codegen.
* Rename CacheableWrapper to Reflectable.Bobby Holley2013-10-091-1/+1
|
* Remove unnecessary mutability.Ms2ger2013-10-061-1/+1
|
* Don't require passing a root element to Document::new (needed for issue #888).Ms2ger2013-10-051-33/+50
|
* Wait for any layout tasks to complete in a page tree before a handling a ↵Josh Matthews2013-10-021-1/+3
| | | | pipeline's exit message.
* Run script in its own thread to avoid starving other tasksBrian Anderson2013-10-011-5/+10
|
* auto merge of #977 : kmcallister/servo/redirect, r=jdmbors-servo2013-09-241-2/+2
|\
| * Handle HTTP 3xx redirectsKeegan McAllister2013-09-231-2/+2
| | | | | | | | Fixes #973.
* | split script_task::ExitMsg into WindowExitMsg and PipelineExitMsgTim Kuehn2013-09-241-9/+20
| |
* | script task only exits when the root pipeline exitsTim Kuehn2013-09-241-9/+47
|/
* fix constellation being inundated with messages from script.Tim Kuehn2013-09-201-2/+1
| | | | | | script task sent RendererReadyMsg after every reflow. now, the renderer sends RendererReady at the appropriate time, and _only_ if it doesn't have paint permission.
* deactive profiler when not in use; use newtype structs for task chansTim Kuehn2013-09-201-11/+2
|
* use spawn_with in lieu of cellsTim Kuehn2013-09-191-17/+13
|
* Add support for clearTimeout.James Graham2013-09-191-1/+5
|
* Make all DOM manipulation wait until it's safe to do so (ie. all reflows for ↵Josh Matthews2013-09-161-8/+18
| | | | the page have completed). Fix a race where a newly-initiated reflow would be considered complete when receiving the completion notice for the previous reflow.
* Allow image prefetching to occur during parsing when no window or document ↵Josh Matthews2013-09-131-0/+1
| | | | is present. Fixes #939.
* Move border computation into unpruned traversal. Get rid of extraneous ↵Josh Matthews2013-09-131-13/+12
| | | | explicit initial reflow. Fixes #935.
* auto merge of #927 : pcwalton/servo/image-src-set, r=pcwaltonbors-servo2013-09-121-2/+5
|\ | | | | | | r? @metajack
| * script: Implement image source setting from script and write a demo for this.Patrick Walton2013-09-121-2/+5
| |
* | auto merge of #928 : kmcallister/servo/resize, r=pcwaltonbors-servo2013-09-121-16/+65
|\ \
| * | Combine resize events for each pipeline and process when layout is idleKeegan McAllister2013-09-121-16/+65
| | |
* | | Fix a dynamic borrow error when executing timer callbacks.Josh Matthews2013-09-121-3/+2
| |/ |/|
* | Make Window store an @Page instead of a *Page and remove a bunch of unsafe code.Josh Matthews2013-09-121-22/+15
| |
* | Trigger a reflow when nodes are appended and removed from the document. ↵Josh Matthews2013-09-121-5/+5
|/ | | | Fixes #907.
* Add trace hooks for Window and Document, and remove explicit rooting for the ↵Josh Matthews2013-09-111-3/+0
| | | | root DOM node. Fixes #901.
* Make sandboxed iframes run with different script tasks.Josh Matthews2013-09-111-3/+9
|
* Make the global object be the Window object. Fixes #833.Josh Matthews2013-09-091-36/+24
|
* Make querying layout for content boxes an infallible operation.Josh Matthews2013-09-041-2/+2
|
* Pass the javscript file url to the evaluate functionTom Schuster2013-08-311-3/+3
|
* Merge remote-tracking branch 'origin/master' into HEADBrian Anderson2013-08-291-0/+1
|\ | | | | | | | | | | Conflicts: src/components/script/dom/bindings/proxyhandler.rs src/components/script/dom/bindings/text.rs
| * Make window.close() close the window.Josh Matthews2013-08-281-0/+1
| |
* | Update RustBrian Anderson2013-08-291-0/+2
|/
* remove commented out code from compositor_layer::from_frame_treeTim Kuehn2013-08-191-1/+3
|
* refactor iframe element fields to support sending size to the constellationTim Kuehn2013-08-191-1/+2
|