Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Sending key events through script task before processing them in the compositor. | Nathan E. Egge | 2014-12-12 | 1 | -0/+4 | |
| | | | | Fixes #4163 | |||||
* | ports/cef: Implement accelerated compositing for the CEF port. | Patrick Walton | 2014-12-10 | 1 | -3/+14 | |
| | ||||||
* | Reuse the final_url in ScriptTask::load. | Ms2ger | 2014-12-09 | 1 | -5/+4 | |
| | | | | | In both the javascript and non-javascript url cases, final_url is set to the same url as is stored by the Page. | |||||
* | Pass a borrowed Url to parse_html. | Ms2ger | 2014-12-09 | 1 | -1/+1 | |
| | | | | | It does not need to take ownership, and I want to reuse final_url in the caller. | |||||
* | Rename base_url to final_url in ScriptTask::load. | Ms2ger | 2014-12-09 | 1 | -5/+5 | |
| | | | | This seems like a clearer name, as it's used for more than just as a base url. | |||||
* | Remove the url from the InputUrl variant. | Ms2ger | 2014-12-09 | 1 | -2/+2 | |
| | | | | | This url is the pre-redirect url, which is not particularly meaningful, and it is used only in a panic message. | |||||
* | Move the load response into the HTMLInput enum. | Ms2ger | 2014-12-09 | 1 | -4/+4 | |
| | | | | | It is None iff the parser input is an InputString variant, so it makes more sense to pass it in the same enum. | |||||
* | Combine two conditionals in ScriptTask::load. | Ms2ger | 2014-12-09 | 1 | -40/+31 | |
| | | | | | Now that the code lives in the same function, I see no reason for them to remain separate. | |||||
* | Make parse_html's base_url argument non-optional. | Ms2ger | 2014-12-08 | 1 | -6/+3 | |
| | | | | It turns out the case where it woul be None can't happen. | |||||
* | Move the networking code in parse_html into ScriptTask::load. | Ms2ger | 2014-12-08 | 1 | -2/+86 | |
| | | | | | | This doesn't really have anything to do with parsing HTML, and fits in better with the code in ScriptTask::load. In particular, all changes to Page's url now go through ScriptTask methods. | |||||
* | Pass the load data to parse_html directly, rather than in an Option. | Ms2ger | 2014-12-08 | 1 | -1/+1 | |
| | ||||||
* | Cleanup last_loaded_url/last_url handling in ScriptTask::load. | Ms2ger | 2014-12-08 | 1 | -8/+5 | |
| | ||||||
* | Simplify the content_changed call in ScriptTask::load. | Ms2ger | 2014-12-08 | 1 | -5/+1 | |
| | ||||||
* | Create the root frame before evaluating the javascript URL. | Ms2ger | 2014-12-06 | 1 | -9/+9 | |
| | | | | | This prevents a crash when the script in the javascript URL accesses the document attribute. | |||||
* | Add Comparable trait to js.rs; fixups | Manish Goregaokar | 2014-12-06 | 1 | -1/+1 | |
| | ||||||
* | Switch to NodeFlags (the footprint has not changed) | Manish Goregaokar | 2014-12-05 | 1 | -1/+1 | |
| | ||||||
* | Address review comments | Manish Goregaokar | 2014-12-05 | 1 | -0/+2 | |
| | ||||||
* | Implement implicit form submission | Manish Goregaokar | 2014-12-05 | 1 | -2/+5 | |
| | ||||||
* | Hook up synthetic click activation to script_task and <>.click() | Manish Goregaokar | 2014-12-05 | 1 | -2/+17 | |
| | ||||||
* | Hook up authentic click activation to the script task | Manish Goregaokar | 2014-12-05 | 1 | -4/+7 | |
| | ||||||
* | Implemeneted ModifyAttribute handler to update DOM elements. | Shanil Puri | 2014-12-03 | 1 | -84/+12 | |
| | ||||||
* | Implement Window.sessionStorage: Storage Task, Storage Methods (excluding ↵ | nkdalmia | 2014-12-03 | 1 | -0/+6 | |
| | | | | Storage event, QuotaExceededError) | |||||
* | Updated reflect_dom_object to be passed by value | Michael Booth | 2014-11-30 | 1 | -3/+3 | |
| | ||||||
* | Allow passing arguments to setTimeout/setInterval callbacks | Mukilan Thiyagarajan | 2014-11-15 | 1 | -1/+1 | |
| | ||||||
* | Remove unused arguments from LoadComplete and LoadCompleteMsg | Manish Goregaokar | 2014-11-14 | 1 | -2/+2 | |
| | ||||||
* | Don't overwrite redirected URL in script_task (fixes #3970) | Manish Goregaokar | 2014-11-14 | 1 | -1/+2 | |
| | ||||||
* | Fix interfaces test | Keegan McAllister | 2014-11-13 | 1 | -7/+14 | |
| | ||||||
* | Add single-line text input with no visible cursor. | Josh Matthews | 2014-11-13 | 1 | -12/+14 | |
| | ||||||
* | Implement document focus context and hook it up to click events. | Josh Matthews | 2014-11-13 | 1 | -7/+13 | |
| | ||||||
* | Dispatch keydown, keyup, and keypress events at appropriate times. | Josh Matthews | 2014-11-13 | 1 | -3/+53 | |
| | ||||||
* | Pass all key events to the current constellation frame. | Josh Matthews | 2014-11-13 | 1 | -2/+6 | |
| | ||||||
* | Rebase and fix up compile errors for rust upgrade. | Glenn Watson | 2014-11-13 | 1 | -2/+2 | |
| | ||||||
* | Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a | Jack Moffitt | 2014-11-13 | 1 | -32/+26 | |
| | ||||||
* | Clip display list based on frame viewport | Martin Robinson | 2014-11-11 | 1 | -3/+11 | |
| | | | | | | Instead of creating a display list for the entire page, only create one for an area that expands around the viewport. On my machine this makes incremental layout of http://timecube.com 50% faster. | |||||
* | Bug #3811 - Extracted the script task handlers into methods | Shing Lyu | 2014-11-10 | 1 | -157/+177 | |
| | ||||||
* | Invert control flow, fix resizing, and improve checkerboarding | Patrick Walton | 2014-11-04 | 1 | -22/+25 | |
| | | | | | significantly by giving tiles some time to paint before we render unrendered content. | |||||
* | auto merge of #3732 : mukilan/servo/xhr-issue-3630, r=jdm | bors-servo | 2014-11-04 | 1 | -1/+4 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes issue #3630 A short summary of the changes: * Use atomic generation id to cancel inflight requests * Handles nested calls to abort, open, send inside handlers * Adds XHRReleaseMsg to delay freeing XHR object till all inflight events are processed * Handles both timeout, errors and abort/open in a symmetric fashion i.e All inflight events will be cancelled for timeouts, aborts, errors and on calling open. * Change the ErroredMsg enum to be more symmetric with the returned Error enum I noticed a few possible changes that could make the code for fetch task simpler: * We can remove the additional timer task and let the fetch task manage its own timer (or maybe the resource loader can do this.) * The CORS related steps could also be moved into the resource loader. * Right now upload events are not support. This requires some support from resource loader. | |||||
| * | Fix race condition in XHR and handle other abort/open scenarios | Mukilan Thiyagarajan | 2014-11-03 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | This fixes issue #3630 A short summary of the changes: * Use generation id to cancel inflight requests * Handles nested calls to abort, open, send inside handlers * Adds XHRReleaseMsg to delay freeing XHR object till all inflight events are processed * Change the ErroredMsg enum to be more symmetric with the returned Error enum | |||||
* | | Have ContentBox(es)Queries consult the flow tree | Martin Robinson | 2014-11-03 | 1 | -4/+4 | |
|/ | | | | | | | | | Instead of looking at the display tree, have ContentBox(es)Query consult the flow tree. This allow optimizing away parts of the display tree later. To do this we need to be more careful about how we send reflow requests, only querying the flow tree when possible. Fixes #3790. | |||||
* | Switch to synchronous script loading | Matt Brubeck | 2014-10-29 | 1 | -46/+3 | |
| | | | | | | | This removes the old code for asyncronously loading scripts during HTML parsing and then executing them afterward. Fixes #3356. | |||||
* | Infrastructure for synchronous script loading | Matt Brubeck | 2014-10-29 | 1 | -5/+0 | |
| | | | | | | This implements the parts of the "prepare a script element" algorithm that are required for synchronous scripts. It also adds some infrastructure for future support of the `async` and `defer` attributes. | |||||
* | Ignore the HTML parser's borrow flag in GC tracing | Keegan McAllister | 2014-10-24 | 1 | -0/+18 | |
| | | | | Adds some other dynamic checks in debug builds. | |||||
* | Dynamically check DOMRefCell access from layout in debug builds | Keegan McAllister | 2014-10-24 | 1 | -1/+2 | |
| | ||||||
* | Rename untraceable!() to no_jsmanaged_fields!(). References issue #3671 | Ray Clanan | 2014-10-23 | 1 | -1/+1 | |
| | ||||||
* | Implement Document.readyState. Prevent iframes from notifying the compositor ↵ | Josh Matthews | 2014-10-23 | 1 | -4/+16 | |
| | | | | after the initial parse. Fixes #1720. Fixes #3738. | |||||
* | Use DOMRefCell for ScriptTask. | Tetsuharu OHZEKI | 2014-10-22 | 1 | -7/+7 | |
| | ||||||
* | Use html5ever for HTML parsing | Keegan McAllister | 2014-10-16 | 1 | -12/+4 | |
| | ||||||
* | Issue #3236 - Implement timers (setTimeout/setInterval) for workers | Mukilan Thiyagarajan | 2014-10-16 | 1 | -4/+13 | |
| | ||||||
* | Make Event::new take enumerated values instead of booleans (fixes #3643) | Tim Taubert | 2014-10-11 | 1 | -3/+3 | |
| | ||||||
* | Implement extremely basic form submission (fixes #3554) | Manish Goregaokar | 2014-10-11 | 1 | -4/+4 | |
| |