summaryrefslogtreecommitdiffhomepage
path: root/Graphviz.hs
Commit message (Collapse)AuthorAge
* Update to lts-12.10, support ghc 8.4, and aeson 1.3.Joey Hess2018-12-08
| | | | | | | | | | | | | | | | Don't fully understand the need for the MonoLocalBinds language extension, which was not needed before but now ghc complains if it's not included, but I've tested it and it does work. All the rest of the changes are straightforward AMP changes and dep updates. Removed fgl from stack.yaml because it seems that indirect dep no longer needs to be specified for stack to build. Added custom-setup stanza since stack now warns without one. This commit was sponsored by Trenton Cronholm on Patreon.
* add prevEntered pointerJoey Hess2017-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Client requires this always point to the previous Entered it accepted, so a hash chain of Entered is built up, and there is no possibility for ambiguity about which order a client received two Entered activies in. So restoreHashes now has to try every possible combination of known hashes for both prevEntered and prevActivity. That could be significantly more work, but it would be unusual for there to be a lot of known hashes, so it should be ok. --graphviz shows this additional hash chain with grey edges (and leaves out edges identical to the other hash chain) While testing this with an artifical network lag, it turned out that signature verification was failing for Reject messages sent by the user. Didn't quite figure out what was at the bottom of that, but the Activity Entered that was sent back in a Reject message was clearly not useful, because it probably had both its prevEntered and prevActivity hashes set to Nothing (because restoreHashes didn't restore them, because the original Activity Entered was out of the expected chain). So, switched Rejected to use a Hash. (And renamed Rejected to EnteredRejected to make it more clear what it's rejecting.) Also, added a lastAccepted hash to EnteredRejected. This lets the developer find its way back to the accepted chain when some of its input gets rejected. This commit was sponsored by Trenton Cronholm on Patreon.
* add license headers to all source filesJoey Hess2017-04-30
|
* stream the logJoey Hess2017-04-22
| | | | | avoid processing it in memory, and allow parse errors at end to not prevent displaying part of it
* 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.
* refactor out LogJoey Hess2017-04-18
|
* improve typesJoey Hess2017-04-18
| | | | Including adding a timestamp to logs
* smart quotingJoey Hess2017-04-18
|
* add --show-hashesJoey Hess2017-04-18
|
* work around https://github.com/ivan-m/graphviz/issues/16Joey Hess2017-04-18
|
* add short hash to edgesJoey Hess2017-04-18
|
* improve display of RejectedJoey Hess2017-04-17
|
* improve displayJoey Hess2017-04-17
|
* add Rejected and tag hashes by typeJoey Hess2017-04-17
| | | | | | | | | | | | | | Need a way for the user to indicate when an Activity Entered is Rejected. Changed hashing to include type tags, so Acticity Entered and Activity Seen can never hash to the same hash. Got debug-me.hs to compile after these changes, but currently it's buggy after Activity Entered is Rejected. Started protocol.txt documentation. This commit was sponsored by Francois Marier on Patreon.
* add --graphviz modeJoey Hess2017-04-14
This commit was sponsored by Shane-o on Patreon.