Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-28 | Stop using MAXBSIZE to eliminate sys/param.h including (which injects a | Theo de Raadt | |
ton of namespace intrusion). Create local sizes, and refactor some code along the way. ok millert | |||
2019-01-09 | When expanding $Log$ make sure a newline is added if rd_log has none. | Joris Vink | |
This can happen on new RCS files. Fixes $Log$ keyword expansion. | |||
2019-01-09 | Make sure rcs_lock_add() and rcs_lock_remove() properly update the | Joris Vink | |
rd_lock member of the matching delta. Other keyword substitution will not properly work in cases where the RCS file did not have a lock for the revision yet or if the lock is being removed. | |||
2018-12-30 | Delete unnecessary <libgen.h> #includes | Philip Guenther | |
ok deraadt@ | |||
2016-05-09 | Implement Mdocdate keyword substitution. | Ingo Schwarze | |
In particular, this stops rcsdiff(1) and CVSweb from showing wrong Mdocdate lines in diffs. Problem originally reported by tj@. OK tobias@ otto@ millert@ | |||
2015-11-02 | Allow rcsnum_free and buf_free to accept NULL and remove various NULL | Nicholas Marriott | |
checks that are now unnecessary, from Michael W Bombardieri. ok millert | |||
2015-06-13 | Convert xfree to free. From Fritjof Bornebusch. ok deraadt | Nicholas Marriott | |
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-10-10 | Zap some stored values never read; From Fritjof Bornebusch; ok nicm@ | Otto Moerbeek | |
2014-01-07 | ctype cleanups; ok okan | Theo de Raadt | |
2012-03-03 | Remove unused variable, from Michael W Bombardieri who also got an ok | Nicholas Marriott | |
from tobias@. | |||
2011-07-14 | spacing, no binary change. | Igor Sobrado | |
2011-07-06 | Replace the keyword expansion code with a faster, more readable version | Nicholas Marriott | |
which additionally also supports $Log$ and $Locker. Written by Joerg Sonnenberger and tweaked by me. ok ray | |||
2011-05-20 | Remove a bunch of unused functions, from Michael W Bombardieri. | Nicholas Marriott | |
ok ray | |||
2011-04-20 | Remove some unneeded includes and dead code, from Michael W Bombardieri. | Nicholas Marriott | |
ok jasper xsa | |||
2011-04-04 | previous commit introduced a crash: the removed strtol was being used to | Damien Miller | |
skip past a value and it couldn't just be nuked | |||
2011-03-27 | - remove unused variables | Jasper Lievisse Adriaanse | |
from Michael W. Bombardieri ok chl@ nicm@ | |||
2010-12-10 | - plug an fd leak | Jasper Lievisse Adriaanse | |
help/ok chl@ nicm@ | |||
2010-10-27 | Merge -k and expand @@ parsing code between OpenCVS and OpenRCS, resulting | Tobias Stoeckmann | |
in a performance gain in OpenCVS in some "cvs update" scenarios. ok zinovik | |||
2010-10-20 | Merge OpenCVS' rcs_deltatext_set into OpenRCS, fixing a memory leak. | Tobias Stoeckmann | |
ok nicm zinovik | |||
2010-10-20 | Remove the need for rp_file in parser structure, instead keep only one | Tobias Stoeckmann | |
FILE pointer in RCSFILE. This fixes some ugliness in closing an fdopen()ed FILE and its underlying file descriptor. Notified by Joerg Sonnenberger <joerg at britannica dot bec to de> discussed with and ok nicm | |||
2010-10-15 | Replaced RCS parser code with new rcsparse.{c,h}: | Tobias Stoeckmann | |
- be very strict about things we parse - print more information about errors if they occur - do not fatal() directly in parser, give caller a chance to react - fix an rcs design issue when it comes to login names tested by many on tech@ ok xsa | |||
2010-10-05 | Zapped unused function rcs_tag_resolve. | Tobias Stoeckmann | |
ok xsa | |||
2010-10-05 | rcs_state_check must check for more invalid characters than just space. | Tobias Stoeckmann | |
ok nicm | |||
2010-09-29 | Ensure that we always parse all deltas before expecting "desc" keyword. | Tobias Stoeckmann | |
ok nicm, zinovik | |||
2010-09-23 | Plug memory leak in rcs_getrev, from zinovik. | Nicholas Marriott | |
ok me stsp | |||
2010-09-11 | Fixed typo. | Tobias Stoeckmann | |
ok ray, zinovik | |||
2010-09-02 | rcsnum_parse() allocates already an RCSNUM struct, so it's not needed to | Tobias Stoeckmann | |
copy it into a newly allocated one (which is even a memory leak). ok zinovik | |||
2010-08-31 | style | Tobias Stoeckmann | |
2010-07-28 | Make BUFs autoextend by default. This was already done in OpenCVS | Ray Lai | |
a while ago. OK zinovik nicm | |||
2010-07-23 | Reduce variable/function name and whitespace differences between | Ray Lai | |
cvs/rcs. OK xsa zinovik | |||
2010-07-23 | Rename a bunch of variables and functions, removing the cvs_/rcs_ | Ray Lai | |
prefixes to reduce differences between cvs and rcs files. "yes!" nicm | |||
2010-07-21 | Only use username if author is NULL. Fixes "ci -wusername" when run | Ray Lai | |
as root. OK nicm | |||
2010-07-13 | Don't read before the beginning of the log message if it is zero-length | Nicholas Marriott | |
(possible when it comes from stdin). Tweaked version of a fix from Peter Hendrickson in PR 6423. ok deraadt | |||
2010-07-09 | Make cvs and rcs consistent in what characters they'll accept in | Christian Weisgerber | |
symbol/tag names: require the first character to be a letter and allow any printable character (except the RCS specials $,.:;@) afterwards. This matches GNU cvs. ok xsa@ zinovik@ stsp@ | |||
2009-04-14 | tried to fix a the-the in the comment, ended up rewriting it. with/from joris@ | Janne Johansson | |
2009-02-25 | Checking if a file is ASCII should only be done when diffing, because | Ray Lai | |
the non-ASCII characters could be printed to the screen. For checking in files, checking out files, merging files, and removing revisions of files, we do so regardless of whether the files are ASCII or binary. Fixes PR6031. OK joris and deraadt. | |||
2009-02-15 | add our temporary RCS file to our temp_files worklist in case | Joris Vink | |
for some reason we get interrupted before calling rename(). we hate leaving behind temporary files. | |||
2008-11-09 | Removed unneeded conversion from RCSNUM to string in rcs_rev_setlog. | Tobias Stoeckmann | |
oki joris@ | |||
2008-11-08 | Support for retrieving revisions from branches in branches was missing. | Tobias Stoeckmann | |
Reported by chl@, ok joris@ | |||
2008-10-09 | cvs(1) uses a config file to know about the $OpenBSD$ expansion keyword, | Theo de Raadt | |
but unfortunately rcs is not so lucky, and it will have to encoded inside. A bit gross, but what can we do? PR 5953, ok tobias | |||
2008-09-17 | try getlogin() to get the real username when comitting files as root. | Reyk Floeter | |
this gives better information in log messages when the user logged in with a different uid and used sudo or su to become root. matches the behaviour of gcvs except that we don't fallback to LOGNAME or USER since getlogin() should not lie. ok tobias@ | |||
2008-05-11 | Memory leak in rcs_delta_stats plugged. | Tobias Stoeckmann | |
ok joris | |||
2008-02-02 | From src/usr.bin/cvs: | Xavier Santolaria | |
> add changed lines support to log and rlog (the + and - stuff) > from Pierre Riteau; | |||
2008-01-31 | Revert last patch and add this magic branch number only during | Tobias Stoeckmann | |
output, this way we don't have to hassle in our internal brach handling. OK joris@ | |||
2008-01-06 | Branches are separated with \n\t in GNU rcs/cvs. | Tobias Stoeckmann | |
This makes regress tests easier to check with OpenCVS and GNU cvs. OK xsa@ | |||
2008-01-06 | gnu cvs added a new keyword 'commitid', this diff adds just enough code | Nikolay Sturm | |
to parse the commitid so that cvsweb (using rcs) continues to work on those files ok niallo@, xsa@ | |||
2007-08-27 | typo in error msg; from Igor Zinovik. | Xavier Santolaria | |
2007-07-03 | Rename rcs_diffreg() to diffreg(). | Ray Lai | |
OK joris@ | |||
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@. |