Граф коммитов

2057 Коммитов

Автор SHA1 Сообщение Дата
Matt Brubeck f12e6f17fb servo: Merge #2602 - Don't require root pipeline to match new pipeline (from mbrubeck:revert-root-pipeline-check); r=pcwalton
This reverts 2b0134be7bb8a4372f1a8703b5a1b114e65351f6 because it was not correct for iframes.  Oops.  (Wasn't caught by tests because we still have other crashes preventing iframe testing.)  r? @pcwalton.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1184b500e50123fdcfb6824bed1df6e770b0d0f8
2014-06-07 02:46:21 -04:00
Brendan Zabarauskas bd962a3ef6 servo: Merge #2607 - Fix leak (from brendanzab:leeeeeak); r=jdm
Introduced by yours-truly in 7212c3573e7f2b13f907e17a5683d382b34ab932

Oopsie.

Source-Repo: https://github.com/servo/servo
Source-Revision: f1194fc85bfb857962684eccd352968b3ace7d84
2014-06-06 17:49:21 -04:00
Bruno de Oliveira Abinader 081cdd3e3b servo: Merge #2591 - Implement ParentNode's querySelector on Document, DocumentFragment & Element (from brunoabinader:document-queryselector-v3); r=jdm
This is a subtask for #2254 & #2576.

Spec:
http://dom.spec.whatwg.org/#dom-parentnode-queryselector

Source-Repo: https://github.com/servo/servo
Source-Revision: b52fbe0a5f5fcececa065b0d818916a7f782cf5c
2014-06-06 17:22:25 -04:00
Matt Brubeck 67ff35687f servo: Merge #2603 - Use some typed units in compositor and windowing (from mbrubeck:units); r=pcwalton
This is a rebased, squashed, and updated version of #2444.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6c382243c4b3de9f0eec9cd71c757897ffd1b2e0
2014-06-06 16:04:34 -04:00
Ms2ger 50c03a2fec servo: Merge #2606 - Fix build warnings and miscellaneous issues (from Ms2ger:warnings); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: a49fa8d23d732e7ab9e9bcfab0a81d6a1127b40a
2014-06-06 15:32:11 -04:00
Brian Anderson c085b753b5 servo: Merge #2608 - Revert "auto merge of #2584 : pcwalton/servo/binary-search, r=SimonSapin (from brson:revbinsearch)
Source-Repo: https://github.com/servo/servo
Source-Revision: b929a2f53cb1025d4786b55d097b8b99846d9878
2014-06-06 12:30:03 -07:00
Ms2ger 62cdaaaf9c servo: Merge #2599 - Improve types around CreateInterfaceObjects2 (from Ms2ger:constantspec); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: eae9b943991cef4495bdc0b2bb5f8deae57cb835
2014-06-06 14:04:29 -04:00
Ms2ger 421c38eefe servo: Merge #2598 - Squash a warning about deriving traits on a struct that contains a raw pointer (from Ms2ger:unsafe-deriving); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: c54baa663e4dbaf00fd2d5d5642eb26a52dcf479
2014-06-06 13:31:31 -04:00
Ms2ger a76c1fe35d servo: Merge #2597 - Remove htmlmainelement.rs again (re-fixes #2541) (from Ms2ger:main); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 60fba1055c98d4d604301d35b39db8782e12335d
2014-06-06 13:04:35 -04:00
Ms2ger 26108dea85 servo: Merge #2596 - Don't use mem::transmute for the argument to CreateProxyHandler (from Ms2ger:CreateProxyHandler-transmute); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: af9da5cc24b4f400bf728de5c5d0c239673d83c4
2014-06-06 12:34:58 -04:00
Tetsuharu OHZEKI 562fc91bb3 servo: Merge #2600 - Remove needless '&self mut' from VirtualMethods trait (from saneyuki:mut); r=Ms2ger
Related #2514

Source-Repo: https://github.com/servo/servo
Source-Revision: a575cb7d9e3e226b33c87abf13eea54aa2968e04
2014-06-06 12:01:45 -04:00
Manish Goregaokar 05dcbd4942 servo: Merge #2590 - JSON response support and some default headers (from Manishearth:xhr-json); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: e997090d8e61bf509d1a8ca73771ca6a97d1a0ad
2014-06-06 10:46:40 -04:00
Patrick Walton cd6ccd4cbf servo: Merge #2584 - gfx: Binary search for the start position when iterating over the slices (from pcwalton:binary-search); r=SimonSapin
in a text run.

This makes painting of text display items faster and matches what Gecko
does.

r? @SimonSapin

Source-Repo: https://github.com/servo/servo
Source-Revision: d8483d2365b234ec32478eb836fe6019bead9265
2014-06-06 00:58:25 -04:00
Brendan Zabarauskas e713b3c346 servo: Merge #2589 - Assorted cleanups (from brendanzab:cleanups); r=pcwalton
@pcwalton r?

Might conflict with the rust upgrade - I can rebase later.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3dedbd2719c78b636f4fd0860b07f1b53ed84c24
2014-06-05 19:37:36 -04:00
Junyoung Cho 4ab42a2b22 servo: Merge #2592 - Fix the vertical alignment error for img tag (from june0cho:fix_vertical_align); r=SimonSapin
It fixes the wrong vertical alignment for img element. (related to #2422, #2554)
Worked with @ryanc

Source-Repo: https://github.com/servo/servo
Source-Revision: d293b469442ddc7de4257c14bcba685218019598
2014-06-05 18:58:30 -04:00
Patrick Walton a27e32ba0a servo: Merge #2588 - gfx: Add display list optimization to eliminate clipped items before (from pcwalton:display-list-optimization); r=glennw
submitting them to Skia.

40x improvement in painting time on Wikipedia.

r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 10b1e655b0dfec66fea948f974d41339d796c716

--HG--
rename : servo/src/components/gfx/display_list.rs => servo/src/components/gfx/display_list/mod.rs
2014-06-05 16:46:28 -04:00
Edit Balint 29164f13b9 servo: Merge #2586 - Reduce the number of times we call rustc in our Makefile #2327 (from ebalint:2327); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 188b2c725d55f79e289a181575ca13c89408b1c7
2014-06-05 16:16:32 -04:00
Jack Moffitt 0efdf108b8 servo: Merge #2538 - Upgrade Rust (from servo:rustup-20140528); r=SimonSapin
Not yet ready for merge, but you can start reviewing.

Still need to fix linux and some make check code.

Source-Repo: https://github.com/servo/servo
Source-Revision: b2e7e67087370e30a310bb3673b074c97c19d548

--HG--
rename : servo/src/components/style/common_types.rs => servo/src/components/style/properties/common_types.rs
rename : servo/src/components/style/properties.rs.mako => servo/src/components/style/properties/mod.rs.mako
rename : servo/src/components/util/debug.rs => servo/src/components/util/debug_utils.rs
2014-06-05 13:58:44 -04:00
Cameron Zwarich 1d24065b90 servo: Merge #2582 - Drop event listener exceptions on the floor (from zwarich:drop-exceptions); r=jdm
We get a lot of failures from assertions that event listeners haven't
thrown exceptions. As the FIXME above these assertions suggests, we
should just drop them on the floor.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2ae671b5aa9d27812adcdb8ebc749733156df66e
2014-06-05 02:58:27 -04:00
Matt Brubeck 6e5a9bec2e servo: Merge #2581 - Fix text decoration bug in applicable declarations cache (from mbrubeck:declarations-cache); r=pcwalton
Fixes #2498.  Also includes a reftest, and some related code cleanup (in separate commits).

Note: The fix in `properties.rs.mako` is much more readable with `git diff -w`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 41a6234b39e1655d2137c97cec6e572033896b86
2014-06-05 01:37:30 -04:00
Matt Brubeck 9da02b820d servo: Merge #2575 - Remove all old layers before adding a new root layer (fixes #2259) (from mbrubeck:2259-remove-old-layers); r=pcwalton
This fixes #2259 which was caused by some of the previous layers sticking around incorrectly.  Depends on mozilla-servo/rust-layers#69.

Also includes some related cleanup as separate commits.

No reftest because our test harness doesn't yet support navigating to a new page (#2574).

Source-Repo: https://github.com/servo/servo
Source-Revision: 473b9e488bf7354e4bed434ca99039328ddd5823
2014-06-04 14:28:22 -04:00
Manish Goregaokar 5c2a8c1698 servo: Merge #2521 - Add responseText and status code support to XHR (from Manishearth:xhr-responsetext); r=Ms2ger
Blocks #2282

Source-Repo: https://github.com/servo/servo
Source-Revision: 33c4a7a5dc84ff94d30fe00c4957c0030afb217b
2014-06-04 07:52:12 -04:00
Patrick Walton a0a637d36c servo: Merge #2570 - layout: Implement reference counting for flows (from pcwalton:ref-count-flows); r=pcwalton
r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 57ab4206167ab091c6745fa5d3ddf6a8c90b15d3
2014-06-04 01:25:28 -04:00
Tetsuharu OHZEKI d7e6e10f6c servo: Merge #2557 - Remove needless '&mut self' from Window/Document (from saneyuki:mut); r=jdm
related #2514

Source-Repo: https://github.com/servo/servo
Source-Revision: 5a97f5fd79cf55f3c9803511f9e08c0ff5d216ee
2014-06-03 13:31:26 -04:00
Ms2ger 4defedfb42 servo: Merge #2558 - Move WebIDL unions into their own module (from Ms2ger:mod-unions); r=jdm
This will allow multiple unions to contain the same type.

Source-Repo: https://github.com/servo/servo
Source-Revision: d448e97c6ac7c73336056be875ca99e5d63d75c3
2014-06-03 12:58:23 -04:00
Manish Goregaokar a4f25fcd68 servo: Merge #2526 - Order of firing events (XHR) (from Manishearth:event-order); r=Ms2ger
For the wpt test [event_load](https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/event-load.htm)

Blocks #2525

Source-Repo: https://github.com/servo/servo
Source-Revision: a90f1e3773671b3664c5c630085211cac908701e
2014-06-03 09:40:14 -04:00
Brian Anderson 576612970c servo: Merge #2555 - Eliminate some warnings (from brson:warnings); r=metajack
Depends on https://github.com/mozilla-servo/rust-fontconfig/pull/19, https://github.com/mozilla-servo/rust-harfbuzz/pull/21, https://github.com/mozilla-servo/rust-hubbub/pull/23, https://github.com/mozilla-servo/rust-layers/pull/68, https://github.com/mozilla-servo/sharegl/pull/29, https://github.com/mozilla-servo/rust-mozjs/pull/85.

Source-Repo: https://github.com/servo/servo
Source-Revision: 246c9759bee9fa54a9167e9b08478446e80cd80f
2014-06-02 20:46:25 -04:00
Brendan Zabarauskas f457bf9b3d servo: Merge #2553 - Remove inline fragment map (from brendanzab:remove-inline-fragment-map); r=pcwalton
This simplifies inline.rs and makes things easier to understand.

I've also added some documentation for `Line`.

r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 184d8b5bab2aa999280c6c3b7618428bb22b5205
2014-06-02 19:34:16 -04:00
Ms2ger 9a432a9a20 servo: Merge #2550 - Support dictionary members without default values (from Ms2ger:default-handling); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 52a809259af6a07820589c42ea406765c2cfc5ee
2014-06-02 18:01:22 -04:00
Matt Brubeck 42f9ab7419 servo: Merge #2549 - Add an option to set device pixel ratio (from mbrubeck:hidpi-opt); r=metajack
This is part of the fix for #2276. r? @metajack

Source-Repo: https://github.com/servo/servo
Source-Revision: cd4a70964269f4aae9695241ca0feae1792a463c
2014-06-02 16:52:32 -04:00
Tetsuharu OHZEKI 1cb51f9642 servo: Merge #2552 - Remove needless '&mut self' from element.rs (from saneyuki:mut); r=jdm
related #2514

Source-Repo: https://github.com/servo/servo
Source-Revision: 1d6a1fc0669e1338103535c9b1bc7c862f3a68fa
2014-06-02 14:58:27 -04:00
Ms2ger 303dbfe060 servo: Merge #2551 - Rename BindingDeclarations to Bindings (from Ms2ger:bindings-rename); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 5ebe3302470ef0561d2b9fcf7c7b2030b2921c2d
2014-06-02 14:25:31 -04:00
Ms2ger 355a89864b servo: Merge #2547 - Add more dictionary codegen tests (from Ms2ger:dictionary-tests); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 488ac518e4d425e3d671eb1480df4502578b789e
2014-06-02 13:07:47 -04:00
Ms2ger 7e40b929d0 servo: Merge #2546 - Remove low-level pointer stitching methods from Node (from Ms2ger:node-pointer-stitching); r=jdm
There is no good reason for the additional abstraction here.

This commit also adds assertions that were suggested in XXX comments.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6c557265533355bd588c61d54ed0b18ef9c03bcd
2014-06-02 12:37:26 -04:00
Ms2ger ae26de31f1 servo: Merge #2545 - Remove not-yet-implemented APIs, and update MouseEvent to specification (from Ms2ger:nyi); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 448c472cf17b58fbb68a62e4537d1c95a58a100d
2014-06-02 12:07:30 -04:00
Manish Goregaokar c08814de13 servo: Merge #2527 - Don't change readystate if it's already been changed (from Manishearth:xhr-wpt-ready-state); r=Ms2ger
For the wpt test [open-open-send.htm](https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/open-open-send.htm)


Blocks #2525

Source-Repo: https://github.com/servo/servo
Source-Revision: 05a57848ad91dffcac011224656cd345af1dccd6
2014-06-02 11:37:29 -04:00
Edit Balint e7bb23fa2d servo: Merge #2548 - Add a static from_rooted method to JS<T> #2309 (from ebalint:master); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 8c73f252cab7ec5506d7d0cb22ea52f3ed2b613c
2014-06-02 10:49:33 -04:00
Tetsuharu OHZEKI ec4745d550 servo: Merge #2535 - Remove needless '&mut self' from node.rs (from saneyuki:mut); r=jdm
Related #2514

Source-Repo: https://github.com/servo/servo
Source-Revision: 59cef940e899a900b4601dbbc9b4d4bd96a96687
2014-06-01 16:19:20 -04:00
Tetsuharu OHZEKI 52ef4c1404 servo: Merge #2544 - Remove HTMLMainElement (from saneyuki:rm_main); r=jdm
Fix #2541

Source-Repo: https://github.com/servo/servo
Source-Revision: 05acf4131713259d54750ea751f1619e5813ff29
2014-06-01 15:49:23 -04:00
Ms2ger f5b7cae304 servo: Merge #2543 - Remove not-yet-implemented members from IDL and Rust code (from Ms2ger:nyi); r=jdm
These stub implementations bring no value, and significantly increased
maintenance costs.

This commit also synchronizes the IDL with the HTML specification and
makes the URLs consistent.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6751990c0d6e55d694ecc83371197536f4c87c47
2014-06-01 13:37:49 -04:00
Ms2ger 6254df8ce4 servo: Merge #2532 - Make BrowserContext::create_window_proxy private and make it set the window_proxy field itself (from Ms2ger:create_window_proxy); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: eaae994d5761e137ecc847e6b38cbcaf9ff88c19
2014-05-31 13:49:17 -04:00
Ms2ger 82824c6149 servo: Merge #2533 - Include modules with only callbacks in BindingDeclarations (from Ms2ger:callback-bindingdeclarations); r=jdm
This commit also includes improvements to the 'use' order in some of the
touched files.

Source-Repo: https://github.com/servo/servo
Source-Revision: 362af39b83b5eea56523bed8cc6e67c383e70a3d
2014-05-31 13:16:12 -04:00
Ms2ger ec199a1227 servo: Merge #2528 - Implement Event::new_initialized and initialize the event in Event::new (from Ms2ger:event-new); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: facc15f5fdd1db654090146e0901f7f12c7c0fcd
2014-05-31 10:01:08 -04:00
Martin Robinson 0abf027a0b servo: Merge #2523 - Prevent child layers from overriding root background color (from mrobinson:background-color); r=pcwalton
The first layer implicitly provides the size of the page, but child
layer background colors can still improperly override the body
background color. This commit ensures that layer background colors only
apply to layers with the same id and pipeline id. Additionally the root
layer's unrendered color is defined by the first layer's background
color, just like for size.

Source-Repo: https://github.com/servo/servo
Source-Revision: 68e3fb26a701ae0224f579b66606118eab1eedaf
2014-05-30 17:40:18 -04:00
Ms2ger d26a773708 servo: Merge #2522 - Fix minor misformatting in codegen (from Ms2ger:codegen-cleanup); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 5f5897f4e41259bec345d86cf068508ca9e2ea2f
2014-05-30 16:31:10 -04:00
Tetsuharu OHZEKI af0469a4fc servo: Merge #2520 - Remove needless '&mut self' from DOM type methods (from saneyuki:mut); r=Ms2ger
Related #2514

- This removes needless `&mut self`s from some DOM type method simply.
- This doesn't include some DOM Types which have basis method called from other types (e.g. `Element`). We still have to need to open their changes.
- This does not include to remove an implicit `deref_mut()`.

Source-Repo: https://github.com/servo/servo
Source-Revision: d7cac61d9cc8e4e9f4ef73aeac21075cc46c62b4
2014-05-30 14:45:57 -04:00
Tetsuharu OHZEKI 3223916d32 servo: Merge #2515 - "JS<T>::from_raw" should accept "*T" instead of "*mut T" (from saneyuki:raw); r=jdm
Fix #2511

@jdm r?

Source-Repo: https://github.com/servo/servo
Source-Revision: da896b8299620ad31bcdc84d931ecdcb3efd6979
2014-05-30 13:16:09 -04:00
Ms2ger e642799ed4 servo: Merge #2519 - Throw DOMExceptions where appropriate (fixes #2518) (from Ms2ger:exn); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 39e3c64ead997b3a8c6be6e188aad27fcbe3220b
2014-05-30 12:22:02 -04:00
Tetsuharu OHZEKI 5788f29d55 servo: Merge #2490 - Make 'JS<T>' smart pointers a POD type (from saneyuki:js); r=jdm
This only change to make `JS<T> ` to a POD type about #1854, except using `Cell`/`RefCell` for interior mutability.

Fix #1854

@jdm r?

Source-Repo: https://github.com/servo/servo
Source-Revision: e511c04935b1009d09ee7c11ad293fa404687909
2014-05-29 16:21:57 -04:00
Cameron Zwarich 5c549768e3 servo: Merge #2509 - Remove ConcurrentHashMap (from zwarich:remove-concurrent-map); r=pcwalton
ConcurrentHashMap is unused and has a lot of uses of transmute_mut, so
it's best to remove it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9690fa8234b90709580871c4272a810b5753479b
2014-05-29 14:19:02 -04:00