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

6275 Коммитов

Автор SHA1 Сообщение Дата
Bobby Holley 0b3556454c servo: Merge #10998 - Geckolib: implement font-weight and logging support (from bholley:font_weight_and_logging); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: ec5f826d18adabbb0cf8d07b879b616dc5caa1aa
2016-05-04 18:37:26 -07:00
Patrick Walton efe4d50e93 servo: Merge #10993 - compositing: Perform animation-related compositing operations in WebRender (from pcwalton:fix-animations); r=glennw
I accidentally removed this code in #10936.

Fixes transitions.

r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: c1252a40d9925aea69346b1b2e35151f7fa397a4
2016-05-04 16:26:08 -07:00
Patrick Walton 25cd84fdc2 servo: Merge #11000 - compositing: Send mouse events to the right pipeline when using WebRender (from pcwalton:wr-pipeline-relative-events); r=glennw
Fixes mouse events in browser.html.

Requires servo/webrender_traits#47 and servo/webrender#272.

r? @glennw
cc @paulrouget

Source-Repo: https://github.com/servo/servo
Source-Revision: 97dfcedbcfe781dc07661e4cfe886cc8edff7785
2016-05-04 14:55:09 -07:00
Patrick Walton 0d424df05f servo: Merge #10691 - layout: Fix float speculation with percentage inline sizes, rewrite vertical alignment, fix inline block ascent/descent computation, and fix absolute inline-block hypothetical boxes (from pcwalton:float-fixes); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 35ba29355f40f27b2febe87aad7d7ffba20160c0
2016-05-04 13:49:23 -07:00
Josh Matthews c4984445c7 servo: Merge #10932 - Add the requesting URL to the 401 prompt. Only show the 401 prompt wh… (from jdm:401); r=SimonSapin
…en the WWW-Authenticate header is present.

Fixes #10912.

Source-Repo: https://github.com/servo/servo
Source-Revision: 20fc8b3c8d384e0a4377ed99ae1f84e0097cfdf5
2016-05-04 11:37:16 -07:00
Connor Brewster 45d5d547d3 servo: Merge #10840 - Implement alert dialogs (from cbrewster:window_alert); r=jdm
fix #10812

Implements alert dialogs using tinyfiledialogs

r? @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: b4f573db1a4a054f7f991ac19c299a5a10aabad8
2016-05-04 09:10:40 -07:00
Attila Dusnoki 4b585c7691 servo: Merge #10632 - WebBluetooth impementation (from szeged:bluetooth-ipc); r=jdm
Update the current WebBluetooth implementation.

Source-Repo: https://github.com/servo/servo
Source-Revision: 944a8dc25a590e9722753abc968cb8cb21745997
2016-05-04 08:06:06 -07:00
Matt Brubeck c6fe506242 servo: Merge #10997 - Upgrade to OpenSSL 1.0.1t on Android (from mbrubeck:openssl-1.0.1t); r=aneeshusa
Source-Repo: https://github.com/servo/servo
Source-Revision: 7a439e62371189a986f3339b80b70e76642dc060
2016-05-04 06:18:28 -07:00
Emilio Cobos Álvarez d72fd6f4ec servo: Merge #10934 - style: Add infrastructure to support lazy pseudo-elements (from emilio:other-gecko-pseudos); r=bholley,mbrubeck
This builds on top of #10815, so it's really just the last commit the one that should be reviewed.

I tried to apply the new infrastructure to servo, but failed (for now?).

The problem with it is that it'd require `ThreadSafeLayoutElement` to implement `selectors::Element`, which is a lot of work and might be racy (not totally sure about it though). Thus, I prefered to keep selectors eager until knowing that it's safe to do it.

r? @mbrubeck for style changes, @bholley for the geckolib changes (minimal for now, glue + a list of lazy PEs must be added)

Source-Repo: https://github.com/servo/servo
Source-Revision: 29823cb378ad0b05a82cfdd133c401a678a19007
2016-05-04 03:42:23 -07:00
Cameron McCormack ba1d6fb71e servo: Merge #10959 - Support color-typed properties in geckolib (from heycam:color); r=bholley
This is on top of https://github.com/servo/servo/pull/10957 though I'm not sure how to make that PR's commits not appear in this one.

r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: 1a1ea30f8c36a5dd01717fbf2294707f5d78c377
2016-05-04 01:00:22 -07:00
Michael Howell ecd9f482b8 servo: Merge #10983 - Minor reduction in the amount of allocation display list building does (from notriddle:no_alloc_sort_display); r=mbrubeck
Use `mem::replace` to perform the lifetime-trick without allocating a whole new buffer.

(An older of this switched from the built-in heapsort to a non-allocating introsort. Unfortunately, introsort is not a stable sorting algorithm, and the display list system relies on it being stable.)

Source-Repo: https://github.com/servo/servo
Source-Revision: 2e849b7064bdb30beedc4af13033b3f6a407f4b1
2016-05-03 23:51:53 -07:00
Josh Matthews 1379121bd9 servo: Merge #8454 - Implement basic <media> infrastructure (from jdm:media); r=KiChjang
This gets us to the point where we can start playing with actually integrating rust-media to process the data received by the network request, as currently it's just ignored.

Source-Repo: https://github.com/servo/servo
Source-Revision: f9d9cd3aaed3326e8935f710f800288a50156c71
2016-05-03 16:42:46 -07:00
Anthony Ramine da31a4c64f servo: Merge #10756 - Update SpiderMonkey (from servo:smup); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 2c69278067a23703b251a69c875bee49449c6bfc
2016-05-03 15:46:40 -07:00
Shing Lyu 165da22a6f servo: Merge #10914 - Added documents for commandline arguments (from shinglyu:docs); r=aneeshusa
An initial draft for #10878

Source-Repo: https://github.com/servo/servo
Source-Revision: 3f2ceeff5dd1966dafe34381e20ec405ab72ccee
2016-05-03 06:31:38 -07:00
Mátyás Mustoha 6d30606451 servo: Merge #10990 - Update Cargo to 2016-05-03 nightly (from mmatyas:cargoup_16may03); r=larsbergstrom
To pick up rust-lang/cargo/pull/2629.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4594f71b0ef17b1321824d26f67e26f0874c9e95
2016-05-03 05:29:07 -07:00
Corey Farwell 5e3da56855 servo: Merge #10984 - Minor python/README fixes (from frewsxcv:python-cleanup); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 7533013c169ecda0733c3eefc3578e3e05c6cf03
2016-05-03 03:20:19 -07:00
Keith Yeung 1af4be8847 servo: Merge #10980 - Re-add TODO comment for adding referer info to LoadData (from KiChjang:referer-policy-comment); r=jdm
Fixes the accidental removal in #10970.

Source-Repo: https://github.com/servo/servo
Source-Revision: ff687c5b016628b7098d6d2e1dea90d852a4dbf6
2016-05-03 02:26:05 -07:00
Ben Striegel 0848494412 servo: Merge #10979 - Fix unused mut warning (from bstrie:mutwarn); r=frewsxcv
Source-Repo: https://github.com/servo/servo
Source-Revision: 8e2cb95d2504cc1d82347adbf0f8dbbc6fd0c82a
2016-05-03 01:36:08 -07:00
Cameron McCormack 87198c0ebe servo: Merge #10957 - Support plain number-typed properties in geckolib (from heycam:number); r=bholley
r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: ddada69acb4dc64859c9b209a18546c7c082f314
2016-05-02 21:58:17 -07:00
Joshua Holmer d83d68c31a servo: Merge #10971 - Remove CacheRequestDetails (from shssoichiro:remove-cacherequestdetails); r=KiChjang
Fixes #10904

Note that the related web-platform-tests failed both before and after this commit

Source-Repo: https://github.com/servo/servo
Source-Revision: 3128a71ac703bf7579f0fcac9d03655756e8b6c7
2016-05-02 19:58:14 -07:00
Corey Farwell 5ba2811008 servo: Merge #10976 - Upgrade mach to 0.6; stop vendoring mach (from frewsxcv:novendor-mach); r=mbrubeck
When I originally rewrote Servo's mach bootstrapping (using virtualenv
w/ requirements.txt in #7103), I didn't specify mach as a requirement
because a new version hadn't been published in a while. Now that 0.6
is out, I asked the mach maintainers to publish a new version on PyPI,
so now we can fetch it like the other Python dependencies.

Fixes https://github.com/servo/servo/issues/10728.

Source-Repo: https://github.com/servo/servo
Source-Revision: e39ed932cb8c67eac98d44d00ed5bf642c026846
2016-05-02 18:07:25 -07:00
Matt Brubeck ffeadc8422 servo: Merge #10975 - Update even more dependencies (from mbrubeck:more-deps); r=KiChjang
Adds a temporary exception to allow multiple versions of lazy_static. PRs have already been filed on the packages that are still using the old version.

Source-Repo: https://github.com/servo/servo
Source-Revision: 361b2b900eeea821a9a79d8566f8cd31dfb1b1ea
2016-05-02 16:48:45 -07:00
Matt Brubeck 69333a54a5 servo: Merge #10973 - Update x11, clipboard-win, and libz-sys (from mbrubeck:always-be-updating); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: a8e82440ff5ba790e40b4e6437e9882b4f4619c4
2016-05-02 13:46:30 -07:00
Josh Matthews 2e1e7b6406 servo: Merge #10081 - Support controlling interface and member visibility via preferences (from jdm:interfacepref); r=nox
This was easier to throw together than per-attribute/method support, and it gets rid of some nonstandard properties from our globals.

Fixes #7626.

r? @Ms2ger

Source-Repo: https://github.com/servo/servo
Source-Revision: 8255e74a61d62be94ef53caa9ebe6cd5082dcb4d
2016-05-02 11:35:38 -07:00
bd339 ce7ed8f01f servo: Merge #10946 - Disable scripting for documents created without a browsing context (from bd339:iss10940); r=nox
Goes towards closing #10940.

Source-Repo: https://github.com/servo/servo
Source-Revision: a54dedac1f8ebb960f844b617fcf0f4b108f1a80
2016-05-02 08:48:02 -07:00
Ms2ger cacd90f8b9 servo: Merge #10970 - Simplify load_data handling in handle_script_loaded_url_in_iframe_msg (from servo:loaddata); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: e7caaa77b4a6c7a155e01d67bdeb3db3758b558f
2016-05-02 07:38:15 -07:00
Ms2ger 94bd77cbe9 servo: Merge #10969 - Iframe improvements (from servo:iframe); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: d32648172c711b5d95819c58bcedcee5f50f3018
2016-05-02 05:32:25 -07:00
Zhen Zhang a3480f84e5 servo: Merge #10958 - Minor fixes to documentation (from izgzhen:fixes); r=nox
1. Looks like getters and setters are specified here already. 0385f60310/components/script/dom/bindings/mod.rs (L62)
2. The `MutNullableJS` and `Unrooted` looks obsolete

Source-Repo: https://github.com/servo/servo
Source-Revision: 5358df5a16d514d2d93a5959787af47e2f5f8452
2016-05-02 00:59:37 -07:00
Zhen Zhang 58515a4e9d servo: Merge #10873 - Fixes related to File API (from izgzhen:blob); r=Manishearth
Fixing problems I met when trying to resolve https://github.com/servo/servo/issues/10851, but most of changes here are simple fixes.

Source-Repo: https://github.com/servo/servo
Source-Revision: 14926529c9f38a014140d75ca06cc46d1a2b72ba
2016-05-01 22:13:20 -07:00
Bobby Holley b7d39d1471 servo: Merge #10938 - Geckolib: Implement Margin, Padding, font-size, and has_class (from bholley:margin_padding_fontsize_hasclass); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: ca05f03ea3a3a48382c021d300e710e6e4a96423
2016-05-01 19:48:53 -07:00
Per Lundberg 02045779f3 servo: Merge #10809 - Fixed line-height for input and textarea + use correct font (from perlun:sendoushi-master); r=jdm
Fixes #10532.

Replaces #10553 since @Sendoushi had problems getting a proper rebase locally, so helping him out to get this merged.

(Credits to Sendoushi who did the actual changes; I'm just helping out to getting things into a mergeable state.)

Source-Repo: https://github.com/servo/servo
Source-Revision: e65009f317e64b480bd6f6ff4a09fde54507484f
2016-05-01 16:22:17 -07:00
Aneesh Agrawal 11fc215349 servo: Merge #10948 - Clean up CI bash scripts (from aneeshusa:clean-up-ci-bash-scripts); r=emilio
Also reverts #9572.

Source-Repo: https://github.com/servo/servo
Source-Revision: 288db30cbe1e46b20ddd1fd885744a5868a081e8
2016-05-01 08:46:16 -07:00
Matt Brubeck eacfe16cd2 servo: Merge #10913 - Use xi-unicode for line breaking (from mbrubeck:xi-unicode); r=pcwalton
This uses the xi-unicode crate by @raphlinus to detect line-break opportunities, replacing Servo's custom code that only detects ASCII whitespace.  xi-unicode is licensed under the Apache-2.0 license.

See mbrubeck/servo#2 for some discussion on an earlier draft of this code.  This PR implements the "search backward to find trailing whitespace" solution discussed there.

r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: fc1e4c808541ca11e25831c7c6b5cfa924945fa5
2016-04-30 21:20:38 -07:00
Keith Yeung 570d798ed2 servo: Merge #10712 - Support form submission of multipart/form-data (from KiChjang:multipart-form-data); r=jdm
Fixes #7553.

Source-Repo: https://github.com/servo/servo
Source-Revision: 77cb2ca89a87829e7e95fad17ae698c4ae097455
2016-04-30 18:43:30 -07:00
Patrick Walton 09ab0c63c7 servo: Merge #10936 - compositor: When WebRender is in use, only composite on new WebRender frames (from pcwalton:wr-scroll-event-handling); r=glennw
Scheduling composition on scroll and so forth is unnecessary and can
cause us to miss frames if the code happens to start the composition
while the WebRender backend is still in the process of preparing the
frame. This is most easily seen when scrolling in full-screen mode in
release builds on Mac.

Closes #9879.

r? @glennw
cc @paulrouget
cc @tschneidereit

Source-Repo: https://github.com/servo/servo
Source-Revision: a868bb2a90a5fabf0af8125bae14120e3439d1ed
2016-04-30 17:14:05 -07:00
Matt Brubeck ff8a4f5c36 servo: Merge #10944 - Upgrade a bunch of dependencies (from mbrubeck:bitflags-0.6); r=frewsxcv
Source-Repo: https://github.com/servo/servo
Source-Revision: 8db0367301b5ad5ab5ea4704d57755c166cfd5de
2016-04-30 15:21:22 -07:00
Samuel Harrington 3ee95bc97b servo: Merge #10941 - Remove dead code left over from #10085 (from samlh:patch-2); r=mbrubeck
cc @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: b5a23a16be861a837f7079244ca901fd0d0bef04
2016-04-30 09:44:25 -07:00
askeing 1385b9e2ec servo: Merge #10917 - The manifest_changed.sh doesn't need binary to update the manifests (from askeing:fix_10909); r=aneeshusa
fix #10909

Source-Repo: https://github.com/servo/servo
Source-Revision: d3f55fbf60c72329a2c820bbc7ed1440e9966481
2016-04-30 08:37:27 -07:00
Alan Jeffrey 2b41704e53 servo: Merge #10931 - Send the panic reason and backtrace in mozbrowsererror (from asajeffrey:send-panic-backtrace-to-mozbrowser); r=jdm
Closes #10334.  Glues together PRs #10837 and #10824.

Source-Repo: https://github.com/servo/servo
Source-Revision: d9dc6dd03cf9b8b0982b54d83dd0cdded059c3b6
2016-04-30 07:30:38 -07:00
Matt Brubeck adcae4ae23 servo: Merge #10929 - Update libc, log, and image dependencies (from mbrubeck:version-inflation); r=frewsxcv
Source-Repo: https://github.com/servo/servo
Source-Revision: ca291927ed7d2a2e5107d9edb8289b74e267f0cf
2016-04-30 06:23:20 -07:00
Simon Sapin 6cdd7c095d servo: Merge #10928 - Fix some warnings (from servo:warnings); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 0f1a921ba6731499fe89a82f14d9e01a3bd7c50b
2016-04-30 05:16:46 -07:00
askeing 7833eac81c servo: Merge #10923 - Remove dir by shutil.rmtree, remove file by os.remove (from askeing:fix_10922); r=jdm
fix #10922

Source-Repo: https://github.com/servo/servo
Source-Revision: 491b5ff47e392f37cb636bbbdeecf5cd6254b401
2016-04-30 03:42:18 -07:00
askeing 9d3b92895f servo: Merge #10901 - Handle HTTP specific errors then other errors when downloading rustc (from askeing:fix_10882); r=jdm
fix #10882

Source-Repo: https://github.com/servo/servo
Source-Revision: a98a53925f09a1b1d65c4680ca7990f9ac3ee1bc
2016-04-30 01:54:44 -07:00
Ramana Venkata 3b1084584e servo: Merge #10896 - Implement fetching file URL's (from vramana:basic_fetch_file); r=KiChjang
closes #10166

Source-Repo: https://github.com/servo/servo
Source-Revision: fbf98214c91ce3bb52c32ec4a5e121023843f1eb
2016-04-29 22:54:20 -07:00
Corey Farwell cc70fcb9a3 servo: Merge #10935 - Change OSX 'activiation policy' when running headless mode (from frewsxcv:activation-policy); r=larsbergstrom
...or also when outputting a file.

Fixes servo#10836.

Source-Repo: https://github.com/servo/servo
Source-Revision: f6a5ecb4a992e35f1673673df4f680154f217d2d
2016-04-29 20:43:29 -07:00
Alan Jeffrey 7e1062d6b5 servo: Merge #10902 - Remove panic! from the compositor (from asajeffrey:remove-explicit-panic-from-compositor); r=aneeshusa
Fixes #10864, and adds a check to `/etc/ci/check_no_unwrap.sh`.

r? @aneeshusa

Source-Repo: https://github.com/servo/servo
Source-Revision: f75fa5283e54aeca291fe865cd589e37b86cd8fe
2016-04-29 17:25:17 -07:00
Alan Jeffrey 775a20c691 servo: Merge #10899 - Added /etc/ci/chaos_monkey_test.py (from asajeffrey:chaos-monkey-ci); r=aneeshusa
Add a test to `/etc/ci` which runs a subset of `test-wpt` with `--random-pipeline-failure-probability=0.2`, and checks to make sure that there's no `CRASH` reports, so the constellation survived the experience, even if a lot of tests failed.

IRC conversation at http://logs.glob.uno/?c=mozilla%23servo&s=27+Apr+2016&e=27+Apr+2016#c416510

Fixes #10568.

r? @aneeshusa

Source-Repo: https://github.com/servo/servo
Source-Revision: a7a8eba13e799b707495a851b786009aa9652fea
2016-04-29 16:01:45 -07:00
Emilio Cobos Álvarez 18f790ca50 servo: Merge #10815 - style: Support anonymous box pseudo-elements (from emilio:anonbox-gcs); r=SimonSapin,bholley
This is a work-in-progress that:

 * Adds support for some pseudo-elements to skip the cascade entirely, in an analogous way to Gecko's anonymous box pseudo-elements.
 * Takes rid of `StylistWrapper`, and uses `Arc::get_mut` instead.
 * Uses the first bullet to precompute the `-servo-details-content` pseudo's style.

I'd like @bholley to take a look before following, do you think that the aproach is the correct?
Also, @SimonSapin could want to put some eyes on it.

Depends on https://github.com/servo/rust-selectors/pull/81

Source-Repo: https://github.com/servo/servo
Source-Revision: 407f991c8aba5dcf5312bb2c34a3dd4fe12e5471
2016-04-29 14:27:16 -07:00
Per Lundberg 523c131839 servo: Merge #10863 - Extracted shorthands to separate files (from perlun:improve-mako-file-structure-v4); r=SimonSapin
Following up on #10813, here is a similar extraction of the shorthand stuff as well.

I've deliberately tried to keep things similarly structured as in the longhand files. I.e. if a given property is in e.g. longhand/box.mako.rs, the shorthand stuff that relates to the same property is in shorthand/box.mako.rs and so forth.

----

The file is now down from ~7000 LoC to ~1750. A big improvement in my eyes, but there's still room for improving more. However, that shouldn't be done until we've had a bit of discussion about it. What we've done so far has been more-or-less obvious (after resolving the underlying Python/Mako issues with how to get things to properly communicate when things got split into multiple files etc). The remaining stuff is basically a plethora of anything from enums to structs to impls to... you name it.

One way to try and sort this out is to continue abusing Mako %include:s for this. I'm not sure it's the right way, but it would be a reasonably _easy_ way to do it. Another way would be to use Rust modules/crates etc. for sorting it out. I feel like too much of a novice on the Rust side of stuff yet to have any sensible opinions on how to get that done, so here I'd very much like suggestions from other people in the project.

(This is more of an entry point for discussion, and we could very well move that to a separate issue if you like. I think the more important short-term point is to try and get this merged. 😊 Please let me know if you feel it is OK, and if not, feel free to suggest adjustments.)

Source-Repo: https://github.com/servo/servo
Source-Revision: 160a44c286a6120a9c7e73864992da9d3237e3c0
2016-04-29 10:57:21 -07:00
Alan Jeffrey 9954aa2db9 servo: Merge #10837 - Add detail to mozbrowsererror events (from asajeffrey:add-mozbrowsererror-details); r=Manishearth
Part of #10334. Once #10824 lands, we can include the panic reason and backtrace in the error report.

Source-Repo: https://github.com/servo/servo
Source-Revision: 990dd72da7d69ffa98a5d1b266f48d14d24852aa
2016-04-29 09:18:39 -07:00