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

2014 Коммитов

Автор SHA1 Сообщение Дата
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
Simon Sapin 9992fba813 servo: Merge #2508 - Add the 'direction' property and fix one RTL layout corner case (from SimonSapin:direction); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 43b647feff1ad42484ac6005f3652982337e0429
2014-05-29 13:46:05 -04:00
Manish Goregaokar a50015b7e1 servo: Merge #2506 - Fix unused_result warning in script_task (from Manishearth:clickevent-warning); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 02e92d0457b228596f2f94c2e749a2757f62cf41
2014-05-29 12:52:01 -04:00
Manish Goregaokar c5b864919b servo: Merge #2505 - Enable inline event handlers for XHR, and add most progressevent calls (from Manishearth:events-events-events); r=jdm
events events events!

Blocks #2282

Source-Repo: https://github.com/servo/servo
Source-Revision: 468752fd4d05c736da0b085b46e162cc18870464
2014-05-29 12:19:28 -04:00
Cameron Zwarich 8373c84f77 servo: Merge #2504 - Don't implement `ne` for ImageResponseMsg, since it matches the default (from zwarich:dont-implement-ne); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 43beda87b2aeb18afd1d4bb7f5322bd80d2ea62c
2014-05-29 01:22:05 -04:00
Brendan Zabarauskas b239a5f811 servo: Merge #2497 - Rename box type (from brendanzab:rename-box-type); r=pcwalton
I tried to make sure to keep 'box' where it made sense, and alter comments so they still make sense.

r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 547ad2dc480c69798c80a25057ebc9d91ed79389
2014-05-28 20:34:06 -04:00
Matt Brubeck 154c4193c0 servo: Merge #2501 - Don't overwrite the "Host" request header (from mbrubeck:host); r=pcwalton
Fixes broken requests caused by #2493.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3a9552b5de33a8ce9d35e5ad6ed151dee0d8ca13
2014-05-28 19:52:08 -04:00
Brendan Zabarauskas aa42b9e344 servo: Merge #2500 - Workqueue cleanups (from brendanzab:workqueue); r=pcwalton
cc. @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 14ae870d75187225e2072f1062850a310c3ed8d2
2014-05-28 19:16:05 -04:00
Matt Brubeck 066e8db6b1 servo: Merge #2499 - Remove unnecessary pubs from script_task (from mbrubeck:unpub); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 23a63ef4ae5bea0418aebd5aa55f98100291582d
2014-05-28 18:31:07 -04:00
Simon Sapin 66e96d5fea servo: Merge #2478 - Make ComputedStyle fields private and add getters (from SimonSapin:style-getters); r=metajack
This isolates layout code from upcoming refactoring in properties.rs.mako.

Source-Repo: https://github.com/servo/servo
Source-Revision: 50c2af8ef19de31c4b41100f4278c937ced47c64
2014-05-28 17:49:05 -04:00
Manish Goregaokar b13ed7b6a0 servo: Merge #2493 - Request header/POSTdata support for XHR (from Manishearth:xhr-post); r=jdm
Blocks #2282

Source-Repo: https://github.com/servo/servo
Source-Revision: d2263559ed269b3c8d44b8730b678df789099c83
2014-05-28 11:22:05 -04:00
Cameron Zwarich dd99d4960c servo: Merge #2496 - Derive Clone for ChildFrameTree instead of implementing it manually (from zwarich:deriving-clone); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: be938c4bb6ee9e275ce73da4f604019748972fa0
2014-05-28 10:13:24 -04:00
Brendan Zabarauskas 9398f8ffd9 servo: Merge #2494 - Move box splitting logic out of box_.rs and into inline.rs (from brendanzab:split-to-width); r=pcwalton
This will make removing the box splitting logic easier to implement. I am also using a `SplitInfo` struct for returning the split results, which should make the code more self-documenting. In the future the `TextRun` should not be returned, and `SplitInfo` should only require a single `CharIndex`, but one thing at a time...

@pcwalton r?

Source-Repo: https://github.com/servo/servo
Source-Revision: 65d91e395002106ce263f5ccb188eb384963768a
2014-05-27 18:16:09 -04:00
Josh Matthews 40d0652682 servo: Merge #2204 - Implement basic inline event handler support (from jdm:inlineev); r=Ms2ger
Fixes #1238.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0886a36b5d5c1b08a128b62933f206f66561d7f6
2014-05-27 14:49:21 -04:00
Ms2ger 071d215755 servo: Merge #2484 - Use StrBuf in htmlserializer (from Ms2ger:htmlserializer-strbuf); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 576404e4e547afab509318ba38b45c4f7693f225
2014-05-27 12:49:15 -04:00
Tetsuharu OHZEKI de9ce6899d servo: Merge #2491 - Clean up 'AttributeHandlers::get_attribute()' for 'JSRef' (from saneyuki:attr); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 2717ab65ecae6cf4ab38b6c1b9ea3f02d4913252
2014-05-27 09:43:21 -04:00
Cameron Zwarich d57b80e6c4 servo: Merge #2489 - Make RenderChan a newtype struct (from zwarich:render-chan-newtype); r=jdm
Also, derive Clone rather than implementing it manually.

Source-Repo: https://github.com/servo/servo
Source-Revision: 606cadbe4c2ccc4433cd224344dcc8ad1518018b
2014-05-27 08:55:25 -04:00
Mike Blumenkrantz 7af8051d0c servo: Merge #2408 - Add remainder of embedding WIP (from zmike:embedding-invasion); r=jdm
This adds further support for crashing CEF and world domination.

@larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 112ce25a6dabdcf4a6abee20ae8ca2915b40eb84
2014-05-26 17:07:15 -04:00
Simon Sapin 32a3351750 servo: Merge #2445 - Disable CSS warnings (from SimonSapin:css-warnings); r=jdm
This is on top of the #2433 Rust upgrade.

Source-Repo: https://github.com/servo/servo
Source-Revision: 58d57c91913c49a0c47bd0ac4cba739e4460a6e4
2014-05-26 16:31:20 -04:00
Ms2ger 4f41f0d3e5 servo: Merge #2487 - Use *mut T for the T* pointers in SpiderMonkey (from Ms2ger:sm-mut); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: f057719bf88eb72daba799d59edce718221610ba
2014-05-26 14:25:35 -04:00
Glenn Watson b368616b80 servo: Merge #2476 - Remove *() hack now that rust upgrade is complete. Fixes memory corrupti (from glennw:issue-2412); r=huonw
...on bug #2412.

Source-Repo: https://github.com/servo/servo
Source-Revision: ea00ee8e509a46f6827254a5df35fe84c59f158b
2014-05-26 03:07:23 -04:00
Cameron Zwarich 3021048190 servo: Merge #2485 - Eliminate pointless copies of ImageResponseMsg in the image task (from zwarich:eliminate-copy); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 3e4b2c1c7bda096115f1c90994ff9cc18826d51a
2014-05-25 02:07:24 -04:00
Cameron Zwarich 2697d09808 servo: Merge #2483 - Remove the workaround for Rust issue 10683 (from zwarich:remove-10683-workaround); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 10d9bad97359cc572e8d1308f2810f76bc59dd26
2014-05-24 06:28:24 -04:00
Ms2ger 6bf3d4bbd7 servo: Merge #2482 - Replace deprecated rev_iter() by iter().rev() (from Ms2ger:rev_iter); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 2545647cebbdb34f40afff543c70ef3aa55931bc
2014-05-23 19:22:31 -04:00
Matt Brubeck 1a56b434b6 servo: Merge #2472 - Pass external dependencies to submodule Makefiles (from mbrubeck:2137-done-deps); r=metajack
Part of the fix for #2137.  This allows submodules to correctly recompile (or not) based on all of the dependency information from `mk/sub.mk`.  Along with this change, we will also need to make changes to each of the affected submodules' make files, for example in `rust-azure/Makefile.in`:

```diff
-libazure.dummy: azure.rc $(RUST_SRC) libazure.a ../../skia/skia/libskia.a
+libazure.dummy: azure.rc $(RUST_SRC) libazure.a $(EXT_DEPS)
```

r? @metajack

Source-Repo: https://github.com/servo/servo
Source-Revision: de4e36570a29e079546977981b8f85e3afbbf62c
2014-05-23 18:49:51 -04:00
Brendan Zabarauskas fbaa6e156d servo: Merge #2471 - Replace usages of SplitBoxResult with option types (from brendanzab:split-to-width); r=pcwalton
@pcwalton r?

Source-Repo: https://github.com/servo/servo
Source-Revision: 614b1f2fe61ee36c8e6f8a1d60dbbe35af68e368
2014-05-23 18:22:36 -04:00
Glenn Watson 5b21e49a77 servo: Merge #2468 - Add some fmt::show implementations to make debugging layout easier (from glennw:show-traits); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: cad6dff95f825a530abeb122a338293c60fd133d
2014-05-23 17:55:40 -04:00
Manish Goregaokar 60b2888a91 servo: Merge #2374 - Implement CustomEvent (#2173) (from Manishearth:customevent); r=jdm
This was previously PR'd on #2218

Source-Repo: https://github.com/servo/servo
Source-Revision: c7e8e5a927720a27bcb1672ec02ff7c99feecb98
2014-05-23 17:28:55 -04:00
Tetsuharu OHZEKI 3ea694b552 servo: Merge #2441 - Cherry-pick the HandleEvent changes from the original vtable PR (from saneyuki:event); r=jdm
- Fix #2118
- Take over from #2293

Source-Repo: https://github.com/servo/servo
Source-Revision: e59557e3bbea1f8ba809f42cec15a72b27ad1655
2014-05-23 17:01:50 -04:00
Jack Moffitt 05f5b38669 servo: Merge #2479 - Add LIBRARY_PATH env var to help the linux build slave (from metajack:linux-library-path); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 2736339d4a42f7a03aef7785b0c162a701782211
2014-05-23 14:37:48 -04:00
Ms2ger 9cfa16cd52 servo: Merge #2433 - Rust upgrade (from mozilla:rustup_20140511)
Source-Repo: https://github.com/servo/servo
Source-Revision: c753f3ee05a25b2bb756c3b0c3131eac7ad58f1a
2014-05-22 18:14:24 -06:00
Manish Goregaokar bd180dc9ba servo: Merge #2469 - Fix some XHR warnings (from Manishearth:xhrwarnings); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 3644d0272c89336954358eb5005f884a9c89e8bc
2014-05-22 16:25:45 -04:00
Bryan Bell 8db577ac4b servo: Merge #2465 - Add groove and ridge border support (from bjwbell:groove-ridge-borders); r=pcwalton
Matches Chrome's rendering behavior for groove and ridge borders (I can attach comparison images, if wanted).

Source-Repo: https://github.com/servo/servo
Source-Revision: 4e1c025203c57a24d43e76ec9fa1d171f5c966b4
2014-05-22 14:11:05 -04:00
Glenn Watson 6ffedccd0b servo: Merge #2464 - Update compositor clip rect when page size changes. Fixes #2161 (from glennw:issue-2161); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: b14bb772387c3ef74ea598bfac631b46c7c5f119
2014-05-22 10:47:11 -04:00
Glenn Watson f1ddb9f98b servo: Merge #2411 - Potential fix for #2335 (from glennw:issue-2335); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 891ca7378583418c8739d833b21173f012258cbf
2014-05-22 09:17:13 -04:00
Manish Goregaokar 2390c2c203 servo: Merge #2442 - Async XHR GET with basic response header support (from Manishearth:xhr-async); r=jdm
(Note that only `getAllResponseHeaders()` is supported at the moment, I'll be adding the other header methods later.)

Source-Repo: https://github.com/servo/servo
Source-Revision: 28e3c1734048217cd2194ea37c887911ad03e894
2014-05-20 12:16:35 -04:00
Ms2ger fa162ae0e7 servo: Merge #2434 - Implement iframe.contentWindow (from Ms2ger:contentWindow); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ca9396ff9c7ebeea48d881b421854168b9afb825
2014-05-20 11:43:46 -04:00
Manish Goregaokar 878269899c servo: Merge #2380 - Handle type parameter in ProgressEvent constructor (#2379) (from Manishearth:progressevent-type); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 90a0bcfa78ddf89031d54e4ed8ae84e2b171b4d0
2014-05-18 05:19:32 -04:00
Cameron Zwarich 2a23f01797 servo: Merge #2459 - Use the mut_iter method of TreeMap now that it exists (from zwarich:tree-map-rev-iter); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 018348324851b49543257f62e8ddc9acfe09ff4e
2014-05-18 00:28:37 -04:00
Cameron Zwarich 97df8c4f9f servo: Merge #2461 - Remove a workaround for a missing inferred borrow (from zwarich:glyph-borrow-workaround); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 7bfbb236ba1a2c4d3a6cf67c43b9f72298469257
2014-05-17 23:55:42 -04:00
Brendan Zabarauskas 9d3c2c7f58 servo: Merge #2458 - Fix linebreak regression (from brendanzab:fix-regression); r=pcwalton
Fixes #2457

Source-Repo: https://github.com/servo/servo
Source-Revision: f89bc6b958c121344c9313b9eba90a13741d5c70
2014-05-16 20:16:49 -04:00
Brendan Zabarauskas 81d2be2462 servo: Merge #2456 - Assorted preparations for removing textbox duplication during line splitting (from brendanzab:metrics); r=pcwalton
cc. @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: e6f2178c5474b45345c7e1a7f74af7e12187597f
2014-05-16 18:31:34 -04:00
Cameron Zwarich 7f699bc4ae servo: Merge #2450 - Make some cases of image_cache_task::Msg priv (from zwarich:image-cache-priv); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 060f17dc6f97ee047c427c43a94c91058e5ef6ea
2014-05-16 18:01:43 -04:00
Glenn Watson bbdf6295ff servo: Merge #2447 - Add various base html elements to parser and test. Fixes #703 (from glennw:issue-703); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 47bdecf511742286bd4d9372478ae45a11978ced
2014-05-16 17:35:37 -04:00