Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace most ~"string"s with "string".to_owned(). | Ms2ger | 2014-05-04 | 1 | -2/+2 |
| | |||||
* | Address review comments. | Josh Matthews | 2014-05-03 | 1 | -11/+9 |
| | |||||
* | Address review comments. | Josh Matthews | 2014-05-03 | 1 | -3/+3 |
| | |||||
* | Remove all root collections. | Josh Matthews | 2014-05-03 | 1 | -36/+25 |
| | |||||
* | Store per-ScriptTask RootCollection in TLS and use that in favour of ↵ | Josh Matthews | 2014-05-03 | 1 | -0/+21 |
| | | | | per-frame collections. | ||||
* | s/Unrooted/Temporary/g | Josh Matthews | 2014-05-03 | 1 | -4/+4 |
| | |||||
* | Allow controlling GC zeal via JS_GC_ZEAL environment variable. | Josh Matthews | 2014-05-03 | 1 | -1/+5 |
| | |||||
* | Move all methods on T to JSRef<T> or JS<T> as appropriate. | Josh Matthews | 2014-05-03 | 1 | -2/+2 |
| | |||||
* | Remove abstract_self. | Josh Matthews | 2014-05-03 | 1 | -10/+5 |
| | |||||
* | Move WebIDL methods to traits implemented by JSRef types. | Josh Matthews | 2014-05-03 | 1 | -10/+11 |
| | |||||
* | Remove JS::get/get_mut to enforce sound rooting practices. | Josh Matthews | 2014-05-03 | 1 | -5/+7 |
| | |||||
* | Implement safe rooting strategy via Unrooted, Root, JSRef, and JS. | Josh Matthews | 2014-05-03 | 1 | -76/+83 |
| | |||||
* | Turn on GC all the time. Fix rooting errors during parsing and storing ↵ | Josh Matthews | 2014-05-03 | 1 | -81/+94 |
| | | | | timers. Fix borrow errors during tracing. | ||||
* | Stop passing owned strings to fail!(). | Ms2ger | 2014-05-03 | 1 | -1/+1 |
| | | | | The ~"string" expression is being removed in upstream rust. | ||||
* | Use Vec for the remaining ~[T]s in script. | Ms2ger | 2014-04-28 | 1 | -2/+2 |
| | |||||
* | Make get_nodes_under_mouse return Vec. | Ms2ger | 2014-04-28 | 1 | -1/+1 |
| | |||||
* | Make PageTree::inner and PageTreeIterator::stack a Vec. | Ms2ger | 2014-04-28 | 1 | -4/+4 |
| | |||||
* | Make ScriptTask::mouse_over_targets use Vec. | Ms2ger | 2014-04-28 | 1 | -2/+2 |
| | |||||
* | Remove unused support for passing extra arguments for timers. | Ms2ger | 2014-04-28 | 1 | -5/+1 |
| | |||||
* | This batch of changes upgrades Servo to work with the Rust upgrade as of | Lars Bergstrom | 2014-04-27 | 1 | -35/+36 |
| | | | | | | April 10, 2014. The main changes are to privacy, to work around the issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the various API changes strewn throughout the libraries. | ||||
* | auto merge of #2210 : saneyuki/servo/query, r=jdm | bors-servo | 2014-04-24 | 1 | -32/+56 |
|\ | | | | | | | | | | | - see #356 - To decrease the conversion code, `JS<Node>` -> `Node`, I added API methods to `NodeHelpers`. - I added APIs to `Page` not `Document` because I had thought that their APIs returns the hitted nodes address in the "page". | ||||
| * | Add Page::get_nodes_under_mouse(). | Tetsuharu OHZEKI | 2014-04-24 | 1 | -12/+26 |
| | | |||||
| * | 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 |
| |