Commits

Show all
Author Commit Message Labels Comments Date
Greg Ward
capture: do not use 'stdout' and 'stderr' as struct members They are defined as macros by C89 and C99; with glibc I got away with the sloppiness, but not on Darwin. Build fails on OS X. This fixes it.
Tags
1.0
Greg Ward
hg: replace sum_bytes() with non_zero(). Why do it implicitly and imperfectly when we can do it explicitly and correctly?
Greg Ward
Swap args to dump_hex() so dest comes first. This is more consistent with e.g. strcat(), sprintf(), etc.
Greg Ward
Make example setup documentation consistent between README and man page.
Greg Ward
README: misc updates and fixes
Greg Ward
man page: document author, environment variables
Greg Ward
Ensure consistent order of format specifiers: %n, %b, %r, %p, %u, %m, %%.
Greg Ward
Add %p format specifier, for patch name (e.g. MQ, guilt, quilt). Only implemented for Mercurial + MQ for now. I tore get_mq_patchname() to pieces, fixed several buffer overflow errors, and make it work more sensibly. Should be entirely doable to support git + guilt, if someone wants to give it a crack.
Greg Ward
Add full_revision to results_t. Used by hg module to remember exact binary changeset IDs for both parents, as read from dirstate.
Greg Ward
Makefile: apply valgrind to all tests, not just test-simple.
Greg Ward
git: fix memory leak
Greg Ward
git: simplify git_get_info() by de-nesting a big "else" block
Greg Ward
fossil: fix memory leaks
Greg Ward
svn: simplify svn_get_info() by de-nesting an unnecessary "else" branch
Greg Ward
Add "make grind" to run (some) tests under valgrind; start fixing leaks.
Greg Ward
Make valgrind happy.
Greg Ward
hg: improve code style (fewer cryptic variable names)
Greg Ward
hg: simplify %r so it just shows revision number or changeset ID. Cluttering it up with MQ patch name and "[tip]" was just ugly and messy. Those should be separate format specifiers. Revision number depends on parsing both .hg/dirstate and .hg/changelog, which should work ... but the changeset ID is there as a fallback if we only succeed in parsing dirstate.
Greg Ward
Order VC systems by popularity: CVS should be near the end, not first!
Greg Ward
Add a man page.
Greg Ward
Change default format string to leave out %m and %u. They are not universally supported, and they are universally slow.
Greg Ward
Makefile: cleanup test repositories too.
Greg Ward
Makefile: specify C dialect
Greg Ward
Style consistency: format pointers like the rest of the C universe. Instead of "type* name", use "type *name".
Greg Ward
Style consistency: always put function return types on their own line.
Greg Ward
Update contributor list, copyright dates.
Greg Ward
Clarify timeout-related help and output a smidge. Also rename msalarm() to set_alarm(), because that's what it does.
Greg Ward
If we're going to ignore errors from strtol(), do it right.
Greg Ward
Fix inconsistent whitespace. - no space between function name and "(" - space between function parameters - exactly one blank line between functions
Gregg Lind
`-t timeout`; fix #4, alternative solution re #2. Adds new flag `-t timeout milliseconds`, to stop long-running vcprompt invocatoins. `vcprompt -t 20` is recommended usage. TODO: * respect -f in how the result should printed on a timeout job.
  1. Prev
  2. Next