Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | auto merge of #3626 : Manishearth/servo/form-prep, r=jdm | bors-servo | 2014-10-09 | 1 | -6/+8 | |
|\ | | | | | | | Framework for form submission | |||||
| * | Allow passing a method, request body, and headers to the pipeline in LoadUrlMsg | Manish Goregaokar | 2014-10-09 | 1 | -6/+8 | |
| | | ||||||
* | | Incremental Style Recalc | Clark Gaebel | 2014-10-09 | 1 | -16/+45 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch puts in the initial framework for incremental reflow. Nodes' styles are no longer recalculated unless the node has changed. I've been hacking on the general problem of incremental reflow for the past couple weeks, and I've yet to get a full implementation that actually passes all the reftests + wikipedia + cnn. Therefore, I'm going to try to land the different parts of it one by one. This patch only does incremental style recalc, without incremental flow construction, inline-size bubbling, reflow, or display lists. Those will be coming in that order as I finish them. At least with this strategy, I can land a working version of incremental reflow, even if not yet complete. r? @pcwalton | |||||
* | | Remove unnecessary `deref()`s (fixes #3586) | Tim Taubert | 2014-10-09 | 1 | -6/+6 | |
|/ | ||||||
* | auto merge of #3571 : Ms2ger/servo/rewrite-js-url, r=jdm | bors-servo | 2014-10-06 | 1 | -7/+7 | |
|\ | | | | | | | | | This should make it clearer that we always pass a URL to Document::new, and avoids an unnecessary unwrap() call. | |||||
| * | Cleanup URL handling in ScriptTask::load a bit. | Ms2ger | 2014-10-04 | 1 | -7/+7 | |
| | | | | | | | | | | This should make it clearer that we always pass a URL to Document::new, and avoids an unnecessary unwrap() call. | |||||
* | | auto merge of #3570 : Ms2ger/servo/rc-scripttask, r=metajack | bors-servo | 2014-10-06 | 1 | -4/+4 | |
|\ \ | | | | | | | | | | | | | | | | | | | The ScriptTask is owned by the proc in ScriptTaskFactory::create. We started using a managed box for what would eventually become ScriptTask in d21d27e08633b6a7f2b774a28c65c81d1eedbeaf. | |||||
| * | | Stop reference-counting the ScriptTask. | Ms2ger | 2014-10-04 | 1 | -4/+4 | |
| |/ | | | | | | | | | | | | | The ScriptTask is owned by the proc in ScriptTaskFactory::create. We started using a managed box for what would eventually become ScriptTask in d21d27e08633b6a7f2b774a28c65c81d1eedbeaf. | |||||
* / | Remove Traceable/Untraceable from page.rs | Manish Goregaokar | 2014-10-05 | 1 | -14/+14 | |
|/ |