Commit graph

231 commits

Author SHA1 Message Date
Xiaoguang Sun
01668a5425 Read all payloads from reader at once
Reader might return before finish reading all pending bytes. This might
cause event handling to fail randomly.

Signed-off-by: Xiaoguang Sun <sunxiaoguang@gmail.com>
2022-09-15 12:54:45 +08:00
Iwasaki Yudai
a080c85cbc Release v2.0.0-alpha.3 2017-12-13 17:44:18 +09:00
Iwasaki Yudai
8df0bf44a8
Merge pull request #179 from badoo/hterm_deactivate_fix_pull
Stop hterm spamming with errors to console after deactivate()
2017-11-24 17:55:50 -08:00
Korenevskiy Denis
b4728f6aa4 set deactivated terminal handlers to empty functions instead of null
this allows to avoid console spamming with 'not a function' messages
after the connection to server was closed.
2017-11-24 18:16:56 +03:00
Iwasaki Yudai
9ac120a557 Support local webpack 2017-10-03 15:34:51 +09:00
Iwasaki Yudai
0bb62e0381 Mention minimum go compiler version
Also npm is required.
2017-09-28 13:42:18 +09:00
Iwasaki Yudai
513b3a5c4d Do not compile asset by default
Run make all instead when you recreate server/asset.go.
2017-09-28 13:37:34 +09:00
Iwasaki Yudai
79e132824a Update README.md 2017-09-01 15:34:21 +09:00
Iwasaki Yudai
2c50c43290 Release v2.0.0-alpha.2 2017-08-27 15:56:11 +09:00
Iwasaki Yudai
6ab3093956 Pickup random port when port option is 0
With upgrading go to go1.9 to use http.Server.ServeTLS()
2017-08-26 17:23:04 +09:00
Iwasaki Yudai
b2c2db0764 Move responsibility to decode output encoding to terminal implementation 2017-08-26 16:55:07 +09:00
Iwasaki Yudai
807bcc25a4 Refine API of webtty package 2017-08-24 14:40:28 +09:00
Iwasaki Yudai
d1ec7125cf Run webpack when ts files are updated 2017-08-24 13:22:27 +09:00
Iwasaki Yudai
a6ae1210da Move decoder into setup 2017-08-24 13:22:16 +09:00
Iwasaki Yudai
973cf362fb Remove libapps submodule 2017-08-23 15:46:34 +09:00
Iwasaki Yudai
ba1aa690ed Use libapps utf8 decoder 2017-08-23 15:32:12 +09:00
Iwasaki Yudai
248f51b290 Release v2.0.0-alpha.1 2017-08-23 12:18:14 +09:00
Iwasaki Yudai
4d682aa01d Add "apple symbols' to xterm font list
Since Chrome on Mac OS doesn't show characters like U+1696,
we need to add a font that has those characters as a fallback target.
2017-08-23 11:11:04 +09:00
Iwasaki Yudai
d0f6481cab Fix typo in CONTRIBUTING.md 2017-08-23 11:04:41 +09:00
Iwasaki Yudai
7355d67a64 Add license-loader
Since xterm and hterm do not have proper comments for their license,
add license-loader to keep their license information in the minimized
bundle file.
2017-08-23 10:58:18 +09:00
Iwasaki Yudai
46a8b006f0 Fix typing of hterm 2017-08-23 10:56:34 +09:00
Iwasaki Yudai
48c91151ad Enable gzip compression 2017-08-22 17:31:27 +09:00
Iwasaki Yudai
024ab8f28e Minify bundled js code 2017-08-22 16:58:15 +09:00
Iwasaki Yudai
2b4eb55d28 Add typing for libapps 2017-08-22 16:16:28 +09:00
Iwasaki Yudai
a8bb23f570 Rename bundle.js to gotty-bundle.js 2017-08-22 16:03:19 +09:00
Iwasaki Yudai
27b6436196 Rename TermXterm and TermHterm to Xterm and Hterm 2017-08-22 15:59:24 +09:00
Iwasaki Yudai
70aaf33082 Bundle hterm 2017-08-22 15:58:50 +09:00
Iwasaki Yudai
8f95182392 Show command in log 2017-08-22 12:11:11 +09:00
Iwasaki Yudai
c1ccfdd859 Add npm to makefile 2017-08-22 12:10:52 +09:00
Iwasaki Yudai
7aafac9448 Merge pull request #151 from yudai/xterm_integartion
Add xterm itegration
2017-08-21 00:39:37 -07:00
Iwasaki Yudai
8803721f3d Add xterm itegration
* Move to TypeScript from legacy JavaScript
* Add support of xterm.js
* Hterm is still available for backward compatibility
2017-08-21 16:38:28 +09:00
Iwasaki Yudai
d6c98866b9 Output proper log when upgrade fails 2017-08-21 15:36:23 +09:00
Iwasaki Yudai
45f8f61103 Fix option handling of close signal 2017-08-20 13:39:06 +09:00
Iwasaki Yudai
56e9b89199 Log force closing 2017-08-20 13:38:42 +09:00
Iwasaki Yudai
91ee778665 Show commit ID on version 2017-08-17 14:04:17 +09:00
Iwasaki Yudai
4fd3ac376c Add browser to quetsions 2017-08-15 13:19:47 +09:00
Iwasaki Yudai
6765efbd61 Add new option to allow cross origin requests to WS endpoint 2017-08-13 15:09:22 +09:00
Iwasaki Yudai
84ec13ca19 Do not show ws log 2017-08-13 14:00:51 +09:00
Iwasaki Yudai
af41111458 Show alternative URLs when address is 0.0.0.0 2017-08-13 13:53:48 +09:00
Iwasaki Yudai
2a2a034788 Fix possible race condition on timeout 2017-08-13 13:40:00 +09:00
Iwasaki Yudai
9b8d2d5ed5 Reduce struct variables of server.Server 2017-08-12 17:56:46 +09:00
Iwasaki Yudai
21899e638b Add guidlines 2017-08-12 12:35:25 +09:00
Iwasaki Yudai
e81f4e9b7e Merge pull request #159 from yudai/develop
Merge refactoring
2017-08-11 18:43:36 -07:00
Iwasaki Yudai
a6133f34b7 Refactor 2017-08-11 15:31:11 +09:00
Iwasaki Yudai
b5c56d57f2 Remove Gitter link
I'm not using it.
2017-08-11 14:32:32 +09:00
zlji
54403dd678 exit on resizeTerminal error 2017-08-09 12:38:31 +09:00
zlji
496ef86339 refactor: decouple gotty app with terminal backends 2017-08-09 12:38:31 +09:00
zlji
d71e2fcfa8 generate falgs based on struct options instead of defining them externally 2017-08-09 12:38:31 +09:00
Iwasaki Yudai
c4ed7bc415 Merge pull request #158 from yudai/update_license
Remove license information of third party libraries
2017-08-08 20:37:56 -07:00
Iwasaki Yudai
0f6909a165 Remove license information of third party libraries
Github detects a wrong license.
Licenses are still available in the vendor directory.
2017-08-09 12:36:50 +09:00