Commit graph

73 commits

Author SHA1 Message Date
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
Dhananjay Nakrani
d0138443d5 Move actor_workers HashMap outside handle_new_global(). [Issue#5735] 2015-04-20 11:33:09 -07: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
Avi Weinstock
5d444fe16d Create a seperate thread for devtools' TCP acceptor (Closes #5294). 2015-03-24 18:28:28 -04: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
bors-servo
ab8d43910c auto merge of #5229 : hsvalava/servo/m1503, r=jdm
Fixing ConsoleMsg for console.log messages in the Developer Tools web console.
2015-03-19 21:48:48 -06:00
Himaja
3830d8e3e1 Fix ConsoleMsg in ConsoleAPICall for log messages in the Developer Tools web console. 2015-03-19 16:08:27 -04:00
Simon Sapin
6a58cbd118 Fix more warnings everywhere. 2015-03-18 22:11:20 +01:00
Ms2ger
5f15eb5fbf Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. 2015-03-18 13:18:31 -04: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
Ruud van Asseldonk
1452614e28 Do not glob-export DevtoolsControlMsg 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
6699738cae Add console message support to devtools. Does not actually cause logging to occur in the remote console. 2015-02-05 21:44:07 +00:00
bors-servo
0a2bde1b6e auto merge of #4852 : jdm/servo/buffermessages, r=jdm
Rebased and squashed version of #4191.
2015-02-05 12:36:45 -07:00
Sagar Muchhal
5345edf51e Add flag to send live updates to devtools. 2015-02-05 19:26:59 +00:00
Josh Matthews
b2b7baf914 Fix devtools implementation of downcastable actors. Fixes #4844. 2015-02-05 14:29:09 +00:00
Ms2ger
505159a464 Import the util crate as util rather than servo_util.
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.
2015-01-29 12:16:41 +01: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
Ms2ger
808315926c Pass a String to spawn_named.
IntoString has been removed from Rust, and named() will take a String, so
there is no good reason to do otherwise here.
2015-01-21 11:23:19 +01:00
Ms2ger
394f816343 Disallow lines that span more than 160 columns.
The Rust style guide suggests 100, but we have too many violations in the
tree already. This check can be tightened over time.
2015-01-19 13:48:32 +01:00
Ms2ger
58b89939c2 Fix the documentation comment for the devtools library.
Also removed a duplicated feature gate.
2015-01-11 11:27:46 +01:00
Matthew Rasmus
a3fc3a1581 Allow missing_copy_implementations 2015-01-08 08:51:11 -08:00
Ms2ger
16c7060bc8 Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. 2015-01-08 09:58:46 -05:00
Ms2ger
76b8810a86 Disambiguate trait object reference syntax. 2015-01-04 11:59:51 +01:00
bors-servo
e8fac3681b auto merge of #4535 : servo/servo/pre-rustup_20141221, r=jdm
This prepares for the rust upgrade currently being conducted.
2015-01-03 14:39:46 -07:00
Ms2ger
fbf257f878 Remove obsolete attributes. 2015-01-03 10:06:17 +01:00
Ms2ger
b51e83819d Fix obsolete format traits.
They are to be removed from the language in the next rust upgrade.
2015-01-02 19:04:18 +01:00
Ms2ger
466faac2a5 Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. 2014-12-17 15:19:45 -05:00
Greg Weng
a477893ab3 Return real page titles and URLs for devtools tab choices.
Fixes #4167.
2014-12-12 22:38:55 +01:00
Ben Hsu
d9b59bbec2 Fixes #4232 2014-12-08 22:17:17 +08:00
Eduard Burtescu
b328c57caa devtools: handle script task panics gracefully in ConsoleActor. 2014-12-05 02:57:32 +02:00