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

2602 Коммитов

Автор SHA1 Сообщение Дата
Jim Berlage 68ad93214e servo: Merge #3539 - Replace implementation of is in actor.rs (from jimberlage:fix/meaningful-is); r=jdm
This is intended to address #3488.  [AnyPrivate](http://doc.rust-lang.org/core/any/trait.AnyPrivate.html) is now in the Rust core, so we can leverage that instead of writing an implementation.

Source-Repo: https://github.com/servo/servo
Source-Revision: da6878a4e2925cefe9aa9368890d5791f965433e
2014-10-01 14:03:27 -06:00
Martin Robinson 166dee8d53 servo: Merge #3544 - No longer consider window size when scrolling (from mrobinson:simplify-scrolling); r=zwarich
Now that scrolling roots are properly sized, we can simply look at the
scrolling root layer size when deciding the extents of layer scrolling.
This simplifies things a bit and further codifies the current model of
scrolling root + mask_to_bounds.

Source-Repo: https://github.com/servo/servo
Source-Revision: bfe5c34f8abcf7d8f02ef46792913e289df173a5
2014-10-01 12:06:28 -06:00
Josh Matthews 179c7b7dcc servo: Merge #3531 - Implement MutNullableJS for mutable, nullable member pointers to DOM objects (from Ms2ger:MutNullableJS); r=Ms2ger
Extracted from #3527.

Source-Repo: https://github.com/servo/servo
Source-Revision: bae5440689c67f425f94ec27bf0f61ff955dc290
2014-10-01 09:09:28 -06:00
Cameron Zwarich 5ac3634894 servo: Merge #3542 - Remove extra lifetime parameters (from zwarich:more-jsref); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: a840fed78a493a481683ef73dae923190d87ba6c
2014-10-01 04:03:29 -06:00
Cameron Zwarich 8ef892113e servo: Merge #3541 - Convert the NodeHelpers trait to use self methods (from zwarich:more-jsref); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: f73e5088219cd6deeea0d4f0612cad750fc532a9
2014-10-01 02:51:27 -06:00
Cameron Zwarich 8e1c96a87b servo: Merge #3540 - Convert TNode / TElement to use self parameters rather than &self (from zwarich:more-jsref); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 09e9abc047e03b81b8a4aa90d13efa184d0a732f
2014-09-30 22:36:28 -06:00
Martin Robinson 7809f0a80f servo: Merge #3537 - Use LayerPixel for Layer bounds and most arguments (from mrobinson:scale); r=zwarich
When interacting with Layers it is simpler to use LayerPixels, which
are unscaled pixels in the Layer coordinate system. This removes a lot
of room for error and makes things simpler.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6358b7d94e14fc61348fd56bcd5c0ff50ae11156
2014-09-30 18:57:26 -06:00
Cameron Zwarich f911787c54 servo: Merge #3536 - Convert a method from &JSRef to JSRef (from zwarich:more-jsref); r=Manishearth
This also removes the unnecessary formation of a trait object.

Source-Repo: https://github.com/servo/servo
Source-Revision: 93e259227a969dbea1319d4d3ce92bc5706c6b06
2014-09-30 18:39:27 -06:00
Glenn Watson c863efe3ac servo: Merge #3535 - Refactor background image, fix fixed attachment. Improve acid2 (from glennw:fixed-bg); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: a63155b564b64825d292953983117c0df4b34e91
2014-09-30 17:45:29 -06:00
Keegan McAllister 2e5e961694 servo: Merge #3530 - Use string-cache's Namespace type, backed by Atom (from kmcallister:namespace-atom); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 698b916c097ae0272a31a680cba7fc6dbd03ca3d
2014-09-30 02:42:23 -06:00
Glenn Watson 7732ccd2ac servo: Merge #3529 - Enable acid2 reftest on Linux. Update rust-layers (from glennw:linux-acid2); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: eec2225716daf7515b07456c290cf2ac0f8ae283
2014-09-29 23:09:24 -06:00
Martin Robinson e0360fa36f servo: Merge #3526 - Mask root layer rectangles to their boundaries (from mrobinson:masks-to-bounds); r=zwarich
This prevents iframes contents from overflowing their root layers.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4be0a07585b019d45dd83849818854566c5e118b
2014-09-29 17:48:25 -06:00
Matt Brubeck bce5f7089e servo: Merge #3525 - Pass a viewport to the rendering code (from mbrubeck:viewport); r=zwarich
Updates to the latest rust-layers and rust-geom to pick up
servo/rust-layers#114.  r? @zwarich

Source-Repo: https://github.com/servo/servo
Source-Revision: 01b4100756ec0ae1ff61d0bee5ea065396bed855
2014-09-29 17:03:26 -06:00
Glenn Watson 2eb5f4d16d servo: Merge #3523 - Add support for <super> and <sup> tags. Fixes equations on wikipedia (from glennw:wiki-equations); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: b2ff320aecab80b06aeedad440c28b23b2dc3824
2014-09-29 15:36:26 -06:00
Bruno de Oliveira Abinader 75d8c24d5f servo: Merge #3491 - CSS selector :enabled no longer matches Anchor, Area & Link elements (from brunoabinader:css-selector-enabled-remove-anchor-area-link-elems); r=Ms2ger
HTML spec has been modified [1] to disable support for :enabled CSS
selector on Anchor, Area & Link elements, after discussion on W3C
Bugzilla [2].

[1] https://html5.org/r/8818
[2] https://www.w3.org/Bugs/Public/show_bug.cgi?id=26622

Next step: Move :enabled CSS selector content test to web-platform-tests.

Source-Repo: https://github.com/servo/servo
Source-Revision: d9e26352a1adbd182fc0a7b54eb32f43540267bb
2014-09-29 12:27:26 -06:00
Simon Sapin 2a5f4c7376 servo: Merge #3487 - Upgrade Rust and enable style crate rustdoc (from servo:rustup-20140923); r=Ms2ger
The biggest language change is that enum variants now also reserve (for future use) a name in the type namespace, which must not collide with other types. Some things were renamed, and others qualified as `module::name`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7409685589c550ee7a9f94182f511acddab4c6fd
2014-09-29 10:45:27 -06:00
Ms2ger d89779fcb8 servo: Merge #3522 - Don't move the data when extracting the bytes in XMLHttpRequest::Send (from Ms2ger:xhr-send-uaf); r=SimonSapin
The data is used later to set the Content-Type header. Current rustc
(4d2af3861) does not detect this use-after-move, but treats the later use as
if the data was None. It will, however, detect the bug in d2b30f7d3, which we
are upgrading to.

Source-Repo: https://github.com/servo/servo
Source-Revision: a58324f25b6f87d005026d8f9405c9f0d89a1f74
2014-09-29 09:57:27 -06:00
Glenn Watson 9ecef198ec servo: Merge #3517 - Revert "Set default resolution to 1280x1024 now that reftests render to (from glennw:revert-res-change); r=metajack
...FBO."

This reverts commit c74798bb6bcb98d2d6af998e2ab0f08e79097147.

Source-Repo: https://github.com/servo/servo
Source-Revision: 132ade0fce514ffeb56f34669967913d9015f035
2014-09-28 19:42:27 -06:00
Glenn Watson dd03a20652 servo: Merge #3514 - Fix gdb helper for Au printer (from glennw:gdb-helper)
Reviewed-by: metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 18b35faffe4f45dff60c4946e9027fd003a4f7a1
2014-09-28 18:09:30 -06:00
Glenn Watson 35474c1df5 servo: Merge #3513 - Set default resolution to 1280x1024 now that reftests render to FBO (from glennw:default-res)
Reviewed-by: metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 276ca5f2e976fa6c9ce56d98ec2b70efd9c54cdd
2014-09-28 17:42:31 -06:00
Ms2ger d17d718246 servo: Merge #3509 - Fix indentation in is_htmliframeelement (from Ms2ger:indentation-iframe)
Reviewed-by: jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 6184c13f9515caa2277c5ad4e997824d8cee171e
2014-09-28 07:45:27 -06:00
Rohan Prinja 76a3b06ed3 servo: Merge #3508 - trace keys as well (from wenderen:JSTraceable.key)
Reviewed-by: Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 42205675b31db21b1b8ef04bf4def912ecac69b5
2014-09-27 23:21:28 -06:00
Jack Moffitt 73f41e4485 servo: Merge #3506 - Fix the doc build step (from metajack:fix-doc-build)
Reviewed-by: SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 089d1fbd16fa1695f582f617236c6132f158f388
2014-09-27 18:24:28 -06:00
Cameron Zwarich 686b31d2f4 servo: Merge #3501 - Remove the 'static lifetime parameters from TElement methods (from zwarich:telement-lifetimes)
Reviewed-by: jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: c9c8d63727560ab88a8b739f5ac305b8a02410d2
2014-09-27 17:09:28 -06:00
Ms2ger 1e20a69ba5 servo: Merge #3503 - Simplify the Page URL handling in handle_resize_inactive_msg (from Ms2ger:page-url)
Reviewed-by: jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1b5fac5bdeb855a0c41ca3dce82db70b19c094aa
2014-09-27 13:39:27 -06:00
Patrick Walton e6014d98df servo: Merge #3498 - Stop double-counting stuff in inline-block (from pcwalton:border-box-double-counting)
Reviewed-by: glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: b7345796bc696bd0e7bc00384a71a30c676a3456
2014-09-27 13:12:30 -06:00
Cameron Zwarich 27470f19ae servo: Merge #3497 - Add an extended_deref method to JSRef (from zwarich:extended-deref)
Reviewed-by: Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: c10948736f1f7a8e6d6dcb1987a92818fb1f4003
2014-09-27 12:48:30 -06:00
Glenn Watson a4baaa9258 servo: Merge #3474 - When rendering to PNG, draw to an FBO rather than default framebuffer (from glennw:reftest-fbo)
Reviewed-by: mrobinson
Source-Repo: https://github.com/servo/servo
Source-Revision: 6fb8eb32f2fb071c1e656542960d9dda7d86f69d
2014-09-27 12:21:31 -06:00
Patrick Walton 46d0dadcf9 servo: Merge #3499 - style: Tweak the UA style a little bit (from pcwalton:ua-fixes)
Reviewed-by: SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: a2220f1ea41a909c3e048f97e24eec08b66eb608
2014-09-27 03:03:31 -06:00
Glenn Watson dad655f3ba servo: Merge #3500 - Fix some mutable variable warnings (from glennw:warning-fix)
Reviewed-by: pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: f7e5d295188a885027ff8cd5a6d7421581050ccf
2014-09-26 23:09:31 -06:00
Patrick Walton 6e2d06b989 servo: Merge #3492 - layout: Support any `display` property in generated content, and allow (from pcwalton:clear-generated-content-table)
Reviewed-by: glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 33e2a7b3625c82e83c7767e81266c2a23f509bed
2014-09-26 22:24:32 -06:00
Glenn Watson 6498d9ecd7 servo: Merge #3486 - Improve acid2. Fix line height calculation. Text fragments get correct enclosing element style (from glennw:inline-fixes)
Reviewed-by: pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 94b7c486b12a50298f0706fce42b70a6ca90cdcb
2014-09-26 21:57:35 -06:00
Cameron Zwarich a15780aea2 servo: Merge #3496 - Convert &JSRef -> JSRef in DisabledStateHelpers (from zwarich:disabled-state-helpers-jsref)
Reviewed-by: jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: a35212410ae78a19db99d284d63a00d1a72dbd79
2014-09-26 20:24:33 -06:00
Cameron Zwarich 64b691ae3c servo: Merge #3493 - Improve the correctness of Root lifetimes (from zwarich:root-lifetimes)
Reviewed-by: jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 86eec63a02161de84f2404ff2292d3a8d1273784
2014-09-26 19:57:33 -06:00
ProgramFOX 6653f7d4f4 servo: Merge #3489 - Made some DOM fields private (from ProgramFOX:issue2242-2)
Reviewed-by: jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 39b6bd9b9586d101943055202a7e06eb8d349dd8
2014-09-26 19:30:33 -06:00
Gilles Leblanc 73a16a8a89 servo: Merge #3432 - Handle dynamic addition of attributes (from gilles-leblanc:issue-3361)
Reviewed-by: jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1e5770a138b39683e28763b878b354c317bc0322
2014-09-26 19:00:35 -06:00
Cameron Zwarich 9ec12b6ba0 servo: Merge #3495 - Convert &JSRef -> JSRef for the PrivateNodeHelpers trait (from zwarich:private-node-helpers-jsref)
Reviewed-by: jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1da014a13d4c8dee3d580cee3d75e1c879f37d3e
2014-09-26 18:36:38 -06:00
Simon Sapin ba59d28cba servo: Merge #3494 - Fix /python/servo code formatting (from SimonSapin:flake8)
Reviewed-by: larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: ecfa1a9040d7ffece59fb9dc6c4e4d5e8eb80891
2014-09-26 17:03:41 -06:00
Patrick Walton e439ac4c63 servo: Merge #3483 - layout: Block formatting contexts should contain all their floats (from pcwalton:block-formatting-contexts-containing-floats)
Reviewed-by: glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: ab17d31bbf8c6884f858381f3d5b7e62c4de87c6
2014-09-26 01:42:27 -06:00
Patrick Walton 6fb22ca40a servo: Merge #3467 - layout: Enhance the heuristic that guesses the inline size of block formatting contexts (from pcwalton:enhance-block-formatting-context-guess)
Reviewed-by: glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 20f5fdd000408867ac2d3a90ad9a8b55cfb8bc9e
2014-09-25 19:24:30 -06:00
Glenn Watson 7dd2a8d7cf servo: Merge #3398 - Allow resolution to be configured on command line. Default to 1280x1024 (from glennw:config-res)
Reviewed-by: SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 177127e5974e30b35632b206f995659e8b663803
2014-09-25 18:27:38 -06:00
Patrick Walton 8bd29f59e6 servo: Merge #3472 - layout: Unify the block-size computation for blocks and floats (from pcwalton:unify-block-and-float-layout)
Reviewed-by: glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 9fb47b7636ca79c64acbf73a2c55cc6bf5cd4917
2014-09-25 17:48:35 -06:00
Cameron Zwarich 17209531aa servo: Merge #3478 - Remove use of deprecated get_mut_ref (from zwarich:get-mut-ref)
Reviewed-by: metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: d9c13352c1ecfefc3a5f07871421c5d24f02c7e7
2014-09-25 17:24:33 -06:00
Cameron Zwarich 5851deafac servo: Merge #3480 - Fix trailing whitespace tidy errors (from zwarich:trailing-whitespace)
Reviewed-by: larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: c2d6d8084c7afc2b865a09cb4847fb1a815ef607
2014-09-25 17:00:34 -06:00
Ms2ger 79a5a1116a servo: Merge #3477 - Move global_object_for_js_object to global.rs (from Ms2ger:global)
Reviewed-by: jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: d95b88c83043017cde8edb37b1e29352ccd15e5f
2014-09-25 14:48:32 -06:00
Cameron Zwarich 5971d665ef servo: Merge #3479 - Add the MPL back to components/plugs/lints.rs; r=Manishearth (from zwarich:lints-license)
Source-Repo: https://github.com/servo/servo
Source-Revision: b3b9051ebc65132a9454041040cd3f5ff138de6e
2014-09-26 01:48:19 +05:01
Patrick Walton 383b078cc3 servo: Merge #3434 - layout: Float table wrappers directly instead of generating a block (from pcwalton:directly-floated-tables)
Reviewed-by: glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 1fba32af9ff68db73768b4732d003ea7aad09b28
2014-09-25 10:36:33 -06:00
Martin Robinson 534c4dbfd4 servo: Merge #3464 - Allow iframes to scroll their contents (from mrobinson:scroll_offset)
Source-Repo: https://github.com/servo/servo
Source-Revision: 0951936abbe4ee4c71b76c14fe073d09236f89fc
2014-09-25 08:41:51 -07:00
Patrick Walton 684aa624a0 servo: Merge #3475 - layout: Consider relatively positioned blocks as possible block (from pcwalton:block-formatting-context-fixes)
Reviewed-by: glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: e9a7b44f688dacd46ce4971a2a79e42d6a80a8fe
2014-09-25 00:26:42 -06:00
Lars Bergstrom a5455db3ed servo: Merge #3473 - Disable travis (from servo:disable_travis)
Reviewed-by: SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 8668e67a6b84689da3b93d0a39dbdb7ae89729fa
2014-09-24 22:13:53 -06:00