James Graham
8f25fe90df
servo: Merge #5962 - Implement webdriver commands for back/forward/title/handles (from jgraham:webdriver_navigation); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 72c20d8491137a82160e5455c89ff1a42f3767a7
2015-05-06 10:34:44 -05:00
Guro Bokum
8059428350
servo: Merge #5753 - Start using on_refresh_driver_tick #5681 (from JIoJIaJIu:timeline); r=jdm
...
RequestAnimationFrame
[Task](https://github.com/servo/servo/issues/5681 )
Source-Repo: https://github.com/servo/servo
Source-Revision: 5e59e77c416dbe35e8c30ca1c21c9088ed17a079
2015-05-06 00:50:13 -05:00
Simon Sapin
da599fc5b9
servo: Merge #5951 - Clean up the Au API (from SimonSapin:au-cleanup); r=mbrubeck
...
Fix #5943 .
r? @mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 1721cf45ed59306a69f3ade08feca065804c3804
2015-05-05 15:08:12 -05:00
Himaja
f9351542b0
servo: Merge #5947 - Extend the developer tools support (from jdm:devtools); r=jdm
...
Implement HTTP request/response notifications per https://github.com/servo/servo/wiki/More-developer-tools-student-project .
Rebased from #5920 .
Source-Repo: https://github.com/servo/servo
Source-Revision: ab589da1f464ed00b0105bc4531690da0118ea5b
2015-05-05 11:52:44 -05:00
Simon Sapin
95c8716656
servo: Merge #5935 - Upgrade Rust (from servo:rustup_2015-04-25); r=Ms2ger
...
r? everybody
Source-Repo: https://github.com/servo/servo
Source-Revision: 49aed6555dbc008c1a378c5cbb303f5467232b6b
2015-05-05 09:11:30 -05:00
Philip Munksgaard
bd50a8bf0d
servo: Merge #5932 - Remove FIXME (from Munksgaard:fix-5930); r=Ms2ger
...
Following the (short) in #5930 it was decided that we should remove this
FIXME.
Fixes #5930
Source-Repo: https://github.com/servo/servo
Source-Revision: 2e4d2eb6a9fd135ee19475664a608789880f37b6
2015-05-04 08:42:43 -05:00
Peter
76e9e84846
servo: Merge #5725 - added dispatching for mousedown and mouseup events, fixes #5705 (from pgonda:dispatch-mousedown-mouseup); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 88ed4e58e16e1ccf2957e1838175b5195c5d7950
2015-04-30 12:22:03 -05:00
Prabhjyot Singh Sodhi
6b09a033e8
servo: Merge #5895 - Uniformise the various Msg types [ #5882 ] (from psdh:uniformiseMsgTypes); r=jdm
...
Fixes #5882
Source-Repo: https://github.com/servo/servo
Source-Revision: 19a4a263645a643d3a3f79b41b816fe8b8727265
2015-04-29 15:51:39 -05:00
Ms2ger
33e1b9c8ab
servo: Merge #5888 - Prepare for the rustup (from Ms2ger:prepare-rustup); r=SimonSapin
...
Source-Repo: https://github.com/servo/servo
Source-Revision: ab2d07db1fabd7ad9590aa7296038bbc91806c3f
2015-04-28 17:52:49 -05:00
Anthony Ramine
39e9571d13
servo: Merge #5871 - Cleanup JS traits and methods (from nox:rootable); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: b8ae33e510ea30e3200834fc2f7fbc426b86701e
2015-04-28 04:23:05 -05:00
Manish Goregaokar
e158f4fca9
servo: Merge #5855 - Add move protection to Root and friends (from Manishearth:nomove); r=kmc,munksgaard
...
fixes #5724 , #5737
uses https://github.com/Manishearth/rust-tenacious (can be moved in-tree if needed)
I can make it `Deny` by default too (I'll add a cargo feature to tenacious), though we might want it on
`Warn` until we get some mileage on it.
Source-Repo: https://github.com/servo/servo
Source-Revision: d7987e43c944eb9b156bf3244c08fce4cb570db4
2015-04-27 23:14:25 -05:00
Ms2ger
5f2b2d61e1
servo: Merge #5867 - Factor out a handle_parsing_complete function from ScriptTask::Load (from Ms2ger:load-end); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 0cd0abb7186c4a67458f5b3af825502a6709a21c
2015-04-27 07:28:33 -05:00
James Graham
72de17b9be
servo: Merge #5808 - Add script execution support via WebDriver (from jgraham:webdriver_execute_script); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 38ac11d0b8ae4244f49b59a6321a1a570ea01e03
2015-04-23 13:41:11 -05:00
Mátyás Mustoha
e3f5a0bd67
servo: Merge #5802 - Fix some irregular indentation (from mmatyas:indentfix); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 43d666f94b9b1b8313d430785946b8d3e020fecf
2015-04-22 19:49:30 -05:00
Glenn Watson
835b3be20c
servo: Merge #5767 - Refactored image cache task - details below (from glennw:image-cache); r=larsbergstrom,jdm
...
* Simpler image cache API for clients to use.
* Significantly fewer threads.
* One thread for image cache task (multiplexes commands, decoder threads and async resource requests).
* 4 threads for decoder worker tasks.
* Removed ReflowEvent hacks in script and layout tasks.
* Image elements pass a Trusted<T> to image cache, which is used to dirty nodes via script task. Previous use of Untrusted addresses was unsafe.
* Image requests such as background-image on layout / paint threads trigger repaint only rather than full reflow.
* Add reflow batching for when multiple images load quickly.
* Reduces the number of paints loading wikipedia from ~95 to ~35.
* Reasonably simple to add proper prefetch support in a follow up PR.
* Async loaded images always construct Image fragments now, instead of generic.
* Image fragments support the image not being present.
* Simpler implementation of synchronous image loading for reftests.
* Removed image holder.
* image.onload support.
* image NaturalWidth and NaturalHeight support.
* Updated WPT expectations.
Source-Repo: https://github.com/servo/servo
Source-Revision: ac0645c2363b5a6ea3930b0857b3a27f1b6d033f
2015-04-22 19:16:46 -05:00
Ms2ger
d95e730a16
servo: Merge #5790 - Store a Runtime object in ScriptTask (from Ms2ger:new_rt_and_cx); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 886805d76c206214047c475c6f8947c8c38c40b7
2015-04-22 07:08:41 -05:00
Ms2ger
e03698dc86
servo: Merge #5752 - Make ScriptTask::js_context immutable (from Ms2ger:cx-immutable); r=jdm
...
Since we drop the ScriptTask almost immediately after clearing the field,
there's little reason to do it manually.
Source-Repo: https://github.com/servo/servo
Source-Revision: ccc77caa79344a45003f1efb7184cec5b882edae
2015-04-20 13:17:43 -05:00
Glenn Watson
5dbece9c4a
servo: Merge #5559 - Support focus management and keyboard events for iframes (from glennw:iframe-focus); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 8b8daa24b8d25c531ea74a70b4b6e25cb3d7d58c
2015-04-19 18:13:59 -05:00
Bogdan Cuza
d5299d7feb
servo: Merge #5567 - Make mouse_over_targets a RootedVec (from boghison:document_rootedvec); r=jdm
...
Fixes #5539
Source-Repo: https://github.com/servo/servo
Source-Revision: 331708f0f6d4bff8cec608e963fb24f79cf1ffca
2015-04-19 09:05:23 -05:00
Josh Matthews
901eb35f52
servo: Merge #5156 - Support opt-in async network events (from jdm:asyncnet); r=pcwalton,Manishearth
...
This implements a framework for opting in to receiving network events asynchronously. It also converts XMLHttpRequest to use them, and paves the way for better support for synchronous XHR using on-demand, targeted event loops instead of spinning the global event loop. This gives us complete feature parity with the existing XHR implementation, using fewer threads than before in the async case.
Source-Repo: https://github.com/servo/servo
Source-Revision: 3151497d498b001b4a783dce0595615c6fc40936
2015-04-16 11:33:06 -05:00
Bogdan Cuza
fdcc40c14c
servo: Merge #5544 - Make Metadata use ContentType (from boghison:master); r=jdm
...
Fixes #5538
Source-Repo: https://github.com/servo/servo
Source-Revision: 7f422e2076e7ebc9949e9fb2ffc3f09c653130c0
2015-04-14 15:11:20 -05:00
Ms2ger
bb2f4548b4
servo: Merge #5680 - Update some URLs (from Ms2ger:urls); r=Manishearth
...
The HTML spec's division into pages is not stable, so it is safer to use the
URL without a specific page (which will redirect).
Source-Repo: https://github.com/servo/servo
Source-Revision: 894b19526f1903f398c7817567b7d1b1e34998ed
2015-04-14 03:52:08 -05:00
Adenilson Cavalcanti
4fca85538a
servo: Merge #5673 - Squashing a few compiler warnings (from Adenilson:squashWarnings); r=SimonSapin
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 92991f807021fa99b844f03a6458f97fe86bf5c6
2015-04-13 16:47:09 -05:00
Guro Bokum
fe578d1f21
servo: Merge #5636 - Firefox timeline integration #4957 (from JIoJIaJIu:timeline); r=jdm
...
Available markers only:
Reflow
DOMEvent
Also need to implement:
Style marker
Paint marker
Javascript marker
frames reply, depends on getting javascript stack
I decided to make pull request before implemented another markers for getting feedback.
mb it would be better to create separated tasks.
Notices:
Marker doesn't fill stack and stackEnd
MemoryActor sends fake data because there is no memory profiler per tab
FramerateActor sends empty Vec, need implement http://mxr.mozilla.org/mozilla-central/source/dom/base/nsGlobalWindow.cpp#5240
Source-Repo: https://github.com/servo/servo
Source-Revision: 74c847a17fb560dd4cd62069778776f6f06df19f
2015-04-13 12:44:49 -05:00
Anthony Ramine
1eb3ed2549
servo: Merge #5645 - Use a simple Temporary value in TreeIterator (from nox:treeiterator-temporary); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 1e45d025b381390f346e8f24db615cb698033844
2015-04-13 04:52:32 -05:00
josiahdaniels
947316e5ea
servo: Merge #5657 - Use Page::window_for_script_deallocation in ScriptMemoryFailsafe (from josiahdaniels:issue5654); r=jdm
...
Also: Rename window_for_script_dealloation to window_for_script_deallocation
#5654
Source-Repo: https://github.com/servo/servo
Source-Revision: 9d027bab0a9601437842acb738b326c7e5547844
2015-04-13 00:03:00 -05:00
Ms2ger
4d9fea7634
servo: Merge #5632 - Create a Runtime struct (from Ms2ger:runtime); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 35fb5166624faa13d8a7090ce3f2456726547e11
2015-04-10 08:44:38 -05:00
Manish Goregaokar
ab1238f36e
servo: Merge #5465 - Split out shared networking code into net_traits crate (from gilles-leblanc:issue-4476-b); r=jdm
...
Fixes #4476
Source-Repo: https://github.com/servo/servo
Source-Revision: d707d1b78e3393a1ed164af8ec855bd0ff119e55
--HG--
rename : servo/components/net/image/test.jpeg => servo/components/net/test.jpeg
rename : servo/components/net/image/base.rs => servo/components/net_traits/image/base.rs
rename : servo/components/net/image/holder.rs => servo/components/net_traits/image/holder.rs
rename : servo/components/net/local_image_cache.rs => servo/components/net_traits/local_image_cache.rs
2015-04-03 13:00:46 -06:00
Ms2ger
e137b3f89d
servo: Merge #5492 - Introduce a MouseButton enum (from Ms2ger:MouseButton)
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 02be76bd4855a226669e8fcd1a638ff53e8f83d5
2015-04-03 13:29:12 +02:00
Patrick Walton
cb3bd424c4
servo: Merge #5426 - script: Stop destroying all flows on every mouse-over event (from pcwalton:mouse-over-incremental-reflow); r=jdm
...
r? @jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 5457ec60983481fb436114d548f0872e274e420f
2015-04-02 09:57:40 -06:00
snf
bfcff3d7db
servo: Merge #5419 - Send storage event (from snf:send_storage_event); r=jdm
...
Addresses #5196
Source-Repo: https://github.com/servo/servo
Source-Revision: c0c54875a282fd6d03daba71e6e764763be70e09
2015-03-31 15:51:52 -06:00
Patrick Walton
398f2d6a8f
servo: Merge #5428 - script: Squash mouse-move events just like resizes (from pcwalton:squash-mouse-move); r=jdm
...
Otherwise they queue up if the event handler isn't 60FPS.
r? @jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: c1cc31b9d66f3c61dd0aa7e6a1a43991187d09a5
2015-03-30 13:40:04 -06:00
Brandon DeRosier
29ee916a7f
servo: Merge #5422 - Use box syntax instead of Box::new() (from bdero:bdero/box-syntax); r=jdm
...
Closes #5417
Source-Repo: https://github.com/servo/servo
Source-Revision: 39556cc8328793478c0e34ff99e2d36d1ab4f5cb
2015-03-29 17:10:01 -06:00
Corey Farwell
f68ba10506
servo: Merge #5447 - Remove some unnecessary uses of as_slice (from frewsxcv:as-slice); r=jdm
...
For the majority of these cases, `as_slice` can be removed due to
`Deref`. In particular, `Deref` for:
* `String` -> `str`
* `Atom` -> `str`
The latter of those two requires, a bump of the locked `string-cache`
library
Source-Repo: https://github.com/servo/servo
Source-Revision: 0fd41847a39be387c03bd5d8b6f2aec2b1bb6f66
2015-03-29 14:52:02 -06:00
Mukilan Thiyagarajan
6cd127a09d
servo: Merge #5436 - Implement a replacement for Vec<Root<T>> (from servo:rooted-vec); r=Ms2ger,jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 1282850b998ce82195a7099d950676fc1b53b86b
2015-03-29 05:07:01 -06:00
Ms2ger
a866f2e1e2
servo: Merge #5416 - Remove some int/uints (from Ms2ger:int); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 674e52afa1012cb342629dab4d3abae975a16fe9
2015-03-28 13:58:02 -06:00
Thiago Pontes
ebfcbc1f1f
servo: Merge #5181 - Notify devtools about new worker globals (from thiagopnts:master); r=jdm
...
This is for #4704 . I'm not sure if this is the best approach, so I'm open to suggestions.
Source-Repo: https://github.com/servo/servo
Source-Revision: 439e3150d74453b86abbcc7934b7e5152f102940
2015-03-27 13:33:56 -06:00
Avi Weinstock
fc2aad4b45
servo: Merge #5359 - Moz events (from aweinstock314:moz-events); r=jdm
...
Addresses #5352 .
This is based on https://github.com/glennw/servo/tree/moz-events
Source-Repo: https://github.com/servo/servo
Source-Revision: 432739164b1f3a117c0aac1dfc97b41018c89b46
2015-03-25 20:00:54 -06:00
snf
7875932ceb
servo: Merge #5360 - implementing MainThreadRunnable in ScriptTask (from snf:main_thread_runnable); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 7f587f6cb56b1dae1a56dec36754007ef4d376ac
2015-03-25 14:48:50 -06:00
Glenn Watson
95196d8d68
servo: Merge #5333 - Ensures that iframe navigation updates the parent iframe element subpage id (from glennw:fix-iframe-subpage); r=jdm
...
This fixes the case of clicking a link in an iframe, going back, then clicking the link again.
Source-Repo: https://github.com/servo/servo
Source-Revision: 2f85c5bb502c2582d34772db979e27c741ee76e3
2015-03-23 23:03:45 -06:00
Josh Matthews
5b0eafa083
servo: Merge #5327 - Fix double-panic when the script task panics (from Ms2ger:memory-explosion); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 5ce7d8accfc52dd37b19b4400a643a980412bb2f
2015-03-23 13:39:53 -06:00
Ms2ger
a9cd0f12b3
servo: Merge #5323 - Fix warnings in script (from Ms2ger:script-warnings); r=Manishearth
...
Source-Repo: https://github.com/servo/servo
Source-Revision: f9826c3ae80a9d859fc067dcceddf3ab105656f6
2015-03-23 06:57:50 -06:00
Glenn Watson
2ee608fe49
servo: Merge #5281 - Experimental implementation of (a small subset of) mozbrowser APIs (from glennw:mozbrowser); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 1f682d878db99651bfd26b8a28b57895f2238f87
2015-03-22 21:36:51 -06:00
Corey Farwell
7cb441f853
servo: Merge #5316 - Stop abusing format! macro when construct a String (from frewsxcv:no-format-abuse); r=jdm
...
In these cases for `format!`, we're just constructing a String of the
single argument with no special format.
Source-Repo: https://github.com/servo/servo
Source-Revision: dfb8929b001c8d0fb6d5e63f5a9d6dcc17cb388a
2015-03-22 19:30:51 -06:00
Manish Goregaokar
5dbe6eb389
servo: Merge #5296 - Replace unsafe_blocks by unsafe_code (from servo:unsafe_code); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 29a36adbe7d87fb38ba9bef3a718c6c823fb5977
2015-03-21 05:12:45 -06:00
Patrick Walton
3f9d312730
servo: Merge #5261 - Remove debugging info in release mode and stop reflowing on every new image that comes in (from pcwalton:too-many-reflows); r=pcwalton,metajack
...
These help Facebook Timeline a lot.
r? @metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: aa6ed369b80cbbc81eef9e8697963d0d64358f9b
2015-03-20 11:51:47 -06:00
Chris Paris
0ada5c1569
servo: Merge #4888 - Implement Element.innerHTML setter (from ChrisParis:innerhtml); r=jdm
...
This addresses #849 . This PR cannot land until the corresponding PR (https://github.com/servo/html5ever/pull/91 ) in html5ever lands. I've done some simple testing of this code, but I don't consider it thorougly tested yet. I wanted to start getting feedback about the overall design before I spend more time polishing the details, and testing.
Source-Repo: https://github.com/servo/servo
Source-Revision: b2fb06d6e25d6728d6000c283ed1dab1e8bfabb1
2015-03-18 17:12:49 -06:00
Ms2ger
66cb126a50
servo: Merge #5256 - Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-de (from servo:rustup_20150311); r=jdm
...
...v.
Relies on:
* https://github.com/servo/rust-geom/pull/72
* https://github.com/servo/rust-glx/pull/10
* https://github.com/servo/gleam/pull/15
* https://github.com/servo/rust-mozjs/pull/137
* https://github.com/servo/rust-core-text/pull/35
* https://github.com/servo/rust-io-surface/pull/28
Source-Repo: https://github.com/servo/servo
Source-Revision: 99cf9dbfc107bacb84dfe5afa9539a0ede3beac2
2015-03-18 11:25:00 -06:00
Chris Double
3f749f3b0a
servo: Merge #5219 - view-source protocol and text/plain handling (from doublec:view_source_protocol_and_plain_text); r=jdm
...
Implements view-source protocol by having a view-source handler, and modifying the content type to be text/plain if that is used.
Implements text/plain handling. This allows view-source content to display as plain text.
Example usage:
./mach run http://cd.pn/x.txt
./mach run view-source:http://tinyvid.tv/
This fixes issue #4181 . Issue #3649 includes "support text/plain" so this possibly fixes some of that issue as well.
Source-Repo: https://github.com/servo/servo
Source-Revision: 7bd6cb00911572e8733e462156122d974ff0c8a8
2015-03-17 07:18:51 -06:00
Glenn Watson
4a32ac02b4
servo: Merge #5248 - Ensure that clicking a link in an iframe gets the existing iframe rect (from glennw:fix-subpage-reflow); r=jdm
...
Otherwise, the new iframe may not get a valid window size until the parent frame does another reflow.
Source-Repo: https://github.com/servo/servo
Source-Revision: b4b2c63c11a38ebda3eb3235af6ffa2413a73cf1
2015-03-16 23:51:49 -06:00
Matt McCoy
0f0d8d9c81
servo: Merge #5244 - Serializing the thread name for page load task (from mattnenterprise:page_load_thread_name); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 990a965ddfba254bb1b58664b27f2056fa9654f5
2015-03-16 20:36:49 -06:00
Glenn Watson
ac172c1efc
servo: Merge #5205 - First (and biggest) part of refactoring constellation to support iframe navigation (from glennw:iframe-nav); r=jdm
...
The history is now recorded per frame, but needs to be exposed in a followup PR.
Source-Repo: https://github.com/servo/servo
Source-Revision: 1092ca10192c79b4b96c25985a2c6245d369090b
2015-03-16 17:54:50 -06:00
Martin Schröder
c74d131b81
servo: Merge #5169 - Refactored optional argument "last_modified" for Document (from mschroeder:issue-4981); r=saneyuki
...
Fixes #4981
Source-Repo: https://github.com/servo/servo
Source-Revision: ccc6faa14787765485dae7ccd0976cd7e1764185
2015-03-16 11:03:58 -06:00
Rohan Prinja
4862e6cd2b
servo: Merge #5218 - make MouseEvent::new() and UIEvent::new() take enums for the bubbles and (from ajnirp:enums-for-mouse-ui-event-constructors); r=Ms2ger
...
... cancelable arguments
for #4807
Source-Repo: https://github.com/servo/servo
Source-Revision: f30faeadd09b7ef553df9d270abeb3c242c4ce3a
2015-03-15 03:18:49 -06:00
Glenn Watson
3dc8181ce9
servo: Merge #5192 - Remove now unused id field for frame tree (from glennw:remove-frame-id); r=Ms2ger
...
This will be re-introduced in a follow up PR with a different usage, but I'm trying to create small, independent PRs that are easier to review than one large change.
Source-Repo: https://github.com/servo/servo
Source-Revision: 6ba3014d9b413d5d1d9911833e3ac08ecf97d65a
2015-03-11 03:45:47 -06:00
Avi Weinstock
a9f8b69e77
servo: Merge #5183 - Subsume ScriptMsg::WorkerDispatchErrorEvent into ScriptMsg::RunnableMsg (from aweinstock314:master); r=saneyuki
...
...via introduction of Worker::WorkerErrorHandler (Closes #5171 ).
Source-Repo: https://github.com/servo/servo
Source-Revision: f4a362725faeb41aef85631965d3a4fd6153a70d
2015-03-09 17:00:51 -06:00
Adenilson Cavalcanti
a16514e129
servo: Merge #5150 - Implements reflow events debugging (from Adenilson:reflowNotifications03); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 4f3feed2bea957de0910a136d33dff4fb3c07a22
2015-03-06 21:48:50 -07:00
Guro Bokum
651df51b01
servo: Merge #5139 - ScriptTask::mouse_over_targets is not traced #4985 (from JIoJIaJIu:trace); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: eda9c0c9ac29646c5b4c9ce30b97c6547345171e
2015-03-06 09:42:52 -07:00
Adenilson Cavalcanti
500496a046
servo: Merge #5144 - Remove flush_layout() (from Adenilson:removeFlushLayout01); r=Manishearth
...
Due to changes on Page/Window interfaces, we no longer have use for flush_layout().
Source-Repo: https://github.com/servo/servo
Source-Revision: 34289943e354b2ac0e54fd1fe2d65c944f6c8e9d
2015-03-04 16:54:44 -07:00
Josh Matthews
6ff0a01710
servo: Merge #5118 - Async document loads (from jdm:pageload); r=Ms2ger
...
Rebased and improved version of #4967 .
Source-Repo: https://github.com/servo/servo
Source-Revision: 72f8898990f06e7f505eeaf9cfa671740c60395d
2015-03-03 16:03:45 -07:00
Ms2ger
de83933bd0
servo: Merge #5104 - Remove unused import from script_task (from Ms2ger:unused-import); r=Manishearth
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 154427ce51cf06b54940f84895d8f42aca79e2c2
2015-02-28 14:45:47 -07:00
Guro Bokum
5f7ffbe627
servo: Merge #5073 - Move body of ScriptTask::handle_mouse_move_event into a method on Document ( fixes #5032 ) (from JIoJIaJIu:handle_mouse_event); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 75060f41dbd6c9a6e8865f1c1c88f5b984b199f7
2015-02-28 12:21:51 -07:00
Keith Yeung
c82108a005
servo: Merge #5031 - Moved dispatch_key_event method from script_task.rs to document.rs (from KiChjang:refactor-dispatch-key-event); r=jdm
...
Fixes #4982
Source-Repo: https://github.com/servo/servo
Source-Revision: 071941da59e442ad359d97e7c36e387c0029f9aa
2015-02-26 06:15:56 -07:00
Glenn Watson
0d83959390
servo: Merge #5071 - If root element contains "reftest-wait" class, don't mark document as ready until it's removed (from glennw:reftest-wait); r=jdm
...
This allows reftests to perform tests for incremental layout and other bugs that require rendering multiple frames.
Source-Repo: https://github.com/servo/servo
Source-Revision: c7c399a26b01fe6f4d49476638a68caf6ecb8f82
2015-02-25 21:06:57 -07:00
Dae-seon Moon
4591049d79
servo: Merge #5068 - Remove ScriptMsg::Navigate ( fixes #4948 ) (from servo:navigate-msg); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: a5688466855c31548ba27506bd99a35b9e6d136d
2015-02-25 07:49:08 -07:00
Pawel Kondzior
4be04275fb
servo: Merge #4960 - Add thaw/freeze messages that can suspend/resume webcontent timers #4907 (from pkondzior:add-script-timers-suspend-resume-functionality); r=jdm
...
Adds free/thaw methods to script_task that let you send suspend/resume messages to web content timers. Fixes #4907
Source-Repo: https://github.com/servo/servo
Source-Revision: a3ea3eed47713a4a6faa86c575bc2ac95c5fe135
2015-02-23 21:45:46 -07:00
Glenn Watson
2e341432b6
servo: Merge #4959 - Fixes a number of issues with setting hover state, and simplifies the code (from glennw:fix-hover); r=jdm
...
Specifically:
- Use inclusive_ancestors instead of ancestors, to detect hover on elements like divs.
- Send the mousemove event after all the hover states have been set correctly.
- Correctly handle removing hover state from elements when mouse is not over any elements.
- Correctly detect when a reflow is required (previous code failed in several edge cases).
Source-Repo: https://github.com/servo/servo
Source-Revision: 576158d08deae2d87bde351548cbeb77590a34dc
2015-02-23 19:18:51 -07:00
Keith Yeung
3bd31af0aa
servo: Merge #5022 - script_task.rs now utilizes hyper's LastModified header (from KiChjang:hyper-last-modified); r=Manishearth
...
Fixes #4986
Source-Repo: https://github.com/servo/servo
Source-Revision: 3d9ff6e880a22de9fc5f9751da5a404e55ea23bf
2015-02-22 14:24:45 -07:00
Prabhjyot Singh Sodhi
8e4c455bec
servo: Merge #4956 - Fixing Intermittent failure in pages with timers (from psdh:interfail); r=jdm
...
Fixes #4923
Source-Repo: https://github.com/servo/servo
Source-Revision: f1f826544919b4fa7cdf4bf263abf0c0c1497f70
2015-02-21 12:51:44 -07:00
Ms2ger
959786fd9f
servo: Merge #5007 - Remove unused imports (from Ms2ger:warnings); r=saneyuki
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 939b13f436d2fc895cf8a57140b0bd50acc53a89
2015-02-21 11:33:46 -07:00
Ms2ger
0369e60ea1
servo: Merge #5006 - Cleanup ScriptTask::load (from Ms2ger:script_task); r=saneyuki
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 31c8f97b4b493d828f1b96144772f3df1aff145b
2015-02-21 10:48:46 -07:00
Tetsuharu OHZEKI
d03a50553c
servo: Merge #4997 - Move DocumentProgressHandler to document.rs (from saneyuki:doc); r=jdm
...
Fix #4987
Source-Repo: https://github.com/servo/servo
Source-Revision: b589735b47e0c8c9b008831a776a6db38b38cd5d
2015-02-21 09:24:47 -07:00
Keith Yeung
624cc237e1
servo: Merge #4999 - Moved handle_click_event from script_task.rs to document.rs (from KiChjang:refactor-handle-click-event); r=jdm
...
Fixes #4983
Source-Repo: https://github.com/servo/servo
Source-Revision: aad6cc03b80c3ef88439c3dc68693ddcc941ecde
2015-02-21 05:42:53 -07:00
Ruud van Asseldonk
ad71ce0ea3
servo: Merge #4925 - Remove glob re-exports in devtools_traits/lib.rs (from ruuda:devtools-traits); r=jdm
...
This resolves #4921 .
Source-Repo: https://github.com/servo/servo
Source-Revision: 40eff84ae1220c3d596cddf4fb789763b71bcb38
2015-02-13 09:06:53 -07:00
Keith Yeung
4dd00911b1
servo: Merge #4866 - Updated trigger_fragment to take a string instead of URL and updated cal (from KiChjang:trigger-fragment-string); r=jdm
...
Fixes #4863
Source-Repo: https://github.com/servo/servo
Source-Revision: 29d24a5049cda10111bb36f3ca2d798e68137107
2015-02-12 10:18:45 -07:00
Simon Sapin
da87abc762
servo: Merge #4893 - Upgrade to rustc ba2f13ef0 2015-02-04 (from servo:rustup_2015-01-31); r=Ms2ger,glennw
...
Ready for review.
Final link step on android fails, but we know how to fix it and will add it to this branch soon.
Source-Repo: https://github.com/servo/servo
Source-Revision: 2cc08f289ab909de44fa09a07b2c43b70ce379b9
--HG--
rename : servo/ports/gonk/build.rs => servo/support/rust-task_info/build.rs
2015-02-11 17:24:45 -07:00
Glenn Watson
cadc2b7986
servo: Merge #4884 - Dispatch a load event at iframes. Fixes #4350 (from glennw:iframe-load); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: fcfa00f4df7e382f1390c26ab3fd322886d2e138
2015-02-11 03:51:47 -07:00
Ms2ger
e80f986397
servo: Merge #4887 - Import net as net rather than servo_net (from Ms2ger:servo_net); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: e3a4d493117ffd09ce75270b36012845ebb9c08c
2015-02-10 05:15:45 -07:00
Ms2ger
37b5782606
servo: Merge #4886 - Import msg as msg rather than servo_msg (from Ms2ger:servo_msg); r=saneyuki
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 29d3b872de4abb693b75e71fc0b987c52b0fd1f6
2015-02-10 03:51:46 -07:00
Glenn Watson
2015f0954a
servo: Merge #4859 - Fix page being removed too early. Fixes #3986 (intermittent failure) (from glennw:fix-3986); r=larsbergstrom
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 13b49ddf446871e7c544bd0b5d6457168c84de46
--HG--
rename : servo/tests/content/test_iframe_contentDocument.html.disabled => servo/tests/content/test_iframe_contentDocument.html
2015-02-08 08:51:43 -07:00
Glenn Watson
d93ca71608
servo: Merge #4842 - Implement window.frameElement, change window.parent to make use of it (from glennw:window-frameelement); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: d0f61f4f85acda3da2f0bbcccc5949f185f94373
2015-02-07 04:51:41 -07:00
Ms2ger
13b8a682c5
servo: Merge #4862 - Cleanup script_task.rs (from Ms2ger:script_task); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 5436922169c79ea4cabcfabb195c7b732df8e74b
2015-02-06 05:18:44 -07:00
Shreya Bastikar
42e76273cf
servo: Merge #4854 - Support firing error events from a dedicated worker at the containing wo (from jdm:workererr); r=jdm
...
...rker object.
Rebased from #4537 .
Source-Repo: https://github.com/servo/servo
Source-Revision: c360b75e1640d5329068cfdbaa560b63ed03b35f
2015-02-05 15:27:44 -07:00
Sagar Muchhal
e8dbf69dbc
servo: Merge #4853 - Add console message support to devtools. Does not actually cause logging (from jdm:consoleapicall); r=jdm
...
... to occur in the remote console.
Source-Repo: https://github.com/servo/servo
Source-Revision: 0d560806f8fd621c2744429ae534e93e1f2563cb
2015-02-05 14:45:45 -07:00
Sagar Muchhal
9b1f1b9c10
servo: Merge #4852 - Add flag to send live updates to devtools (from jdm:buffermessages); r=jdm
...
Rebased and squashed version of #4191 .
Source-Repo: https://github.com/servo/servo
Source-Revision: 0a2bde1b6ea97b68dfa0e62440dc92ef80fb1fd2
2015-02-05 12:36:45 -07:00
Ms2ger
7f6a9f9591
servo: Merge #4850 - Remove the Deref implementation for Root (from Ms2ger:root-deref); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: d439c0d16d6ea1449d207858705d124e191ecc13
2015-02-05 10:51:50 -07:00
Glenn Watson
0fb02d59d2
servo: Merge #4811 - Implement window.parent for iframes (from glennw:window_parent); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 0beb070d482323889556276b122624a2b14cd08b
2015-02-04 15:24:50 -07:00
Josh Matthews
21a974a25d
servo: Merge #4519 - Cookie support (from jdm:cookies); r=Ms2ger
...
As specified in http://tools.ietf.org/html/rfc6265 . Requires https://github.com/servo/cookie-rs/pull/1 . Tested against http://www.joshmatthews.net/cookie.php , http://www.html-kit.com/tools/cookietester/ , https://github.com/login , and https://mobile.twitter.com/session/new .
Source-Repo: https://github.com/servo/servo
Source-Revision: 7e3f504d94ffb77ec6148166d2ab73978e1c71c8
2015-02-04 11:57:54 -07:00
Gilles Leblanc
49f20e1f82
servo: Merge #4706 - Initialize trusted-ness of DOM events properly (from gilles-leblanc:issue-3740); r=jdm
...
Fixes #3740
Source-Repo: https://github.com/servo/servo
Source-Revision: e0d4fd35947d5ba80df26a4157c920b7b226d53d
2015-02-04 03:39:49 -07:00
Alexandru Cojocaru
24ca70cf6f
servo: Merge #4820 - add unwrap to send/recv calls (from servo:send-recv); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 8e6dcc7c26d88bb0452226ff8c34539e368e03d9
2015-02-03 11:24:53 -07:00
Diego Marcos
ebfd758aec
servo: Merge #4777 - Adds borrow_for_script_deallocation and unsafe_mut_js_info method to avo (from dmarcos:issue4692); r=jdm
...
...id 'DOMRefCell already mutably borrowed' messages. This is just a temporary fix until the Rust standard library allows borrowing already-borrowed RefCell values during unwinding.
It also removes LiveDOMReferences destructor that it's a no-op but it contains an assert that was being violated causing an endless cycle of destructor calls ending up in a stack overflow.
Source-Repo: https://github.com/servo/servo
Source-Revision: a7e29939a1df679bd865573dc71f7ba65f0268c4
2015-01-30 16:06:52 -07:00
Ms2ger
3cee792603
servo: Merge #4766 - Import the util crate as util rather than servo_util (from Ms2ger:util); r=Manishearth
...
This used to conflict with the util crate from the standard library, which
has long since been removed.
The import in layout has not been changed because of a conflict with the
util mod there.
Source-Repo: https://github.com/servo/servo
Source-Revision: 27e0f16407629422b5e047e067d458142372c97e
2015-01-29 05:12:49 -07:00
Manish Goregaokar
0baa68ddf8
servo: Merge #4739 - Fix some warnings (from Manishearth:warning-patrol); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: d373f8dc26239310dec8d2fd66ed72385548cf6f
2015-01-28 02:27:50 -07:00
Josh Matthews
78741af324
servo: Merge #4719 - Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev (from servo:rustup_20150109); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 3f9012864a2cd927cf17a8e11dfa6922add1b7df
2015-01-27 18:15:50 -07:00
Josh Matthews
28dff52c4a
servo: Merge #4710 - Make UntrustedNodeAddress a newtype (from servo:untrusted); r=Manishearth
...
This will allow us to make it Send after the Rust upgrade.
Source-Repo: https://github.com/servo/servo
Source-Revision: d9c2bfae8764d9f7813a6b6e9267102625e3d7b8
2015-01-24 04:57:48 -07:00
Ms2ger
b706a00a11
servo: Merge #4705 - Encapsulate to-be-cleaned-up refcounted pointers (from Ms2ger:refcounted); r=larsbergstrom
...
This will allow us to make them Send in the future.
Source-Repo: https://github.com/servo/servo
Source-Revision: ad328fda65e6b7180de8b47f0964fe2f94c505a9
2015-01-21 12:09:56 -07:00
Ms2ger
190438fa42
servo: Merge #4682 - Move to to_owned rather than into_string (from servo:to_owned); r=jdm
...
into_string has been removed from Rust.
Source-Repo: https://github.com/servo/servo
Source-Revision: 94ebc7c32d5ce58ada3f9d8ffdb60cc025eb5997
2015-01-20 07:54:46 -07:00
Ms2ger
69f18f8d14
servo: Merge #4609 - Make Runnable::handler take self by value (from Ms2ger:runnable-self-by-value); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 879af966b3c18d9405b6f5837b39a28039db1eb3
2015-01-10 10:30:44 -07:00
Ms2ger
8bac961b2d
servo: Merge #4607 - Consolidate structured cloning code (from Ms2ger:clone); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: a07c3eadb33eca1fbb2209d168c63c5ec3db23df
2015-01-10 09:18:45 -07:00
Tetsuharu OHZEKI
4121c89acd
servo: Merge #4532 - Make DOMContentLoaded and load asynchronous with using Runnable (from saneyuki:event); r=jdm
...
Fix #4505
Source-Repo: https://github.com/servo/servo
Source-Revision: 21fd1120c3c18a8ccc3d95f8d53b5f2875c77c97
2015-01-09 13:54:47 -07:00