bors-servo
df74ed136c
Auto merge of #6206 - nox:typeerror-for-unions, r=Manishearth
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6206 )
<!-- Reviewable:end -->
2015-05-28 06:24:00 -05:00
Anthony Ramine
2c6d2d3abe
Make throw_not_in_union() throw a TypeError ( fixes #6194 )
2015-05-28 13:03:28 +02:00
bors-servo
2b52006b1c
Auto merge of #5981 - Jinwoo-Song:nodeiterator, r=Manishearth
...
Implement NodeIterator's basic functionality. (Fixes #1235 ) But the cases for node removals are not implemented yet.
r? @jdm
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5981 )
<!-- Reviewable:end -->
2015-05-28 05:14:08 -05:00
Jinwoo Song
db25be7bf6
Update NodeIterator code to apply review comments.
2015-05-28 18:37:27 +09:00
bors-servo
af81db5479
Auto merge of #6198 - Jinwoo-Song:freetype, r=metajack
...
It is recommended to use FT_Done_Library with FT_New_Library
from freetype document.
Fixes #6191 .
r? @jdm @nnethercote
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6198 )
<!-- Reviewable:end -->
2015-05-27 21:06:12 -05:00
Jinwoo Song
557bb11bde
Use FT_Done_Library instead of FT_Done_Freetype
...
It is recommended to use FT_Done_Library with FT_New_Library
from freetype document.
Fixes #6191 .
2015-05-28 10:17:06 +09:00
bors-servo
b1a773a15b
Auto merge of #6196 - mbrubeck:metadata, r=SimonSapin
...
#6088 . r? @SimonSapin
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6196 )
<!-- Reviewable:end -->
2015-05-27 14:57:41 -05:00
Mike Blumenkrantz
b1ae5e7523
make Opts.url an Option<> type, only emit initial url load if url exists
...
this is a necessary change for embedded apps to prevent an initial about:blank
page load from overwriting whatever the app was actually trying to load
2015-05-27 14:45:57 -04:00
Mike Blumenkrantz
fcf449517d
handle case of deleted pipeline when preparing to send load_end constellation msg
2015-05-27 14:45:56 -04:00
Mike Blumenkrantz
64ff2c4a54
handle early LoadURL messages without panicking by sending initial url load
...
fixes #6126
2015-05-27 14:45:54 -04:00
Mike Blumenkrantz
68fc51205f
add error enum for chromium net errors, create window method for error propagation
2015-05-27 14:45:50 -04:00
Mike Blumenkrantz
0d46a3b89a
add navigation state data to LoadComplete messages, finish cef load state cbs
2015-05-27 14:45:48 -04:00
Mike Blumenkrantz
3481c752cd
add CompositorMsg::LoadStart, implement cef_load_handler::on_loading_state_change()
...
only adds the loading:true callback this time...
2015-05-27 14:45:47 -04:00
Mike Blumenkrantz
92d44fb36e
send ChangeUrl message from constellation on init
2015-05-27 14:45:41 -04:00
Mike Blumenkrantz
cf388cd909
call compositor.window.set_page_url() on WindowEvent::LoadUrl
2015-05-27 14:45:41 -04:00
Matt Brubeck
0fd9953802
Update azure and its dependencies
...
Part of #6088
2015-05-27 11:22:45 -07:00
bors-servo
d87af8ac52
Auto merge of #6192 - nox:cleanup-urlsearchparams, r=Manishearth
...
It now uses rust-url for its serializer.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6192 )
<!-- Reviewable:end -->
2015-05-27 05:21:05 -05:00
Anthony Ramine
6802bafc39
Cleanup URLSearchParams
...
It now uses rust-url for its serializer.
2015-05-27 12:19:16 +02:00
Jinwoo Song
cb2bdf1977
Implement nextNode(), previousNode() and detach() in NodeIterator
...
First patch to resolve #1235 . We need more implementation for handling node removals,
and I'll implement in next patch.
2015-05-27 16:37:30 +09:00
Jinwoo Song
4e8005cd5b
Implement Document.createNodeIterator and rebase patch
2015-05-27 16:37:30 +09:00
Jinwoo Song
0e4c792dc5
Implement more NodeIterator attribute and methods
...
Just implement the skelectons
- referenceNode attribute
- nextNode() and previousNode()
2015-05-27 16:37:30 +09:00
Jinwoo Song
2701c264ab
Implement NodeIterator's attributes
...
- root, whatToShow, and filter
2015-05-27 16:37:29 +09:00
bors-servo
df2f8d0636
Auto merge of #6187 - tamird:cleanup-validate-and-extract, r=mbrubeck
...
Also `debug_assert!`s that `splitn` was called with the
correct `count` argument.
Adaptation of #5778 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6187 )
<!-- Reviewable:end -->
2015-05-26 16:29:42 -05:00
bors-servo
54afa01dd6
Auto merge of #6186 - SimonSapin:harfbuzz-crates.io, r=Manishearth
...
https://github.com/servo/rust-harfbuzz/issues/39
https://www.mail-archive.com/dev-servo@lists.mozilla.org/msg01289.html
r? @Manishearth
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6186 )
<!-- Reviewable:end -->
2015-05-26 15:16:40 -05:00
Patrick Walton
05bf2ffd02
script: Address review comments
2015-05-26 11:03:47 -07:00
Patrick Walton
9e34e82aec
script: Reflow 200 milliseconds after the <body>
is parsed, like Gecko
...
does.
2015-05-26 10:38:47 -07:00
Tamir Duberstein
a3d463093e
Avoid extra O(n) scan in validate_and_extract
...
Also `debug_assert!`s that `splitn` was called with the
correct `count` argument.
2015-05-26 13:26:26 -04:00
bors-servo
8759d42559
Auto merge of #6168 - tamird:get-cached-messages, r=jdm
...
Rebase of #4175 , closes #4175 . r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6168 )
<!-- Reviewable:end -->
2015-05-26 10:34:03 -05:00
Tamir Duberstein
b5f74eb54c
Implemented GetCachedMessages
2015-05-26 10:04:31 -04:00
bors-servo
7d0409b842
Auto merge of #6140 - nox:cleanup-rootedvec, r=Manishearth
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6140 )
<!-- Reviewable:end -->
2015-05-26 08:36:29 -05:00
Anthony Ramine
178f696df3
Optimise use of RootedVec in ScriptTask::handle_event()
2015-05-26 15:35:19 +02:00
Anthony Ramine
22931145ab
Remove use of RootedVec in DOMRectList
2015-05-26 15:35:17 +02:00
Anthony Ramine
81cacdf820
Remove use of RootedVec in NodeList
2015-05-26 15:35:16 +02:00
Simon Sapin
56af011355
Use harfbuzz bindings from crates.io
...
https://github.com/servo/rust-harfbuzz/issues/39
https://www.mail-archive.com/dev-servo@lists.mozilla.org/msg01289.html
2015-05-26 14:47:34 +02:00
bors-servo
be6c251e4c
Auto merge of #6171 - eleweek:fix-4184-ok, r=Manishearth
...
I tried fixing #4184 , here is the code I have right now.
I haven't tested it, because I don't know what is the best way to test this part of code. Would like some help with testing this. Should I write an autotest or should I just test manually?
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6171 )
<!-- Reviewable:end -->
2015-05-25 23:10:18 -05:00
bors-servo
999325460e
Auto merge of #6179 - AopicieR:byte_strings, r=jdm
...
Fixes #3257
In eventtarget.rs I'm not sure whether ARG_NAMES actually needs to be static!?
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6179 )
<!-- Reviewable:end -->
2015-05-25 17:13:27 -05:00
Alexander Putilin
f5a0285833
Fix issues with PR #6171
2015-05-26 01:04:05 +03:00
bors-servo
6595ebed0f
Auto merge of #6162 - r0e:testing, r=jdm
...
Fixes issue #6148
@jdm After mulling over this for a little while, i'm not sure if this approach is correct. Any comments?
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6162 )
<!-- Reviewable:end -->
2015-05-25 16:33:43 -05:00
r0e
4e327d6941
if thread panics then assertion for PendingLoadGuard destructor is not
...
run
2015-05-25 13:58:45 -07:00
bors-servo
34a617aaa1
Auto merge of #6169 - tamird:struct-variant, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6169 )
<!-- Reviewable:end -->
2015-05-25 15:53:56 -05:00
Philipp Hartwig
ab4059ca21
Use byte string instead of handcrafted byte array
2015-05-25 20:57:16 +02:00
bors-servo
4a95bce9f2
Auto merge of #6125 - zmike:renderrenderrenderrender, r=larsbergstrom
...
A collection of commits which improves embedding integration and rendering.
@larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6125 )
<!-- Reviewable:end -->
2015-05-24 19:26:00 -05:00
Mike Blumenkrantz
c884b43b71
another glutin update
2015-05-24 19:53:44 -04:00
bors-servo
542519ebfd
Auto merge of #6174 - frewsxcv:cleanup-long-lines, r=SimonSapin
...
Part of https://github.com/servo/servo/issues/6041
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6174 )
<!-- Reviewable:end -->
2015-05-24 18:27:26 -05:00
Corey Farwell
5793add4cd
Make variable binding more consistent with rest of the file
...
https://reviewable.io/reviews/servo/servo/6174#-Jq48M5Vu-YnswI0jcvD
2015-05-24 10:50:36 -04:00
Corey Farwell
8e3f4bba85
Reduce max line length from 150 to 120 characters
...
Part of https://github.com/servo/servo/issues/6041
2015-05-24 00:01:49 -04:00
Alexander Putilin
e840698d4a
fixes 4184: no-sniff and check-for-apache-bug for mime sniffing
2015-05-24 04:02:34 +03:00
Alexander Putilin
4e440a0ebb
fixes 6111: WebSocket close event shouldn't be Cancelable
2015-05-24 01:38:39 +03:00
Tamir Duberstein
dce048dd54
Use a struct variant for clarity
2015-05-23 16:55:00 -04:00
Mike Blumenkrantz
fcb5cf9c6d
update offscreen_gl_context
2015-05-23 08:39:37 -04:00