Commit graph

1499 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
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
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
Ms2ger
801949556d Return *const T from JS::unsafe_get() (fixes #4712). 2015-01-24 16:43:19 +01: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
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
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
Simon Sapin
d034a6c6bc Port to the new cssparser.
https://github.com/servo/rust-cssparser/pull/68
2015-01-21 22:23:46 +01: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
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
bors-servo
89645391bf auto merge of #4678 : Ms2ger/servo/doc-clone, r=jdm 2015-01-20 07:21:48 -07:00
Ms2ger
01ed338746 Move to to_owned rather than into_string.
into_string has been removed from Rust.
2015-01-20 14:49:07 +01:00
Ms2ger
7eb659371d Stop calling is_not_null.
It has been removed from Rust.
2015-01-20 13:08:49 +01:00
bors-servo
2629445748 auto merge of #4674 : Ms2ger/servo/doc-js, r=jdm 2015-01-20 04:13:01 -07:00
Ms2ger
cf0652812c Document structuredclone.rs. 2015-01-20 11:40:40 +01:00
Glenn Watson
797658fb3a Fix change of src attributes on iframe (prevents SetLayerOrigin crash). 2015-01-20 15:38:58 +10:00
bors-servo
49c949803a auto merge of #4668 : mrobinson/servo/constellation-cleanup, r=glennw
The set_ids name is a holdover from a previous design and no longer
reflects what this method does. Instead move the content into
grant_paint_permission and rename it to
send_frame_tree_and_grant_paint_permission. Also move out the handling of
evicted iframes into its own method.
2015-01-19 20:33:45 -07:00
Deokjin Kim
ee0ce0d8f4 Merge branch 'master' of https://github.com/servo/servo into font_style 2015-01-20 11:02:41 +09:00
Deokjin Kim
80a6f0ae08 Support 'font-style: oblique'. 2015-01-20 10:48:23 +09:00
bors-servo
ccf5f96fa9 auto merge of #4672 : glennw/servo/make-glutin-default, r=larsbergstrom
This change makes glutin the default windowing system on mac/linux.

If you run into any issues with the glutin system, you can temporarily
build the GLFW system with the following command:

cd components/servo
../../mach cargo build --no-default-features --features=glfw

Once any glutin related issues have been sorted out, the GLFW
port will be removed.
2015-01-19 16:30:47 -07:00
Ms2ger
e239bd9644 Document js.rs. 2015-01-19 23:09:00 +01:00