Commit Graph

1291 Commits

Author SHA1 Message Date
Qi Xiao
d41b8d8605 Really quit on SIGQUIT. 2016-02-10 21:49:39 +01:00
Qi Xiao
7578b4cf63 Quit on SIGQUIT. 2016-02-10 21:48:08 +01:00
Qi Xiao
018de2ad8b EvalInteractive now uses a closed channel for input.
This prevents commands like `from-json` from hanging elvish when they appear
as the first form of a pipeline.
2016-02-10 21:46:02 +01:00
Qi Xiao
2fb73f4680 parse: Implement tryAssignment by tracking ps.errors. 2016-02-10 21:33:56 +01:00
Qi Xiao
a672ff29c3 linux -> Linux 2016-02-10 01:18:06 +01:00
Qi Xiao
be9d9c6d09 Update README.md.
Added a section on prebuilt binaries; move the section on name to the end.
2016-02-10 01:16:31 +01:00
Qi Xiao
a560be7206 Don't reveal token in Travis builds. 2016-02-10 01:01:00 +01:00
Qi Xiao
be7c2ae710 Let Travis upload built binary to my VPS. 2016-02-10 00:53:23 +01:00
Qi Xiao
5841d45251 Give up the attempt of using Travis to upload artifacts. 2016-02-09 23:54:28 +01:00
Qi Xiao
841cc51898 This is the 5th attempt to get Travis to work. 2016-02-09 23:45:22 +01:00
Qi Xiao
497df320bf Attempt to fix .travis.yml again. 2016-02-09 23:29:30 +01:00
Qi Xiao
5ee101319b Fix .travis.yml (again). 2016-02-09 23:25:10 +01:00
Qi Xiao
133fb465f9 Try to fix the "travis" target. 2016-02-09 23:20:31 +01:00
Qi Xiao
ccb4ca16f9 Generate artificat on Travis-CI. 2016-02-09 23:11:31 +01:00
Qi Xiao
6dd37b5c10 Merge pull request #102 from zhsj/fix-rc
Initialize editor before loading rc.elv
2016-02-09 21:03:39 +01:00
Shengjing Zhu
b526a592f3 Initial editor beforce load rc.elv
Now we can define bind in rc.elv
2016-02-10 03:15:47 +08:00
Qi Xiao
431e5b5fd7 Put go dumpstackOnQuit() in main. 2016-02-09 18:39:24 +01:00
Qi Xiao
9bb9afb251 Improve signal handling. 2016-02-09 18:38:26 +01:00
Qi Xiao
307f7fe6f0 Add a builtin -sleep. 2016-02-09 18:18:18 +01:00
Qi Xiao
a768ba8f40 Fix last commit... 2016-02-09 18:08:39 +01:00
Qi Xiao
67b9de70ce eval: When compounding, reuse vs with caution.
This fixes #99.
2016-02-09 18:07:06 +01:00
Qi Xiao
c0c8295c2f Fix .travis.yml 2016-02-09 12:30:17 +01:00
Qi Xiao
ebd0666d51 Build for OSX in Travis. 2016-02-09 12:27:45 +01:00
Qi Xiao
90684d9365 Merge pull request #97 from zhsj/dockerfile
update Dockerfile
2016-02-09 11:20:20 +01:00
Qi Xiao
63c9a4a45a Merge pull request #98 from zhsj/readme
fix readme doc
2016-02-09 11:20:08 +01:00
Shengjing Zhu
cd990e812e fix readme doc
wrong example of modifying env:PATH
2016-02-09 17:15:33 +08:00
Shengjing Zhu
b3ba476c05 update Dockerfile
google/golang-runtime is deprecated.
2016-02-09 16:43:58 +08:00
Qi Xiao
6097cfd76d eval: Introduce (*Port).Fork. 2016-02-09 01:40:36 +01:00
Qi Xiao
4ff3f771d1 eval: Don't close ports in (*Evaler).Eval. 2016-02-09 01:34:19 +01:00
Qi Xiao
d373d6398d Remove generate from the all target of Makefile 2016-02-09 01:24:21 +01:00
Qi Xiao
63bc4ec9c9 eval: Use sync.WaitGroup. 2016-02-09 01:23:40 +01:00
Qi Xiao
dca576ff16 Renames. 2016-02-09 01:21:38 +01:00
Qi Xiao
f3c82a65b0 Don't close ports in Closure.Call.
This fixes #92.
2016-02-09 01:18:26 +01:00
Qi Xiao
227f9a8d2a Use container-based Travis infra. 2016-02-09 00:23:38 +01:00
Qi Xiao
b0cac07ae0 Sort names in osutil.RootNames. 2016-02-09 00:21:31 +01:00
Qi Xiao
9159cacf42 Parse globs correctly. 2016-02-09 00:05:34 +01:00
Qi Xiao
82e33afd34 glob: Remove unused func. 2016-02-09 00:05:34 +01:00
Qi Xiao
82bcc20ff6 Move rootNames to osutil and export it. 2016-02-09 00:05:34 +01:00
Qi Xiao
762e778eeb glob: Add test cases against absolute paths. 2016-02-09 00:05:34 +01:00
Qi Xiao
ae8cfbc011 Extend the binding for command mode. 2016-02-08 22:57:58 +01:00
Qi Xiao
832448e047 logutil.Sink -> .Discard 2016-02-08 20:51:44 +01:00
Qi Xiao
b8684428bf Support binding key to elvish function.
This fully resolves #39.
2016-02-08 20:40:39 +01:00
Qi Xiao
6f5babd294 eval: More exports. 2016-02-08 20:30:00 +01:00
Qi Xiao
692f101de5 eval: Exports and cleanup. 2016-02-08 20:11:20 +01:00
Qi Xiao
7d33e0379e eval: Remove commented code; expose NewTopEvalCtx. 2016-02-08 19:33:10 +01:00
Qi Xiao
a63b241a45 edit: Introduce a fn interface. 2016-02-08 19:28:40 +01:00
Qi Xiao
87139307ce Reorder. 2016-02-08 19:15:52 +01:00
Qi Xiao
ed81aea28e Fix bind. 2016-02-08 19:14:30 +01:00
Qi Xiao
aa441ae0e7 eval: Make handling of ports in Eval explicit. 2016-02-08 18:51:06 +01:00
Qi Xiao
24c2b665c5 eval: Omit receivers in Type() implementations. 2016-02-08 01:25:03 +01:00