Commit Graph

1273 Commits

Author SHA1 Message Date
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
Qi Xiao
8125e2f9e6 golint fixes. 2016-02-07 23:23:16 +01:00
Qi Xiao
be2856d882 Fix package doc of glob. 2016-02-07 22:17:02 +01:00
Qi Xiao
1a4e663efa Package docs. 2016-02-07 22:16:27 +01:00
Qi Xiao
fa1645336f Add a script field to .travis.yml. 2016-02-07 20:44:33 +01:00
Qi Xiao
9e40b129e1 Implement basic wildcard.
Implicit concat in compounds is much more strict now.
2016-02-07 20:39:03 +01:00
Qi Xiao
c6ec8b528a Fix a generate doc; add generate to target "all". 2016-02-07 20:36:20 +01:00
Qi Xiao
a6b38b1c89 Fix glob.match, add tests. 2016-02-07 19:45:57 +01:00
Qi Xiao
45674ba708 Add package glob. 2016-02-07 19:33:57 +01:00
Qi Xiao
70f362667a Compiling incomplete redir is now safe. 2016-02-07 19:10:52 +01:00
Qi Xiao
d4e8659853 Remove outdated comment. 2016-02-07 14:45:07 +01:00
Qi Xiao
2296221e65 Implement tilde expansion. 2016-02-07 14:44:08 +01:00
Qi Xiao
7603a83a98 Parse tildes; fix highlighting of wildcards. 2016-02-07 14:14:13 +01:00
Qi Xiao
802c7b5e19 eval: Generate boilerplate *Begins functions. 2016-02-07 14:13:12 +01:00
Qi Xiao
97d8aa2cb2 * -> mul; / -> div. 2016-02-07 14:12:19 +01:00
Qi Xiao
bbafbb0581 edit: Don't communicate by sharing memory, share memory by communicating. 2016-02-07 05:02:44 +01:00
Qi Xiao
22ffdbc5cf edit: Don't flush input. 2016-02-07 05:02:13 +01:00
Qi Xiao
087f7aa317 edit: Guard access to the isExternal map with a RWLock. 2016-02-07 04:54:34 +01:00
Qi Xiao
d674cedcac edit: Keep ed.isExternal on SIGINT.
This fixes #85.
2016-02-07 04:49:01 +01:00