Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Issue 1742043002: Make M-x shell work in emacs. (Closed)

Created:
4 years, 10 months ago by bradnelson
Modified:
4 years, 9 months ago
CC:
native-client-reviews_googlegroups.com, Sam Clegg
Base URL:
https://chromium.googlesource.com/webports.git@master
Target Ref:
refs/heads/master
Project:
webports
Visibility:
Public.

Description

Make M-x shell work in emacs. Only allow children of the current foreground process that don't have their input redirected from a pipe become the foreground process. Make nacl_spawn pipe support O_NONBLOCK, and return an error code with EAGAIN/EWOULDBLOCK when appropriate. Use an O_NONBLOCK pipe for reading from the output of a child process. R=petewil@chromium.org BUG=https://bugs.chromium.org/p/webports/issues/detail?id=247 BUG=https://bugs.chromium.org/p/webports/issues/detail?id=248 TEST=manual Committed: https://chromium.googlesource.com/webports/+/f4761741c30df133fbc67b389fb11219f0586dac

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 8

Patch Set 3 : fixes #

Total comments: 2

Patch Set 4 : fix #

Patch Set 5 : fix flags, add test #

Patch Set 6 : fix name #

Total comments: 4

Patch Set 7 : pipe2 #

Patch Set 8 : fix #

Patch Set 9 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -29 lines) Patch
M build_tools/naclprocess.js View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
M build_tools/pipeserver.js View 1 2 9 chunks +31 lines, -5 lines 0 comments Download
M docs/port_list.md View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ports/devenv/tests/devenv_small_test.cc View 1 2 3 4 5 6 7 8 2 chunks +58 lines, -1 line 0 comments Download
M ports/emacs/nacl.patch View 1 2 3 4 5 6 2 chunks +55 lines, -13 lines 0 comments Download
M ports/gcc/build.sh View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ports/nacl-spawn/include/spawn.h View 1 2 3 4 5 6 7 8 1 chunk +33 lines, -0 lines 0 comments Download
M ports/nacl-spawn/nacl_apipe.c View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M ports/nacl-spawn/nacl_spawn.cc View 1 2 3 4 5 6 4 chunks +17 lines, -6 lines 0 comments Download

Messages

Total messages: 41 (20 generated)
bradnelson
4 years, 10 months ago (2016-02-27 08:31:55 UTC) #2
Pete Williamson
Mostly looks good, but please check the use of O_RDONLY. https://codereview.chromium.org/1742043002/diff/20001/build_tools/pipeserver.js File build_tools/pipeserver.js (right): https://codereview.chromium.org/1742043002/diff/20001/build_tools/pipeserver.js#newcode216 ...
4 years, 9 months ago (2016-02-29 20:53:47 UTC) #3
bradnelson
https://codereview.chromium.org/1742043002/diff/20001/build_tools/pipeserver.js File build_tools/pipeserver.js (right): https://codereview.chromium.org/1742043002/diff/20001/build_tools/pipeserver.js#newcode216 build_tools/pipeserver.js:216: * @params {Object} Dictionary of environment variables passed to ...
4 years, 9 months ago (2016-03-03 18:04:02 UTC) #5
bradnelson
https://codereview.chromium.org/1742043002/diff/20001/build_tools/pipeserver.js File build_tools/pipeserver.js (right): https://codereview.chromium.org/1742043002/diff/20001/build_tools/pipeserver.js#newcode216 build_tools/pipeserver.js:216: * @params {Object} Dictionary of environment variables passed to ...
4 years, 9 months ago (2016-03-03 18:04:03 UTC) #6
Pete Williamson
lgtm
4 years, 9 months ago (2016-03-03 18:14:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742043002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742043002/40001
4 years, 9 months ago (2016-03-03 18:19:01 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: webports-presubmit on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/webports-presubmit/builds/153)
4 years, 9 months ago (2016-03-03 18:24:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742043002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742043002/60001
4 years, 9 months ago (2016-03-03 18:40:24 UTC) #14
bsy_cr
nit https://codereview.chromium.org/1742043002/diff/40001/ports/nacl-spawn/nacl_spawn.cc File ports/nacl-spawn/nacl_spawn.cc (right): https://codereview.chromium.org/1742043002/diff/40001/ports/nacl-spawn/nacl_spawn.cc#newcode714 ports/nacl-spawn/nacl_spawn.cc:714: // Filter out O_RDONLY + O_WRONLY sorry about ...
4 years, 9 months ago (2016-03-03 18:43:33 UTC) #16
bradn
https://codereview.chromium.org/1742043002/diff/40001/ports/nacl-spawn/nacl_spawn.cc File ports/nacl-spawn/nacl_spawn.cc (right): https://codereview.chromium.org/1742043002/diff/40001/ports/nacl-spawn/nacl_spawn.cc#newcode714 ports/nacl-spawn/nacl_spawn.cc:714: // Filter out O_RDONLY + O_WRONLY On 2016/03/03 18:43:33, ...
4 years, 9 months ago (2016-03-03 19:11:40 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742043002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742043002/100001
4 years, 9 months ago (2016-03-03 19:13:44 UTC) #21
Sam Clegg
https://codereview.chromium.org/1742043002/diff/100001/ports/nacl-spawn/include/spawn.h File ports/nacl-spawn/include/spawn.h (right): https://codereview.chromium.org/1742043002/diff/100001/ports/nacl-spawn/include/spawn.h#newcode89 ports/nacl-spawn/include/spawn.h:89: int nacl_spawn_pipe_flags(int flags, int pipefd[2]); Posix functions normally put ...
4 years, 9 months ago (2016-03-03 19:20:54 UTC) #23
Sam Clegg
https://codereview.chromium.org/1742043002/diff/100001/ports/nacl-spawn/include/spawn.h File ports/nacl-spawn/include/spawn.h (right): https://codereview.chromium.org/1742043002/diff/100001/ports/nacl-spawn/include/spawn.h#newcode89 ports/nacl-spawn/include/spawn.h:89: int nacl_spawn_pipe_flags(int flags, int pipefd[2]); On 2016/03/03 19:20:54, Sam ...
4 years, 9 months ago (2016-03-03 19:22:10 UTC) #24
bradn
https://codereview.chromium.org/1742043002/diff/100001/ports/nacl-spawn/include/spawn.h File ports/nacl-spawn/include/spawn.h (right): https://codereview.chromium.org/1742043002/diff/100001/ports/nacl-spawn/include/spawn.h#newcode89 ports/nacl-spawn/include/spawn.h:89: int nacl_spawn_pipe_flags(int flags, int pipefd[2]); On 2016/03/03 19:20:54, Sam ...
4 years, 9 months ago (2016-03-03 19:39:35 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742043002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742043002/120001
4 years, 9 months ago (2016-03-03 19:40:20 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: webports-linux-glibc-0 on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/webports-linux-glibc-0/builds/157) webports-linux-pnacl-0 on tryserver.nacl (JOB_FAILED, ...
4 years, 9 months ago (2016-03-03 21:06:19 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742043002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742043002/140001
4 years, 9 months ago (2016-03-03 21:33:10 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: webports-linux-glibc-1 on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/webports-linux-glibc-1/builds/166)
4 years, 9 months ago (2016-03-04 02:10:03 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742043002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742043002/160001
4 years, 9 months ago (2016-03-04 19:12:57 UTC) #38
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/webports/+/f4761741c30df133fbc67b389fb11219f0586dac
4 years, 9 months ago (2016-03-05 00:01:05 UTC) #40
native-client-reviews_googlegroups.com
4 years, 9 months ago (2016-03-05 00:31:12 UTC) #41
Message was sent while issue was closed.
Hooray!

I can't wait until this hits play store!

On Fri, Mar 4, 2016 at 4:01 PM, commit-bot@chromium.org via
codereview.chromium.org <reply@chromiumcodereview-hr.appspotmail.com> wrote:

> Committed patchset #9 (id:160001) as
>
>
https://chromium.googlesource.com/webports/+/f4761741c30df133fbc67b389fb11219...
>
> https://codereview.chromium.org/1742043002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Native-Client-Reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to native-client-reviews+unsubscribe@googlegroups.com.
To post to this group, send email to native-client-reviews@googlegroups.com.
Visit this group at https://groups.google.com/group/native-client-reviews.
For more options, visit https://groups.google.com/d/optout.

Powered by Google App Engine
This is Rietveld 408576698