Commit Graph

6314 Commits

Author SHA1 Message Date
Tetsuharu OHZEKI
3867862e33 servo: Merge #11090 - Move ConvertPipelineIdFromWebRender to compositing (from saneyuki:fix11082); r=jdm
Fix #11082

Source-Repo: https://github.com/servo/servo
Source-Revision: 500b0a6d36f5f7524ed817b0b49ad57181c1576b
2016-05-09 13:50:05 -07:00
Patrick Walton
969a1ef5d7 servo: Merge #10937 - gfx: Map sans-serif to Helvetica on Mac and DejaVu Sans on Linux (from pcwalton:mac-helvetica); r=metajack
This matches what I believe the OS native defaults to be.

Partially addresses #9487.

r? @metajack
cc @paulrouget

Source-Repo: https://github.com/servo/servo
Source-Revision: 180a9813aa5ecce0a3013cdd30c1ef99ed1d1f6d
2016-05-09 13:02:23 -07:00
Matt Brubeck
b33763b392 servo: Merge #11096 - Profile time spent saving the screenshot image (from mbrubeck:profile-image-saving); r=metajack
I did this to see if it was a significant factor in automated test runs.  (Spoiler: it isn't.)

Source-Repo: https://github.com/servo/servo
Source-Revision: 7b8bb0c2485eb46303d97918d91fce73bd98fea9
2016-05-09 10:21:00 -07:00
Ms2ger
dd4a5e5242 servo: Merge #11092 - Move some code from ServoThreadSafeLayoutNode::text_content into script (from Ms2ger:text_content); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 71eaba2c352fa714198bb65737476d75384e6883
2016-05-09 08:57:05 -07:00
Michael Howell
da374f073c servo: Merge #11022 - Use tag names in all user-agent selectors (from notriddle:master); r=SimonSapin
Fixes #11004

Source-Repo: https://github.com/servo/servo
Source-Revision: 58a9b31de274d952a390f672fdc541c7d502ad59
2016-05-09 07:34:08 -07:00
Connor Brewster
c4277e661c servo: Merge #11093 - Update xml5ever (from cbrewster:update_xml5ever); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 3bd6c2088bc6e0e70f8e7024270706f3c76b03fc
2016-05-09 06:42:08 -07:00
AgostonSzepessy
4fc3b7fe82 servo: Merge #9890 - update.sh downloads all *.py tests from mozilla central (from AgostonSzepessy:update-webidl-tests); r=nox
components/script/dom/bindings/codegen/parser/update.sh downloads all *.py tests from https://dxr.mozilla.org/mozilla-central/source/dom/bindings/parser/tests

Source-Repo: https://github.com/servo/servo
Source-Revision: b054cb82a6b50b07209c9a8670076d1d9ed61605
2016-05-09 05:04:57 -07:00
Kosov Eugene
531ca297be servo: Merge #11084 - move trait ConvertPipelineIdToWebRender to a better place (from kevgs:layout_traits); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 9a8c81773a7dc51301e52ce3f02f8ea55984365a
2016-05-09 03:14:03 -07:00
Kosov Eugene
a5dbc07d8a servo: Merge #11083 - move struct ImageMetadata to a better place (from kevgs:image_metadata); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 33fa63a3c5f2f2df27b68ca67cf46bf9788d8723
2016-05-09 02:25:37 -07:00
Adrian Utrilla
dab36bd33c servo: Merge #11073 - Added tox.ini (from autrilla:tox); r=Ms2ger
The default maximum line length Python linters use is 79, so a bunch of editor plugins complain about line lengths, unless you have a tox.ini telling the linter to ignore line lengths (E501) explicitly.

Source-Repo: https://github.com/servo/servo
Source-Revision: c3323f3c70ab53e5fe2f9aae7ba26b1a21cd622a
2016-05-09 01:37:09 -07:00
mrmiywj
6cee307af5 servo: Merge #11051 - 'closeevent' argument for Document::createEvent (from mrmiywj:closeevent-argument); r=Ms2ger
Add "close event" argument for Document::createEvent
Fixes #10737

Source-Repo: https://github.com/servo/servo
Source-Revision: a76db9af54692f47ca592b062c1165fbc5ed2433
2016-05-09 00:48:41 -07:00
Anthony Ramine
90376e75e6 servo: Merge #11080 - Update Rust to 2016-05-07 (from servo:rustup); r=KiChjang
WOOOO RUST_NEW_ERROR_FORMAT

Source-Repo: https://github.com/servo/servo
Source-Revision: 06c2ab79e6002a41cae0555260bd3be0a7b54562
2016-05-08 03:57:09 -07:00
Adrian Utrilla
4833c5ded6 servo: Merge #11067 - Mach now shows stderr when a virtualenv or pip call fails (fixes #11055) (from autrilla:mach-errors); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: c226bf85a9476a7a701a69974dfa0893c0e6bcb5
2016-05-07 13:15:40 -07:00
Matt Brubeck
b40d3af015 servo: Merge #11032 - Filter out whitespace glyphs from display list (from mbrubeck:no-whitespace); r=pcwalton
Fixes #10244. r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: df8008cfe6a0113ae9153e9eb3424f8b3a4030e8
2016-05-07 11:05:14 -07:00
UK992
c0899a0bc6 servo: Merge #11066 - Remove auto and try branch from appveyor.yml (from UK992:appveyor); r=larsbergstrom
Closes #9953

r? @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: e2e495e58e85aaab620d7a15123810d2fa748c2c
2016-05-07 07:27:18 -07:00
Bobby Holley
3fb5bcc6cc servo: Merge #11058 - Geckolib: minor robustness fixes (from bholley:minor_wikipedia_fixes); r=mbrubeck,bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: aa62a1466e86482822f4b4325f232fabdc12c0ca
2016-05-07 04:25:31 -07:00
Matt Brubeck
ec3d2c19c3 servo: Merge #11054 - Update hyper, openssl, wayland, threadpool, offscreen_gl_context (from mbrubeck:always-be-updating); r=Ms2ger
Gets rid of duplicate versions of bitflags and xml-rs!

Source-Repo: https://github.com/servo/servo
Source-Revision: e94f489e55e0fafed1c88b4d8f833f23545fc48b
2016-05-07 03:19:24 -07:00
Matt Brubeck
62459e1c7b servo: Merge #11039 - Remove redundant code in whitespace stripping (from mbrubeck:strip-trailing); r=pcwalton
LineBreaker calls Fragment::strip_trailing_whitespace_if_necessary and then recalculates the fragment's inline size.  But this isn't necessary because strip_trailing_whitespace_if_necessary already recalculates the size.

r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: f80641e7a16b832ce755cf936ed9ea6a9289fda9
2016-05-06 21:53:27 -07:00
zakorgy
a0cd31e623 servo: Merge #11028 - Remove BluetoothDevice members (from szeged:webbluetooth); r=jdm
Five of the BluetoothDevice members has been deleted in the spec:
8d148ba3c3

These were the vendorID, vendorIDSource, deviceClass, productID, productVersion.

Source-Repo: https://github.com/servo/servo
Source-Revision: a153e20c5503b6720d7abbfe36acfdda33a8d4dd
2016-05-06 17:07:55 -07:00
askeing
fc61208984 servo: Merge #10821 - Checking the browsing_context before change title (from askeing:fix_10782); r=jdm
fix #10782

Source-Repo: https://github.com/servo/servo
Source-Revision: 17ba9fb5da73e6edd265c8e126344259e897c095
2016-05-06 14:20:45 -07:00
Fabrice Desré
cfb82bae7b servo: Merge #11042 - Fix a build warning in compositor.rs (from fabricedesre:compositing-warning); r=metajack
Stops the compiler complaining about `root_pipeline` being an unused variable.

Source-Repo: https://github.com/servo/servo
Source-Revision: 29ed65016047ee10dabf18894ba00ece6227e865
2016-05-06 08:10:23 -07:00
Maciej Skrzypkowski
c52bc44160 servo: Merge #11050 - Update cssparser to fix CSS.escape test failures (from mskrzypkows:css_issue); r=Ms2ger
Fixes #10685

Source-Repo: https://github.com/servo/servo
Source-Revision: d7fa1d8eeda0fa5c3007fa81e97a2f9a631c3eb4
2016-05-06 06:39:18 -07:00
Olaf Buddenhagen
43797c2d3d servo: Merge #11013 - mach run --debug: Use nicer syntax in rust-gdb/rust-lldb check (from antrik:rust-gdb-cleanup); r=Ms2ger
After actually reading a Python tutorial, I realised this can be handled
in a more elegant fashion :-)

Source-Repo: https://github.com/servo/servo
Source-Revision: 283eb4129664593f050e95c092e672a18f4658fc
2016-05-06 05:43:58 -07:00
Cameron McCormack
8e6b901b3f servo: Merge #11045 - Add Servo_GetComputedValuesForOtherNonElement (from heycam:non-element); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: 50f2349551228f5773c431a3cc3f42e2018ba454
2016-05-06 04:30:47 -07:00
Matt Brubeck
6fb78368b3 servo: Merge #11037 - Don't let restyle damage infect siblings (from mbrubeck:parent-damage); r=pcwalton
Currently `compute_layout_damage` does the following for each child of the node it's processing.

1. Update the child with damage from the parent.
2. Update the parent with damage from the child.

When these steps are repeated for the next child, the parent's damage may include flags that came from its previous sibling(s).  This means that damage ends up propagating to later siblings, and not just between parents and children as indended.

This patch propagates the same damage to all children, not including any damage from their siblings.

r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: bd871d613e9ed1ae4b7f1674275e69ba6da6133b
2016-05-06 02:01:03 -07:00
Cameron McCormack
d75cddcc7b servo: Merge #11043 - Pass in string lengths to Gecko_GetAttrAsUTF8 (from heycam:attr); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: 0558687d71295023b27860436e7a5aa5da7f49d0
2016-05-05 23:51:54 -07:00
Dongie Agnir
dcc67fe46e servo: Merge #11040 - Add dbus to list of Debian build deps (from dagnir:dbus-build-dep); r=mbrubeck
Build failed without it on my Ubuntu 14.04 machine.  I can't confirm whether or not other OSes need it.

Source-Repo: https://github.com/servo/servo
Source-Revision: e52b9884d19b81dfc0e51986b1bbb89a227bfc4a
2016-05-05 20:35:19 -07:00
Matt Brubeck
7c0aa00163 servo: Merge #11034 - Update libc, url, image, app_units (from mbrubeck:always-be-updating); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 6c326cd3726d744474fed3436c9d6885c2b2c6a5
2016-05-05 19:05:55 -07:00
Matt Brubeck
9a7ea987fc servo: Merge #11033 - Set max log level on all platforms (from mbrubeck:max-log); r=metajack
Servo currently enabled the `release_max_level_info` feature for the log crate
in an Android-specific dependency.  Currently this works for all platforms
because of rust-lang/cargo#2524, but it might break if that issue is fixed.

Source-Repo: https://github.com/servo/servo
Source-Revision: ab12d8098fcc0517b64643d25683e2e15e665410
2016-05-05 18:09:58 -07:00
Mátyás Mustoha
37825c1d2a servo: Merge #10916 - Use NEON build flag on ARM and AArch64 (from mmatyas:useneon); r=aneeshusa
The NEON flag is already used when building for Android, this patch enables it on other ARM devices too.

Note that this patch just adds the build flag to the compilation, for actually enabling the SIMD code in Servo, we'll also need #10900 (but it's not a dependency).

Source-Repo: https://github.com/servo/servo
Source-Revision: a233d1e39b9549f7b24937ca4de9de0719bb890c
2016-05-05 14:44:03 -07:00
Bobby Holley
9d5034cf39 servo: Merge #11018 - Geckolib: Implement list-style-type (from bholley:list_style_type); r=mbrubeck
Corresponding Gecko patch: https://bugzilla.mozilla.org/show_bug.cgi?id=1269933

Source-Repo: https://github.com/servo/servo
Source-Revision: b29ae6383a2fa61a3f1f176e506c738f250b0622
2016-05-05 12:23:37 -07:00
Cameron McCormack
bcc0b400ea servo: Merge #11002 - Support text-transform in geckolib (from heycam:text-transform); r=bholley
Needs https://bugzilla.mozilla.org/show_bug.cgi?id=1270001.  I just edited gecko_style_structs.rs manually.

Source-Repo: https://github.com/servo/servo
Source-Revision: 52adcf38acc805e42d12df0b1962583b4670848e
2016-05-05 11:03:54 -07:00
Fabrice Desré
a9f3b174cd servo: Merge #11017 - Update to Rust nightly 2016-04-29 (from mbrubeck:rustup3); r=larsberstrom
Patch by @fabricedesre from #11010, updated to fix test-tidy and to not conflict with other PRs in the queue. r? @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 0baf665721c74b03c879a14f2fafc24a5dc6dda6
2016-05-05 09:04:22 -07:00
Connor Brewster
336550651a servo: Merge #11020 - Fix formsubmitter methods for buttons (from cbrewster:fix_button_formsubmitter_methods); r=KiChjang
Fixes #11015
Fixes #11014

Source-Repo: https://github.com/servo/servo
Source-Revision: 15c5c81b1f025ad66f9eb000d1ac583dadc510f9
2016-05-05 07:48:40 -07:00
Emilio Cobos Álvarez
6059510586 servo: Merge #11023 - geckolib: Update bindings to unlock nsStyleAutoArray (from emilio:geckolib-up); r=bholley
This uses the following bindgen commit:
64fe3d27be

r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: 95a1f7668cba3e903b2cee73caef121d286e9c3c
2016-05-05 05:55:43 -07:00
Glenn Watson
20e30c68d8 servo: Merge #11021 - Switch android GL context to ES3, now that WR has been updated (from glennw:es3-android); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 38311b6fce682ad4c22d1a3cac3e4be43a233988
2016-05-05 04:30:52 -07:00
Fabrice Desré
ad8cb99e4e servo: Merge #11011 - Make build time display more human friendly (from fabricedesre:friendly-time); r=jdm
I mean, I like to convert seconds in my head, only almost every day ;)

Source-Repo: https://github.com/servo/servo
Source-Revision: fb5e00c2944533a4b365d26aadc41ca5b10cfefb
2016-05-05 03:27:31 -07:00
Cameron McCormack
e77a9b0241 servo: Merge #11001 - Support most remaining length/percentage/none/auto-taking properties in geckolib (from heycam:alnp); r=bholley
This is on top of #10999 so no need to review 8ae820b.

Source-Repo: https://github.com/servo/servo
Source-Revision: 319f520e4df2d1d904d57259b54bfa9e5e504f06
2016-05-05 00:44:57 -07:00
Cameron McCormack
06e9fca19b servo: Merge #10999 - Move width and height from Box to Position (from heycam:move-width-height); r=SimonSapin
This helps with style struct alignment between Servo and Gecko.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8bc4785bed662f87149260d87e030471c326ec88
2016-05-04 19:52:25 -07:00
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