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
Ms2ger
cf55d3191d
Send the start and end half of a TimelineMarker to the devtools PullTimelineMarkers thread together.
2015-08-28 20:48:07 +02:00
Ms2ger
18b9532b25
Remove Emitter::markers.
...
The vector is filled in and immediately emptied again. It is clearer to
keep the vector in the caller instead.
2015-08-26 16:19:01 +02:00
Johann Tuffe
ec07178b6f
sort all uses
2015-08-20 20:47:12 +08:00
Josh Matthews
8bb853f643
Fix existing syntactics nits.
2015-08-16 10:30:43 -04: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
Fabrice Desré
c7b48240b0
Actor::handle_message should return an enum instad of a boolean #7110 r=jdm
2015-08-13 18:14:34 -07: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
Josh Matthews
820c74649b
Improve documentation for devtools messages a bit more.
2015-08-13 13:44:54 -04: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
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
Harrison G
e0f007a940
Closes #6724 (Allows object evaluation in devtools)
...
The purpose of this is to fix how objects were previously evaluated in
the developer tools.
- Before this, evaluating an object such as the `window` would `panic!`
- After this, evaluating an object such as the `window` outputs `[object
Window]`
A few things to note:
- This commit contains `unsafe` code.
- This does not contain a test because the developer tools cannot be properly tested until #5971 lands.
2015-08-09 11:45:16 -04:00
Harrison G
49c5408e65
Fixes issue #6866
2015-08-02 16:55:42 -04:00
Patrick Walton
164e10202c
devtools: Convert the developer tools to run over IPC.
2015-07-27 09:10:01 -07:00
Michael Howell
602c8bb415
Don't crash when Firefox doesn't send autoMargins.
2015-07-15 12:30:33 -07:00
Josh Matthews
81c0d32a04
Make cached messages appear in FF's devtools.
2015-07-03 09:22:47 -04:00
Manish Goregaokar
86add71b4c
Audit and reduce unstable usage in devtools
...
Reasons behind existing unstable features:
core:
- `Reflect` / `Any` stuff
2015-06-10 00:14:39 +05:30
Corey Farwell
435e551753
Remove get_
prefix on getters
...
Part of #6224
I certainly didn't remove all of them; I avoided `unsafe` areas and also `components/script`
2015-06-02 08:54:44 -04:00
Tamir Duberstein
b5f74eb54c
Implemented GetCachedMessages
2015-05-26 10:04:31 -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
Ms2ger
422b6bd223
Fix comments in devtools.
...
In particular, use the right kind of documentation comments.
2015-05-14 13:10:40 +02:00
Guro Bokum
be2cb665de
Start using on_refresh_driver_tick #5681
...
Final
2015-05-06 02:08:39 +07:00
Himaja
01eb31ae8a
1. Add an Option<Pipeline_id> field to the LoadData struct, and a corresponding parameter to LoadData::new()
...
2. Change addEvent in the NetworkEventActor to add_request and add_response
2015-05-05 12:31:40 -04:00
Himaja
6e91ebb1fe
1. Add an enum type NetworkEventMessage for handling both HttpRequest and HttpResponse messages
...
2. Change run_server to handle network events
3. Add a unique id to track request-actor associations
4. Update the network event actor
2015-05-05 11:50:00 -04:00
Himaja
9f4a88bc48
Initial changes for devtools support for logging HTTP requests.
...
Add a NetworkEventActor to devtools/actors/
Authors:
Ashritha Mohan Ram <amohanr@ncsu.edu>
Himaja Valavala <hsvalava@ncsu.edu>
Anand Chandrasekar <achandr9@ncsu.edu>
Yiyang Wang <ywang95@ncsu.edu>
2015-05-05 11:49:26 -04:00
Simon Sapin
ef8edd4e87
Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.
2015-05-05 10:07:34 -04:00
Guro Bokum
491851610e
Send high resolution millisecond timestamps in timeline markers #5665
2015-04-15 19:46:00 +07:00
Ms2ger
9d26931910
Mention #5681 in a TODO comment.
2015-04-14 12:13:14 +02:00
Adenilson Cavalcanti
a233cb5ef9
Using unwrap() as suggested in review.
2015-04-13 14:45:14 -07:00
Adenilson Cavalcanti
d2b7cbd4ef
Squashing a few compiler warnings.
2015-04-13 14:25:42 -07:00
Guro Bokum
97714ec5ed
Firefox timeline integration #4957
2015-04-13 21:08:07 +07:00
Josh Matthews
6328946434
Remove int/uint from devtools/devtools_traits.
2015-04-06 10:14:57 -04:00
Thiago Pontes
1244f9e016
Notify devtools about new worker globals
2015-03-27 16:04:53 -03:00
Ms2ger
638ce20e6f
Move devtools to std::net ( fixes #5355 ).
2015-03-25 14:40:21 +01:00
Corey Farwell
2764ec0f7b
Make Actor::handle_message take &str instead of &String
...
Fixes #5305
2015-03-21 20:56:14 -04:00
Ms2ger
ba87666cdb
Update some code that's feature-gated under core.
2015-03-21 18:44:39 +01:00
Ms2ger
aaed4a54c7
Use rustc-serialize rather than the built-in deprecated serialize.
2015-02-17 13:24:15 +01:00
Ruud van Asseldonk
6c1d62f911
Import EvaluateJS variants directly.
2015-02-13 15:55:47 +01:00
Ruud van Asseldonk
1748682092
Import DevtoolScriptControlMsg variant directly.
2015-02-13 15:49:14 +01:00
Ruud van Asseldonk
0fbfb8cffc
Do not glob-export EvaluateJSReply variants.
...
This closes #4921 .
2015-02-13 14:59:50 +01:00
Ruud van Asseldonk
6ff3a5a3c1
Do not glob-export DevtoolScriptControlMsg variants.
2015-02-13 14:51:10 +01:00
Simon Sapin
d5dd1d658e
Upgrade to rustc ba2f13ef0 2015-02-04
2015-02-11 14:48:34 -08:00
Ms2ger
b2fcc2397e
Import msg as msg rather than servo_msg.
2015-02-10 11:40:36 +01:00
Ms2ger
d5ec37e4a3
Fix warnings introduced in #4852 .
2015-02-06 10:51:56 +01:00
Sagar Muchhal
5345edf51e
Add flag to send live updates to devtools.
2015-02-05 19:26:59 +00:00
Manish Goregaokar
b68b7e87c8
self import
2015-01-28 13:46:00 +05:30
Josh Matthews
95fc29fa0d
Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.
2015-01-28 10:16:49 +10:00