Commit Graph

2878 Commits

Author SHA1 Message Date
Matthew Rasmus
b58e3709f8 servo: Merge #4063 - Run a single WPT test from a relative path (from mttr:test_wpt_from_relpath); r=mbrubeck
Fixes #4055

This PR allows `./mach test-wpt` to be run  (from /path/to/servo) with a single relative path to some wpt test.

For example:
```
./mach test-wpt tests/wpt/web-platform-tests/dom/sometest.html
```
The argument `tests/wpt/web-platform-tests/dom/sometest.html` is passed on as `--include dom/sometest.html`.

Source-Repo: https://github.com/servo/servo
Source-Revision: e6e73b8da70a6acaeabc1abf13071d044996f103
2014-11-21 20:24:30 -07:00
Mike Blumenkrantz
a236341106 servo: Merge #4049 - Embedding callbacks (from zmike:embedding-callbacks); r=jdm
begin implementing CEF COM, add more types (stupid rust-bindgen taking forever to figure out...)

@jdm @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 2bba42ad19a792565b653cdd5551933ab2d41c2b
2014-11-21 20:00:36 -07:00
Glenn Watson
0d90c86c04 servo: Merge #4052 - Make glutin work on mac (from glennw:update-glutin); r=larsbergstrom
- Update glutin, and update rust-cocoa to use the servo fork now that upstream is up to date.
- Some events and resizing are still not working correctly on mac yet.

Source-Repo: https://github.com/servo/servo
Source-Revision: b4c3aec383b2b1cd19ab6267775f9fb3735aa977
2014-11-21 08:51:31 -07:00
Bruno de Oliveira Abinader
d21d7a524f servo: Merge #4056 - Couple of mod.rs.mako updates (from brunoabinader:css-updates); r=SimonSapin
TSIA

Source-Repo: https://github.com/servo/servo
Source-Revision: 4c1ca2fb96244f2e1e46e7883419e025e668cc46
2014-11-21 08:06:31 -07:00
Matthew Rasmus
62e6e16cbb servo: Merge #4053 - Allow reftests to be run directly w/ relative path (from mttr:reftests_with_relative_dir); r=SimonSapin
Fixes #3521

Source-Repo: https://github.com/servo/servo
Source-Revision: dfa9e1aa4ac2c10b338d17fbad78f93323f66242
2014-11-21 05:06:31 -07:00
Matthew Rasmus
bca98837ef servo: Merge #4050 - Implements Attr#nodeValue (from mttr:implement_attr_nodevalue); r=Ms2ger
Fixes #4047, and updates to expect tests that are now passing because of it.

Source-Repo: https://github.com/servo/servo
Source-Revision: c23bfdf1c52cdd42c37cd931525c23e22f1d289f
2014-11-20 17:18:29 -07:00
Glenn Watson
e76f75ceeb servo: Merge #4051 - Remove unused exit after load option (from glennw:remove-exit-load); r=mbrubeck
This simplifies some upcoming changes to how event handling works.

Source-Repo: https://github.com/servo/servo
Source-Revision: 32d765fb049318f2ff22f39fdeb9fa258ec8a174
2014-11-20 16:54:31 -07:00
Mike Blumenkrantz
0dad71cb40 servo: Merge #4044 - Embedding process (from zmike:embedding-process); r=jdm
Fixes #4023

@SimonSapin @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: 133b523d2b3a95796e66e77fe6962abf79c3a4c7
2014-11-20 13:06:32 -07:00
Matthew Rasmus
43366b492f servo: Merge #4045 - Add a mach update command that invokes cargo update for all ports (fixes #3736) (from mttr:mach_update); r=jdm
Example usage:

``` sh
$ ./mach update-cargo -p rust-xml
.
    Updating git repository `https://github.com/netvl/rust-xml`
ports/cef
    Updating git repository `https://github.com/netvl/rust-xml`
ports/android/glut_app
    Updating git repository `https://github.com/netvl/rust-xml`
```

Source-Repo: https://github.com/servo/servo
Source-Revision: 9a139dac342dc72ec853749ce263c4c69a8a2b5f
2014-11-20 10:45:31 -07:00
Matthew Rasmus
a2f0bbd767 servo: Merge #4042 - Added libbz2-dev to Debian based prerequisites (from mttr:debian_requirements_update); r=SimonSapin
Encountered this when building for the first time today:

```
note: /usr/bin/ld: cannot find -lbz2
collect2: error: ld returned 1 exit status

error: aborting due to previous error
Could not compile `servo`.
```

Installing the libbz2-dev packaged fixed it. Added to the list of packages to install on Debian based linuxes in README.md

Source-Repo: https://github.com/servo/servo
Source-Revision: df471245c39ae7f54432cd3001e0c8404f8281f5
2014-11-20 10:00:58 -07:00
Patrick Walton
9c4a01833c servo: Merge #4040 - cef: Don't link against librustc in the final build artifact (from pcwalton:librustc-linkage); r=metajack
r? @zmike

Source-Repo: https://github.com/servo/servo
Source-Revision: ce6ea55acdf497eacfba8952d74769d164cc6ed8
2014-11-19 13:18:29 -07:00
Martin Robinson
c3675e6a6d servo: Merge #3964 - Remove some code duplication in the Compositor (from mrobinson:code-duplication); r=larsbergstrom
It is possible to share the code which creates root layers.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9da7f10c3c46fee3d11d4ef9e8fb642fc9fb9870
2014-11-19 09:00:47 -07:00
Glenn Watson
8a83aa075e servo: Merge #4035 - Remove rust-alert as it's broken on mac, and unimplemented on other platforms (from glennw:remove-rust-alert); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 554f696db81665f92e9976a15d986b0fd0f99edf
2014-11-18 21:30:27 -07:00
Patrick Walton
c45bdbbfb9 servo: Merge #3904 - layout: Incrementalize reflow of block formatting contexts impacted by floats, and make float placement idempotent (from pcwalton:maze-solver-float-placement); r=cgaebel
r? @glennw @cgaebel

Source-Repo: https://github.com/servo/servo
Source-Revision: a07401ca4e9ab26d66c7a02e710cea143caca401
2014-11-18 16:39:25 -07:00
Glenn Watson
c04e3b2bc7 servo: Merge #4028 - Add glutin port (supported on Linux only currently) (from glennw:glutin); r=larsbergstrom
Default build uses glfw, but glutin can be enabled via:

./mach cargo build --no-default-features --features=glutin

Remaining work:
 * Mac
 * Android
 * hi-dpi
 * nested event loop

This PR also enables true headless (without X) rendering on Linux by specifying the rendering API as Mesa.

Source-Repo: https://github.com/servo/servo
Source-Revision: f5c6146de0b3bfda97edff6662033f4a981df3f6
2014-11-18 15:48:29 -07:00
Mike Blumenkrantz
2c925704ee servo: Merge #4025 - Embedding string multimap (from zmike:embedding-string_multimap); r=jdm
@jdm @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 71d49a5b8e3d62dde392a85b34b864ad358d4439
2014-11-18 14:39:31 -07:00
Claes 'Letharion' Gyllensvärd
91a5610f1a servo: Merge #4015 - Bitfield to bitflags (from letharion:Bitfield-to-bitflags); r=mbrubeck
Attempt to solve #3690

I've re-rolled the changes from https://github.com/servo/servo/pull/2610, and then doen the necessary updates to get this to compile with the current snapshot of rust.

The documentation for values I've added in the bitflag are missing, because I don't know what is the appropriate text.

Source-Repo: https://github.com/servo/servo
Source-Revision: e13873bba1782580db4abe46e883b08da829cbb6
2014-11-18 11:42:32 -07:00
donaldpipowitch
0d92a68737 servo: Merge #4031 - wide form buttons fixes #3972 (from donaldpipowitch:wide-form-buttons); r=jdm
My first pull request to servo \o/

Try to fix https://github.com/servo/servo/issues/3972. Tested with `./mach run tests/html/test-inputs.html`.
Any reasons why this CSS is formatted this way? (All properties on the same line. Looks a little bit _generated_?)

Source-Repo: https://github.com/servo/servo
Source-Revision: 51e1f56ff73f46c65f79ccd07dcabed9d76fd8e9
2014-11-18 09:06:33 -07:00
Achal Shah
9c9758245b servo: Merge #4030 - Stop including the element during Element.getElementsByClassName (from achals:master); r=Ms2ger
https://github.com/servo/servo/issues/3995

This is my first PR, so please let me know if I'm doing something wrong!

Source-Repo: https://github.com/servo/servo
Source-Revision: 8cecb03d756d8df4de69ca13b663d547f438d320
2014-11-18 08:45:35 -07:00
Zachary Newman
36a1fd352e servo: Merge #4027 - Implement DOMImplementation.hasFeature (from znewman01:issue4010); r=Ms2ger
Fixes #4010.

This is my first Servo contribution, so let me know if I missed anything!

Source-Repo: https://github.com/servo/servo
Source-Revision: efb4fe4a4ac9bf96cf1db649ab112014ce2c13a4
2014-11-18 07:54:33 -07:00
Zachary Newman
981dd5640f servo: Merge #4029 - Update behavior of Document.createElement (from znewman01:issue4009); r=Ms2ger
Fixes #4009.

Only lower-case the argument to Document#createElement if it's a HTML document.

Source-Repo: https://github.com/servo/servo
Source-Revision: 929671f945d30deaf37bbb9e23d15d09387bdf09
2014-11-18 07:15:34 -07:00
Claes 'Letharion' Gyllensvärd
75a8017b4c servo: Merge #4021 - HTMLScriptElementHelpers::is_javascript should compare ASCII case-insensitively (from letharion:Case-insensitive-HTMLScriptElementHelpers-comparision); r=Ms2ger
Fix for #3993

Source-Repo: https://github.com/servo/servo
Source-Revision: 3fafd61f718e1f0d14c192b670a602316d02dfd0
2014-11-18 06:51:34 -07:00
Ms2ger
058206f7bf servo: Merge #4019 - Various cleanup in constellation.rs (from Ms2ger:constellation); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 64cc9ec6881add395b93341a32e90546b2f7211f
2014-11-17 10:36:29 -07:00
Matt Brubeck
9deafa3582 servo: Merge #3987 - Use the correct Rust path in Android packaging (from mbrubeck:rust-root); r=larsbergstrom
r? @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 2bda68f03862ae9b58673d7685ec80e61d5ba65e
2014-11-17 09:21:28 -07:00
Simon Sapin
bc85e619ae servo: Merge #4016 - Fix freetype build (from SimonSapin:fix-freetype-build); r=Manishearth
Pick up https://github.com/servo/libfreetype2/pull/3

r? @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: bd4f94a11f556451634ac073e690fa42816e5580
2014-11-17 08:30:31 -07:00
Ms2ger
81e4c70e86 servo: Merge #4017 - Reformat sniffer_task.rs (from Ms2ger:sniffertask); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 9833cfbbffa79c74d9ee794e836c8007cd802c10
2014-11-17 07:57:29 -07:00
Andrew Hobden
8faed3b8cb servo: Merge #3991 - Update README for Homebrew (from Hoverbear:patch-1); r=jdm
glfw3 is in the `homebrew/versions` keg.

```bash
➜  ~  brew install glfw3
Error: No available formula for glfw3
Searching formulae...
Searching taps...
homebrew/versions/glfw3
```

Simplest fix:

```bash
➜  ~  brew install homebrew/versions/glfw3
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-versions'...
remote: Counting objects: 2495, done.
remote: Total 2495 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (2495/2495), 820.05 KiB | 462.00 KiB/s, done.
Resolving deltas: 100% (1433/1433), done.
Checking connectivity... done.
Tapped 161 formulae
==> Installing glfw3 from homebrew/homebrew-versions
==> Downloading https://downloads.sourceforge.net/project/glfw/glfw/3.0.4/glfw-3.0.4.tar.bz2
Already downloaded: /Library/Caches/Homebrew/glfw3-3.0.4.tar.bz2
==> Patching
patching file CMakeLists.txt
Hunk #1 succeeded at 370 with fuzz 1 (offset 13 lines).
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/glfw3/3.0.4 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DGLFW_USE_CHDIR=TRUE -DGLFW_USE_MENUBAR=TRUE -DBUIL
==> make install
🍺  /usr/local/Cellar/glfw3/3.0.4: 11 files, 220K, built in 9 seconds
```

Users who have `homebrew/versions` already tapped won't notice this, since after tapping `homebrew/versions` keg shouldn't notice, since after tapping, the library is available using just ` brew install glfw3`.

```bash
➜  ~  brew tap
homebrew/versions
➜  ~  brew install glfw3
==> Installing glfw3 from homebrew/homebrew-versions
==> Downloading https://downloads.sourceforge.net/project/glfw/glfw/3.0.4/glfw-3.0.4.tar.bz2
Already downloaded: /Library/Caches/Homebrew/glfw3-3.0.4.tar.bz2
==> Patching
patching file CMakeLists.txt
Hunk #1 succeeded at 370 with fuzz 1 (offset 13 lines).
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/glfw3/3.0.4 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DGLFW_USE_CHDIR=TRUE -DGLFW_USE_MENUBAR=TRUE -DBUIL
==> make install
🍺  /usr/local/Cellar/glfw3/3.0.4: 11 files, 220K, built in 9 seconds
```

Source-Repo: https://github.com/servo/servo
Source-Revision: b9dcaa34c32333ae16da7a5f11835c7d905da4d3
2014-11-17 07:21:29 -07:00
Shanil Puri
f04b66f021 servo: Merge #3796 - Servo exit devtools: Send exit message to devtools on browser exit (from shanil-puri:ServoExitDevtools); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: d1eaa3adda5e59cc34822d6d1477b987796dfd62
2014-11-17 06:15:30 -07:00
Rohan Prinja
757be2eede servo: Merge #4014 - key[board]event args for Document#createEvent (from ajnirp:doc-createevent-keyevents); r=Manishearth
fix #4007

Source-Repo: https://github.com/servo/servo
Source-Revision: eeb11d68516c201d7c57508263517b69ef425273
2014-11-16 21:36:30 -07:00
Glenn Watson
a9771bc8d8 servo: Merge #4012 - Update green-rs submodule to get android tls fix (from glennw:update-green-rs); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: a51d08737a1f7337f6fad1d3f28b11345fed70e2
2014-11-16 20:21:28 -07:00
Glenn Watson
f605e86196 servo: Merge #4013 - Redirect android resource folder (user-agent.css and friends) to /sdcard/servo (from glennw:android-resources); r=larsbergstrom
This is a temporary solution, until they are packaged properly.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1fd94adb3ddaa56c2e5fb41422960a8a433a6389
2014-11-16 18:12:28 -07:00
Patrick Walton
7ccbb6f29d servo: Merge #3990 - gfx: Rewrite display list construction to make stacking-contexts more first-class (from pcwalton:stacking-contexts); r=glennw
This implements the scheme described here:

    https://groups.google.com/forum/#!topic/mozilla.dev.servo/sZVPSfPVfkg

This commit changes Servo to generate one display list per stacking
context instead of one display list per layer. This is purely a
refactoring; there are no functional changes. Performance is essentially
the same as before. However, there should be numerous future benefits
that this is intended to allow for:

* It makes the code simpler to understand because the "new layer needed"
  vs. "no new layer needed" code paths are more consolidated.

* It makes it easy to support CSS properties that did not fit into our
  previous flat display list model (without unconditionally layerizing
  them):

  o `opacity` should be easy to support because the stacking context
    provides the higher-level grouping of display items to which opacity
    is to be applied.

  o `transform` can be easily supported because the stacking context
    provides a place to stash the transformation matrix. This has the side
    benefit of nicely separating the transformation matrix from the
    clipping regions.

* The `flatten` logic is now O(1) instead of O(n) and now only needs to
  be invoked for pseudo-stacking contexts (right now: just floats),
  instead of for every stacking context.

* Layers are now a proper tree instead of a flat list as far as layout
  is concerned, bringing us closer to a production-quality
  compositing/layers framework.

* This commit opens the door to incremental display list construction at
  the level of stacking contexts.

Future performance improvements could come from optimizing allocation of
display list items, and, of course, incremental display list
construction.

r? @glennw
f? @mrobinson @cgaebel

Source-Repo: https://github.com/servo/servo
Source-Revision: 397d8138e7b27541faf03d9635d7648416da4a75
2014-11-16 16:39:27 -07:00
Glenn Watson
7ecba6a00a servo: Merge #4011 - Update gleam submodule, and use glfw to load OpenGL function pointers (from glennw:gleam-update); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 3da9ad464db7e3a422e06f82285aff15b7375344
2014-11-16 16:09:28 -07:00
Ms2ger
6da7215f3a servo: Merge #4003 - Correct the checks in step 5 of Node::pre_insert (from Ms2ger:pre-insert); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1a40a6bc82558d1ca4997c9b93379df26e2a951f
2014-11-16 07:24:28 -07:00
Andrew Hobden
9088de48aa servo: Merge #3998 - Fix Table Caption infinite recursion (from Hoverbear:fix_table_caption); r=jdm
Fixed #3997.

Source-Repo: https://github.com/servo/servo
Source-Revision: 561fab57d6ac23758f0150e043be28adda12c772
2014-11-15 13:24:28 -07:00
Simon Sapin
05c514b3b2 servo: Merge #3980 - Use freetype-sys on Linux (from SimonSapin:freetype-sys-linux); r=larsbergstrom
See:
https://github.com/servo/libfreetype2/pull/2
https://github.com/servo/skia/pull/38
https://github.com/servo/rust-azure/pull/114

Let’s close #3867, even though this only works around and doesn’t fix the underlying issue.

r? @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 644765ea5e5a7981f3c35f74c10e2c744409c2a9
2014-11-15 12:48:29 -07:00
Mukilan Thiyagarajan
f925eec2be servo: Merge #3941 - Allow passing arguments to setTimeout/setInterval callbacks (from mukilan:timeout-arguments); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 43b452f3b874c4bf0392ceaec27a0e40f18b5e34
2014-11-15 11:09:32 -07:00
Kshitij Parajuli
e3913a40c6 servo: Merge #3766 - M1456, Implement MIME sniffing initial Step (from t29:mime-sniffing); r=jdm
Issue: #3144

We created a sniffer task in components/net/, added a call in resource_task load function to create a new sniffer task (sending all the data), and sniffer_task currently sends all the data back to resource_task.

The purpose of this request is to get feedback from @jdm on our progress before moving forward and writing tests.

Source-Repo: https://github.com/servo/servo
Source-Revision: 796258114b1d4681ca9dd9f745036f68535ecb56
2014-11-15 10:36:31 -07:00
Josh Matthews
6e29972f19 servo: Merge #3989 - Disable the iframe content test due to #3986 (from jdm:disableiframetest); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 483e84ca7b879a12764c529c3d389e28e7c46aaf

--HG--
rename : servo/tests/content/test_iframe_contentDocument.html => servo/tests/content/test_iframe_contentDocument.html.disabled
2014-11-15 10:03:33 -07:00
Mike Blumenkrantz
63ff3af0c3 servo: Merge #3984 - embedding: remove eutil::fptr_is_null, fix #3967, add Option<> to fptrs (from zmike:embedding-option_callbacks); r=jdm
@jdm,  @larsbergstrom

#legday

Source-Repo: https://github.com/servo/servo
Source-Revision: 443b1b98e168f2831ff0d6526c3a00b1a05c763e
2014-11-14 18:45:35 -07:00
Rohan Prinja
a25bda56bc servo: Merge #3977 - empty enum replaces c_void (from ajnirp:cef-empty-enums); r=jdm
fix for #3968

Source-Repo: https://github.com/servo/servo
Source-Revision: 0ab70dd539798022ebadd07fb799096809f14d3f
2014-11-14 17:15:33 -07:00
Ms2ger
2aa3272664 servo: Merge #3979 - Use {Cell,RefCell}::as_unsafe_cell (from Ms2ger:as_unsafe_cell); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 7d3b76c60d2d5bd61cf6b48d09d769df77af293d
2014-11-14 15:48:35 -07:00
Matt Brubeck
8f62c2a692 servo: Merge #3985 - Update Cargo.lock files for Android rustup fixes (from mbrubeck:android-green); r=larsbergstrom
r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: e3ee984f1747b27e66b80c8418af7ce51739880d
2014-11-14 15:03:35 -07:00
Tomasz Kołodziejski
ddd49dfd1c servo: Merge #3953 - Add contentDocument support for HTMLIFrameElement. Fixes #3808 (from neojski:implement-HTMLIFrameElement.contentDocument); r=jdm
Because of #2122 I cannot write test for this right now because it will be failing randomly due to that iframe issue. However, if it doesn't fail due to that issue a test like this:

```html
<html>
  <head>
    <meta charset="utf8" />
    <script src="harness.js"></script>
    <title>Iframe contentDocument test.</title>
  </head>
  <body>
    <iframe src="test_iframe_contentDocument_inner.html" id="iframe"></iframe>
    <script>
      waitForExplicitFinish();

      var timeout = 100;
      var iframe = document.getElementById('iframe');
      function test_contentWindow() {
        if (!iframe.contentWindow) {
          // Iframe not loaded yet, try again.
          // No load event for iframe, insert bug number here.
          setTimeout(test_contentWindow, timeout);
          return;
        }
        is(iframe.contentDocument.getElementById('test').textContent, 'value');
        finish();
      }
      test_contentWindow();
    </script>
  </body>
</html>
```
where inner is simply:
```html
<html><body><div id="test">value</div></body></html>
```
passes.

I have added `SameOrigin` method to the `UrlHelper`. I wanted to reuse it in [`constellation.rs` same_script check](f0184a2d01/components/compositing/constellation.rs (L625)) but I it didn't want to compile saying

```
error: unresolved import `dom::urlhelper::UrlHelper`. Maybe a missing `extern crate dom`?
```

So I didn't include it in this PR for now.

There is more discussion about the cross origin iframes in [another issue](https://github.com/servo/servo/issues/3939). In this PR I just added same origin check.

Source-Repo: https://github.com/servo/servo
Source-Revision: 85a2f0b66a32cfd6022b3e6cec6ec06f3b59baf1
2014-11-13 23:54:28 -07:00
Manish Goregaokar
c37a7ffe4c servo: Merge #3973 - Don't overwrite redirected URL in script_task (fixes #3970) (from Manishearth:301-fix); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 10cd7728ff0daa7d2e5e13d002d008b5049f389b
2014-11-13 17:45:29 -07:00
Mike Blumenkrantz
b89d8ffd01 servo: Merge #3947 - Embedding string map (from zmike:embedding-string_map); r=jdm
implements a string map which is 100% identical to CEF

r+ @larsbergstrom  @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: 99fc4ab634738136daa993443042a4cbf68c510c
2014-11-13 17:06:30 -07:00
Mike Blumenkrantz
90169aef41 servo: Merge #3946 - Embedding fixups (from zmike:embedding-fixups); r=jdm
adds a missing string api function and renames an existing string_list function

r+ @larsbergstrom @jdm ?

Source-Repo: https://github.com/servo/servo
Source-Revision: 1773198e8d4c5ebe82b4780ebf0828833aa61846
2014-11-13 16:00:40 -07:00
Simon Sapin
3925345206 servo: Merge #3971 - Download Cargo over HTTPS. Fix #3582 (from SimonSapin:cargo-https); r=Ms2ger
Download from https://static-rust-lang-org.s3.amazonaws.com, which apparently does not require SNI? This bypasses the CloudFront CDN and goes to directly to S3.

CC @brson

Source-Repo: https://github.com/servo/servo
Source-Revision: 8cb2b922ef8541aee9207efbacf0c125b61f8aaf
2014-11-13 14:24:45 -07:00
Matt Brubeck
28f2fd7384 servo: Merge #3969 - Update html5ever ref in Android Cargo.lock (from mbrubeck:android-html5-cargo); r=larsbergstrom
Fixes a build error.

Source-Repo: https://github.com/servo/servo
Source-Revision: c713bf472400d79448ba53548884779719bf6459
2014-11-13 11:30:35 -07:00
Josh Matthews
4d3016e023 servo: Merge #3585 - Implement single-line text input (from jdm:input); r=gw
This attempts to implement a bunch of the DOM Level 3 Events spec by implementing the KeyboardEvent interface, the document focus context, and dispatching keyup/keydown/keypress events appropriately. There's also some support for multiline text input that's untested.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2ffa845cf463b14b19322d477a77ffd20efa89a9
2014-11-13 10:57:33 -07:00