Simon Sapin
f770dbabd7
Warn about sorting alphabetically in the reftest list file.
2015-03-07 17:58:00 +01:00
Gilles Leblanc
54dfb659ec
Organize reftest list alphabetically and make the tidy script check it
...
Reftest list check is checked using Python's default string comparison.
Also added a notice in the tidy script when there are no errors.
Fixes #5092
2015-03-07 17:51:17 +01:00
bors-servo
4f3feed2be
auto merge of #5150 : Adenilson/servo/reflowNotifications03, r=jdm
2015-03-06 21:48:50 -07:00
Jack Moffitt
43c82b9076
Fix scrolling on OS X.
...
This just requires updating glutin and cocoa to pick up some backported fixes.
2015-03-06 16:37:29 -07:00
bors-servo
73e5bbec43
auto merge of #5054 : psdh/servo/scriptimplementation, r=jdm
...
Fixes #4089
2015-03-06 13:36:53 -07:00
Adenilson Cavalcanti
618f56410d
Implements reflow events debugging.
...
Start servo with -Z relayout-event and you should have
reflow events printed to the terminal.
2015-03-06 12:27:18 -08:00
bors-servo
f7725b6667
auto merge of #5167 : metajack/servo/fix-post-build, r=mbrubeck
...
`./mach run --release` was completely broken and always ran the dev profile.
2015-03-06 12:18:56 -07:00
Jack Moffitt
aedd157035
Fix post build commands.
...
`./mach run --release` was completely broken and always ran the dev profile.
2015-03-06 10:36:45 -07:00
bors-servo
4bd5aed500
auto merge of #5153 : cyndis/servo/check-font-result, r=jdm
...
Thread font load errors from platform font loading code to
FontContext::get_layout_font_group_for_style, and cache the failure
result, instead of panicing the thread when a font fails to load.
Before this patch, a failed font load would panic a LayoutTask,
causing a cascade of panics, eventually aborting the whole engine
during a panic within panic.
On my Arch Linux machine almost every page would crash in this manner,
including e.g. reddit.com and cnn.com. Mosf of the requested fonts would
load fine but some single variant of Helvetica would fail always. Not sure
how to create a test for this as it seems pretty system-specific.
Cheers,
cyndis
2015-03-06 10:31:05 -07:00
bors-servo
eda9c0c9ac
auto merge of #5139 : JIoJIaJIu/servo/trace, r=jdm
2015-03-06 09:42:52 -07:00
Mikko Perttunen
92a4bba785
Handle font load errors in FontContext
...
Thread font load errors from platform font loading code to
FontContext::get_layout_font_group_for_style, and cache the failure
result, instead of panicing the thread when a font fails to load.
Before this patch, a failed font load would panic a LayoutTask,
causing a cascade of panics, eventually aborting the whole engine
during a panic within panic.
2015-03-06 18:18:22 +02:00
Guro Bokum
bf26d61d5e
ScriptTask::mouse_over_targets is not traced #4985
2015-03-06 20:22:41 +07:00
bors-servo
1a73766db2
auto merge of #5105 : gilles-leblanc/servo/issue-5063, r=jdm
...
Adds hostsfile parsing support for:
* Tabs
* Comments (line and end of line)
* IPv4 address validation
* Basic IPv6 address validation
* End of line whitespaces
* Host name alias (multiple host names per address)
Fixes #5063
2015-03-05 20:03:55 -07:00
Gilles Leblanc
70aa253a65
Specify regex and regex_macros version numbers
...
For compatibility with current Rust version.
Issue #5063
2015-03-05 21:09:41 -05:00
bors-servo
a557b51c28
auto merge of #5154 : luniv/servo/viewpoint-percent-lengths, r=SimonSapin
...
Spec: http://dev.w3.org/csswg/css-values-3/#viewport-relative-lengths
2015-03-05 18:55:02 -07:00
Gilles Leblanc
0faa55d2ce
Add more robust hostsfile parsing
...
Adds hostsfile parsing support for:
* Tabs
* Comments (line and end of line)
* IPv4 address validation
* Basic IPv6 address validation
* End of line whitespaces
* Host name alias (multiple host names per address)
Fixes #5063
2015-03-05 20:33:33 -05:00
bors-servo
0a7e495bea
auto merge of #5161 : glennw/servo/workaround-race, r=pcwalton
...
A race condition exists where pipelines that are removed from a document
may not ever trigger a paint for that pipeline. The compositor relies
on a paint occurring for each pipeline before outputting the image when
in reftest mode.
2015-03-05 18:15:50 -07:00
Glenn Watson
14e438391a
Disable flaky reftests until a proper solution is found.
...
A race condition exists where pipelines that are removed from a document
may not ever trigger a paint for that pipeline. The compositor relies
on a paint occurring for each pipeline before outputting the image when
in reftest mode.
2015-03-06 10:24:20 +10:00
Prabhjyot Singh Sodhi
64ba4a914e
implement missing steps from "prepare a script" algorithm
...
Fixes #4089
2015-03-06 03:16:59 +05:30
James Gilbertson
1931a69ad2
Remove un-used use statement
2015-03-05 12:45:59 -07:00
James Gilbertson
a8cd40e270
Remove the 'ch' font-relative length unit
2015-03-05 12:45:58 -07:00
James Gilbertson
dc5a9e56c7
The 'font-size' property needs to use context.inherited_font_size, not context.font_size
2015-03-05 12:45:58 -07:00
bors-servo
7fc37dfaa7
auto merge of #5135 : iamdanfox/servo/fix-5120-rename-layout-util, r=jdm
...
A simple rename/refactor (https://github.com/servo/servo/issues/5120 )
My first servo contribution!
2015-03-05 11:09:58 -07:00
Dan Fox
559ff68b31
Get rid of servo_util
2015-03-05 17:42:05 +00:00
Dan Fox
19686acdec
Merge in servo/master
2015-03-05 17:34:18 +00:00
Simon Sapin
c066377fc5
Add support for changing the viewport size in reftests.
...
Usage example, in `*.list` files:
resolution=200x300 == something.html something_ref.html
2015-03-05 16:52:16 +01:00
bors-servo
caf5663e09
auto merge of #5155 : Ms2ger/servo/unused-import, r=SimonSapin
2015-03-05 08:27:50 -07:00
Ms2ger
ff2f7ea567
Remove an unused import from properties.rs.
2015-03-05 16:21:57 +01:00
James Gilbertson
bc1c44bbc2
Implement viewport percentage length units ('vw', 'vh', 'vmin', 'vmax')
2015-03-05 07:11:34 -07:00
James Gilbertson
16a8047343
Defer media query width computation until evalation
2015-03-05 07:09:10 -07:00
James Gilbertson
41786c4cb4
Refactor style::values::specified::Length to store length by kind (absolute, font-relative or character width)
2015-03-05 07:09:10 -07:00
James Gilbertson
00785ecf63
Make the initial viewport size available to style::properties::cascade
2015-03-05 07:09:10 -07:00
bors-servo
67548a6244
auto merge of #5127 : KiChjang/servo/partial-eq-jsref, r=Ms2ger
...
Fixes #5112 , #3960
2015-03-05 01:15:44 -07:00
bors-servo
34289943e3
auto merge of #5144 : Adenilson/servo/removeFlushLayout01, r=Manishearth
...
Due to changes on Page/Window interfaces, we no longer have use for flush_layout().
2015-03-04 16:54:44 -07:00
Adenilson Cavalcanti
a31d3d7f70
Due to changes on Page/Window interfaces, we no longer have use
...
for flush_layout().
2015-03-04 11:39:29 -08:00
bors-servo
761f7f056c
auto merge of #5137 : Adenilson/servo/cleanupWarning02, r=jdm
2015-03-04 07:51:44 -07:00
bors-servo
373a720dfd
auto merge of #5141 : SimonSapin/servo/silent-submodule-sync, r=Manishearth
...
This eliminates the
Synchronizing submodule url for 'support/android-rs-glue'
Synchronizing submodule url for 'tests/wpt/web-platform-tests'
messages that appeared for every `mach build` command.
2015-03-04 05:51:44 -07:00
Simon Sapin
b613519a52
Make submodule sync silent (and recursive).
...
This eliminates the
Synchronizing submodule url for 'support/android-rs-glue'
Synchronizing submodule url for 'tests/wpt/web-platform-tests'
messages that appeared for every `mach build` command.
2015-03-04 13:43:51 +01:00
bors-servo
9d58c086e7
auto merge of #5128 : bjwbell/servo/inline-block_fix_min-width, r=jdm
...
With inline-block elements set the width to max(min width,
specified width) instead of only using the specified width.
Fixes https://github.com/servo/servo/issues/4945
2015-03-03 22:24:44 -07:00
Bryan Bell
a35ffe1c6e
For inline-block correctly use min-width
...
With inline-block elements set the width to max(min width,
specified width) instead of only using the specified width.
2015-03-03 21:06:57 -08:00
bors-servo
07a3ce2ce1
auto merge of #5130 : bjwbell/servo/inline_block_overflow_ref_test, r=glennw
...
For https://github.com/servo/servo/issues/3725
2015-03-03 21:48:43 -07:00
Bryan Bell
3b32178962
Add inline-block overflow ref test
...
For https://github.com/servo/servo/issues/3725
2015-03-03 20:44:49 -08:00
Adenilson Cavalcanti
463f03826f
Cleanup compilation warning in OSX (should still work on Linux).
2015-03-03 16:01:25 -08:00
bors-servo
72f8898990
auto merge of #5118 : jdm/servo/pageload, r=Ms2ger
...
Rebased and improved version of #4967 .
2015-03-03 16:03:45 -07:00
Josh Matthews
b89339d055
Add missing crate to gonk.
2015-03-03 17:56:55 -05:00
bors-servo
e19fbc686c
auto merge of #5125 : glennw/servo/remove-iframe-layers, r=larsbergstrom
2015-03-03 15:12:45 -07:00
Glenn Watson
86baef2cc0
Remove compositor layers when iframes are removed from doc or display:none.
2015-03-04 07:51:46 +10:00
Josh Matthews
9a3d58032d
Update WPT expectations.
2015-03-03 16:25:40 -05:00
Josh Matthews
1fb12b11f4
Remove the newly-created Page from the tree if loading fails.
2015-03-03 16:25:40 -05:00
Josh Matthews
4972b623e1
Separate disposing of layout data from the GCing of the DOM object reflectors. Change the order of operations when shutting down the script task to ensure that Window globals aren't used after they've been GCed.
2015-03-03 16:25:40 -05:00