Aleksandr Likhanov
d891e75d9d
fix intermittent Option::unwrap in timers
...
not allow to fire timers installed during another timer call
2015-12-04 20:16:43 +05:00
bors-servo
65108348aa
Auto merge of #8714 - frewsxcv:body-fgcolor, r=Ms2ger
...
Implement attribute 'fgColor' on 'document'
The 'text' attribute was implemented on `<body>` in #7841
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8714 )
<!-- Reviewable:end -->
2015-12-01 21:40:58 +05:30
bors-servo
b4906aa008
Auto merge of #8755 - glennw:vsync, r=pcwalton
...
Add debug option to disable vsync for profiling.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8755 )
<!-- Reviewable:end -->
2015-12-01 05:26:00 +05:30
Glenn Watson
6c8905126f
Add debug option to disable vsync for profiling.
2015-12-01 09:52:13 +10:00
Corey Farwell
320263199f
Implement attribute 'fgColor' on 'document'
...
The 'text' attribute was implemented on '<body>' in #7841
2015-11-30 18:19:07 -05:00
Josh Matthews
c23cbd4163
Dispatch load events for cross origin iframes. Resolves #6672 .
2015-11-30 17:37:16 -05:00
bors-servo
2a125b5613
Auto merge of #8731 - eefriedman:root-lint-pattern, r=Manishearth
...
Fix false positive in unrooted_must_root lint.
Encountered in #8725 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8731 )
<!-- Reviewable:end -->
2015-12-01 00:24:03 +05:30
Eli Friedman
962c06e9da
Fix false positive in unrooted_must_root lint.
...
Encountered in #8725 .
2015-11-30 10:53:32 -08:00
bors-servo
595bda478e
Auto merge of #8752 - Manishearth:om-nom, r=metajack
...
Make `path_matches` match the spec (fixes cookies)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8752 )
<!-- Reviewable:end -->
2015-11-30 23:18:39 +05:30
Manish Goregaokar
f8d906be10
Make path_matches
match the spec (fixes cookies)
2015-11-30 22:01:33 +05:30
bors-servo
29c42a9f78
Auto merge of #8751 - nox:rm-prototype-slot, r=Ms2ger
...
Remove unused slot in prototype object (fixes #8588 )
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8751 )
<!-- Reviewable:end -->
2015-11-30 19:27:57 +05:30
Anthony Ramine
7547bcac24
Remove unused slot in prototype object ( fixes #8588 )
2015-11-30 14:48:24 +01:00
bors-servo
0f72049363
Auto merge of #8705 - jsanders:fix-sleep-ms-deprecations, r=metajack,Wafflespeanut
...
Use thread::sleep instead of deprecated sleep_ms
Similarly, change one instance of `thread::park_timeout_ms`.
Fixes #8694
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8705 )
<!-- Reviewable:end -->
2015-11-30 09:20:15 +05:30
bors-servo
a877a56e0e
Auto merge of #8661 - craftytrickster:8623/some-webdriver-commands, r=jgraham
...
Webdriver - GetWindowSize/IsEnabled/IsSelected
Added handlers for https://github.com/servo/servo/issues/8623 :
GetWindowSize
IsEnabled(WebElement)
IsSelected(WebElement)
I am not sure how to actually verify my webdriver code works, if someone can give advice I would make the necessary changes.
Thanks!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8661 )
<!-- Reviewable:end -->
2015-11-30 03:42:54 +05:30
David Raifaizen
8d451076e1
Removed duplicate webdriver_traits file and added webdriver handler for GetWindowSize, IsSelected and IsEnabled
2015-11-29 15:48:23 -05:00
James Sanders
3659218c59
Use thread::sleep instead of deprecated sleep_ms
...
Similarly, change one instance of `thread::park_timeout_ms`.
Fixes #8694
2015-11-29 13:41:04 -07:00
Jason Schein
ccb8d070ad
Make OnErrorEventHandlerNonNull return 'any' instead of 'boolean'.
2015-11-29 00:10:32 -08:00
bors-servo
2d164f2beb
Auto merge of #8729 - dzbarsky:canvas_webidl, r=dzbarsky
...
Update Canvas webIDL to spec
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8729 )
<!-- Reviewable:end -->
2015-11-29 09:32:28 +05:30
David Zbarsky
ee3f7ad451
Update Canvas webIDL to spec
2015-11-28 20:03:48 -08:00
Bobby Holley
cf33f00018
Generalize the rest of layout to operate on generic Layout*.
...
There wasn't a good way to split this up, unfortunately.
With this change, the only remaining usage of the Servo-specific structures is
in layout_task, where the root node is received from the script task. \o/
2015-11-28 18:01:02 -08:00
Bobby Holley
77a8091996
Generalize css/matching.rs to operate on generic Layout*.
2015-11-28 18:01:02 -08:00
Bobby Holley
3aeaff35de
Switch ChildrenIterator to be an associated type.
...
If we use ThreadsafeLayoutNodeChildrenIterator directly as the return type of children(),
we need to export the DangerousThreadSafeLayoutNode which the iterator implementation
relies upon.
2015-11-28 18:01:02 -08:00
Bobby Holley
2cfe4de09b
Constrain the ConcreteLayoutFoo associated types to provide full tri-ality among the types.
...
Otherwise we end up with this problem: http://is.gd/ACBLAU
2015-11-28 18:01:02 -08:00
Corey Farwell
feb16463ef
Add tracking issues for body/document attributes
2015-11-28 17:53:59 -05:00
bors-servo
d48d8b3ea1
Auto merge of #8713 - GuillaumeGomez:features, r=Manishearth
...
Remove stabilized features
Fixes #8706 .
cc @KiChjang
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8713 )
<!-- Reviewable:end -->
2015-11-28 21:58:43 +05:30
bors-servo
eadaf30af3
Auto merge of #8703 - eefriedman:dom-getter-setter-atom, r=frewsxcv
...
Compute attribute name atoms at compile-time.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8703 )
<!-- Reviewable:end -->
2015-11-28 20:40:07 +05:30
bors-servo
dbff1ab336
Auto merge of #8692 - GuillaumeGomez:patch-1, r=Wafflespeanut
...
Ensure crate are alphabetically sorted
cc @nox
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8692 )
<!-- Reviewable:end -->
2015-11-28 19:34:11 +05:30
bors-servo
b4213e6d8e
Auto merge of #8698 - servo:rustup_2015-11-26, r=Manishearth
...
Upgrade to rustc 1.6.0-nightly (1805bba39 2015-11-26)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8698 )
<!-- Reviewable:end -->
2015-11-28 12:11:52 +05:30
Guillaume Gomez
e1e2b61049
Remove stabilized features
2015-11-28 05:48:03 +01:00
bors-servo
d50b87edec
Auto merge of #8702 - mrobinson:fragments, r=pcwalton
...
Build Fragments without the RECONSTRUCT_FLOW bit
The RECONSTRUCT_FLOW restyle damage bit shouldn't apply to newly
constructed flow tree elements. It is explicitly removed for Flows, but
not for Fragments. This causes RECONSTRUCT_FLOW to bubble up to Flows
that contain any Fragments at all. Instead explicitly remove the
RECONSTRUCT_FLOW bit when creating a new Fragment.
There isn't a good way to test this currently, but all tests should
continue to pass.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8702 )
<!-- Reviewable:end -->
2015-11-28 10:04:28 +05:30
Guillaume Gomez
6e7de62b38
Add check up on extern crate order and sort extern crates alphabetically
2015-11-28 03:11:08 +01:00
bors-servo
fa7e1d07ff
Auto merge of #8688 - Ms2ger:compositing, r=pcwalton
...
Some compositing cleanup.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8688 )
<!-- Reviewable:end -->
2015-11-28 07:26:14 +05:30
bors-servo
c0be03f2af
Auto merge of #8701 - nerith:attribute, r=jdm
...
Remove `#[allow(raw_pointer_derive)]` attributes
The attributes are unused.
Fixes #8699 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8701 )
<!-- Reviewable:end -->
2015-11-28 06:07:46 +05:30
Eli Friedman
c02c0576c8
Compute attribute name atoms at compile-time.
2015-11-27 15:42:34 -08:00
Martin Robinson
12db4594dd
Build Fragments without the RECONSTRUCT_FLOW bit
...
The RECONSTRUCT_FLOW restyle damage bit shouldn't apply to newly
constructed flow tree elements. It is explicitly removed for Flows, but
not for Fragments. This causes RECONSTRUCT_FLOW to bubble up to Flows
that contain any Fragments at all. Instead explicitly remove the
RECONSTRUCT_FLOW bit when creating a new Fragment.
There isn't a good way to test this currently, but all tests should
continue to pass.
2015-11-27 22:27:21 +01:00
Brandon Fairchild
341e66f66d
Remove #[allow(raw_pointer_derive)]
attributes
...
The attributes are unused.
Fixes #8699 .
2015-11-27 14:32:57 -05:00
bors-servo
99223656fb
Auto merge of #8675 - GuillaumeGomez:master, r=nox
...
Add XMLDocument object
Fixes #8000
(Still working on it)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8675 )
<!-- Reviewable:end -->
2015-11-27 19:29:04 +05:30
Guillaume Gomez
adf8b359bb
Add XMLDocument object
2015-11-27 14:55:41 +01:00
Simon Sapin
8d7d132c93
Upgrade to rustc 1.6.0-nightly (1805bba39 2015-11-26)
2015-11-27 14:33:29 +01:00
Keith Yeung
d426dd29d1
Use set_plaintext_state instead of plaintext tag
2015-11-27 00:45:34 -08:00
bors-servo
a515fe320b
Auto merge of #8516 - KiChjang:http-fetch-refactor, r=jdm
...
Refactor http_fetch to reflect the new standard
Partial #4576 . The spec is really getting funky now - it's depending more and more on the DOM objects (e.g. prompting the user for authentication using a `Window` object). I think we can just pass in username and password as properties of the `Request` struct though.
I've also added in the async version for http_request.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8516 )
<!-- Reviewable:end -->
2015-11-27 11:39:32 +05:30
Manish Goregaokar
dc0e467945
Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)
...
… and libc 0.2 and many other dependencies
2015-11-27 00:15:29 -05:00
bors-servo
bc618b0d53
Auto merge of #8689 - jdm:deps, r=frewsxcv
...
Remove remaining version-conflict exceptions in tidy.py.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8689 )
<!-- Reviewable:end -->
2015-11-27 09:17:54 +05:30
Keith Yeung
7d3eb72a26
Refactor http_fetch to reflect the new standard
2015-11-26 17:12:19 -08:00
bors-servo
f96e8ce9e8
Auto merge of #8685 - jmr0:master, r=Ms2ger
...
tidy rule to warn against use of &String and refactoring
Fixes #8681
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8685 )
<!-- Reviewable:end -->
2015-11-27 04:48:38 +05:30
bors-servo
f5ef2f4f75
Auto merge of #8682 - jdm:css-error-reporter, r=jdm
...
Defined new trait ParseErrorReporter and added error_reporter member …
…to ParserContext.
Rebase of #8210 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8682 )
<!-- Reviewable:end -->
2015-11-27 03:56:08 +05:30
bors-servo
3614ed74d9
Auto merge of #8679 - jdm:rmprintln, r=larsbergstrom
...
Fix #8502 by not printing the message which is known to be repeated m…
…illions of times.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8679 )
<!-- Reviewable:end -->
2015-11-27 03:26:35 +05:30
bors-servo
831979d6a7
Auto merge of #8650 - Wafflespeanut:about-404, r=Wafflespeanut
...
Redirect to an error page on 404!
fixes #7658
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8650 )
<!-- Reviewable:end -->
2015-11-26 22:47:03 +05:30
Josh Matthews
c36cbf58e8
Remove remaining version-conflict exceptions in tidy.py.
2015-11-26 11:26:28 -05:00
Ms2ger
9d73b869db
Consume self in PrivilegedPipelineContent methods.
...
This leads to a little bit of copy/paste, but the resulting code should be
quite a bit more efficient.
2015-11-26 10:23:11 +01:00