Cheer Xiao
|
33ec33930a
|
das and dasc: Sort out the oldfd/newfd naming confusion.
In [1=2], 1 is newfd and 2 is oldfd. This is the naming convention used by
dup2(2) on Linux.
|
2013-09-14 20:55:03 +08:00 |
|
Cheer Xiao
|
4c17922c8d
|
libdasc/parse: Add a trivial comment
|
2013-09-14 20:44:20 +08:00 |
|
Cheer Xiao
|
5f67e8a30d
|
das: Better response reporting
|
2013-09-14 20:44:05 +08:00 |
|
Cheer Xiao
|
3c48e7eebe
|
das: Accept response of type BadRequest
|
2013-09-14 20:43:32 +08:00 |
|
Cheer Xiao
|
c0ae5ce2e1
|
das and dasc: Implement arbitrary IO redirection.
|
2013-09-14 20:42:54 +08:00 |
|
Cheer Xiao
|
7eec6fff1e
|
dasc: Parse arbitrary redirection leader.
Only stdout redirection is passed to the server now.
|
2013-09-14 14:00:04 +08:00 |
|
Cheer Xiao
|
b83292ab65
|
libdasc/editor: Editors should reuse os.File instead of creating each time
This fixes the bug of stdin being closed randomly since the finalizer of
os.File closes the file.
|
2013-09-13 16:09:13 +08:00 |
|
Cheer Xiao
|
f419977459
|
libdasc/editor: Use a bytes.Buffer in commitBuffer to ease error handling
|
2013-09-13 00:33:31 +08:00 |
|
Cheer Xiao
|
1f19c31de3
|
libdasc/editor: Add code highlighting
|
2013-09-12 23:23:50 +08:00 |
|
Cheer Xiao
|
823b892290
|
libdasc/editor: Add comments
|
2013-09-12 21:15:22 +08:00 |
|
Cheer Xiao
|
3811391d25
|
libdasc/editor: Move type cell to separate file
|
2013-09-07 23:22:02 +08:00 |
|
Cheer Xiao
|
70c09e68dc
|
libdasc/editor: Remove an unused global
|
2013-09-07 22:18:58 +08:00 |
|
Cheer Xiao
|
e222e5cce2
|
dasc: Remove yet another unused function
|
2013-09-06 22:27:47 +08:00 |
|
Cheer Xiao
|
cd4675304c
|
dasc: Remove an unused function
|
2013-09-06 22:27:10 +08:00 |
|
Cheer Xiao
|
274aa5dbb4
|
dasc: Remove an unused file
|
2013-09-06 22:25:30 +08:00 |
|
Cheer Xiao
|
9824c24189
|
libdasc/editor: Fix a quirky cell literal
|
2013-09-06 22:23:51 +08:00 |
|
Cheer Xiao
|
28128cbc0f
|
libdasc/editor: Implement indent properly
|
2013-09-06 22:11:13 +08:00 |
|
Cheer Xiao
|
37f46d0c54
|
libdasc/editor: Handle error returned from Editor.refresh
|
2013-09-06 21:59:30 +08:00 |
|
Cheer Xiao
|
bed5cf706d
|
libdasc/editor: Editor now keeps a buffer. writer.go integrated into editor.go
|
2013-09-06 21:57:30 +08:00 |
|
Cheer Xiao
|
c788f38406
|
libdasc/editor: Make terminal fd a parameter of Editor
|
2013-09-05 22:13:01 +08:00 |
|
Cheer Xiao
|
834e0a3e19
|
libdasc/editor: clean up Init a little bit
|
2013-09-05 17:05:49 +08:00 |
|
Cheer Xiao
|
38a58e50b3
|
libdasc/editor: Keep editor status in struct, not global
|
2013-09-05 16:59:57 +08:00 |
|
Cheer Xiao
|
947bfe9906
|
Let the lexer continue parsing on unterminated tokens
|
2013-09-04 22:30:35 +08:00 |
|
Cheer Xiao
|
3d6de0001d
|
libdasc/parse: Expose lexer API
|
2013-09-04 22:11:04 +08:00 |
|
Cheer Xiao
|
39ce4c2ffe
|
Add libdasc/editor.
Also, .gitignore is removed from Tuprules.tup. Messy commit.
|
2013-09-03 22:22:28 +08:00 |
|
Cheer Xiao
|
ddbee46313
|
Experimental completion-aware lexer and parser.
Subject to change...
|
2013-08-20 23:03:33 +08:00 |
|
Cheer Xiao
|
b9365cc429
|
dasc: Split into two packages, main and libdasc
|
2013-08-18 17:17:37 +08:00 |
|
Cheer Xiao
|
aed2b59c1c
|
Make metadata.md valid markdown by using ```
|
2013-08-17 20:06:16 +08:00 |
|
Cheer Xiao
|
fc35e1d20a
|
Add doc metachar.md
|
2013-08-17 20:08:08 +08:00 |
|
Cheer Xiao
|
6d55ec25f0
|
dasc: Support stdout redirection
|
2013-08-17 20:06:06 +08:00 |
|
Cheer Xiao
|
a60463b95f
|
dasc: Fix a context message
|
2013-08-17 11:34:44 +08:00 |
|
Cheer Xiao
|
e05fdd4d36
|
dasc: don't announce search path
|
2013-08-15 16:37:19 +08:00 |
|
Cheer Xiao
|
4ad18ee49c
|
dasc: add a parse package derived from text/template/parse
|
2013-08-15 16:36:29 +08:00 |
|
Cheer Xiao
|
f87f69df20
|
das server: close sockets properly on exit
|
2013-08-14 16:09:45 +08:00 |
|
Cheer Xiao
|
cceb063d3c
|
dasc-dummy: send an exit message on exit
|
2013-08-14 16:08:07 +08:00 |
|
Cheer Xiao
|
2e8e7560fc
|
Switch to tabs indentation in golang sources
|
2013-07-29 14:39:21 +08:00 |
|
Cheer Xiao
|
7ef102d68b
|
das: Use execvp
|
2013-07-29 12:17:51 +08:00 |
|
Cheer Xiao
|
61d9cdf956
|
Another restructure...
|
2013-07-29 12:16:35 +08:00 |
|
Cheer Xiao
|
26906c97dc
|
README: cosmetics
|
2013-07-29 11:27:20 +08:00 |
|
Cheer Xiao
|
3dab594726
|
Add license (BSD 2-clause)
|
2013-07-26 14:46:24 +08:00 |
|
Cheer Xiao
|
cfcf7ca987
|
Implement path searching
|
2013-07-19 14:56:45 +08:00 |
|
Cheer Xiao
|
4d0cfa0e75
|
dasc: Comment out response printing
|
2013-07-17 16:49:54 +08:00 |
|
Cheer Xiao
|
1ca191ff9a
|
das.c -> main.c
|
2013-07-17 16:48:12 +08:00 |
|
Cheer Xiao
|
2d5161ff0a
|
Properly handle exiting
|
2013-07-17 16:47:07 +08:00 |
|
Cheer Xiao
|
9c966b1638
|
src/cmd/ is now just src/
|
2013-07-05 16:39:03 +08:00 |
|
Cheer Xiao
|
83d01d0b91
|
Put executables in bin/
|
2013-07-05 16:31:05 +08:00 |
|
Cheer Xiao
|
72fe8263e0
|
Organize the repo as a workspace
|
2013-07-01 10:35:51 +08:00 |
|
Cheer Xiao
|
992e66f2ef
|
Server: Get CMSG_SPACE and CMSG_LEN right
|
2013-06-26 10:42:31 +08:00 |
|
Cheer Xiao
|
2bac449143
|
Update README
|
2013-06-26 07:20:56 +08:00 |
|
Cheer Xiao
|
b5d0328f2d
|
Fix outdated comment and usage message
|
2013-06-26 07:20:23 +08:00 |
|