Commit graph

1384 commits

Author SHA1 Message Date
bors-servo
21fd1120c3 auto merge of #4532 : saneyuki/servo/event, r=jdm
Fix #4505
2015-01-09 13:54:47 -07:00
Tetsuharu OHZEKI
0237561511 Make DOMContentLoaded and load asynchronous with using Runnable. 2015-01-10 04:05:46 +09:00
Edit Balint
81f47344d6 CanvasRenderTask connected to Layout
Update rust-azure to f4a02f3f621b0a994a20d42e438371a87c62f898.
2015-01-09 18:53:10 +01:00
bors-servo
43e34d6d10 auto merge of #4588 : Ms2ger/servo/layout-cleanup, r=larsbergstrom 2015-01-09 09:42:48 -07:00
bors-servo
ffdbf29db2 auto merge of #4557 : pcwalton/servo/filter, r=mbrubeck
`blur` and `drop-shadow` are not yet supported, because the
`text-shadow` PR makes some fundamental changes to blur rendering that
are needed first.

r? @mbrubeck
2015-01-09 09:03:48 -07:00
Patrick Walton
15d60d7ea4 layout: Implement filter per CSS-FILTERS § 5.
`blur` and `drop-shadow` are not yet supported, because the
`text-shadow` PR makes some fundamental changes to blur rendering that
are needed first.
2015-01-09 07:26:13 -08:00
bors-servo
0b06aeebe3 auto merge of #4553 : mrobinson/servo/paint-task-cleanup, r=larsbergstrom
This simplifies calling it substantially. Also avoid unnecessarily
changing the PaintTask epoch when we don't have paint permission.
2015-01-09 08:24:48 -07:00
bors-servo
6b3c05cdd2 auto merge of #4585 : Ms2ger/servo/NavigatorInfo, r=jdm
It serves no purpose.
2015-01-09 07:48:49 -07:00
bors-servo
f74d5360ba auto merge of #4584 : Ms2ger/servo/unsafe, r=jdm
As a first start, this allows them indiscriminately where used.
2015-01-09 07:15:52 -07:00
bors-servo
c338dbe947 auto merge of #4586 : Swatinem/servo/noderemove, r=Ms2ger
fixes #4562
2015-01-09 05:57:51 -07:00
Ms2ger
b14a94a30f Pass a Vec to ApplicableDeclarationsCacheEntry::new.
As it copies the slice anyway, it is better to give the caller the opportunity
to pass in an existing Vec.
2015-01-09 13:30:43 +01:00
Ms2ger
f8785beb24 Remove transmutes in LayoutContext. 2015-01-09 13:30:42 +01:00
bors-servo
3e8cab758e auto merge of #4579 : mattnenterprise/servo/textinput-select-refactor, r=jdm
Fixes #4573 Replaces the boolean argument of TextInput::adjust[horizontal | vertical] with enum to self document the code
2015-01-09 05:24:50 -07:00
Arpad Borsos
322daccb42 Fix assertion trying to remove a Node that has no parent
fixes #4562
2015-01-09 12:47:28 +01:00
Ms2ger
8afc104d4b Remove the NavigatorInfo struct.
It serves no purpose.
2015-01-09 12:10:08 +01:00
Ms2ger
edc1d89251 Deny unsafe blocks in script.
As a first start, this allows them indiscriminately where used.
2015-01-09 10:13:25 +01:00
bors-servo
94a4a55332 auto merge of #4580 : glennw/servo/glutin-hidpi, r=larsbergstrom 2015-01-08 16:39:51 -07:00
Matt McCoy
64dda93242 Fixes #4573 Replaces the boolean argument of TextInput::adjust[horizontal|vertical] with enum to self document the code 2015-01-08 18:13:52 -05:00
bors-servo
0793137631 auto merge of #4575 : mttr/servo/warnings, r=jdm
Notes:

* This adds `#![allow(missing_copy_implementations)]` to components/*/lib.rs. I'm not sure how to approach the missing Copy warnings (are there things for which Copy should NOT be implemented, and how can I tell?) so I stuck this in to make life easier when looking through the warnings. I can easily remove this if necessary. 
* This leaves the following type of warnings, which I couldn't figure out how to approach (I'll investigate it later if no one else wants to).
```
css/matching.rs:72:23: 72:35 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default
css/matching.rs:72         this_as_query.equiv(other)
                                         ^~~~~~~~~~~~
css/matching.rs:95:10: 95:49 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default
css/matching.rs:95 impl<'a> Equiv<ApplicableDeclarationsCacheEntry> for ApplicableDeclarationsCacheQuery<'a> {
```
2015-01-08 16:03:55 -07:00
bors-servo
1699864f53 auto merge of #4546 : glennw/servo/cef-resources, r=larsbergstrom 2015-01-08 15:27:54 -07:00
bors-servo
4cd9eb1253 auto merge of #4574 : Ms2ger/servo/if_let, r=Manishearth
This feature is now supported unconditionally.
2015-01-08 14:42:53 -07:00
Glenn Watson
09d97bbf40 Fix android unused import error. 2015-01-09 07:39:29 +10:00
Glenn Watson
3e3e3be702 Update glutin for hidpi tests on mac. 2015-01-09 07:13:08 +10:00
Glenn Watson
cf047d6cef Add ability to explicitly set static resources path, used by cef-linux. 2015-01-09 07:04:44 +10:00
bors-servo
1a021f6635 auto merge of #4523 : pcwalton/servo/text-rendering, r=mbrubeck
Like Gecko, we treat `geometricprecision` the same as
`optimizelegibility` for now.

r? @mbrubeck
2015-01-08 13:48:53 -07:00
Patrick Walton
53b74ae853 layout: Implement text-rendering per SVG 1.1 § 11.7.4.
Like Gecko, we treat `geometricprecision` the same as
`optimizelegibility` for now.
2015-01-08 12:32:58 -08:00
bors-servo
7800d98728 auto merge of #4566 : mattnenterprise/servo/globalref-by-value, r=Ms2ger 2015-01-08 13:12:55 -07:00
bors-servo
1458709247 auto merge of #4558 : mrobinson/servo/compositor-message-renames, r=zwarich
These names no longer reflect what the messages do, so rename them to
SetFrameTree, AssignPaintedBuffers, and CreateOrUpdateBaseLayer.
2015-01-08 12:36:53 -07:00
Patrick Walton
af7cf26e76 layout: Implement outline-offset per CSS-UI-3 § 5.5. 2015-01-08 10:49:54 -08:00
bors-servo
a88e668091 auto merge of #4530 : pcwalton/servo/pointer-events, r=mbrubeck
SVG-only values are not yet supported.

r? @mbrubeck
2015-01-08 10:48:55 -07:00
bors-servo
3d9200e406 auto merge of #4529 : pcwalton/servo/word-break, r=mbrubeck
r? @mbrubeck
2015-01-08 10:09:55 -07:00
Patrick Walton
0627d4c599 layout: Implement word-break: break-all per CSS3-TEXT § 5.2. 2015-01-08 09:04:24 -08:00
Matthew Rasmus
020a767849 Fix Equiv related deprecation warnings
...except where we have our own implementations of Equiv.
2015-01-08 08:51:11 -08:00
Matthew Rasmus
7bbce60e43 Fix renamed to slice::from_raw_buf warning 2015-01-08 08:51:11 -08:00
Matthew Rasmus
9cfd258a21 Fix use UnicodeChar::to_lowercase warning 2015-01-08 08:51:11 -08:00
Matthew Rasmus
b7a704b416 Fix renamed to into_inner() warnings 2015-01-08 08:51:11 -08:00
Matthew Rasmus
fc49e10f7e Fix unnecessary unsafe block warning 2015-01-08 08:51:11 -08:00
Matthew Rasmus
6364636693 Fix use Deref instead warning 2015-01-08 08:51:11 -08:00
Matthew Rasmus
a3fc3a1581 Allow missing_copy_implementations 2015-01-08 08:51:11 -08:00
Matthew Rasmus
dc72119998 Fix non_upper_case_globals warnings 2015-01-08 08:51:11 -08:00
Matthew Rasmus
01d4739d16 Fix variable does not need to be mutable warning 2015-01-08 08:51:10 -08:00
Matthew Rasmus
c9325c9711 Fix use {f32,f64}::consts warning 2015-01-08 08:51:10 -08:00
Matthew Rasmus
9881ecf8e2 Fix string::raw::from_buf deprecation warning 2015-01-08 08:51:10 -08:00
Patrick Walton
899c9429d0 layout: Implement pointer-events: none per SVG 1.1 § 16.6.
SVG-only values are not yet supported.
2015-01-08 08:32:26 -08:00
bors-servo
ec474ae835 auto merge of #4541 : Manishearth/servo/ban-stuff, r=jdm
Didn't do the `Vec<Temporary<T>>` banning since we might want to whitelist something there. I'll work on that next.
2015-01-08 09:30:54 -07:00
Ms2ger
5f31da82bd Remove if_let feature gates.
This feature is now supported unconditionally.
2015-01-08 17:26:06 +01:00
Matt McCoy
5a54843111 Fixes #4164 Make file.rs Constructor and new functions take GlobalRef by value 2015-01-08 11:18:16 -05:00
bors-servo
df6a7959df auto merge of #4069 : guillaumebort/servo/fix/3936, r=jdm 2015-01-08 08:48:54 -07:00
Ms2ger
16c7060bc8 Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. 2015-01-08 09:58:46 -05:00
Matt McCoy
85df7f0d6f Fixes #4164 Make Constructor and new functions take GlobalRef by value 2015-01-07 18:52:41 -05:00