Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-06-30 | Sync revisions and time buffers size to be consistent with each others. | Xavier Santolaria | |
Simplifies further size tweaks if needed. OK ray@. | |||
2007-04-26 | `[-sstate[:rev]]' is not available in rcs(1) | Igor Sobrado | |
ok by jmc@, niallo@, and xsa@ | |||
2007-02-27 | As done in OpenCVS, general includes cleanup sweep. OK otto@. | Xavier Santolaria | |
2007-01-10 | you know what, now that openrcs is in fact working properly and | Joris Vink | |
has been in the previous release - how about we give it a proper version instead of "OpenCVS RCS 3.6" okay xsa@, ray@ | |||
2006-12-27 | - no need to mention -e option twice in usage. | Niall O'Higgins | |
pointed out by Igor Sobrado <igor at string1.ciencias.uniovi.es> | |||
2006-11-13 | no magic, use defined RCS_LOCK_INVAL variable. | Xavier Santolaria | |
2006-10-12 | - convert some warnx() to warn(), which fixes a few stupidly un-informative ↵ | Niall O'Higgins | |
error messages (found by tom@) - make rcs_choosefile() save wrt errno, input from ray@ ok joris@ xsa@ | |||
2006-08-16 | Improve rcs_buf_load() by setting errno appropriately on failure and | Ray Lai | |
never print errors or quit on error. Fix usages of rcs_buf_load() and rcs_set_description. Also plug an fd leak. OK xsa@ | |||
2006-05-29 | Plug more memory leaks. | Ray Lai | |
OK joris@ | |||
2006-05-28 | Remove a lot of xstrdup() calls in getopt() loops, which are usually | Ray Lai | |
unnecessary. These xstrdup() calls don't call xfree() before anyway, so if a flag is given multiple times memory leaks would have resulted. OK joris@ | |||
2006-05-28 | Move -A<oldfile> handling into separate chunk of code. This also | Ray Lai | |
removes a memory leak if -A is given multiple times. OK joris@ | |||
2006-05-27 | Remove rcs_statfile(). It was just a wrapper for rcs_choosefile(), | Ray Lai | |
handling exceptions oddly. OK joris@ | |||
2006-05-19 | fix printf + add missing printf when unlocking file (-u). | Xavier Santolaria | |
2006-05-15 | missing bits for a working merge(1). Built and enabled. | Xavier Santolaria | |
OK joris@ ray@. | |||
2006-05-11 | fix informative msg's wrt to -q and stderr. now matches gnu/usr.bin/rcs. | Xavier Santolaria | |
2006-05-09 | Remove /* NOTREACHED */ comments, now that lint is smart about | Ray Lai | |
__dead. I never should have put them there. OK xsa@. | |||
2006-05-01 | using *_FOREACH macros is really bad when we are actually | Joris Vink | |
removing elements from the list inside the loop. this has been documented *clearly* in queue(3). okay niallo@ | |||
2006-04-29 | Check return values for all strlcpy, and strlcat calls. | Ray Lai | |
OK xsa@ and probably others. | |||
2006-04-29 | Clarify man pages to match -t behavior and pretty up usage strings. | Ray Lai | |
OK xsa@ and jmc@. | |||
2006-04-28 | remove -h; ok xsa | Jason McIntyre | |
2006-04-27 | move -M into compat land; ok xsa | Jason McIntyre | |
2006-04-26 | prevent file races by obtaining an fd for the RCS file and | Joris Vink | |
do our operations on that, this is safe and guarantees we can operate on the file until we close(2) it. a fix is coming for the remaining races in our diff code. okay niallo@ and ray@ | |||
2006-04-26 | fork our code we shared between openrcs/cvs into the openrcs dir. | Joris Vink | |
this was starting to become inhuman to maintain without ugly ugly hacks in the shared code, and it will be easier to make specific changes for openrcs without touching the soon-to-be-replaced opencvs code. | |||
2006-04-25 | quote strings consistently. | Xavier Santolaria | |
2006-04-25 | fatal() -> err()/errx() as we try to not depend on heavy cvs_log(). | Xavier Santolaria | |
OK joriski. | |||
2006-04-24 | be consistent in error messages for wrongly specified keyword substitution | Xavier Santolaria | |
mode for `-k'. | |||
2006-04-24 | o Better match GNU behavior (a bare -t does NOT read from stdin, | Ray Lai | |
unlike rcs). o Share code with rcs by moving rcs_set_description() to rcsutil.c. o Change description prompt from #define to const char *. OK xsa@ | |||
2006-04-21 | move shared functions into rcsutil.[ch]; this makes rcsprog.c cleaner; | Xavier Santolaria | |
"the voices in my head say OK!" joris@. | |||
2006-04-21 | match former rcs implementation warning message if no options are | Xavier Santolaria | |
specified when using rcs(1). OK ray@ joris@. | |||
2006-04-21 | remove overkill cvs_log() and rather use warn()/warnx(). | Xavier Santolaria | |
OK ray@ and discussed with joris@. | |||
2006-04-21 | switch -p handling to bitwise flags; OK ray@. | Xavier Santolaria | |
2006-04-19 | switch -q handling to bitwise flags; OK ray@ niallo@. | Xavier Santolaria | |
2006-04-18 | Combine code to prompt user for input into a shared function, | Ray Lai | |
reducing some complex fats from ci.c. OK joris@ | |||
2006-04-18 | Remove -h flag from rcs_getopt loop, which is not in GNU. | Ray Lai | |
OK xsa@ | |||
2006-04-17 | plug memory leak; OK ray@. | Xavier Santolaria | |
2006-04-15 | dont stupidly duplicate code. make rlog use rcs_rev_select() and thus | Xavier Santolaria | |
nuke rlog_rev_select(). OK niallo@. | |||
2006-04-14 | - don't append the extension if it's already there (PR 5076). | Joris Vink | |
- show magic branches in rlog (thanks for that nicer hack niall). - correct output in rcsdiff, so we perfectly match gnu's all these bugs were found by sturm@ while he was using cvsweb (which uses the RCS tools). "it is in my view that you should put it in" niallo@ | |||
2006-04-14 | excessive addition to brackets is a mental disease. you will go | Theo de Raadt | |
blind, too. seek help. no binary change, ok joris | |||
2006-04-13 | add support for the openrcs -o'range' option. | Joris Vink | |
-o allows users to delete revisions in the specified RCS files. example: rcs -o1.4:1.6 foo deletes revisions 1.4 - 1.6 rcs -o1.3 foo deletes revision 1.3 joint work with niallo@ okay niallo@ | |||
2006-04-13 | clean up temporary files when we finish running. | Joris Vink | |
"cool" niallo@ | |||
2006-04-13 | *** empty log message *** | Ray Lai | |
2006-04-12 | Better match GNU behavior for rcs -l and rcs -u. | Ray Lai | |
Save 2 bytes of newlines. OK joris@ | |||
2006-04-12 | Clean up <rev> handling. Whenever a revision is specified after a | Ray Lai | |
flag, it calls one of two new functions: rcs_setrevstr() or rcs_setrevstr2(). rcs_setrevstr() sets a string to another string, and complains if it was set more than once. rcs_setrevstr2() takes two strings, sets one after the other, and fatal()s if more than two strings were given. All <rev> handling is now done in the loop that goes through each argv. This is necessary for parsing symbols, which will be much easier after this. Along the way a lot of memory leaks were cleaned up. There is one area where rcs_set_rev() is called, which allocates a RCSNUM and stores it in pb.newrev, but it segfaults whenever I try to rcsnum_free() it. I put an /* XXX */ comment there for now. Passes regression tests and the code is less complicated in some ways (to me). Suggestions and OK xsa@ | |||
2006-04-11 | Don't rcs_close() before fatal(). After much hesitation, joris@ | Ray Lai | |
and xsa@ finally convinced me this is safe (and better). OK joris@, niallo@, and xsa@. | |||
2006-04-10 | change rcs_kwexp_set() return type to void and simplify its use. OK niallo@. | Xavier Santolaria | |
2006-04-07 | change rcs_set_mtime() return type to void. | Xavier Santolaria | |
2006-04-06 | -z can take no argument. | Xavier Santolaria | |
2006-04-01 | Add rcs -l, rcs -u, and regression tests. | Ray Lai | |
``put it all in'' joris@ | |||
2006-04-01 | Keep cvs flags in `flags', rcs flags in `rcsflags' in rcsprog.h. | Ray Lai | |
Prevents bitfield pollution between the two. ``This is how it should be.'' niallo@ | |||
2006-03-28 | shudup rcs_set_description(), so regress tests are happy too. | Xavier Santolaria | |