bd339
0c92e19e84
make scripting_enabled
depend on a browsing context
2016-05-01 14:06:02 +02:00
bors-servo
fc1e4c8085
Auto merge of #10913 - mbrubeck:xi-unicode, r=pcwalton
...
Use xi-unicode for line breaking
This uses the xi-unicode crate by @raphlinus to detect line-break opportunities, replacing Servo's custom code that only detects ASCII whitespace. xi-unicode is licensed under the Apache-2.0 license.
See mbrubeck/servo#2 for some discussion on an earlier draft of this code. This PR implements the "search backward to find trailing whitespace" solution discussed there.
r? @pcwalton
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10913 )
<!-- Reviewable:end -->
2016-04-30 21:20:38 -07:00
Aneesh Agrawal
cca3f7a105
Remove etc/ci/retry.sh
...
It was added with the intention of being used on the CI,
but it was never added to the CI. We have better ways of finding
test failures and intermittents these days.
2016-04-30 23:51:39 -04:00
Aneesh Agrawal
1e0d039511
Clean up CI bash scripts, add docs/STYLE_GUIDE.md
2016-04-30 23:51:29 -04:00
Matt Brubeck
894f6395e6
Use xi-unicode for line breaking
2016-04-30 20:37:22 -07:00
bors-servo
77cb2ca89a
Auto merge of #10712 - KiChjang:multipart-form-data, r=jdm
...
Support form submission of multipart/form-data
Fixes #7553 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10712 )
<!-- Reviewable:end -->
2016-04-30 18:43:30 -07:00
Keith Yeung
3110647852
Make IFrameLoadInfo take an Option<LoadData> instead of Option<Url>
2016-04-30 21:43:01 -04:00
Keith Yeung
e1091128cd
Add tests for submit entity body
2016-04-30 21:42:59 -04:00
Keith Yeung
16361086d9
Add planned navigation to submit as entity body ( fixes #9829 )
2016-04-30 21:42:57 -04:00
Prabhjyot Singh Sodhi
cfde40e225
Support form submission of multipart/form-data
2016-04-30 21:42:50 -04:00
bors-servo
a868bb2a90
Auto merge of #10936 - pcwalton:wr-scroll-event-handling, r=glennw
...
compositor: When WebRender is in use, only composite on new WebRender frames.
Scheduling composition on scroll and so forth is unnecessary and can
cause us to miss frames if the code happens to start the composition
while the WebRender backend is still in the process of preparing the
frame. This is most easily seen when scrolling in full-screen mode in
release builds on Mac.
Closes #9879 .
r? @glennw
cc @paulrouget
cc @tschneidereit
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10936 )
<!-- Reviewable:end -->
2016-04-30 17:14:05 -07:00
bors-servo
8db0367301
Auto merge of #10944 - mbrubeck:bitflags-0.6, r=frewsxcv
...
Upgrade a bunch of dependencies
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10944 )
<!-- Reviewable:end -->
2016-04-30 15:21:22 -07:00
Matt Brubeck
8d540d1f9e
Upgrade bincode, pkg-config, regex, cmake, fnv
2016-04-30 15:19:38 -07:00
Matt Brubeck
1e23d90631
Upgrade to bitflags 0.6.0 and selectors 0.5.6
...
Types generated by `bitflags!` are now private by default. This PR marks them
`pub` where necessary.
2016-04-30 10:14:03 -07:00
bors-servo
b5a23a16be
Auto merge of #10941 - samlh:patch-2, r=mbrubeck
...
Remove dead code left over from #10085
cc @pcwalton
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10941 )
<!-- Reviewable:end -->
2016-04-30 09:44:25 -07:00
bors-servo
d3f55fbf60
Auto merge of #10917 - askeing:fix_10909, r=aneeshusa
...
The manifest_changed.sh doesn't need binary to update the manifests
fix #10909
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10917 )
<!-- Reviewable:end -->
2016-04-30 08:37:27 -07:00
bors-servo
d9dc6dd03c
Auto merge of #10931 - asajeffrey:send-panic-backtrace-to-mozbrowser, r=jdm
...
Send the panic reason and backtrace in mozbrowsererror.
Closes #10334 . Glues together PRs #10837 and #10824 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10931 )
<!-- Reviewable:end -->
2016-04-30 07:30:38 -07:00
bors-servo
ca291927ed
Auto merge of #10929 - mbrubeck:version-inflation, r=frewsxcv
...
Update libc, log, and image dependencies
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10929 )
<!-- Reviewable:end -->
2016-04-30 06:23:20 -07:00
bors-servo
0f1a921ba6
Auto merge of #10928 - servo:warnings, r=mbrubeck
...
Fix some warnings
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10928 )
<!-- Reviewable:end -->
2016-04-30 05:16:46 -07:00
bors-servo
491b5ff47e
Auto merge of #10923 - askeing:fix_10922, r=jdm
...
Remove dir by shutil.rmtree, remove file by os.remove
fix #10922
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10923 )
<!-- Reviewable:end -->
2016-04-30 03:42:18 -07:00
bors-servo
a98a53925f
Auto merge of #10901 - askeing:fix_10882, r=jdm
...
Handle HTTP specific errors then other errors when downloading rustc
fix #10882
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10901 )
<!-- Reviewable:end -->
2016-04-30 01:54:44 -07:00
bors-servo
fbf98214c9
Auto merge of #10896 - vramana:basic_fetch_file, r=KiChjang
...
Implement fetching file URL's
closes #10166
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10896 )
<!-- Reviewable:end -->
2016-04-29 22:54:20 -07:00
askeing
d41180ef08
The manifest_changed.sh doesn't need binary to update the manifests
2016-04-30 13:05:28 +09:00
askeing
3103cd4b34
Handle HTTP specific errors then other errors when downloading rustc
2016-04-30 12:45:32 +09:00
bors-servo
f6a5ecb4a9
Auto merge of #10935 - frewsxcv:activation-policy, r=larsbergstrom
...
Change OSX 'activiation policy' when running headless mode.
...or also when outputting a file.
Fixes servo#10836.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10935 )
<!-- Reviewable:end -->
2016-04-29 20:43:29 -07:00
Corey Farwell
71af66a349
Change OSX 'activation policy' when running headless mode.
...
...or also when outputting a file.
Fixes https://github.com/servo/servo/issues/10836 .
2016-04-29 23:42:48 -04:00
Samuel Harrington
4691dc0c6e
Remove dead code from block.rs
2016-04-29 20:13:42 -07:00
Samuel Harrington
b2cd35da47
Delete dead code from flow.rs
2016-04-29 20:12:22 -07:00
bors-servo
f75fa5283e
Auto merge of #10902 - asajeffrey:remove-explicit-panic-from-compositor, r=aneeshusa
...
Remove panic! from the compositor
Fixes #10864 , and adds a check to `/etc/ci/check_no_unwrap.sh`.
r? @aneeshusa
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10902 )
<!-- Reviewable:end -->
2016-04-29 17:25:17 -07:00
bors-servo
a7a8eba13e
Auto merge of #10899 - asajeffrey:chaos-monkey-ci, r=aneeshusa
...
Added /etc/ci/chaos_monkey_test.py.
Add a test to `/etc/ci` which runs a subset of `test-wpt` with `--random-pipeline-failure-probability=0.2`, and checks to make sure that there's no `CRASH` reports, so the constellation survived the experience, even if a lot of tests failed.
IRC conversation at http://logs.glob.uno/?c=mozilla%23servo&s=27+Apr+2016&e=27+Apr+2016#c416510
Fixes #10568 .
r? @aneeshusa
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10899 )
<!-- Reviewable:end -->
2016-04-29 16:01:45 -07:00
Patrick Walton
ed90011fa3
compositor: When WebRender is in use, only composite on new WebRender
...
frames.
Scheduling composition on scroll and so forth is unnecessary and can
cause us to miss frames if the code happens to start the composition
while the WebRender backend is still in the process of preparing the
frame. This is most easily seen when scrolling in full-screen mode in
release builds on Mac.
Closes #9879 .
2016-04-29 14:48:57 -07:00
bors-servo
407f991c8a
Auto merge of #10815 - emilio:anonbox-gcs, r=SimonSapin,bholley
...
style: Support anonymous box pseudo-elements
This is a work-in-progress that:
* Adds support for some pseudo-elements to skip the cascade entirely, in an analogous way to Gecko's anonymous box pseudo-elements.
* Takes rid of `StylistWrapper`, and uses `Arc::get_mut` instead.
* Uses the first bullet to precompute the `-servo-details-content` pseudo's style.
I'd like @bholley to take a look before following, do you think that the aproach is the correct?
Also, @SimonSapin could want to put some eyes on it.
Depends on https://github.com/servo/rust-selectors/pull/81
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10815 )
<!-- Reviewable:end -->
2016-04-29 14:27:16 -07:00
Emilio Cobos Álvarez
15a32fa8eb
geckolib: Remove unneeded unsafe.
2016-04-29 22:54:58 +02:00
Emilio Cobos Álvarez
41f3b1c2ba
style: Remove unneeded lifetime
2016-04-29 22:54:57 +02:00
Emilio Cobos Álvarez
f12e4b826f
style: Add doc-comment about is_eagerly_cascaded_pseudo_element
2016-04-29 22:54:56 +02:00
Emilio Cobos Álvarez
2dbd17040a
geckolib: Refactor atom-to-pseudo logic and use ArcHelpers when
...
appropiate
2016-04-29 22:54:55 +02:00
Emilio Cobos Álvarez
02da1bb050
geckolib: Regen bindings, implement anon-box computed values, and pass
...
correct origin to StyleSheet::from_raw
2016-04-29 22:54:54 +02:00
Emilio Cobos Álvarez
9038b3a8c1
geckolib: Parse anon-box pseudo-elements just on UA stylesheets
2016-04-29 22:54:54 +02:00
Emilio Cobos Álvarez
227e39d558
style: Reset the per-pseudo-element maps when update()
is called
...
This was causing panics in stylo.
2016-04-29 22:54:53 +02:00
Emilio Cobos Álvarez
9c44062836
layout: be clearer about resolved_style
2016-04-29 22:54:52 +02:00
Emilio Cobos Álvarez
1a0175fdbb
geckolib: Fix geckolib build after style and layout changes
2016-04-29 22:54:51 +02:00
Emilio Cobos Álvarez
5577a083ec
layout: Simplify ThreadSafeLayout::text_content
2016-04-29 22:54:50 +02:00
Emilio Cobos Álvarez
2e05190e68
layout: Add test for size of ServoThreadSafeLayoutNode
2016-04-29 22:54:50 +02:00
Emilio Cobos Álvarez
cf5c090576
layout: Don't force to overwrite display for pseudo-elements.
2016-04-29 22:54:49 +02:00
Emilio Cobos Álvarez
2a499d5a0b
layout: Stop storing PrecomputedStyleData in LayoutNode
...
Use the SharedStyleContext instead.
2016-04-29 22:54:48 +02:00
Emilio Cobos Álvarez
979c3a54b9
layout: Tidy a bit style pseudo-elements stuff
2016-04-29 22:54:47 +02:00
Emilio Cobos Álvarez
5a43c7e3cd
style: Allow inheritance when computing anonymous box styles
...
This is used a lot by Gecko, not still for servo though.
2016-04-29 22:54:46 +02:00
Emilio Cobos Álvarez
3563ecb770
style: Use precomputation for the -servo-details-content pseudo-element
2016-04-29 22:54:45 +02:00
Emilio Cobos Álvarez
b6402a81d0
style: Add infrastructure for non-eagerly-cascaded pseudo-elements
...
This commit also removes StylistWrapper and uses Arc::get_mut instead.
2016-04-29 22:54:45 +02:00
Emilio Cobos Álvarez
2dacbc6fb3
cargo: Bump selectors and string_cache
2016-04-29 22:54:44 +02:00