Commit Graph

140 Commits

Author SHA1 Message Date
Iwasaki Yudai
5eea5067db Simplify structure of command messages
The first byte of a input message shows the type of that message.
0: normal keystrokes
1: resize window command
2015-08-21 19:01:06 +09:00
Iwasaki Yudai
ce96943af2 Create App instance with struct of options 2015-08-21 18:30:44 +09:00
Iwasaki Yudai
e09d6e0486 Merge pull request #27 from shoz/randomurl
Random URL generation(Close #17)
2015-08-21 02:19:27 -07:00
Shoji Ihara
b15227c696 Random URL generation(Close #17) 2015-08-21 18:15:00 +09:00
Iwasaki Yudai
2aaa155a3e Call Wait() to prevent processes from being defunct 2015-08-21 12:36:26 +09:00
Iwasaki Yudai
b4b9435b58 Don't send EOT
It was a bug that sending EOT when closing connection.
2015-08-21 12:34:15 +09:00
Iwasaki Yudai
10d0bd8a17 Log PID of processes for clients 2015-08-21 12:33:44 +09:00
Iwasaki Yudai
fd4a9d3bf8 Mention -c option in README 2015-08-20 17:34:49 +09:00
Iwasaki Yudai
496c791a68 Release v0.0.2
* Added the `-c` option for Basic Authentication by @mattn
* Experimental 32 bit support
* Switch to Go1.5
2015-08-20 17:26:11 +09:00
Iwasaki Yudai
4b39b4a390 Add development section to explain how to build binaries 2015-08-20 17:21:05 +09:00
Iwasaki Yudai
372ac4fbc1 Gofmt generated resource file 2015-08-20 17:16:13 +09:00
Iwasaki Yudai
65207dfa35 Add 32 bit build support for Wercker 2015-08-20 16:52:32 +09:00
Iwasaki Yudai
6a43836f0b Add go fmt to check format of code 2015-08-20 16:48:35 +09:00
Iwasaki Yudai
161d29b0b9 Use go1.5 2015-08-20 16:46:12 +09:00
Iwasaki Yudai
47bdae8447 Merge pull request #26 from mattn/basic-auth
HTTP Basic Authentication support. Close #8
2015-08-19 23:44:38 -07:00
mattn
791e1e22cb HTTP Basic Authentication support. Close #8 2015-08-20 15:40:38 +09:00
Iwasaki Yudai
937c570039 Add Homebrew installation section to README 2015-08-17 23:17:40 -07:00
Iwasaki Yudai
a09b060216 Show "Connection Closed" message as overlay
Closes #7.
2015-08-17 21:45:52 -07:00
Iwasaki Yudai
69fa3456b2 Merge pull request #12 from blakejennings/master
Fix a few typos.
2015-08-17 21:12:10 -07:00
Iwasaki Yudai
0718fbe7c4 Merge pull request #9 from shingt/fix-typo
Fix typo in starting message
2015-08-17 21:10:42 -07:00
Iwasaki Yudai
37dbf00503 Merge pull request #13 from widdma/patch-1
Only send EOF in writable sessions
2015-08-17 20:53:41 -07:00
David Horsley
8e5a277bb3 Only send EOF in writable sessions
Currently EOF is sent to the pty even when read-only mode is requested. This can cause trouble in attached tmux sessions, for example. Since the EOF typically used in shells as a shortcut exit, this can result in undesired disconnects.
2015-08-18 10:47:15 +10:00
Blake Jennings
ffd464fd33 Fix a few typos. 2015-08-17 19:03:45 -05:00
shingt
be0758777d Fix typo 2015-08-18 06:39:28 +09:00
Iwasaki Yudai
6ece5141c6 Merge pull request #5 from jensenbox/patch-1
Fix typo in README
2015-08-17 13:03:42 -07:00
Christian Jensen
5779ad026d Update README.md 2015-08-17 12:59:38 -07:00
Iwasaki Yudai
bc109b4f5b Update UTF8Reader to fix slice bounds out of range error 2015-08-17 12:32:45 -07:00
Iwasaki Yudai
5e3796d644 Add example of tmux shortcut key to README 2015-08-17 00:04:33 -07:00
Iwasaki Yudai
87f8409068 Replace UTF8 bounds check with utf8reader 2015-08-16 23:46:35 -07:00
Iwasaki Yudai
d0f2128996 Add Docker section to README 2015-08-16 22:30:40 -07:00
Iwasaki Yudai
2050775288 Send EOT before exiting
The processes were left behind when clients closed their windows.
2015-08-16 22:24:24 -07:00
Iwasaki Yudai
1c8b87df90 Add section for how to use with terminal multiplexer 2015-08-16 21:34:16 -07:00
Iwasaki Yudai
8cb0df7433 Show better help message 2015-08-16 19:54:22 -07:00
Iwasaki Yudai
6de9b0515f Set position of body element to absolute
Some terminal massages were shown at strange positions.
2015-08-16 19:07:06 -07:00
Iwasaki Yudai
abe3f5c89f Don't send invalid UTF-8 string
When a rune stands over the buffer boundary, invalid UTF-8 bytes were
sent to the client. Now the logic checks if the tail of the buffer can
be decoded as a valid rune. When it's an invalid byte sequence, the logic
keeps it in the buffer and send it in the next loop with the following byte sequence.
2015-08-16 19:07:02 -07:00
Iwasaki Yudai
31b714bea9 Add how to go get install to README 2015-08-17 07:50:10 +09:00
Iwasaki Yudai
581a7b52fb Add wercker.yml and badge to README 2015-08-17 07:38:38 +09:00
Iwasaki Yudai
a40c468a7e Format and fix typo 2015-08-17 07:02:51 +09:00
Iwasaki Yudai
c958d0c398 Credit Wetty 2015-08-17 07:02:49 +09:00
Iwasaki Yudai
cba86dd046 Initialize repository 2015-08-16 20:52:27 +09:00