aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add Page::hit_test().Tetsuharu OHZEKI2014-04-241-13/+26
| |
| * Add NodeHelpers::get_bounding_content_box().Tetsuharu OHZEKI2014-04-241-7/+4
| |
* | auto merge of #2200 : jdm/servo/loadfail, r=mbrubeckbors-servo2014-04-241-1/+1
|\ \ | | | | | | | | | | | | | | | ...k-related reasons. Under the hood, this requires treating the I Tried pipeline as a new load instead of a replacement, since the failure-handling code interacts poorly with the rest of the replacement code when we get a series of staggered failures over time from the various pipeline components.
| * | Make the I Tried star appear when a top-level page load fails for ↵Josh Matthews2014-04-241-1/+1
| |/ | | | | | | | | | | network-related reasons. Under the hood, this requires treating the I Tried pipeline as a new load instead of a replacement, since the failure-handling code interacts poorly with the rest of the replacement code when we get a series of staggered failures over time from the various pipeline components.
* | auto merge of #2203 : mbrubeck/servo/back-crash, r=jdmbors-servo2014-04-231-12/+9
|\ \ | |/ |/| | | | | | | | | | | This fixes two `RefCell<T> is already borrowed` failures when reloading an existing pipeline, both caused by functions trying to modify `Pipeline::url` or `ScriptTask::url` while a reference to a previous borrow is still in scope. Note: After applying this patch, there are some painting issues after navigating back.
| * Make sure RefCell borrows are temporary.Matt Brubeck2014-04-211-12/+9
| | | | | | | | | | | | This fixes two `RefCell<T> is already borrowed` failures when reloading an existing pipeline, both caused by functions trying to modify `Pipeline::url` or `ScriptTask::url` while a reference to a previous borrow is still in scope.
* | auto merge of #2209 : lpy/servo/issue2188, r=Ms2gerbors-servo2014-04-231-1/+1
|\ \ | | | | | | | | | see #2188
| * | Implement Element.localName.(fixes #2188)lpy2014-04-231-1/+1
| |/
* | auto merge of #2111 : jdm/servo/browsercontext, r=Ms2gerbors-servo2014-04-221-11/+17
|\ \ | |/ |/|
| * Remove all traces of WindowProxy. Implement basic browser context concept ↵Josh Matthews2014-04-221-11/+17
| | | | | | | | and outerizing of inner windows.
* | auto merge of #2202 : jdm/servo/scriptleak, r=Ms2gerbors-servo2014-04-211-0/+43
|\ \ | |/ |/| | | ....
| * Ensure JS-owned memory is not leaked if a script task fails. Fixes #2201.Josh Matthews2014-04-211-0/+43
| |
* | Remove JSPageInfo::js_compartment.Ms2ger2014-04-211-26/+12
|/ | | | | | | | | | | | | | A js::rust::Compartment is little more than a glorified pointer to the reflector of a window, so there's no good reason to use it. Instead, this commit passes a JS<Window> directly when it's necessary. This also means that we now have to use JS_DefineFunctions rather than Compartment::define_functions; I believe the former is clearer to the reader than the extra indirection involved in the latter calling through three reopsitories. This commit also simplifies ScriptTask::load to reuse the 'cx' local that is in scope already, rather than refetching it through js_info.
* Add transparent Traceable and Untraceable types to aid proper rooting ↵Josh Matthews2014-04-171-66/+62
| | | | practices, and replace ad-hoc Untraceable structs with empty Encodable implementations.
* Implement Window.set/clearInterval.(fixes #2116)lpy2014-04-181-3/+9
|
* Make find_fragment_node a method of Page.Josh Matthews2014-04-091-20/+19
|
* auto merge of #2057 : Ms2ger/servo/evaluate_script, r=jdmbors-servo2014-04-071-4/+4
|\
| * Handle an exception from cx.evaluate_script more gracefully.Ms2ger2014-04-071-4/+4
| |
* | Remove trailing whitespace.Ms2ger2014-04-071-2/+2
|/
* Upgrade rust.Ms2ger2014-04-041-102/+95
|
* layout: Address review feedback.Patrick Walton2014-04-031-3/+4
|
* servo: Implement stacking contexts and allow multiple layers perPatrick Walton2014-04-031-3/+8
| | | | pipeline. This handles fixed positioning mostly correctly.
* Get rid of match statements in layout queries in script_tasklpy2014-04-021-7/+4
|
* Store Window.active_timers in a HashMapMartin Robinson2014-03-311-3/+5
| | | | | | | A HashMap allows easily looking up a timer and canceling it in Window.ClearTimeout. Fixes #1477.
* Move attributes-related functions onto JS<Element>.Ms2ger2014-03-201-4/+4
|
* Split TCast::to into TCast::to_unchecked and TCast::to.Tetsuharu OHZEKI2014-03-201-3/+3
|
* Rust upgrade for new master rebaseLars Bergstrom2014-03-181-2/+2
|
* Warning police.Josh Matthews2014-03-181-15/+15
|
* Remove all traces of Box representation from bindings. Work around file read ↵Josh Matthews2014-03-181-2/+2
| | | | runtime problem.
* Rust upgradesLars Bergstrom2014-03-181-37/+47
|
* Use the JSVal member functions to replace JSVAL_IS_* and JSVAL_TO_*.Ms2ger2014-03-091-4/+1
|
* Use FooValue() functions.Ms2ger2014-03-091-2/+2
|
* Stop sticking a Page in the JSContext's private.Ms2ger2014-03-051-17/+1
|
* Pass &JS<Window> to some constructors.Ms2ger2014-03-041-1/+1
|
* Remove next_subpage_id argument from parse_html.(fixes #1801)lpy2014-03-041-2/+1
|
* Fix a dynamic borrow failure with iframesKeegan McAllister2014-03-031-4/+2
|
* De-@mut the script crate.Josh Matthews2014-02-281-173/+296
|
* Implement "resize" DOM Event.Tetsuharu OHZEKI2014-03-011-1/+20
| | | | | * We cannot automate this feature. * So this testcase is a manual test.
* Add url getter to Page and fix users of Page url with it.(fixes #1762)lpy2014-02-281-4/+6
|
* Remove the image loading workaround from the parser.Ms2ger2014-02-251-1/+0
|
* Remove DocumentTypeId.Ms2ger2014-02-241-2/+2
|
* Remove document::DocumentType (fixes #1730).Ms2ger2014-02-241-2/+2
|
* Remove HTMLDocument.Ms2ger2014-02-241-4/+3
|
* Implement JSManaged for DOM objects.Josh Matthews2014-02-241-79/+109
|
* Use eq() and eq_slice() less, and map_default() more.Ms2ger2014-02-161-5/+3
|
* Restore failure handlingKeegan McAllister2014-02-121-3/+8
| | | | | | | We probably leak some threads and resources, e.g. when the script task crashes and doesn't get a chance to send layout data back to layout to be deallocated. Not tested with iframes yet.
* This is implement Hover Event. If over element, currently full reflow. after ↵HyunJune Kim2014-02-101-3/+74
| | | | PR, will make partial reflow.
* compositor can get mouse point from window eventHyunJune Kim2014-02-101-1/+2
|
* Reduce copying on parse_url() call sites.Tetsuharu OHZEKI2014-02-091-1/+1
|
* Rename make_url/current_url to parse_url/base_url, to align with spec ↵Simon Sapin2014-02-011-4/+4
| | | | terminology.