Commit graph

6640 commits

Author SHA1 Message Date
Ms2ger
1ffb683145 Avoid an unnecessary string allocation in allow_cross_origin_request. 2014-09-23 21:33:38 +02:00
Matt Brubeck
b708453049 Fix other warnings in devtools 2014-09-23 11:47:47 -07:00
Matt Brubeck
d2e6985ef7 Disable non_snake_case warnings in devtools 2014-09-23 11:45:08 -07:00
Patrick Walton
4546d5d23c Merge pull request #3460 from glennw/inline-block-padding
Fix inline context padding on inline-block.
2014-09-23 07:47:29 -07:00
Manish Goregaokar
27f3bcd718 Merge pull request #3435 from Manishearth/macro_reorg
Reorganize macros crate; r=jdm
2014-09-23 18:23:37 +05:30
Manish Goregaokar
5b866e9e46 Fix CEF 2014-09-23 17:37:28 +05:30
Manish Goregaokar
2a4f9fd8a3 Add license headers 2014-09-23 17:37:27 +05:30
Manish Goregaokar
fcb25a35ec Rename macros crate to plugins 2014-09-23 17:37:27 +05:30
Glenn Watson
32c02fc048 Fix inline context padding on inline-block.
Fixes categories bar on wikipedia - ref #2554.
2014-09-23 15:40:08 +10:00
Glenn Watson
0dd1b85739 Add support for small-caps font-variant.
Ref: 2554.
2014-09-23 14:21:41 +10:00
Patrick Walton
6177a3bdcc Merge pull request #3457 from pcwalton/block-formatting-contexts
layout: Adjust the position of block formatting contexts based on float placement.
2014-09-22 20:06:18 -07:00
Patrick Walton
3bb4020ff8 layout: Adjust the position of block formatting contexts based on float
placement.

Improves Reddit considerably.

Closes #3456.
2014-09-22 18:04:15 -07:00
Patrick Walton
a6ff0479d9 Merge pull request #3454 from pcwalton/float-clear-bug
layout: Translate floats when clearing non-floated blocks.
2014-09-22 17:36:36 -07:00
Patrick Walton
34b3408a89 layout: Translate floats when clearing non-floated blocks.
Improves CNN layout considerably.

Closes #3439.
2014-09-22 14:14:20 -07:00
Simon Sapin
ac895a0e65 Merge pull request #3453 from SimonSapin/font-size-relative-keywords
Add support for font-size relative size keywords. Fix #3423
2014-09-22 19:35:21 +01:00
Simon Sapin
eabb8d4f29 Add support for font-size relative size keywords. Fix #3423 2014-09-22 17:00:00 +01:00
Ms2ger
4c6e64dc7c Merge pull request #3446 from Ms2ger/update-wpt
Update web-platform-tests; r=Manishearth
2014-09-22 12:14:19 +02:00
Ms2ger
e3496be9dd Update web-platform-tests. 2014-09-22 12:13:52 +02:00
glennw
2c3d3b0075 Merge pull request #3449 from glennw/img-min-max
Add support for min-width and max-width to images.
2014-09-22 14:53:19 +10:00
Glenn Watson
87d18b90a6 Add support for min-width and max-width to images.
This fixes the images on the homepage of github.
2014-09-22 14:03:10 +10:00
Simon Sapin
9af2df2540 Merge pull request #3448 from SimonSapin/mach-update-submodules
Have mach update (not just init) submodules as needed. Fix #3447
2014-09-22 01:09:03 +01:00
Simon Sapin
f329de0581 Have mach update (not just init) submodules as needed. Fix #3447 2014-09-22 00:16:52 +01:00
Ms2ger
fd5c6e8512 Merge pull request #3443 from Ms2ger/uniontypes
Remove the glob import for UnionTypes; r=jdm
2014-09-21 22:34:27 +02:00
Ms2ger
61e17656cd Merge pull request #3442 from saneyuki/atom
Make Document.idmap key to Atom; r=Ms2ger
2014-09-21 16:17:46 +02:00
Ms2ger
d6321230de Remove the glob import for UnionTypes. 2014-09-21 16:13:42 +02:00
Ms2ger
b40966981c Share code to compute the type of a union.
This does not change the generated code.
2014-09-21 16:13:42 +02:00
Ms2ger
e7748216df Merge pull request #3441 from Ms2ger/glob-import
Don't use a glob import for codegen::{PrototypeList, RegisterBindings}; r=Manishearth
2014-09-21 16:13:25 +02:00
Tetsuharu OHZEKI
628191e372 Make Document.idmap key to Atom. 2014-09-21 22:38:39 +09:00
Ms2ger
2dd5f2357e Don't use a glob import for codegen::{PrototypeList, RegisterBindings}. 2014-09-21 14:21:51 +02:00
Simon Sapin
c228b81ca8 Merge pull request #3437 from SimonSapin/https-deps
Use HTTPS for Cargo dependencies
2014-09-21 11:00:34 +01:00
Keegan McAllister
045328c8e9 Merge pull request #3438 from servo/rustup
Upgrade Rust
2014-09-20 15:35:08 -07:00
Simon Sapin
a40b94d7f9 Use upstream lazy_static!() macro through Cargo
... instead of having our own copy.

https://github.com/Kimundi/lazy-static.rs
2014-09-20 13:32:52 -07:00
Keegan McAllister
af96e8e409 Fix upstream merge fallout 2014-09-20 13:26:25 -07:00
Simon Sapin
afe28ae422 Use HTTPS for Cargo dependencies 2014-09-20 21:19:09 +01:00
Keegan McAllister
dc86e83654 Eliminate warnings 2014-09-20 13:00:55 -07:00
Keegan McAllister
2f46b9aede Update the CEF port 2014-09-20 13:00:06 -07:00
Keegan McAllister
a640a7c5c3 Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000) 2014-09-20 13:00:06 -07:00
Keegan McAllister
8a7eefefd5 Remove most of FlowList
This needs to be reworked for DST.  Until then, DList<FlowRef> will do.
2014-09-20 12:56:52 -07:00
Cameron Zwarich
d6ba37c68c Merge pull request #3433 from zwarich/jsref-self-helpers
More progress in the &JSRef -> JSRef conversion
2014-09-20 12:55:21 -07:00
Josh Matthews
545e9884a6 Merge pull request #3364 from jejuliekim/option-text
Implement HTMLOptionElement.text #3023
2014-09-20 15:03:11 -04:00
Cameron Zwarich
8aec08074c Remove some extraneous &* pairs 2014-09-20 11:54:11 -07:00
Cameron Zwarich
d768ee77ad Convert various helper traits from &JSRef to JSRef
I converted them all with a few exceptions:

- Methods that were used by trait objects, since trait objects don't
  work with `self` methods.
- Methods that take an &'b JSRef<'a, T> and return an &'b. In reality,
  many (all?) could return an &'a instead, but this isn't allowed by the
  Deref trait.
- Methods that internally rely on the same issue with Deref.
- I left out the traits involved in layout entirely, even though not all
  of their methods suffer from one of the above problems.

There will probably be solutions to all of these problems in the future.
2014-09-20 11:54:11 -07:00
Cameron Zwarich
2c8d51a37c More progress in the &JSRef -> JSRef conversion
Change all of the <Class>Methods traits to take `self` instead of
`&self`.
2014-09-20 11:54:10 -07:00
Josh Matthews
2adc594e5d Merge pull request #3428 from Adenilson/moveIsVoidElement01
Move is_void() Element method together with the other struct methods.
2014-09-20 13:53:22 -04:00
Adenilson Cavalcanti
7581335232 Move is_void() Element method together with the other struct methods,
it becomes part of ElementHelpers.
2014-09-20 10:24:57 -07:00
Jeongeun Kim
dad77f0d25 Implement HTMLOptionElement.text#3023
Signed-off-by: Jeongeun Kim <je00julie.kim@gmail.com>

Implement HTMLOptionElement.text#3023 (2nd trial)

Implement HTMLOptionElement.text#3023 (3rd trial)

delete metadata for skipping option tests

fix conflict
2014-09-20 23:49:20 +09:00
Josh Matthews
249638da8f Merge pull request #3400 from gilles-leblanc/issue-3279
Share code between Navigator and WorkerNavigator
2014-09-20 09:12:04 -04:00
Gilles Leblanc
652d217961 Share code between Navigator and WorkerNavigator
Also shares code between Location and WorkerLocation. This has been done
by introducing NavigatorInfo and UrlHelper.

Fixes #3159
2014-09-20 08:51:35 -04:00
Tetsuharu OHZEKI
de67710934 Merge pull request #3418 from saneyuki/untrace
Replace manual Encodable implementation for LayoutDataRef with Untraceable
2014-09-20 16:40:06 +09:00
Tetsuharu OHZEKI
de0866ab42 Use Untraceable<T> to hold LayoutDataRef instead of manual Encodable implementation. 2014-09-20 15:19:01 +09:00