about summary refs log tree commit
AgeCommit message (Collapse)AuthorFilesLines
2019-04-22doc: switch homepage to dark216 HEAD masterEric Wong1-1/+1
Earth Day! https://80x24.org/olddoc-public/20190422014906.4253-1-e@80x24.org/
2018-05-01msgthr 1.2.2 - fix missing loop check v1.2.2Eric Wong2-2/+2
This release fixes a missing loop check due to References being out-of-order. This caused cyclic dependencies leading to lost message roots. A NEWS file is also bundled in the RubyGem for non-git users.
2018-05-01packaging: include NEWS file in RubyGemEric Wong2-2/+4
2018-05-01msgthr 1.2.1 - fix missing loop checkEric Wong2-2/+2
This release fixes a missing loop check due to References being out-of-order. This caused cyclic dependencies leading to lost message roots.
2018-04-26fix missing loop checkEric Wong3-3/+34
We failed to detect cyclic dependencies, leading to lost thread roots. In this Ruby version, I also screwed up the `seen' hash check in a misguided effort to avoid an extra hash lookup. The same algorithm was recently fixed in public-inbox: https://public-inbox.org/meta/20180425085249.14974-1-e@80x24.org/ Summarizing what happened with public-inbox: this algorithm can still be thrown off when the References: order presented to us is wrong, so sorting messages by age before feeding to Msgthr#add can improve the results. Regardless of ordering, messages should not become "lost" by the algorithm.
2018-01-25msgthr 1.2.0 - Msgthr#add callback support v1.2.0Eric Wong2-2/+2
This release adds callback support to the Msgthr#add method, allowing callers to track progress and potentially group message. Thanks to Dimid Duchovny for this feature. Discussion about it begins here: https://80x24.org/msgthr-public/CANKvuDf7esPfy3eQ0B8aQjg4sTYTcxR_LNNWeDBcENFwmyC_3g@mail.gmail.com/t/ 4 changes from Dimid Duchovny: add callback to Msgthr#add test: add a more complex test for add_child callback test: fix add_child callback test doc: document block parameter of Msgthr#add
2018-01-24doc: document block parameter of Msgthr#addDimid Duchovny1-1/+12
Signed-off-by: Dimid Duchovny <dimidd@gmail.com>
2018-01-24test: fix add_child callback testDimid Duchovny1-1/+1
Signed-off-by: Dimid Duchovny <dimidd@gmail.com>
2018-01-24test: add a more complex test for add_child callbackDimid Duchovny1-0/+42
Signed-off-by: Dimid Duchovny <dimidd@gmail.com>
2018-01-23add callback to Msgthr#addDimid Duchovny2-2/+13
The motivation is to allow the client to have a custom code executed, whenever a child is added. Signed-off-by: Dimid Duchovny <dimidd@gmail.com>
2017-12-31msgthr 1.1.0 - simplify usage v1.1.0Eric Wong2-2/+2
This release simplifies the API to avoid (and raise on) user errors. If your code worked with previous versions, there are no changes necessary to make. This release fixes our API to match the documentation in making Msgthr#order! optional. Furthermore, the block previously passed to Msgthr#order! may now be passed to Msgthr#thread! instead. For users who truly do not care about ordering, Msgthr#walk_thread may be called immediately after the last call to Msgthr#add. Thanks to Dimid Duchovny for the feedback which led to this release: https://80x24.org/msgthr-public/CANKvuDc2mkxLuh+3+WXWfMXzxK2bShNesrD5xLocGOD1RybbwQ@mail.gmail.com/
2017-12-31various URL updatesEric Wong3-2/+10
.olddoc.yml requires the rdoc_url to point to the top-level for NEWS, unfortunately; but attempt to reduce the indirection in the main README. While we're at it, attempt to use the metadata field in newer Rubygems.
2017-12-28simplify API to avoid (and raise on) user errorsEric Wong3-22/+107
This fixes our API to match the documentation in making Msgthr#order! optional. Furthermore, the block previously passed to Msgthr#order! may now be passed to Msgthr#thread! instead. We accomplish this by tracking internal state explicitly, so a Msgthr::StateError exception will be raised when methods are called in an unsupported order. This internal state is reset with Msgthr#clear. For users who truly do not care about ordering, Msgthr#walk_thread may be called immediately after the last call to Msgthr#add. Thanks to Dimid Duchovny for the feedback which led to this: https://80x24.org/msgthr-public/CANKvuDc2mkxLuh+3+WXWfMXzxK2bShNesrD5xLocGOD1RybbwQ@mail.gmail.com/
2017-06-08msgthr 1.0.1 - initial release with decent documentation v1.0.1Eric Wong2-2/+2
2017-06-08improve API documentation and testingEric Wong6-18/+149
Oh, so that's why I hadn't released this project earlier...
2017-06-08msgthr 1.0.0 - initial (real) releaseEric Wong2-2/+2
Seems to work...
2017-06-08README: update for for 1.0 releaseEric Wong2-25/+46
Mainly, we want to emphasize the container-agnosticism over the non-recursive nature of our algorithm; as the former will likely be more appealing to those not familiar with message threading at all.
2017-05-07add olddoc support for generating RDocEric Wong2-2/+10
2017-01-01test: use symproc in testEric Wong1-1/+1
Not really a problem, but it is shorter and lighter.
2017-01-01initialEric Wong8-0/+672