Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decouple script from compositor, route through layout #517

Merged
merged 5 commits into from Jun 17, 2013
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

*Chan.send() convenience functions

  • Loading branch information
Tim Kuehn
Tim Kuehn committed Jun 15, 2013
commit 850fa97c4b55cb878987ecc05a38b4ff9a26c8a7
@@ -111,7 +111,7 @@ fn run(opts: &Opts) {

// Send the URL command to the engine task.
for opts.urls.each |filename| {
engine_chan.chan.send(LoadUrlMsg(make_url(copy *filename, None)))
engine_chan.send(LoadUrlMsg(make_url(copy *filename, None)))
}

// Wait for the compositor to shut down.
@@ -120,7 +120,7 @@ fn run(opts: &Opts) {
// Shut the engine down.
debug!("master: Shut down");
let (exit_response_from_engine, exit_chan) = comm::stream();
engine_chan.chan.send(ExitMsg(exit_chan));
engine_chan.send(ExitMsg(exit_chan));
exit_response_from_engine.recv();
}

@@ -198,7 +198,7 @@ pub fn profile<T>(category: ProfilerCategory,
let val = callback();
let end_time = precise_time_ns();
let ms = ((end_time - start_time) as f64 / 1000000f64);
profiler_chan.chan.send(TimeMsg(category, ms));
profiler_chan.send(TimeMsg(category, ms));
return val;
}

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.