Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 1 | -2/+2 | |
| | | | | | | | | | 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) | ||||
* | Reduce variable/function name and whitespace differences between | 2010-07-23 | 1 | -6/+6 | |
| | | | | | | cvs/rcs. OK xsa zinovik | ||||
* | Rename a bunch of variables and functions, removing the cvs_/rcs_ | 2010-07-23 | 1 | -2/+2 | |
| | | | | | | prefixes to reduce differences between cvs and rcs files. "yes!" nicm | ||||
* | switch our file and directory lists to RB trees (see tree(3)), | 2009-03-25 | 1 | -7/+7 | |
| | | | | so we can benefit from faster lookup times while recursing. | ||||
* | Small optimization. | 2008-11-26 | 1 | -3/+2 | |
| | | | | OK tobias@ | ||||
* | New trigger framework that allows us to run the required scripts | 2008-06-10 | 1 | -4/+72 | |
| | | | | | | | | | | defined in CVSROOT/commitinfo and CVSROOT/loginfo and so on. This enables the use of log_accum2 and all that other nice stuff we like. This was mostly written by Jonathan Armani with help from tobias@ and myself. ok tobias@ | ||||
* | Handle commits on a per-directory basis instead handling all of them at | 2008-06-08 | 1 | -12/+43 | |
| | | | | | | | once in local setup. Also added '!' to reuse typed log message for all following directories. ok joris | ||||
* | Wrong function names in fatal messages fixed. | 2008-05-22 | 1 | -2/+2 | |
| | |||||
* | While allocation memory, make sure that file sizes are smaller than SIZE_MAX. | 2008-03-09 | 1 | -1/+4 | |
| | | | | ok joris | ||||
* | Cleanup buf implementation: | 2008-02-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | * 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. | ||||
* | missing header for mkstemp | 2007-09-25 | 1 | -2/+3 | |
| | | | | | | check mkstemp return value against -1 instead of NULL ok joris@ | ||||
* | Replaced strlen() with sizeof() - 1 when #define'd strings are used. | 2007-09-04 | 1 | -2/+2 | |
| | | | | OK ray@ | ||||
* | Handle ^D as a)bort in log message question. | 2007-09-04 | 1 | -2/+2 | |
| | | | | OK joris@ | ||||
* | properly send our log message to the server using Argumentx, so we | 2007-08-30 | 1 | -3/+1 | |
| | | | | | | no longer break when the log message has multiple lines. from Tobias Stoeckmann, thanks for doing my work! | ||||
* | cvs_logmsg_edit no longer fails with ECHILD. | 2007-05-11 | 1 | -2/+8 | |
| | | | | Add comment describing cvs_logmsg_edit usage. | ||||
* | Sync with editit from sendbug. | 2007-05-11 | 1 | -29/+19 | |
| | |||||
* | - correct signal handling and process waiting for the EDITOR support code | 2007-04-20 | 1 | -9/+63 | |
| | | | | | | | | (From ray's code in sendbug(1)) - nuke cvs_exec() as it is not used anymore Prompted by deraadt@ a few weeks ago. OK ray@. | ||||
* | general includes cleanup sweep. ok joris@ niallo@ | 2007-02-22 | 1 | -5/+7 | |
| | |||||
* | zap uneeded close() calls after fclose(); pointed out by and OK otto@. | 2007-01-25 | 1 | -3/+1 | |
| | |||||
* | do not use strlcpuy on a buffer filled by fgetln, since fgetln does | 2007-01-25 | 1 | -2/+3 | |
| | | | | not NUL-terminate. ok xsa@ | ||||
* | strl* overload, use xasprintf(). | 2007-01-11 | 1 | -10/+2 | |
| | |||||
* | save errno. | 2007-01-11 | 1 | -5/+9 | |
| | |||||
* | add the temporary file we create to the temp_files worklist | 2007-01-07 | 1 | -1/+3 | |
| | |||||
* | make the output when interrupting writing the log message consistent. | 2007-01-07 | 1 | -2/+2 | |
| | | | | | | ok joris@ commiting with opencvs now btw :) | ||||
* | and lets make import work with the new logmsg code too! | 2007-01-07 | 1 | -4/+4 | |
| | |||||
* | rewrite of the logmessage code, which allows you to | 2007-01-07 | 1 | -0/+193 | |
| | | | | enter a logmessage into your favorite editor when commiting. | ||||
* | commit the new opencvs code, i have been hacking on | 2006-05-27 | 1 | -298/+0 | |
| | | | | | | | | | | | | this for the past 2 weeks now and it should go in at the start of the hackathon so others can help out. this code is a lot safer, smarter, faster and best of all it is actually doing what it is suppose to do! basic checkout, update, status, diff and commit are working in local mode only. there is no support for any remote setups now. | ||||
* | remove a metric buttload of excessive () | 2006-04-14 | 1 | -7/+7 | |
| | | | | no binary change; ok ray | ||||
* | #include's cleanup; ok joris@ niallo@. | 2006-01-02 | 1 | -9/+2 | |
| | |||||
* | major cleanup of the functions handling the remote cvs protocol. | 2005-12-30 | 1 | -8/+4 | |
| | | | | | | makes the code a lot more readable and understandable. ok xsa@ and niallo@ | ||||
* | unitialized variable. ok xsa@ | 2005-12-22 | 1 | -1/+2 | |
| | |||||
* | fatal()ization! OK joris@. | 2005-12-21 | 1 | -52/+23 | |
| | |||||
* | cvs_buf_putc() and cvs_buf_write_*() functions cannot fail anymore; | 2005-12-20 | 1 | -5/+2 | |
| | |||||
* | switch to xmalloc stuff, me and xsa@ agreed on this a long | 2005-12-10 | 1 | -2/+2 | |
| | | | | | | | | | time ago, but we were being held back by jfb. too bad for him. next step is to use fatal() through out the code for unrecoverable errors instead of trying to be all nice and fluffy and reach main() again. ok niallo@ and xsa@ | ||||
* | missing casts; ok joris | 2005-08-14 | 1 | -2/+2 | |
| | |||||
* | fgets() expects the 2nd arg to be an int. OK jfb@ joris@. | 2005-08-10 | 1 | -4/+4 | |
| | |||||
* | use cvs_tmpdir; OK jfb@ joris@. | 2005-08-08 | 1 | -3/+3 | |
| | |||||
* | KNF; | 2005-07-25 | 1 | -4/+4 | |
| | |||||
* | KNF; | 2005-07-25 | 1 | -3/+3 | |
| | |||||
* | correctly seperate added, modified and removed files for use in the | 2005-07-23 | 1 | -1/+4 | |
| | | | | | | construction of the log message in the editor. ok jfb@ | ||||
* | - set LP_ABORT log level when action is abored by user instead of LP_ERR | 2005-06-02 | 1 | -3/+3 | |
| | | | | | | | - missing \n in output of an unchanged log message warning - always use the command name in error messages instead of aliases ok jfb@. | ||||
* | headers ordering (alphabetically) and cleanup, from mbalmer@ and myself; | 2005-05-31 | 1 | -3/+3 | |
| | |||||
* | Modify the CVSFILE structure using a union to keep information about | 2005-04-18 | 1 | -2/+2 | |
| | | | | | | | | | both files and directories. We can now keep the revision number for regular files, and don't need to fetch the appropriate entry in the command callbacks. This saves a huge amount of parsing on Entries files. ok joris@ | ||||
* | spelling fixes | 2005-02-26 | 1 | -2/+2 | |
| | |||||
* | more error checking on buffer operations and plug a descriptor leak | 2005-01-03 | 1 | -4/+15 | |
| | | | | from Joris Vink | ||||
* | complain if we fail to send the log message so the caller doesn't | 2004-12-08 | 1 | -3/+7 | |
| | | | | have to | ||||
* | rearrange the output loop for file lists in the log message so we don't | 2004-12-08 | 1 | -2/+3 | |
| | | | | | | have blank lines or extra delimiters in some cases spotted by and discussed with Joris Vink | ||||
* | embrace and extend (!) cvs_logmsg_get() so we can now display | 2004-12-08 | 1 | -24/+42 | |
| | | | | | | | | | information based on its availability and have separate sections for the Added, Modified and Removed file lists. this will allow us to use the same call for add, commit, import and possibly others Original patch by Joris Vink, some rework from me for the other sections | ||||
* | less whitespace, more pretty. ok jfb | 2004-12-07 | 1 | -16/+12 | |
| | |||||
* | tighten vertical spacing for else; jfb ok | 2004-12-06 | 1 | -5/+3 | |
| |