Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-07 | More cvs/diff/rcs convergence: | Ray Lai | |
1. Mostly variable/function renaming, SIZE_T_MAX->SIZE_MAX, and spacing. 2. One strchr -> strncspn. 3. diff had a weird thing where it set file[12] = ofile[12] but never updated file or ofile, then if file and ofile were different it freed it. I removed it. OK millert | |||
2009-06-06 | Sync some rcsdiff changes to cvsdiff. As a side effect, | Ray Lai | |
cvs diff -t now works. There should be no functional change otherwise. OK millert | |||
2009-03-30 | kill rp_lines, we do not need it when parsing an RCS file. | Joris Vink | |
incendently, commit made using opencvs entirely. with permission from deraadt@ | |||
2009-03-25 | prevent a very difficult to reach, but possible use after free. | Joris Vink | |
ok tobias@ | |||
2009-03-22 | Properly free allocated memory in error case. | Tobias Stoeckmann | |
ok joris | |||
2009-02-21 | Properly convert dates between timezones before comparison. | Tobias Stoeckmann | |
ok joris | |||
2009-02-18 | fix off by one character when constructing $Mdocdate$. | Joris Vink | |
problem found by todd@, ok sthen@ | |||
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. | |||
2009-01-02 | Add format attributes to functions that use variable arguments and | Can Erkin Acar | |
make the code -Wformat=2 clean. ok joris@ xsa@ | |||
2008-11-09 | Removed unneeded conversion from RCSNUM to string in rcs_rev_setlog. | Tobias Stoeckmann | |
oki joris@ | |||
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-09-12 | Plugged two memory leaks which could be encountered while using -r argument | Tobias Stoeckmann | |
with various CVS commands. "seems to make sense" xsa@ | |||
2008-09-12 | Be very conservative about state changes with "admin -s". With GNU CVS | Tobias Stoeckmann | |
and current OpenCVS code it's possible to change a state in a way that cannot be fixed with another admin call. No objections xsa@ | |||
2008-06-26 | plug a memleak in rcs_rev_getlines() - initially noticed & diff by | Joris Vink | |
Igor Zinovik - but fixed in a better way by myself. ok tobias@ | |||
2008-06-15 | if we are using RCS_PARSE_FULLY we can close the RCS file descriptor | Joris Vink | |
as soon as we are done parsing, since we no longer need it for anything. | |||
2008-06-15 | Support the addition of new files in branches. | Tobias Stoeckmann | |
ok joris | |||
2008-06-14 | Conforming to RCS specification, it is possible but unlikely to encounter | Tobias Stoeckmann | |
an RCS file which has no head revision set. Some commands actually can work with them (log, status) so support these files. Fixes A LOT of possible segmentation faults. ok joris | |||
2008-06-14 | Added support for sticky date set in CVS/Tag and CVS/Entries per directory. | Tobias Stoeckmann | |
ok joris | |||
2008-06-14 | don't always re-open the same CVS/Entries file, instead keep the | Joris Vink | |
last opened CVS/Entries around to operate on and close it whenever we switch directory. gives us a small performance boost, obviously. while doing this, switch the way we write revisions to disk by using fwrite(3) so stuff can get written to disk in chunks instead of writing everything line by line, another win. with help from otto@ ok tobias@ | |||
2008-06-14 | Fixed wrong function name in fatal call. | Tobias Stoeckmann | |
2008-06-12 | we should be able to handle symbol names that are also RCS tokens, | Joris Vink | |
gnu cvs supports this and we should too really. allows opencvs to properly checkout netbsd trees. spotted & tested by rivo nurges ok tobias@ | |||
2008-06-12 | completely kill the need for TMP_DIR when running checkout, | Joris Vink | |
which gives us better performance among other things. this is however disabled in a few cases: 1) whenever you run checkout over an existing tree (which acts as update) 2) whenever you specify -d or a module alias we're planning on enabling this behaviour for case 2 in the future. anoncvs sysadmins now love us even more. ok tobias@ | |||
2008-06-10 | properly inherit file permissions. | Joris Vink | |
reported & tested by phessler@ input otto@ deraadt@ ok tobias@ | |||
2008-06-10 | more characters are allowed in the symbol lists, found by tobias@ | Joris Vink | |
2008-06-10 | We have a cvs_buf_puts implementation now, also use cvs_buf_putc instead | Tobias Stoeckmann | |
of cvs_buf_append where appropiate. ok joris | |||
2008-06-08 | rcs_translate_tag mustn't fatal() if it cannot resolve a tag. Breaks '-f' | Tobias Stoeckmann | |
in (r)annotate and (r)diff. ok joris | |||
2008-05-22 | fix updating to tags pointing at branch revisions; | Joris Vink | |
from Neels Janosch Hofmeyr and Stefan Sperling | |||
2008-05-17 | Full support of branches added. We lacked proper support of multiple | Tobias Stoeckmann | |
branch entry points in one revision as well as branches which started from other branches. ok joris | |||
2008-05-11 | Memory leak in rcs_delta_stats plugged. | Tobias Stoeckmann | |
ok joris | |||
2008-03-13 | properly initialize variables | Joris Vink | |
2008-03-09 | Fix segmentation fault when running checkout -p on a file without | Tobias Stoeckmann | |
specified head revision. ok joris | |||
2008-03-08 | better -j support | Joris Vink | |
2008-03-08 | Set umask (and cvs_umask) to system's umask in local and client mode. | Tobias Stoeckmann | |
Also zap umask(0);umask(mask); calls, we have cvs_umask for this. ok joris | |||
2008-03-08 | add checkout/update -j support. | Joris Vink | |
still has some rough edges. | |||
2008-03-08 | correct usage of lseek(2); | Joris Vink | |
2008-03-02 | rcs_errno is gone: zap rcs_errstr() and rcs_errstrs[] as well. | Tobias Stoeckmann | |
ok joris | |||
2008-03-01 | spacing | Theo de Raadt | |
2008-03-01 | goodbye rcs_errno - we didnt use you and you wont be missed | Joris Vink | |
2008-02-28 | RCS files can have a default expansion mode, keep this in mind for | Tobias Stoeckmann | |
update -A and -k. spotted by and ok joris | |||
2008-02-28 | kill way out of date stuff | Joris Vink | |
2008-02-27 | prevent file races | Joris Vink | |
ok tobias@ | |||
2008-02-20 | make sure we use the default branch (if available) | Joris Vink | |
in rcs_translate_tag() if we are looking for a revision on the trunk. fixes inconsistancy with gnu cvs. problem noticed by brad@ | |||
2008-02-11 | Cleanup buf implementation: | Tobias Stoeckmann | |
* Don't check for NULL on buffer creation, because it calls fatal() when something's wrong. * All buffers are supposed to expand if there is no space left in them, so zap flags as well. * Remove code that is now dead. OK joris@ > Inspired by a diff from Igor Zinovik about unchecked return value. | |||
2008-02-10 | properly initialize cvs_specified_date so we dont end up with | Joris Vink | |
random stuff going on | |||
2008-02-09 | fix error msg; | Joris Vink | |
2008-02-09 | Get in initial support for checkout -D. Works fine with -r support right | Tobias Stoeckmann | |
now. OK joris@ | |||
2008-02-03 | Do not unify this "-fr UNKNOWN" handling, it breaks commands which have | Tobias Stoeckmann | |
to work fine and just ignore files which don't have requested symbol. Spotted by joris@. | |||
2008-02-02 | Although this doesn't comply to common sense, it complies to GNU cvs. All | Tobias Stoeckmann | |
commands which supply -f and -r have this weirdness: an unknown symbol leads to fatal instead of head revision. OK xsa@ | |||
2008-01-31 | Handle magic branch numbers in OpenCVS as well. | Tobias Stoeckmann | |
OK joris@ | |||
2008-01-31 | in some cases we did not return a copy of the resulting RCSNUM | Joris Vink | |
towards the caller, which expects a copy (and frees it when done). ok tobias@ |