Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Add Page::hit_test(). | Tetsuharu OHZEKI | 2014-04-24 | 1 | -13/+26 | |
| | | ||||||
| * | Add NodeHelpers::get_bounding_content_box(). | Tetsuharu OHZEKI | 2014-04-24 | 1 | -7/+4 | |
| | | ||||||
* | | auto merge of #2200 : jdm/servo/loadfail, r=mbrubeck | bors-servo | 2014-04-24 | 1 | -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 Matthews | 2014-04-24 | 1 | -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=jdm | bors-servo | 2014-04-23 | 1 | -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 Brubeck | 2014-04-21 | 1 | -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=Ms2ger | bors-servo | 2014-04-23 | 1 | -1/+1 | |
|\ \ | | | | | | | | | | see #2188 | |||||
| * | | Implement Element.localName.(fixes #2188) | lpy | 2014-04-23 | 1 | -1/+1 | |
| |/ | ||||||
* | | auto merge of #2111 : jdm/servo/browsercontext, r=Ms2ger | bors-servo | 2014-04-22 | 1 | -11/+17 | |
|\ \ | |/ |/| | ||||||
| * | Remove all traces of WindowProxy. Implement basic browser context concept ↵ | Josh Matthews | 2014-04-22 | 1 | -11/+17 | |
| | | | | | | | | and outerizing of inner windows. | |||||
* | | auto merge of #2202 : jdm/servo/scriptleak, r=Ms2ger | bors-servo | 2014-04-21 | 1 | -0/+43 | |
|\ \ | |/ |/| | | | .... | |||||
| * | Ensure JS-owned memory is not leaked if a script task fails. Fixes #2201. | Josh Matthews | 2014-04-21 | 1 | -0/+43 | |
| | | ||||||
* | | Remove JSPageInfo::js_compartment. | Ms2ger | 2014-04-21 | 1 | -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 Matthews | 2014-04-17 | 1 | -66/+62 | |
| | | | | practices, and replace ad-hoc Untraceable structs with empty Encodable implementations. | |||||
* | Implement Window.set/clearInterval.(fixes #2116) | lpy | 2014-04-18 | 1 | -3/+9 | |
| | ||||||
* | Make find_fragment_node a method of Page. | Josh Matthews | 2014-04-09 | 1 | -20/+19 | |
| | ||||||
* | auto merge of #2057 : Ms2ger/servo/evaluate_script, r=jdm | bors-servo | 2014-04-07 | 1 | -4/+4 | |
|\ | ||||||
| * | Handle an exception from cx.evaluate_script more gracefully. | Ms2ger | 2014-04-07 | 1 | -4/+4 | |
| | | ||||||
* | | Remove trailing whitespace. | Ms2ger | 2014-04-07 | 1 | -2/+2 | |
|/ | ||||||
* | Upgrade rust. | Ms2ger | 2014-04-04 | 1 | -102/+95 | |
| | ||||||
* | layout: Address review feedback. | Patrick Walton | 2014-04-03 | 1 | -3/+4 | |
| | ||||||
* | servo: Implement stacking contexts and allow multiple layers per | Patrick Walton | 2014-04-03 | 1 | -3/+8 | |
| | | | | pipeline. This handles fixed positioning mostly correctly. | |||||
* | Get rid of match statements in layout queries in script_task | lpy | 2014-04-02 | 1 | -7/+4 | |
| | ||||||
* | Store Window.active_timers in a HashMap | Martin Robinson | 2014-03-31 | 1 | -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>. | Ms2ger | 2014-03-20 | 1 | -4/+4 | |
| | ||||||
* | Split TCast::to into TCast::to_unchecked and TCast::to. | Tetsuharu OHZEKI | 2014-03-20 | 1 | -3/+3 | |
| | ||||||
* | Rust upgrade for new master rebase | Lars Bergstrom | 2014-03-18 | 1 | -2/+2 | |
| | ||||||
* | Warning police. | Josh Matthews | 2014-03-18 | 1 | -15/+15 | |
| | ||||||
* | Remove all traces of Box representation from bindings. Work around file read ↵ | Josh Matthews | 2014-03-18 | 1 | -2/+2 | |
| | | | | runtime problem. | |||||
* | Rust upgrades | Lars Bergstrom | 2014-03-18 | 1 | -37/+47 | |
| | ||||||
* | Use the JSVal member functions to replace JSVAL_IS_* and JSVAL_TO_*. | Ms2ger | 2014-03-09 | 1 | -4/+1 | |
| | ||||||
* | Use FooValue() functions. | Ms2ger | 2014-03-09 | 1 | -2/+2 | |
| | ||||||
* | Stop sticking a Page in the JSContext's private. | Ms2ger | 2014-03-05 | 1 | -17/+1 | |
| | ||||||
* | Pass &JS<Window> to some constructors. | Ms2ger | 2014-03-04 | 1 | -1/+1 | |
| | ||||||
* | Remove next_subpage_id argument from parse_html.(fixes #1801) | lpy | 2014-03-04 | 1 | -2/+1 | |
| | ||||||
* | Fix a dynamic borrow failure with iframes | Keegan McAllister | 2014-03-03 | 1 | -4/+2 | |
| | ||||||
* | De-@mut the script crate. | Josh Matthews | 2014-02-28 | 1 | -173/+296 | |
| | ||||||
* | Implement "resize" DOM Event. | Tetsuharu OHZEKI | 2014-03-01 | 1 | -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) | lpy | 2014-02-28 | 1 | -4/+6 | |
| | ||||||
* | Remove the image loading workaround from the parser. | Ms2ger | 2014-02-25 | 1 | -1/+0 | |
| | ||||||
* | Remove DocumentTypeId. | Ms2ger | 2014-02-24 | 1 | -2/+2 | |
| | ||||||
* | Remove document::DocumentType (fixes #1730). | Ms2ger | 2014-02-24 | 1 | -2/+2 | |
| | ||||||
* | Remove HTMLDocument. | Ms2ger | 2014-02-24 | 1 | -4/+3 | |
| | ||||||
* | Implement JSManaged for DOM objects. | Josh Matthews | 2014-02-24 | 1 | -79/+109 | |
| | ||||||
* | Use eq() and eq_slice() less, and map_default() more. | Ms2ger | 2014-02-16 | 1 | -5/+3 | |
| | ||||||
* | Restore failure handling | Keegan McAllister | 2014-02-12 | 1 | -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 Kim | 2014-02-10 | 1 | -3/+74 | |
| | | | | PR, will make partial reflow. | |||||
* | compositor can get mouse point from window event | HyunJune Kim | 2014-02-10 | 1 | -1/+2 | |
| | ||||||
* | Reduce copying on parse_url() call sites. | Tetsuharu OHZEKI | 2014-02-09 | 1 | -1/+1 | |
| | ||||||
* | Rename make_url/current_url to parse_url/base_url, to align with spec ↵ | Simon Sapin | 2014-02-01 | 1 | -4/+4 | |
| | | | | terminology. |