summaryrefslogtreecommitdiffhomepage
path: root/TODO
Commit message (Collapse)AuthorAge
* reorganized message typesJoey Hess2017-04-19
| | | | | | | | | Make Control messages be out-of-band async messages, without a pointer to a previous message. And then followed the type change through the code for hours.. This commit was sponsored by Nick Daly on Patreon.
* cool idea!Joey Hess2017-04-18
|
* ideaJoey Hess2017-04-18
|
* memory DOS preventionJoey Hess2017-04-18
| | | | | | | | | | | | Prevent DOS of user side by limiting the size of the BackLog that is maintained. This should not cause problems in even high latency environments, and should prevent memory use > 16 mb. The developer side does not keep much data, other than a list of the Hashes of things it has recently sent, so is not susceptable to memory DOS. This commit was sponsored by Brock Spratlen on Patreon.
* add --replay optionJoey Hess2017-04-18
| | | | This commit was sponsored by Ole-Morten Duesund on Patreon.
* improve JSON, removing "tag" for sum typesJoey Hess2017-04-18
|
* improve typesJoey Hess2017-04-18
| | | | Including adding a timestamp to logs
* decided not to do this TODOJoey Hess2017-04-18
| | | | would make it more complicated to prove correct, for no gain I think
* updatesJoey Hess2017-04-18
|
* fix backlog truncation bugJoey Hess2017-04-18
| | | | | | That I was stuck on for hours yesterday, oops! This commit was sponsored by Bruno BEAUFILS on Patreon.
* developer side checking of chain almost doneJoey Hess2017-04-17
| | | | | | | Seems to work well with networkDelay on both sides now. However, typing "top" causes the "to" to be accepted, but the "p" is rejected.
* Include Entered in the Activity chainJoey Hess2017-04-17
| | | | | | | | So when the developer makes 2 keypresses close together, they send the second Activity Entered with the first Activity Entered as its HashPointer. This allows the developer to prove the order they did things. This commit was sponsored by Peter Hogg on Patreon.
* doneJoey Hess2017-04-15
|
* todoJoey Hess2017-04-13
|
* updateJoey Hess2017-04-13
|
* copy terminal attrs to the ptyJoey Hess2017-04-13
| | | | | | | | | | | This fixes the control-d issue, and many more besides. See https://github.com/merijn/posix-pty/issues/11 Also though, it means that if the user has set some unusual stty value, it gets copied into the pty. We want this in debug-me, because it ought to replicate the environment it's run in as well as possible. This commit was sponsored by Thomas Hochstein on Patreon.
* use posix-pty, and forward SIGWINCHJoey Hess2017-04-13
| | | | | | | | | | | | | | | | I discovered the posix-pty library while looking for a way to forward SIGWINCH to the slave pty. It's taken care of a lot of nasty pty handling details, so let's use it! Unfortunately, this broke control-d exiting debug-me, which used to work great. I think that the problem is that readPty never returns B.empty, even on control-d. Or perhaps, posix-pty is doing something to the pty that prevents control-d getting through. I kept all the withoutMode code; at least withoutMode EnableEcho is still needed. This commit was sponsored by Jochen Bartl on Patreon.
* updateJoey Hess2017-04-13
|
* todo updatesJoey Hess2017-04-13
| | | | | | | Realized the added problem this morning. The pty reset code seems to be working now. Not sure what changed, but yay!
* waiting longer for more keypresses did not improve feelJoey Hess2017-04-13
|
* latency simulationsJoey Hess2017-04-12
|
* note potential DOS in the code I just addedJoey Hess2017-04-12
|
* debug-me is able to run a shell in a slave ptyJoey Hess2017-04-11
Lots of terminal mode fun. Has a few warts still, but it works well enough to be comfortable, and even vim works ok. This commit was sponsored by John Peloquin on Patreon.