Anthony Ramine
63c4490e73
Kill the plugins crate and its clippy support
...
Sometimes clippy gets outdated by months, and its current support setup
means that each Servo component need to opt into it by depending on
the plugins crate manually, and not all components do that.
2017-02-21 11:50:36 +01:00
Simon Sapin
67aea3bba4
Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06)
2017-01-06 17:43:31 +01:00
Julien Levesy
b78979d692
replace match by if let statements if possible
2016-12-31 12:34:05 +01:00
Alan Jeffrey
9be4fd56ce
Removed util.
2016-12-14 18:04:37 -06:00
Anthony Ramine
a9767333eb
Remove #![feature(custom_attribute)]
2016-11-03 11:24:13 +01:00
Anthony Ramine
c4f27e42b7
Remove #![feature(custom_derive)]
2016-11-03 10:14:21 +01:00
Anthony Ramine
1854566683
Update to Rust 1.14.0-nightly (19ac57926 2016-10-08)
...
A cargo bump and a switch to serde_derive is needed to do this rustup.
2016-10-09 18:53:47 +02:00
UK992
93a103ba73
Reorder use
statements
2016-09-09 04:55:19 +02:00
Malisa Smith
faf32a7cfb
dom::Response implementation
2016-09-06 19:58:32 -07:00
Chiu-Hsiang Hsu
f189a866a7
Added using real pipeline ID value
2016-08-27 15:27:31 +08:00
Josh Matthews
7bf2e19437
Make the net monitor panel in FF's devtools show meaningful output.
...
0) Advertise support for the network monitor in the initial protocol communication.
1) Only notify the developer tools server about the final request in an HTTP transaction.
2) Add timing information for connecting to the HTTP server and sending the HTTP request.
3) Reduce duplication between various networkEventUpdate structures by creating a helper function
that merges two JSON structures together. This also corrects the JSON structure so the devtools
client interprets the output correctly.
4) Calculate various header size fields correctly.
5) Remove unnecessary usize->u32 casts by making the appropriate fields usize.
6) Add header values to request and response header messages.
7) Support triggering page reloads via the devtools client.
2016-06-06 00:51:36 +01:00
Josh Matthews
3cb8af20c2
Remove empty lines following braces.
2016-05-27 13:32:05 -04:00
Manish Goregaokar
48257ef282
Use debug instead of println in devtools
2016-05-27 15:09:26 +05:30
Simon Sapin
7932ab6ac2
Upgrade to rust-url 1.0 and hyper 0.9
2016-04-23 20:27:58 +02:00
Zbynek Winkler
41c293293b
Remove references to unused crates.
...
The cleanup is based on info from using "-W unused-extern-crates".
2016-04-22 22:20:06 +02:00
Anthony Ramine
406273c641
Use serde in devtools
2016-03-31 11:07:18 +02:00
Anthony Ramine
dbfa4f06b7
Implement a basic thread actor
...
These should represent JavaScript contexts, but not defining them at all
prevent any remote debugging session to be started from Firefox. They shouldn't
be conflated with tab actors.
2016-03-24 10:28:27 +01:00
benshu
0785d91ae4
Completed implementation of devtools' getLayout
.
2016-02-24 13:51:47 -05:00
Josh Matthews
e6d906dbbf
Report CSS errors to script task for further processing.
2016-02-11 14:48:47 -05:00
Florian Strübe
6502820ab3
Removed unused imports from devtools crate
2016-01-17 13:18:15 +01:00
Ms2ger
86d3c576f2
Remove some unused extern crates.
2016-01-13 09:37:28 +01:00
GauriGNaik
907322c666
Final steps
2016-01-11 18:48:54 +05:30
rohan.prinja
1f02c4ebbb
task -> thread
2016-01-10 17:58:13 +09:00
Abhishek Kumar
f889b1ccd7
Support responseCookies, responseContent, responseHeaders, requestCookies, getResponseHeaders,
...
getResponseContent, getRequestPostData, getRequestCookies, getResponseCookies, getEventTimings and
getSecurityInfo message for network devtools
Fixing Indentation
2015-12-21 10:28:40 -05:00
Florian Strübe
b81f712ce1
Moved WorkerId type to devtools_traits
2015-12-07 20:11:26 +01:00
Guillaume Gomez
6e7de62b38
Add check up on extern crate order and sort extern crates alphabetically
2015-11-28 03:11:08 +01:00
Alan Jeffrey
5101506089
Replaced DOMString by String in devtools.
2015-11-12 17:52:58 -06:00
Rizky Luthfianto
df02ed4050
refactor(devtools/lib.rs): Remove unused import
...
Removed `RecvError` imports from #L57
2015-11-10 09:07:25 +07:00
Raphael Nestler
98d70aec3c
Use while let{} instead of loop{match{}} in run_server()
2015-11-09 23:32:00 +01:00
Ms2ger
6b75078503
Make DOMString a newtype around String, rather than a typedef.
...
This should make it somewhat easier to experiment with alternative
representations in the future. To reduce churn, this commit leaves the String
field public, though.
Also, this will allow us to use the default String type to represent the IDL
USVString type, which explicitly forbids unpaired surrogates, ans as such is
a better match to the Rust String type.
2015-11-04 12:09:11 +01:00
Glenn Watson
5645dba1fa
Make it possible for iframes to create their own pipeline ID.
...
This doesn't change any functionality, but it's the first step towards removing SubpageId.
Adding this change now will allow us to gradually change over code referencing subpage id rather than in one massive PR.
Introduces a namespace for pipeline ID generation - there is a namespace for the constellation thread, and one per script thread.
2015-10-06 17:06:53 +10:00
Prabhjyot Singh Sodhi
920bb5e4b8
tests for devtools integration with network requests/responses
2015-09-25 22:07:01 +05:30
Ravi Shankar
889eec364b
sorted the extern crate, mod & use declarations
2015-09-24 02:12:45 +05:30
Brandon Fairchild
de3547e401
Fix reported test-tidy errors for unmerged import blocks
...
This merges import blocks that were reported by tidy as unmerged.
2015-09-19 12:50:14 -04:00
Ms2ger
0decdaaf99
Make devtools depend on plugins.
2015-09-02 19:51:23 +02:00
Ms2ger
1257a33394
Stop calling to_string() in devtools.
2015-09-02 19:51:22 +02:00
Eli Friedman
5215b51b55
Simplify reflection usage in Actor code.
...
The fixed version is shorter, and doesn't use unstable features.
2015-08-31 18:45:07 -07:00
Johann Tuffe
ec07178b6f
sort all uses
2015-08-20 20:47:12 +08:00
João Oliveira
067a22a868
Replace uses of for foo in bar.iter()
,
...
and `for foo in bar.iter_mut(), and for foo in bar.into_iter()
(continuation of #7197 )
2015-08-18 01:46:11 +01:00
Ms2ger
238beec038
Implement a PerformanceActor.
...
This is necessary for the devtools "Start Recording Performance" button to
send a message.
(This message is not yet supported, so it leads to
'unexpected message type "startRecording" found for actor "performance4"'.)
2015-08-15 14:21:25 +02:00
João Oliveira
0038580abf
Replace uses of for foo in bar.iter()
and for foo in bar.iter_mut()
...
closes #7197
2015-08-15 02:27:39 +01:00
Ms2ger
2126301c2d
Use external mutability for FramerateActor::ticks.
2015-08-14 14:45:46 +02:00
bors-servo
07716780fc
Auto merge of #7192 - Ms2ger:profiler, r=jdm
...
Implement a ProfilerActor struct.
This is sufficient to make the profiler tab show up in Firefox's devtools.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7192 )
<!-- Reviewable:end -->
2015-08-13 14:25:38 -06:00
bors-servo
f3b7c5cb4b
Auto merge of #7132 - jdm:docenum, r=ms2ger
...
Document the use and meaning of the devtools control messages. Fixes …
…#6922.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7132 )
<!-- Reviewable:end -->
2015-08-13 12:41:48 -06:00
Ms2ger
c10bf0dcaa
Implement a ProfilerActor struct.
...
This is sufficient to make the profiler tab show up in Firefox's devtools.
2015-08-13 16:58:15 +02:00
Ms2ger
38ed3a46d6
Disallow unsafe code in the devtools and devtools_traits crates.
2015-08-12 13:16:31 +02:00
Josh Matthews
56475676e4
Warning police.
2015-08-12 01:07:50 -04:00
Josh Matthews
e59de75608
Simplify devtools frame marker notification. Record each frame tick based on a single message sent from the script task that ticked.
2015-08-12 00:59:58 -04:00
bors-servo
15a73614f4
Auto merge of #7140 - wilmoz:master, r=jdm
...
Remove Message suffix from NetworkEventMessage
https://github.com/servo/servo/issues/7129
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7140 )
<!-- Reviewable:end -->
2015-08-11 01:34:47 -06:00
wilmoz
210e068ac7
Remove Message suffix from NetworkEventMessage
2015-08-10 18:48:53 -05:00