aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* reorganized constellation.Tim Kuehn2013-08-191-9/+9
| | | | | compositor routes dom events via constellation. constellation handles iframe sizing and resizing.
* Fix macos interators, warnings, and updating submodules.Jack Moffitt2013-08-161-2/+0
|
* Update Rust version againKeegan McAllister2013-08-151-1/+1
| | | | This gets us the new runtime.
* For loops and misc changesKeegan McAllister2013-08-151-12/+12
|
* Library changesKeegan McAllister2013-08-151-7/+6
|
* Trait changes, and eliminate 'copy'Keegan McAllister2013-08-151-2/+2
|
* Don't use 'select'Brian Anderson2013-08-151-33/+12
| | | | | The new runtime isn't quite mature enough to deal with it, and this is faster anyway.
* Fix freeze scope extension warningKeegan McAllister2013-07-311-1/+10
| | | | | | | Fixes #455 (for now) Also add a comment about how what we're doing here is unsafe (for reasons that are mostly unrelated to the warning)
* add next_subpage_id to Page structTim Kuehn2013-07-311-1/+7
|
* added subpage ids to map from iframe to all associated pipelinesTim Kuehn2013-07-311-4/+6
|
* Generate HTMLDocument bindings. Introduce invariant into generated bindings ↵Josh Matthews2013-07-301-12/+17
| | | | that associated DOM classes are named the same as their interfaces, so Event and Event_ need to be swapped.
* fix borrow check failures by reverting to storing *mut Page in windowTim Kuehn2013-07-291-1/+1
|
* remove unused arg from script_task::handle_navigate_msgTim Kuehn2013-07-291-5/+5
| | | | remove unnecessary commented-out code
* switched window.page from *mut Page to @mut PageTim Kuehn2013-07-291-2/+2
|
* navigation bug fixTim Kuehn2013-07-291-2/+5
|
* structural changes to support IframesTim Kuehn2013-07-291-319/+452
|
* Reflow and redisplay after script timers fireKeegan McAllister2013-07-241-2/+3
| | | | | | | We don't know what the script changed. This will be less painful with incremental layout. Fixes a crash from calling reflow() with self.damage = None.
* Move script local_data_pop out of dtorKeegan McAllister2013-07-191-10/+5
| | | | Fixes #570, which was caused by a second reentrant call to the dtor.
* refactored url handling code in script task to be more idiomaticTim Kuehn2013-07-111-14/+11
|
* scripts from inactive pipelines resize upon navigating to their pagesTim Kuehn2013-07-101-12/+34
|
* Update to latest Rust.Jack Moffitt2013-07-091-7/+7
|
* Replace glut with glfw.Jack Moffitt2013-07-041-4/+7
| | | | | | Also fixes initial window size to get based on the windowing code instead of being hardcoded everywhere. This code works on HiDPI displays, but does not appropriately scale the output up yet.