Commit graph

8321 commits

Author SHA1 Message Date
bors-servo
c2076d707e auto merge of #4660 : deokjinkim/servo/font_style, r=jdm
'oblique' font-style is not supported now.
When I checked freetype.h, same macro is used for italic and oblique.

  /*    FT_STYLE_FLAG_ITALIC ::                                            */
  /*      Indicates that a given face style is italic or oblique.          */

So, when font style is 'oblique', enable flag for italic.
With tests/html/test_italic_bold.html, it works well.
2015-01-28 11:51:53 -07:00
bors-servo
95f71eea5c auto merge of #4752 : Ms2ger/servo/update-xlib, r=jdm 2015-01-28 11:03:53 -07:00
bors-servo
6dc2b895b8 auto merge of #4656 : PeterReid/servo/issue4125, r=mbrubeck
Fixes #4125

Conforming to section 5.5 (Rounded Corners/Overlapping Curves) of "CSS Background and Borders Module Level 3", border radii on elements whose border curves would have overlapped are uniformly scaled down to the point that they no longer do.

http://dev.w3.org/csswg/css-backgrounds/#corner-overlap
2015-01-28 10:18:52 -07:00
Ms2ger
42d7e26aed Update xlib. 2015-01-28 17:42:02 +01:00
bors-servo
d597432167 auto merge of #4740 : akiss77/servo/pr-deps, r=metajack
* openssl
* glfw
* gleam
* skia
* mozjs
2015-01-28 09:36:53 -07:00
bors-servo
0f81e70882 auto merge of #4751 : Ms2ger/servo/shadowing-layout, r=jdm 2015-01-28 06:51:53 -07:00
Ms2ger
1b3e368bcd Don't shadow lifetimes in layout. 2015-01-28 14:44:32 +01:00
bors-servo
4a3e4032fe auto merge of #4750 : Ms2ger/servo/shadowing, r=jdm 2015-01-28 06:09:51 -07:00
Ms2ger
f8ac1777ff Don't shadow lifetimes in script. 2015-01-28 13:48:28 +01:00
bors-servo
cc2523eed5 auto merge of #4743 : Ms2ger/servo/update-layers, r=Manishearth 2015-01-28 04:54:51 -07:00
Ms2ger
f9304a2af5 Update azure to master. 2015-01-28 11:23:32 +01:00
Ms2ger
9ab1ba7a5f Update layers to master. 2015-01-28 11:03:37 +01:00
bors-servo
d373f8dc26 auto merge of #4739 : Manishearth/servo/warning-patrol, r=Ms2ger 2015-01-28 02:27:50 -07:00
bors-servo
1a2a08aa50 auto merge of #4717 : Ms2ger/servo/doc-proxy, r=saneyuki 2015-01-28 01:48:52 -07:00
Akos Kiss
7ca3145b0d Update dependencies in lock files
* openssl
* glfw
* gleam
* skia
* mozjs
2015-01-28 08:28:33 +00:00
Manish Goregaokar
b8fb725af2 raw_pointer_deriving -> raw_pointer_derive 2015-01-28 13:54:18 +05:30
Manish Goregaokar
547ed20455 silence fetch warnings 2015-01-28 13:51:35 +05:30
Manish Goregaokar
b68b7e87c8 self import 2015-01-28 13:46:00 +05:30
Manish Goregaokar
e44ee70faf Remove some old impls 2015-01-28 13:37:18 +05:30
bors-servo
e122d76fa9 auto merge of #4737 : glennw/servo/poll-events, r=kmcallister 2015-01-27 22:51:55 -07:00
Glenn Watson
e936349cdf Temporary workaround for change in wait_events behaviour in glutin 2015-01-28 15:40:34 +10:00
bors-servo
3f9012864a auto merge of #4719 : servo/servo/rustup_20150109, r=jdm 2015-01-27 18:15:50 -07:00
Josh Matthews
7fec73a432 Fix crash due to address significance for JSAPI things. 2015-01-28 01:13:32 +00:00
Josh Matthews
95fc29fa0d Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
Peter Reid
c9cbb5b071 Handle overlapping border-radius corners
Conforming to section 5.5 (Rounded Corners/Overlapping Curves) of "CSS
Background and Borders Module Level 3", border radii on elements whose
border curves would have overlapped are uniformly scaled down to the
point that they no longer do.

http://dev.w3.org/csswg/css-backgrounds/#corner-overlap
2015-01-26 09:04:42 -05:00
Ms2ger
238f3e2d91 Require documentation for all code in dom::bindings (excluding dom::bindings::codegen). 2015-01-25 22:01:04 +01:00
Ms2ger
1cf7441c61 Document proxyhandler.rs. 2015-01-25 21:42:10 +01:00
Ms2ger
46e4ac280f Panic if JS_NewObjectWithGivenProto fails. 2015-01-25 21:42:07 +01:00
Ms2ger
5f5381e4c1 Don't create an expando holder to delete an expando.
If there is no expando object, there will be no expando to delete.
2015-01-25 21:42:07 +01:00
bors-servo
ff8cbff810 auto merge of #4713 : Ms2ger/servo/unsafe_get-const, r=jdm 2015-01-24 08:48:48 -07:00
Ms2ger
801949556d Return *const T from JS::unsafe_get() (fixes #4712). 2015-01-24 16:43:19 +01:00
bors-servo
4c9d7ce5d0 auto merge of #4711 : Ms2ger/servo/transmute, r=jdm
It hasn't had borrow flags for quite a while.
2015-01-24 08:03:47 -07:00
Ms2ger
dfbf83a8ac Don't call transmute_copy in JS::unsafe_get.
It hasn't had borrow flags for quite a while.
2015-01-24 15:57:09 +01:00
bors-servo
d9c2bfae87 auto merge of #4710 : servo/servo/untrusted, r=Manishearth
This will allow us to make it Send after the Rust upgrade.
2015-01-24 04:57:48 -07:00
Josh Matthews
d2f0aac5ce Make UntrustedNodeAddress a newtype.
This will allow us to make it Send after the Rust upgrade.
2015-01-24 11:40:21 +01:00
bors-servo
1b496d80de auto merge of #4707 : glennw/servo/split-headless, r=larsbergstrom
The majority of this change is simply re-arranging the code in the glutin port so that the windowed/headless code is configured at build time rather than runtime. There shouldn't be any functional difference as a result of this change.
2015-01-22 14:48:48 -07:00
Glenn Watson
0f525d908d Change glutin headless mode to be a build config, as it breaks some Linux distros linking to both.
The majority of this change is simply re-arranging the code in the glutin port
so that the windowed/headless code is configured at build time rather
than runtime. There shouldn't be any functional difference as a result of this change.
2015-01-23 06:09:25 +10:00
bors-servo
55fbf1f2b6 auto merge of #4708 : Ms2ger/servo/rustup-prepare, r=SimonSapin 2015-01-22 08:06:50 -07:00
Ms2ger
13c7cf928a Stop calling deref() and deref_mut() explicitly. 2015-01-22 16:04:21 +01:00
Ms2ger
ee4c56bd8b Remove rtinstrument (fixes #4600).
The code has been disabled during the last rust upgrade, and has not found an
owner. Since the next rust upgrade will bitrot it even more, it is better to
remove it for now. If anyone wishes to restore it, the code remains in version
history.
2015-01-22 14:49:26 +01:00
Ms2ger
024571dfa3 Use chars().count() rather than char_len().
The latter is obsolete in current Rust.
2015-01-22 14:49:26 +01:00
Ms2ger
faefb27f3e Use std::sync::atomic::Ordering explicitly. 2015-01-22 14:49:25 +01:00
Ms2ger
524966e3af Use std::cmp::Ordering explicitly. 2015-01-22 14:49:25 +01:00
bors-servo
59bca2962c auto merge of #4689 : servo/servo/newnewnewcss, r=larsbergstrom
https://github.com/servo/rust-cssparser/pull/68

r? @larsbergstrom
2015-01-21 14:27:48 -07:00
Simon Sapin
d034a6c6bc Port to the new cssparser.
https://github.com/servo/rust-cssparser/pull/68
2015-01-21 22:23:46 +01:00
bors-servo
ad328fda65 auto merge of #4705 : Ms2ger/servo/refcounted, r=larsbergstrom
This will allow us to make them Send in the future.
2015-01-21 12:09:56 -07:00
Ms2ger
7d1b567744 Encapsulate to-be-cleaned-up refcounted pointers.
This will allow us to make them Send in the future.
2015-01-21 20:04:51 +01:00
bors-servo
8df0ee2bb5 auto merge of #4703 : servo/servo/task, r=saneyuki
IntoString has been removed from Rust, and named() will take a String, so
there is no good reason to do otherwise here.
2015-01-21 03:48:49 -07:00
Ms2ger
808315926c Pass a String to spawn_named.
IntoString has been removed from Rust, and named() will take a String, so
there is no good reason to do otherwise here.
2015-01-21 11:23:19 +01:00
bors-servo
94ebc7c32d auto merge of #4682 : servo/servo/to_owned, r=jdm
into_string has been removed from Rust.
2015-01-20 07:54:46 -07:00