Commit graph

61 commits

Author SHA1 Message Date
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
bors-servo
28a132a8f4 auto merge of #4213 : jdm/servo/sepreadwrite, r=jdm
Rebased from #4211.
2014-12-03 22:48:59 -07:00
Shanil Puri
72a5ae7210 Implemeneted ModifyAttribute handler to update DOM elements. 2014-12-03 18:58:44 -08:00
Sagar Muchhal
75ffda9fb8 Support for Separated Read Write 2014-12-03 18:45:05 -08:00
Josh Matthews
9242d1a1a3 Fix the panic on runnig with --devtools due to a change in how type_id gets resolved since the last rustc upgrade. 2014-11-29 00:17:35 -05:00
bors-servo
d1eaa3adda auto merge of #3796 : shanil-puri/servo/ServoExitDevtools, r=jdm 2014-11-17 06:15:30 -07:00
Shanil Puri
d6e99cb269 Spacing changes corrected. 2014-11-17 00:55:41 -05:00
Shanil Puri
fc7b3699ed Sending exit message to devtools to exit.
Accepted and closed incoming streams

Added header to for constant use.

Removed extra spaces.

Corrected spacing to conform to coding standards.

Corrected spacing to conform to coding standards.

Corrected spacing to conform with coding standards.

Moving new import next to old import for devtools_traits as specified in comment.

Removed method definition to include as inline code and changed to iter_mut.

Using loops to exit devtools on server exit message and disconnected message to simply break as suggested in the comment.

Removing TODO comment for completed functionality.

Moved the operation for exit of devtools on servo closing outside the match loop.

Removing trailing ';' and adding new line before connection closing loop.
2014-11-13 20:44:06 -05:00
Jack Moffitt
d1b433a3b3 Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a 2014-11-13 11:17:43 +10:00
thiagopnts
4c1a89544e Move code related to json packet reading to JsonPacketSender trait
fixup! Move code related to json packet reading to JsonPacketSender trait
2014-11-12 10:30:49 -02:00
Clark Gaebel
14b1c320a6 make naming more consistent 2014-10-28 10:06:39 -07:00
Clark Gaebel
6df1cc8e4c Run all task spawning through util, to allow for easy hooking.
During debugging, I found it useful to hook all task creation in a
central location, and util::task was the perfect place for it.

r? @pcwalton (or maybe someone else, I'm kinda sending you a bunch of
reviews today because I don't know who better to give them to)
2014-10-28 09:53:45 -07:00
Robin Stocker
8a5c6a0d3b Allow to specify port with --devtools option (fixes #3597)
Note that using `servo --devtools http://example.org` doesn't work. In
that case either the port must be specified or the option moved to the
end. This is done by getopts and is the same for other such options,
e.g. `--profile`.
2014-10-09 00:39:31 +11:00