Anthony Ramine
6802bafc39
Cleanup URLSearchParams
...
It now uses rust-url for its serializer.
2015-05-27 12:19:16 +02: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
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
bors-servo
16f19b628f
Auto merge of #6170 - eleweek:fix-6111, r=Ms2ger
...
This fixes #6111 , @jdm said that I can work on this issue
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6170 )
<!-- Reviewable:end -->
2015-05-24 10:27:41 -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
8799213d4a
fix build
2015-05-23 09:03:42 -04:00
Mike Blumenkrantz
fcb5cf9c6d
update offscreen_gl_context
2015-05-23 08:39:37 -04:00
Mike Blumenkrantz
c6a4bdb787
x11 version bump
2015-05-22 21:11:08 -04:00
bors-servo
7561f7b83f
Auto merge of #5607 - pcwalton:per-glyph-font-fallback, r=mbrubeck
...
This improves numerous pages, for example Wikipedia and Ars Technica.
Built on #5493 .
Closes #177 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5607 )
<!-- Reviewable:end -->
2015-05-22 19:16:54 -05:00
Patrick Walton
fec43b49bb
layout: Implement per-glyph font fallback.
...
This improves numerous pages, for example Wikipedia and Ars Technica.
Closes #177 .
2015-05-22 17:16:24 -07:00
Mike Blumenkrantz
6a694e7d5a
Merge pull request #1 from larsbergstrom/zmike_cargo_fixups
...
Update various Cargo patches and deal with the fallout
2015-05-22 17:18:55 -04:00
Lars Bergstrom
442bfb716b
Update various Cargo patches and deal with the fallout
2015-05-22 16:16:50 -05:00
bors-servo
19b443ecc8
Auto merge of #6163 - jdm:yumupdate, r=jdm
...
According to the official change set [1] for Fedora 22 which will be released in some days [2] yum will be replaced by dnf. The syntax is basically the same (in these simple cases here it is exactly the same, tested with dnf). After that only Fedora 21 and 22 will be supported, both come with dnf shipped by default.
[1] https://fedoraproject.org/wiki/Releases/22/ChangeSet#Replace_Yum_With_DNF
[2] https://fedoraproject.org/wiki/Releases/22/Schedule?rd=Releases/22
2015-05-22 15:33:08 -05:00
Christian Stadelmann
65a4f6b6ac
doc/howto install: Fedora replaces yum with dnf
...
According to the official change set [1] for Fedora 22 which will be released in some days [2] yum will be replaced by dnf. The syntax is basically the same (in these simple cases here it is exactly the same, tested with dnf). After that only Fedora 21 and 22 will be supported, both come with dnf shipped by default.
[1] https://fedoraproject.org/wiki/Releases/22/ChangeSet#Replace_Yum_With_DNF
[2] https://fedoraproject.org/wiki/Releases/22/Schedule?rd=Releases/22
2015-05-22 16:31:47 -04:00
r0e
dbb21a90d9
Merge branch 'master' of https://github.com/servo/servo
2015-05-22 12:31:59 -07:00
bors-servo
e04d9c32a9
Auto merge of #6159 - SimonSapin:no_mod_path, r=Manishearth
...
https://github.com/rust-lang/rust/pull/20179 makes its use case much weaker.
r? @Manishearth
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6159 )
<!-- Reviewable:end -->
2015-05-22 03:13:13 -05:00
Simon Sapin
53c32cdc78
Remove usage of the mod_path compiler plugin.
...
https://github.com/rust-lang/rust/pull/20179 makes its use case much weaker.
2015-05-22 10:08:38 +02:00
Mike Blumenkrantz
25f87aa8ab
fix compile after pcwalton's multi-event handling PR
2015-05-21 21:16:24 -04:00
Mike Blumenkrantz
f53fc1900d
update pkg-config for cargo
2015-05-21 21:16:23 -04:00
Mike Blumenkrantz
9b8585f20d
update cargo layers rust thing checkout
2015-05-21 21:15:23 -04:00
Mike Blumenkrantz
82cf1d53e3
bump rust-layers version
2015-05-21 21:15:22 -04:00
Mike Blumenkrantz
5697d9ff2c
add back browser_host::composite() method for embedding
...
this changes the way that applications will use servo. whereas previously
it was only necessary to call initialize() -> makecurrent, it's now necessary
to explicitly call the composite() method in order to trigger the gl rendering.
any other composite attempts (by servo) will trigger the on_paint() method,
informing the app that a frame is ready. it's then up to the app to schedule
the composite() such that the frame is rendered in a timely manner
2015-05-21 21:15:21 -04:00
Mike Blumenkrantz
12d792f427
only create our own Display* in embedding when using OSR
2015-05-21 21:15:20 -04:00
Mike Blumenkrantz
789a4973f7
check method existence for hidpi_factor(), handle platforms other than macos
2015-05-21 21:15:19 -04:00
Mike Blumenkrantz
1aed319684
add pointer checks for cef method calls to avoid crashing on nonexistent methods
2015-05-21 21:15:18 -04:00
Mike Blumenkrantz
ca7fc036fe
ensure window protocol handling occurs during cef browser loop updating
...
fixes window events when using cef windowed rendering
2015-05-21 21:15:18 -04:00
Mike Blumenkrantz
1cd850b121
add window member to servo cef browser object to fix framebuffer size method
...
platforms other than macos will not need/use a get_backing_rect() method since
there is no virtual pixel scaling, and this method will need to be usable
even before browsers are finished setting up, so ensure we can at least pass
initial window size back
also check method pointer availability before calling into a null function
2015-05-21 21:15:17 -04:00
Mike Blumenkrantz
e5a274b467
call XInitThreads() before creating our cef Display* object
2015-05-21 21:15:16 -04:00
Mike Blumenkrantz
09aba1f9de
remove misleading FIXME(pcwalton) regarding gtk event loops in cef window
2015-05-21 21:15:15 -04:00
Mike Blumenkrantz
fb72a64833
pass width and height information through to cef paint callback
2015-05-21 21:15:15 -04:00
Mike Blumenkrantz
9f7aacdacf
add check for self.context existence in composite_specific_target()
2015-05-21 21:15:14 -04:00
Mike Blumenkrantz
8330eabac1
temp re-set default url for cef while I figure out wtf is going on
2015-05-21 21:15:13 -04:00