Commit graph

2018 commits

Author SHA1 Message Date
Ms2ger
009cc87b6a Rename getOwnPropertyNames_ and enumerate_ to get_own_property_names and enumerate. 2015-01-29 17:28:07 +01:00
Ms2ger
bcd9ca6081 Rename FillPropertyDescriptor to fill_property_descriptor. 2015-01-29 17:28:07 +01:00
Ms2ger
2592045ed4 Rename EnsureExpandoObject to ensure_expando_object. 2015-01-29 17:28:07 +01:00
Ms2ger
0b9549746b Rename GetExpandoObject to get_expando_object. 2015-01-29 17:28:07 +01:00
Ms2ger
f84cbd4025 Rename _obj_toString to object_to_string. 2015-01-29 17:28:06 +01:00
Ms2ger
6920aa970d Rename delete_ to delete. 2015-01-29 17:28:06 +01:00
Ms2ger
d7de6973c7 Rename defineProperty_ to define_property. 2015-01-29 17:28:06 +01:00
Ms2ger
4b0c4e5ba2 Rename getPropertyDescriptor to get_property_descriptor. 2015-01-29 17:28:05 +01:00
bors-servo
7f9256e87b auto merge of #4764 : glennw/servo/inline-iframes, r=pcwalton 2015-01-29 08:24:48 -07:00
Ms2ger
505159a464 Import the util crate as util rather than servo_util.
This used to conflict with the util crate from the standard library, which
has long since been removed.

The import in layout has not been changed because of a conflict with the
util mod there.
2015-01-29 12:16:41 +01:00
Glenn Watson
1f37c6eabe Add layout support and tests for inline iframes. Fixes #1697. 2015-01-29 16:36:20 +10:00
Patrick Walton
d891c677aa layout: Implement floated list items.
This patch also makes Servo not crash when
`generated_containing_block_rect()` is called on a list item (as, for
example, GitHub does), and for good measure I added the fix to other
flows as well.
2015-01-28 19:58:24 -08:00
bors-servo
c8e68fa45c auto merge of #4592 : pcwalton/servo/text-overflow, r=mbrubeck
Only the one-value syntax is supported for now.

r? @mbrubeck
2015-01-28 17:24:50 -07:00
Patrick Walton
0f8e436745 layout: Implement text-overflow: ellipsis per CSS-UI-3 § 6.2.
Only the one-value syntax is supported for now.
2015-01-28 16:23:31 -08:00
Martin Robinson
fb3c2c38ee Update to the latest rust-layers
Fixes #4754.
2015-01-28 14:15:10 -08:00
bors-servo
3736396c63 auto merge of #4524 : pcwalton/servo/font-stretch, r=glennw
r? @glennw
2015-01-28 13:57:58 -07:00
Patrick Walton
abddfa742f gfx: Implement font-stretch per CSS3-FONTS § 3.3 in the Core Text
font backend.
2015-01-28 12:42:52 -08:00
bors-servo
88b781421a auto merge of #4756 : Ms2ger/servo/warnings, r=mbrubeck 2015-01-28 13:15:53 -07:00
Ms2ger
2026cbada2 Fix various build warnings. 2015-01-28 20:42:39 +01:00
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