aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Automatically update cargo when necessaryMatt Brubeck2014-11-053-4/+14
|
* Fixes #3353: rust snapshot downloads to home directoryAnthony Miyaguchi2014-11-053-6/+9
|
* auto merge of #3896 : Ms2ger/servo/attr-crash, r=jdmbors-servo2014-11-052-11/+52
|\ | | | | | | | | | | The semantics of has_attribute aren't anywhere close to the ones expected for Element#hasAttribute, and it fails an assertion when passed non-lower-case names.
| * Defer to GetAttribute in HasAttribute.Ms2ger2014-11-052-11/+52
| | | | | | | | | | | | The semantics of has_attribute aren't anywhere close to the ones expected for Element#hasAttribute, and it fails an assertion when passed non-lower-case names.
* | auto merge of #3890 : pcwalton/servo/microoptimize-dlist, r=glennwbors-servo2014-11-052-49/+50
|\ \ | |/ |/| | | | | | | | | | | I'm sad to say that this improved performance significantly. A lot of this win is due to the Rust compiler not being smart about not zeroing objects out if it doesn't need to. r? @glennw
| * gfx: Micro-optimize `DList` and `StackingContext` a bit.Patrick Walton2014-11-052-49/+50
| | | | | | | | | | | | I'm sad to say that this improved performance significantly. A lot of this win is due to the Rust compiler not being smart about not zeroing objects out if it doesn't need to.
* | auto merge of #3891 : Ms2ger/servo/wpt_20141103, r=jdmbors-servo2014-11-0539-6455/+4654
|\ \ | |/ |/|
| * Update web-platform-tests.Ms2ger2014-11-0539-6455/+4654
|/
* auto merge of #3761 : pcwalton/servo/smooth-scrolling, r=larsbergstrombors-servo2014-11-0427-658/+1175
|\ | | | | | | r? @glennw @mbrubeck
| * Invert control flow, fix resizing, and improve checkerboardingPatrick Walton2014-11-0427-658/+1175
|/ | | | | significantly by giving tiles some time to paint before we render unrendered content.
* auto merge of #3879 : mrobinson/servo/debug-options, r=cgaebelbors-servo2014-11-042-18/+45
|\ | | | | | | | | This should make help output a lot cleaner and simplify the way that uncommon debug options are passed.
| * Corral debug command-line options into a --debug/-Z flagMartin Robinson2014-11-042-18/+45
| | | | | | | | | | This should make help output a lot cleaner and simplify the way that uncommon debug options are passed.
* | auto merge of #3732 : mukilan/servo/xhr-issue-3630, r=jdmbors-servo2014-11-0414-172/+257
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Update expectations for wpt tests under /XMLHttpRequestMukilan Thiyagarajan2014-11-0411-39/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following tests are re-enabled: * /XMLHttpRequest/send-network-error-async-events.sub.htm * /XMLHttpRequest/send-network-error-sync-events.sub.htm * /XMLHttpRequest/xmlhttprequest-timeout-worker-aborted.html * /XMLHttpRequest/xmlhttprequest-timeout-worker-overrides.html * /XMLHttpRequest/xmlhttprequest-timeout-worker-simple.html * /XMLHttpRequest/xmlhttprequest-timeout-worker-twice.html Following tests are disabled: * /XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires.html The following tests are expected to timeout since window.postMessage is not implemented yet: * /XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html * /XMLHttpRequest/xmlhttprequest-timeout-overrides.html * /XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html
| * | Fix race condition in XHR and handle other abort/open scenariosMukilan Thiyagarajan2014-11-033-133/+240
| |/ | | | | | | | | | | | | | | | | | | | | 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
* | auto merge of #3881 : brunoabinader/servo/dataset, r=jdmbors-servo2014-11-031-4/+5
|\ \ | | | | | | | | | Rust doesn't handle integers as bool on if statements, and defineProperty signature uses *mut instead of *const.
| * | Various fixes to CodegenRust.pyBruno de Oliveira Abinader2014-11-031-4/+5
| | |
* | | auto merge of #3880 : cgaebel/servo/case-insensitive-font-family-matching, ↵bors-servo2014-11-037-14/+44
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=glennw,glennw One part (of 8!) of css font family disambiguation is that font families should be matched case-insensitively. This patch implements that. Once it lands, a bug needs to be filed to do lowercasing properly (as a string, instead of char-by-char -- it's a unicode thing). r? @glennw
| * | Implements case insensitive font family names.Clark Gaebel2014-11-037-14/+44
|/ / | | | | | | | | | | | | | | | | | | One part (of 8!) of css font family disambiguation is that font families should be matched case-insensitively. This patch implements that. Once it lands, a bug needs to be filed to do lowercasing properly (as a string, instead of char-by-char -- it's a unicode thing). r? @gw
* | auto merge of #3878 : zwarich/servo/remove-input-fragment, r=jdmbors-servo2014-11-033-19/+15
|\ \ | | | | | | | | | Fixes #3724.
| * | Remove InputFragmentCameron Zwarich2014-11-033-19/+15
| |/ | | | | | | Fixes #3724.
* | auto merge of #3835 : pcwalton/servo/script-microoptzns, r=Ms2gerbors-servo2014-11-037-51/+83
|\ \ | | | | | | | | | | | | | | | This is a grab bag of various microoptimizations for script that I came across when profiling our performance on RoboHornet. r? @jdm
| * | script: Fix busted document fragment appending codePatrick Walton2014-10-311-6/+8
| | |
| * | script: Use an FNV hash to hash event listeners.Patrick Walton2014-10-283-5/+8
| | | | | | | | | | | | | | | | | | The security properties of SipHash are irrelevant for event listeners and the creation of the random number generator was showing up high in the profiles.
| * | script: Don't create a temporary vector on the heap when insertingPatrick Walton2014-10-281-29/+39
| | | | | | | | | | | | non-fragment nodes.
| * | script: Don't dirty nodes that are already dirty.Patrick Walton2014-10-281-0/+4
| | |
| * | script: Use `String::new()` instead of the formatting infrastructurePatrick Walton2014-10-281-1/+1
| | | | | | | | | | | | | | | | | | when constructing DOM unique IDs. This was showing up in the RoboHornet profile.
| * | script: Avoid a temporary when constructing `<td>` and `<tr>` elements.Patrick Walton2014-10-282-6/+12
| | | | | | | | | | | | Was a huge improvement to RoboHornet.
| * | script: Use a 16-element `SmallVec` for the root collection.Patrick Walton2014-10-281-10/+17
| | | | | | | | | | | | | | | In my tests the size of the root collection never exceeded 7, so 16 seems like a nice conservative number.
* | | auto merge of #3875 : cgaebel/servo/remove-static-constraint-on-smallvec, r=jdmbors-servo2014-11-031-13/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | It was likely added accidentally after a rustc upgrade. r? @jdm
| * | | Removes the useless 'static constraint on SmallVec.Clark Gaebel2014-11-031-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | It was likely added accidentally after a rustc upgrade. r? @jdm
* | | | auto merge of #3872 : kmcallister/servo/stb-error, r=jdmbors-servo2014-11-031-2/+8
|\ \ \ \
| * | | | More useful stb-image error handlingKeegan McAllister2014-11-021-2/+8
| | | | |
* | | | | auto merge of #3857 : mrobinson/servo/queries, r=pcwaltonbors-servo2014-11-0319-213/+374
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | Have ContentBox(es)Queries consult the flow treeMartin Robinson2014-11-0319-213/+374
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | auto merge of #3863 : Ms2ger/servo/cleanup-caption, r=Manishearthbors-servo2014-11-031-6/+4
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Cleanup the implementation of HTMLTableElement::GetCaption.Ms2ger2014-10-311-6/+4
| | | | |
* | | | | auto merge of #3862 : Manishearth/servo/lint-fix, r=jdmbors-servo2014-11-031-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | The correct thing to do here is to use `#[allow(unrooted_must_root)]` (the warning already mentions this). `#[must_root]` on functions does nothing.
| * | | | Remove suggestion to use #[must_root] for functionsManish Goregaokar2014-10-311-1/+1
| | | | |
* | | | | auto merge of #3871 : Ms2ger/servo/node-cleanup, r=Ms2gerbors-servo2014-11-021-21/+15
|\ \ \ \ \
| * | | | | Simplify the implementation of NodeIterator::next_child.Ms2ger2014-11-021-9/+7
| | | | | |
| * | | | | Simplify the implementation of NodeHelpers::child_elements.Ms2ger2014-11-021-12/+8
| | |_|/ / | |/| | |
* | | | | auto merge of #3870 : mvanderh/servo/master, r=Ms2gerbors-servo2014-11-022-75/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | Fixes #3855. I'm not sure if this is the right place to set `cancelable`. If changing the default value in `Event::new_inherited` is not satisfactory, it will be possible to set the `Cell`'s value to `false` in `Event::new` itself.
| * | | | Remove ./dom/nodes/Document-createEvent.html.ini in tests/wpt/metadata ↵Mitchell Van Der Hoeff2014-11-021-74/+0
| | | | | | | | | | | | | | | | | | | | because we expect all tests to pass now. Fixes #3855
| * | | | Initialize 'cancelable' to false in Event::new_inherited. Fixes #3855.Mitchell Van Der Hoeff2014-11-021-1/+1
|/ / / /
* | | | auto merge of #3860 : pcwalton/servo/reflow-out-of-flow, r=glennwbors-servo2014-10-3121-388/+655
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the last PR and most of the work for the maze solver and RoboHornet. r? @glennw cc @cgaebel
| * | | | layout: Make incremental reflow more fine-grained by introducing "reflowPatrick Walton2014-10-3120-387/+628
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out-of-flow" and "reconstruct flow" damage bits. This is needed for good performance on the maze solver.
| * | | | test: Mark the inline element in `inline_hypothetical_box_a.html` asPatrick Walton2014-10-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `vertical-align: top`. We actually don't support the other values correctly, and so this test was relying on a bug in incremental reflow.
| * | | | layout: Make absolute position calculation idempotent.Patrick Walton2014-10-311-9/+34
| | | | | | | | | | | | | | | | | | | | | | | | | This will be necessary for incremental reflow of absolutely-positioned flows.
* | | | | auto merge of #3830 : pcwalton/servo/persistent-list-floats, r=kmcallisterbors-servo2014-10-313-106/+177
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | r? @kmcallister