Cheer Xiao
bac383c93d
README: Expand the paragraph on supported platforms
2014-10-06 23:30:55 +02:00
Cheer Xiao
9c2b6871b3
Define edit.tty.Termios entirely in terms of C.struct_termios
...
syscall and unsafe imports are no longer needed.
2014-10-06 23:22:28 +02:00
Cheer Xiao
ab4c961cf2
Ditch gorp dependency, use plain database/sql
2014-10-01 22:46:17 +02:00
Cheer Xiao
5fc47d8099
Bump go requirement
2014-10-01 02:09:59 +02:00
Cheer Xiao
5069fd9774
FreeBSD compatibility fix.
2014-10-01 02:07:11 +02:00
Cheer Xiao
1d1b04eadb
select_darwin.go -> select_bsd.go
...
It is also built on other BSD systems
2014-10-01 01:12:14 +02:00
Cheer Xiao
868d1c5d1f
Add store package.
2014-10-01 00:57:38 +02:00
Cheer Xiao
27f1a1e85f
Remove package elvishd and service
2014-09-30 23:14:40 +02:00
Cheer Xiao
83830dac5e
README: Expand "Notes for Contributors"
2014-09-28 11:41:44 +02:00
Cheer Xiao
a12d425d67
Makefile: PKG_COVERAGES -> PKG_COVERS
2014-09-28 11:22:28 +02:00
Cheer Xiao
bb446f8728
Merge pull request #36 from zguangyu0000/master
...
Add Mac OS X support
2014-09-28 11:20:51 +02:00
Guangyu Zhang
154517ceb0
eval symlink of ioutil.TempDir
2014-09-28 11:09:31 +08:00
Guangyu Zhang
e0212a7353
Add Mac OS X support
2014-09-28 10:29:20 +08:00
Cheer Xiao
d596a4f941
Call zero value of PrimaryType BadPrimary
2014-09-27 00:32:57 +02:00
Cheer Xiao
081ca989f1
Output capture is now called channel output capture.
...
Bytes output capture will be introduced with a different syntax.
2014-09-27 00:31:32 +02:00
Cheer Xiao
3c1fe5b579
Cosmetics
2014-09-25 23:47:27 +02:00
Cheer Xiao
91b16c3b54
eval: Also Test for eval errors
2014-09-25 23:43:52 +02:00
Cheer Xiao
dafd3155b1
Change the syntax of var/set forms.
2014-09-25 23:27:38 +02:00
Cheer Xiao
5cd0d675ce
eval: Test status capture
2014-09-25 00:18:37 +02:00
Cheer Xiao
be27673a1e
eval: Add test cases
2014-09-25 00:08:37 +02:00
Cheer Xiao
a9f08936bf
In Makefile, shorten coverage to cover
2014-09-24 23:56:12 +02:00
Cheer Xiao
7776312341
parse: Add more test cases
2014-09-24 23:40:16 +02:00
Cheer Xiao
9da23c2fe0
README: Only linux is supported now
2014-09-23 20:49:56 +02:00
Cheer Xiao
ace01172cc
Add parse.newTablePair
2014-09-23 09:48:48 +02:00
Cheer Xiao
87a833626a
parse: Leave the opening symbols to Parser.{table closure}
2014-09-23 09:48:41 +02:00
Cheer Xiao
e39856f483
Add a parse test case
2014-09-22 13:43:08 +02:00
Cheer Xiao
dbec084cb8
README: -tabwidth was removed from goimports
2014-09-22 10:20:54 +02:00
Cheer Xiao
8a5f2513b3
edit: Remove Highlighter.
...
The new Highlighter will be a completely different thing.
2014-09-21 22:36:57 +02:00
Cheer Xiao
176abcb0b1
Move util/socket.go to service/
2014-09-21 17:52:24 +02:00
Cheer Xiao
9f4d14dfb4
Subscript on string is now supported
2014-09-21 13:39:38 +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
37a8fb263e
eval.combineOutputCapture: Return correct type info
2014-09-21 12:54:28 +02:00
Cheer Xiao
412d8b8801
Use string keys for Table at the moment
...
This works around issue #24 .
2014-09-21 00:41:38 +02:00
Cheer Xiao
47f22c64e8
Channel output in interactive mode is supported (again).
...
This is implemented by making ev.ports[1] a hybrid port. Channel outputs are
collected with a goroutine and written to stdout prepended by some fancy
Unicode symbols.
This resolves issue #23 .
2014-09-21 00:32:09 +02:00
Cheer Xiao
a3a7380021
eval: Add test cases
...
Coverage of eval is now 28.0% (was 2.6%).
2014-09-21 00:10:29 +02:00
Cheer Xiao
ed8f84e869
Makefile: Comment service and elvishd packages for now
2014-09-20 23:12:22 +02:00
Cheer Xiao
c51c4e2bec
sys: Add test cases
2014-09-20 23:11:20 +02:00
Cheer Xiao
555b050120
parse: Add many test cases
2014-09-20 22:30:39 +02:00
Cheer Xiao
1511472335
parse/parse.go: Minor fixes
2014-09-20 22:30:28 +02:00
Cheer Xiao
61d720d20f
parse/lex.go: '<' '>' '?' now also terminates a bareword
2014-09-20 21:52:55 +02:00
Cheer Xiao
da87dff8bd
parse: redir is now RedirBase and its members are public
...
This is needed for util.DeepPrint used in test cases.
2014-09-20 21:50:01 +02:00
Cheer Xiao
09faecc159
parse/lex.go: Remove unused funcs
2014-09-20 20:50:43 +02:00
Cheer Xiao
a71327d64c
A lone sigil is now treated as a bareword.
...
Issue #5 is now properly implemented.
2014-09-20 20:34:33 +02:00
Cheer Xiao
0947761b41
Always use ClosureType, not *ClosureType
...
This fixes the issue of user-defined functions never being found.
2014-09-20 19:19:53 +02:00
Cheer Xiao
333f76de74
Implement sigil, as per issue #5 .
...
However due to problems with user-defined functions this can not be tested
reliably yet.
2014-09-20 19:09:23 +02:00
Cheer Xiao
b5758d5cba
parse: Improve comments
2014-09-20 15:29:07 +02:00
Cheer Xiao
403da6a37f
Remove "caret" from the language.
...
Caret is an artifact from rc to support forms like `echo $a ^ b`. Since elvish
supports {the list syntax} this can be written as `echo {$a}b` like in fish.
The operation of compounding primary expressions is now properly called
"compound".
2014-09-20 15:06:16 +02:00
Cheer Xiao
fd5c4f097e
eval: Enrich comments, minor refactors
2014-09-20 01:23:29 +02:00
Cheer Xiao
50958523fb
In combineOutputCapture, don't fiddle with newEv.ports
2014-09-20 00:29:12 +02:00