Commit Graph

3558 Commits

Author SHA1 Message Date
Qi Xiao
cc924d20b6 Update Dockerfile.
Removed gotty and added git.
2018-10-22 23:51:09 +01:00
Qi Xiao
4ea0b55c18
Update README.md 2018-10-22 11:48:52 +01:00
Qi Xiao
918f844d5f _website/README.md: History -> Commit History. 2018-10-21 20:50:30 +01:00
Qi Xiao
4ef1fd3883 _website: Document how to build the website. 2018-10-21 20:49:28 +01:00
Qi Xiao
bc6a7b2f6c Move building instructions back into README.md. 2018-10-21 20:49:28 +01:00
Qi Xiao
c21750229e _website: Remove absolute URLs.
This makes opening _dst/index.html from the browser almost work.
2018-10-21 20:49:27 +01:00
Simon Schürrle
b02bffa570 Add NixOS/nix installation to download section (#769)
Signed-off-by: SitiSchu <admin@sitischu.com>
2018-10-21 17:30:58 +01:00
Qi Xiao
f907104b0d Add gotty to Dockerfile. 2018-10-20 16:49:33 +01:00
Qi Xiao
9509cec8d4 Rearrange navbar and homepage.
* On homapage, swap "use this site" and "join the community".

* In the navbar, move "blog" to the end to match the order in the "use
  this site" section on homepage.
2018-10-17 10:26:39 +01:00
Haochen Tong
b51a0e576d Add Arch installation methods to OS-Specific Packages (#768) 2018-10-17 07:40:04 +01:00
Xuanwo
c93642bb3a edit: Hide contrl characters for not break preview (#767)
Signed-off-by: Xuanwo <xuanwo.cn@gmail.com>
2018-10-16 10:22:19 +01:00
Qi Xiao
66f730ff55 _website: Update homepage layout. 2018-10-16 10:19:20 +01:00
Qi Xiao
72e04ac9d9 _website/_tools/md-to-html: Pass a title metadata.
This is to suppress pandoc's warning about lack of title.
2018-10-16 10:19:20 +01:00
Qi Xiao
eb8752441c Update _website/_tools/highlighter.go for the parse API change. 2018-10-16 10:19:20 +01:00
Qi Xiao
f9302b1456 Update .dockerignore. 2018-10-16 10:19:20 +01:00
Qi Xiao
8c7a6760b8
Update Dockerfile
Add man pages, vim and curl
2018-10-15 09:40:00 +01:00
Qi Xiao
0fb19b3e2e
Update Dockerfile
Add tmux and remove sudo.
2018-10-15 09:14:53 +01:00
Qi Xiao
20c0eb1032 eval/vals: 0:0 and n:n are now valid string indicies.
Also expand the unit test.
2018-10-14 10:59:43 +01:00
Qi Xiao
754d5ce57e daemon: Unexport Service. 2018-10-13 18:51:47 +01:00
Qi Xiao
ea43382430 newedit/utils -> newedit/editutil. 2018-10-13 18:38:14 +01:00
Qi Xiao
31a88b7ba4 newedit/core: Unexport Highlighter. 2018-10-13 18:34:28 +01:00
Qi Xiao
6a625751e2 Merge newedit/loop into newedit/core. 2018-10-13 18:29:16 +01:00
Qi Xiao
4af693d2d9 newedit/core: Inline Setuper, Input, Output in TTY. 2018-10-13 18:16:44 +01:00
Qi Xiao
803789ddb0 newedit/core: Unexport Fake{SignalSource,TTY}. 2018-10-13 18:14:38 +01:00
Qi Xiao
e57c037ca7 golint fixes. 2018-10-13 17:52:54 +01:00
Qi Xiao
23820ee39c parse: Package godoc. 2018-10-13 17:30:03 +01:00
Qi Xiao
980bc4792d parse: Cleanups.
* Unexport the Parser type, and remove an unused field.

* parse.ParseAs -> parse.As; parse.Parse -> parse.AsChunk.
2018-10-13 17:27:39 +01:00
Qi Xiao
0904d79658 parse: Cosmetics. 2018-10-13 17:17:18 +01:00
Qi Xiao
26300831a6 parse: Remove the n method from Node. 2018-10-13 17:08:15 +01:00
Qi Xiao
e81cbd53f6 parse: The node struct now embeds a diag.Ranging. 2018-10-13 17:04:02 +01:00
Qi Xiao
73cdd67df1 diag: Fix a godoc. 2018-10-13 16:56:56 +01:00
Qi Xiao
24e0449318 s/Pprint/PPrint/ everywhere. 2018-10-13 16:51:00 +01:00
Qi Xiao
ad1a28adf0 diag: Fix test. 2018-10-13 16:47:49 +01:00
Qi Xiao
1d414d4a89 diag: Fix a godoc, and unexport some variables. 2018-10-13 16:46:41 +01:00
Qi Xiao
7e5be2d893 parse: Remove boilerplate.{py,go}. 2018-10-13 16:41:00 +01:00
Qi Xiao
97cd87b83c parse: Reduce amount of auto-generated boilerplates.
The ParseX functions, .setX and .allX methods have been removed and
replaced by a pattern based on reflection and pointer.
2018-10-13 16:19:11 +01:00
Qi Xiao
c88da9745e parse: Unexport (*Parser).{Done,Errors}. 2018-10-13 14:37:38 +01:00
Qi Xiao
8bc3af27b7 parse: Add godoc to the boilerplate file. 2018-10-13 14:30:33 +01:00
Qi Xiao
0a0b09655e parse: Remove Begin() and End() from Node.
These are superseded by the n.Range().From and n.Range().To.
2018-10-13 14:07:54 +01:00
Qi Xiao
16f5c8c149 parse: More godoc. 2018-10-13 14:04:13 +01:00
Qi Xiao
15dd028dcb Introduce diag.Ranger and diag.Ranging for expressing ranges.
The parse.node type implements Ranger.
2018-10-13 14:04:13 +01:00
Qi Xiao
fe234ca3ce parse: Remove PPrint{AST,ParseTree}.
PPrint{AST,ParseTree}To have been renamed to PPrint{AST,ParseTree}.
2018-10-13 14:04:13 +01:00
Qi Xiao
931200b1ce eval: Rename *Frame's method EvalOp -> Eval -> eval. 2018-10-13 14:04:13 +01:00
Qi Xiao
217ed4b9e0 eval: Refactor Evaler API.
EvalWithStdPorts and Eval have been merged into EvalInTTY; the original
eval method is renamed Eval.

Also factor the logic for relaying interrupts.
2018-10-13 14:04:13 +01:00
Qi Xiao
1c133f6979 util: Change the API of WithTempDir and InTempDir.
They have been renamed to TestDir and InTestDir, and instead of taking a
callback, they return a cleanup function. This saves one level of
indentation in the caller.
2018-10-13 14:04:13 +01:00
Qi Xiao
910b3b73eb
Update README.md
Comment out badges for VSTS and codecov.io.
2018-10-11 13:29:30 +08:00
Qi Xiao
cee01232ec Move eval/vals.Feed to util, and add a test. 2018-10-11 00:25:24 +08:00
Qi Xiao
fb80862ec4 Add a new package diag for diagnostic utils. 2018-10-11 00:20:32 +08:00
Qi Xiao
dc940a022a newedit: Test edit:insert:default-handler. 2018-10-11 00:03:53 +08:00
Qi Xiao
7c25616010 newedit: Install insert mode and a default binding in NewEditor. 2018-10-10 21:46:47 +08:00