Commit Graph

63 Commits

Author SHA1 Message Date
Zachary Anderson de63e4fa94 [Fuchsia] Update to the newest spelling of launchpad calls
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2713523005 .
2017-02-22 15:41:40 -08:00
Zach Anderson 063ae12ffc Fuchsia's message pipes are called channels for a while now
R=zra@google.com

Review-Url: https://codereview.chromium.org/2692853014 .
2017-02-17 07:43:53 -08:00
Zachary Anderson cbcc1a9f5f Use the new mx_object_wait_* name
R=zra@google.com, abarth@google.com

BUG=

Review-Url: https://codereview.chromium.org/2688303003 .
2017-02-10 21:53:36 -08:00
Zachary Anderson 3cb96e98a8 [Fuchsia] Cleanup process launching for updated launchpad API
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2681003004 .
2017-02-09 09:26:00 -08:00
Zachary Anderson c7d2f8276d Fuchsia: Fix deprecated jobs call
Review-Url: https://codereview.chromium.org/2628213002 .
2017-01-12 08:44:04 -08:00
Zachary Anderson 245e62280e Fuchsia: Pass a job to launchpad_create()
This API will change soon such that passing 0 for the
job handle will prevent spawned processes from creating
new processes themselves.

R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2621783003 .
2017-01-10 11:01:09 -08:00
Zachary Anderson a5d8a2f365 Fuchsia: Adds support for Process.kill()
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2619233003 .
2017-01-09 15:57:41 -08:00
Zach Anderson 2b48261764 Fix Process.runSync error handling.
Now, failing to allocate a buffer for stderr or stdout will generate
an ENOMEM OSError exception.

Also previously, read() returning an error would cause buffers for
stderr and stdout to leak. After this change, they'll be reclaimed.

R=asiva@google.com

Review-Url: https://codereview.chromium.org/2596543002 .
2016-12-21 09:10:40 -08:00
Zachary Anderson 918b90ba46 Fuchsia: implement Process::Wait() for Process.runSync()
R=asiva@google.com

Review-Url: https://codereview.chromium.org/2591473004 .
2016-12-20 09:30:00 -08:00
Zachary Anderson 32e5ef787d Fuchsia: dart:io Processes
This change adds support for non-detached processes
spawned with Process.run and Process.start (but not Process.runSync).

R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2563463002 .
2016-12-13 11:09:55 -08:00
Zachary Anderson 479a97b129 clang-format runtime/bin
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2480793002 .
2016-11-04 12:30:56 -07:00
Ryan Macnak 4d65db8a95 Don't use IsolateData for the exit hook as multiple embedders share the dart/bin while using different isolate data structures.
Issue flutter/flutter#6506

R=asiva@google.com

Review URL: https://codereview.chromium.org/2463923002 .
2016-10-31 15:56:25 -07:00
Zachary Anderson 53374c3b99 Fuchsia: Build standalone VM. Make it run "Hello, World!".
This CL adds targets to the GN build that build the standalone Dart VM
without the observatory, and with dart:io enabled but with most of the
functionality stubbed out as UNIMPLEMENTED(). It also adds a simple
eventhandler for Fuchsia for implementing Timers.

R=asiva@google.com, johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2168193002 .
2016-07-22 14:00:31 -07:00