Commit Graph

27 Commits

Author SHA1 Message Date
Cheer Xiao
176abcb0b1 Move util/socket.go to service/ 2014-09-21 17:52:24 +02:00
Cheer Xiao
ea9dabd261 Add util.NthRune 2014-09-21 13:26:47 +02:00
Cheer Xiao
a4cfc41673 Add util.SubstringByRune 2014-09-21 13:22:34 +02:00
Cheer Xiao
98c034f581 util/async-reader.go: set file back to blocking mode and sync properly 2014-03-17 22:47:09 +08:00
Cheer Xiao
0624368bcc Use util.AsyncReader to build a new async edit.Reader
Now we can start really dealing with signals!
2014-03-10 21:22:54 +08:00
Cheer Xiao
dddfda192f util/async-reader.go: Fix race condition by only spawning a single .run() 2014-03-10 21:21:05 +08:00
Cheer Xiao
6b7e1296c1 Add util.Find{FirstEOL LastSOL}; use it 2014-03-10 00:31:22 +08:00
Cheer Xiao
f50bfa6707 async-reader.go: Panic when failing to write to pipe 2014-03-09 16:20:05 +08:00
Cheer Xiao
e1b98bfc83 Add util.AsyncReader, to supersede util.TimedReader 2014-03-09 15:16:56 +08:00
Cheer Xiao
76f5d793d3 Add elvishd 2014-02-10 11:33:01 +08:00
Cheer Xiao
6ee8167250 util.GoPrint -> .DeepPrint 2014-02-06 20:50:17 +08:00
Cheer Xiao
56f5998ae5 util.GoPrint: Improve handling of interface and nil values 2014-02-06 20:43:46 +08:00
Cheer Xiao
9ed475d962 Add util/goprint.go 2014-02-04 19:25:24 +08:00
Cheer Xiao
7d7814ef9b golint fixes 2014-01-31 19:18:10 +08:00
Cheer Xiao
364969d7e8 Update package docs 2014-01-30 22:17:38 +08:00
Cheer Xiao
ad90094ac6 Document util package 2014-01-30 22:04:16 +08:00
Cheer Xiao
c1711bbd0a Project rename: das -> elvish 2014-01-29 18:44:07 +08:00
Cheer Xiao
d55a79fd28 gofmt 2014-01-27 21:55:18 +08:00
Cheer Xiao
b3eb533aa0 Add test cases in util/ 2014-01-27 21:54:59 +08:00
Cheer Xiao
8995f661d5 Add test for util/ceildiv.go
First unit test!
2014-01-25 19:14:53 +08:00
Cheer Xiao
29363b8186 gofmt 2014-01-16 09:24:14 +08:00
Cheer Xiao
995900dadc Multi-column layout for completion menu 2013-12-31 11:31:54 +08:00
Cheer Xiao
97479e4607 Show pwd in prompt 2013-12-25 14:12:01 +08:00
Cheer Xiao
2e0fc817f0 git mv contextual{_ -}error.go 2013-11-16 19:34:57 +08:00
Cheer Xiao
6227008696 Abstract in-package panic/recover into a utility 2013-11-16 19:34:13 +08:00
Cheer Xiao
c2fd203918 parse.Error -> util.ContextualError 2013-10-18 11:38:30 +08:00
Cheer Xiao
e1c96c6cfc Separate "util" package. 2013-10-18 09:46:06 +08:00