Commit graph

7130 commits

Author SHA1 Message Date
Patrick Walton
215c2a9d4c layout: Implement CSS linear gradients per the CSS-IMAGES specification.
This implements the CSS `linear-gradient` property per the CSS-IMAGES
specification:

    http://dev.w3.org/csswg/css-images-3/

Improves GitHub.
2014-11-06 08:26:47 -08:00
nkdalmia
bb76b0f3f2 Intial Commit for Storage.webidl, along with impl stub 2014-11-06 10:55:27 -05:00
Ms2ger
bb9cad938b Implement HTMLElement#lang. 2014-11-06 15:28:52 +01:00
bors-servo
44fa9f9b18 auto merge of #3912 : Ms2ger/servo/parser-glob, r=jdm
Glob imports are frowned upon, and after the removal of
build_element_for_tag, only a few types are actually used.
2014-11-06 06:27:31 -07:00
Ms2ger
fbb00da212 Remove the glob import from the HTML parser.
Glob imports are frowned upon, and after the removal of
build_element_for_tag, only a few types are actually used.
2014-11-06 09:41:24 +01:00
bors-servo
667b511ae3 auto merge of #3909 : SimonSapin/servo/remove-travis-files, r=jdm 2014-11-05 21:15:33 -07:00
bors-servo
0e6a67c76b auto merge of #3907 : Munksgaard/servo/serve-docs, r=jdm
This enables the user to run `./mach serve-docs` (with an optional port
number), starting a local web server that hosts the documentation for
Servo and Rust.

This closes #3807
2014-11-05 20:39:33 -07:00
bors-servo
57cb8a10f0 auto merge of #3903 : Manishearth/servo/plugin-fixes, r=jdm 2014-11-05 20:03:34 -07:00
Simon Sapin
7b10383880 Remove scripts that used to run on Travis-CI. 2014-11-05 18:33:11 -08:00
bors-servo
45262ec9d2 auto merge of #3905 : Ms2ger/servo/prefix-create, r=jdm 2014-11-05 19:27:35 -07:00
bors-servo
5dae1de2f5 auto merge of #3902 : mbrubeck/servo/share_directory, r=jdm
This is @acmiyaguchi's already-reviewed patch from #3388, rebased and squashed onto servo master. Fixes #3353.
2014-11-05 18:51:36 -07:00
bors-servo
f09c314420 auto merge of #3906 : mbrubeck/servo/disable-wpt-xhr, r=jdm
Due to w3c/web-platform-tests#1362
2014-11-05 18:18:39 -07:00
Matt Brubeck
eee25d132c Disable flaky XHR test 2014-11-05 17:08:00 -08:00
Manish Goregaokar
52983ed97c Silence lint for self.global in XHR 2014-11-06 06:37:44 +05:30
bors-servo
10072c73fd auto merge of #3894 : awestroke/servo/feauture-warn-32bit-bootstrap, r=jdm
Also hints that 32bit snapshots are unavailable on failure

Resolves #3739 

![screenshot from 2014-11-05 13 42 39](https://cloud.githubusercontent.com/assets/1098408/4917781/6edc0dd2-64e9-11e4-98bd-dbd1829ee913.png)
2014-11-05 15:42:51 -07:00
Ms2ger
f565e203e4 Remove the manual Element::new call from Document::CreateElementNS. 2014-11-05 23:22:47 +01:00
Ms2ger
a5e9f97c8f Pass the prefix to Element::new in create_element. 2014-11-05 23:18:33 +01:00
Matt Brubeck
2ee516fa7c Automatically update cargo when necessary 2014-11-05 14:07:02 -08:00
bors-servo
c9857d49dd auto merge of #3901 : Ms2ger/servo/title, r=jdm 2014-11-05 14:33:36 -07:00
Orvar Segerström
1641568b05 Panic when bootstrap downloads fail
Also hints that 32bit snapshots are unavailable on failure

Resolves #3739

fixup! Panic when bootstrap downloads fail
2014-11-05 22:31:57 +01:00
Ms2ger
45701002a3 Implement HTMLElement.title. 2014-11-05 22:08:36 +01:00
Manish Goregaokar
4a8af307d1 Catch all types of local bindings in check_stmt 2014-11-06 01:30:29 +05:30
bors-servo
76cc006a40 auto merge of #3898 : Ms2ger/servo/prefix-clone, r=jdm
The current code calls as_slice() on the Option, yielding &[DOMString], and
then calls to_string, yielding "[prefix]".
2014-11-05 12:57:37 -07:00
Ms2ger
82ff32a710 Pass the correct argument to Element::create when cloning.
The current code calls as_slice() on the Option, yielding &[DOMString], and
then calls to_string, yielding "[prefix]".
2014-11-05 20:51:41 +01:00
bors-servo
390e111537 auto merge of #3900 : kmcallister/servo/parse-error, r=Ms2ger
r? @ms2ger
2014-11-05 12:21:42 -07:00
Manish Goregaokar
6c9ee378f5 Add documentation to plugins crate 2014-11-06 00:46:12 +05:30
Anthony Miyaguchi
75b340a243 Fixes #3353: rust snapshot downloads to home directory 2014-11-05 11:14:21 -08:00
Keegan McAllister
01ea963711 Only print HTML parse errors with RUST_LOG=script::parse 2014-11-05 10:36:20 -08:00
bors-servo
fba6cb9c42 auto merge of #3897 : Ms2ger/servo/enable-reflection, r=Manishearth 2014-11-05 11:12:40 -07:00
Ms2ger
e1bb3c3b06 Parse the size attribute on input elements. 2014-11-05 19:07:01 +01:00
bors-servo
b27ec2b223 auto merge of #3896 : Ms2ger/servo/attr-crash, r=jdm
The semantics of has_attribute aren't anywhere close to the ones expected for
Element#hasAttribute, and it fails an assertion when passed non-lower-case
names.
2014-11-05 10:36:38 -07:00
bors-servo
5e71087ae9 auto merge of #3890 : pcwalton/servo/microoptimize-dlist, r=glennw
I'm sad to say that this improved performance significantly. A lot of
this win is due to the Rust compiler not being smart about not zeroing
objects out if it doesn't need to.

r? @glennw
2014-11-05 10:00:54 -07:00
Ms2ger
214c356ecd Pass an Atom to VirtualMethods::parse_plain_attribute. 2014-11-05 16:19:11 +01:00
Ms2ger
f7407ee43d Re-enable reflection-forms.html. 2014-11-05 16:19:10 +01:00
Ms2ger
cdde96e989 Defer to GetAttribute in HasAttribute.
The semantics of has_attribute aren't anywhere close to the ones expected for
Element#hasAttribute, and it fails an assertion when passed non-lower-case
names.
2014-11-05 16:05:06 +01:00
bors-servo
026b5e34ea auto merge of #3891 : Ms2ger/servo/wpt_20141103, r=jdm 2014-11-05 07:30:40 -07:00
Philip Munksgaard
04146c934b Add serve-docs command to mach
This enables the user to run `./mach serve-docs` (with an optional port
number), starting a local web server that hosts the documentation for
Servo and Rust.

This closes #3807
2014-11-05 13:58:59 +01:00
Tom Schuster
b0329ac241 Support Back and forward button on mouses 2014-11-05 11:18:15 +01:00
Ms2ger
801c7a35be Update web-platform-tests. 2014-11-05 10:30:59 +01:00
Patrick Walton
bdab68ab60 gfx: Micro-optimize DList and StackingContext a bit.
I'm sad to say that this improved performance significantly. A lot of
this win is due to the Rust compiler not being smart about not zeroing
objects out if it doesn't need to.
2014-11-05 00:56:56 -08:00
bors-servo
ffae110498 auto merge of #3761 : pcwalton/servo/smooth-scrolling, r=larsbergstrom
r? @glennw @mbrubeck
2014-11-04 18:12:32 -07:00
Patrick Walton
10f7b49cf7 Invert control flow, fix resizing, and improve checkerboarding
significantly by giving tiles some time to paint before we render
unrendered content.
2014-11-04 13:51:56 -08:00
Glenn Watson
11cf538ff4 Make media queries work with resize and page zoom. 2014-11-04 13:25:21 -08:00
bors-servo
e483a189a3 auto merge of #3879 : mrobinson/servo/debug-options, r=cgaebel
This should make help output a lot cleaner and simplify the way that
uncommon debug options are passed.
2014-11-04 11:36:30 -07:00
Martin Robinson
628cf9c0df Corral debug command-line options into a --debug/-Z flag
This should make help output a lot cleaner and simplify the way that
uncommon debug options are passed.
2014-11-04 10:32:06 -08:00
bors-servo
4e24e4d8e9 auto merge of #3732 : mukilan/servo/xhr-issue-3630, r=jdm
This fixes issue #3630
A short summary of the changes:
* Use atomic generation id to cancel inflight requests
* Handles nested calls to abort, open, send inside handlers
* Adds XHRReleaseMsg to delay freeing XHR object till all
  inflight events are processed
* Handles both timeout, errors and abort/open in a symmetric fashion
  i.e All inflight events will be cancelled for timeouts, aborts,
    errors and on calling open.
* Change the ErroredMsg enum to be more symmetric with the returned
  Error enum

I noticed a few possible changes that could make the code for fetch task simpler:
* We can remove the additional timer task and let the fetch task manage 
  its own timer (or maybe the resource loader can do this.)
* The CORS related steps could also be moved into the resource loader.
* Right now upload events are not support. This requires some support 
  from resource loader.
2014-11-04 05:06:34 -07:00
Mukilan Thiyagarajan
9bafd5f28a Update expectations for wpt tests under /XMLHttpRequest
Following tests are re-enabled:
* /XMLHttpRequest/send-network-error-async-events.sub.htm
* /XMLHttpRequest/send-network-error-sync-events.sub.htm
* /XMLHttpRequest/xmlhttprequest-timeout-worker-aborted.html
* /XMLHttpRequest/xmlhttprequest-timeout-worker-overrides.html
* /XMLHttpRequest/xmlhttprequest-timeout-worker-simple.html
* /XMLHttpRequest/xmlhttprequest-timeout-worker-twice.html

Following tests are disabled:
* /XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires.html

The following tests are expected to timeout since window.postMessage is
not implemented yet:

* /XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html
* /XMLHttpRequest/xmlhttprequest-timeout-overrides.html
* /XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html
2014-11-04 08:20:46 +05:30
bors-servo
c4cfb4aae0 auto merge of #3881 : brunoabinader/servo/dataset, r=jdm
Rust doesn't handle integers as bool on if statements, and defineProperty signature uses *mut instead of *const.
2014-11-03 19:15:32 -07:00
bors-servo
2a88a3242c auto merge of #3880 : cgaebel/servo/case-insensitive-font-family-matching, r=glennw,glennw
One part (of 8!) of css font family disambiguation is that font families should
be matched case-insensitively.

This patch implements that. Once it lands, a bug needs to be filed to do lowercasing
properly (as a string, instead of char-by-char -- it's a unicode thing).

r? @glennw
2014-11-03 18:30:35 -07:00
Bruno de Oliveira Abinader
315f626393 Various fixes to CodegenRust.py 2014-11-03 17:26:23 -08:00