Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-04-14 | - swap a hack for a slightly nicer hack using a global variable. this avoids | Niall O'Higgins | |
adding a really nasty hack to make some upcoming rlog fixes from joris work. 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 | fix -z option for openrcs, this was broken by xsa | Joris Vink | |
when he yanked the code out of rcs.c and placed it in rcstime.c. struct tm ltb, *tb; tb = <b; return (tb); isn't really the most perfect idiom to return a value to the caller, now is it? as a bonus -z for rlog now works too. okay niallo@ | |||
2006-04-10 | change rcs_kwexp_set() return type to void and simplify its use. OK niallo@. | Xavier Santolaria | |
2006-03-30 | first part of supporting branches in openrcs. right now we can only | Joris Vink | |
check them out. commit is not working yet, but will be soon. tested by myself and ray@ okay ray@ | |||
2006-03-30 | Add rlog -r[REV1][:][REV2] support | Ray Lai | |
From Pierre-Yves Ritschard. OK niallo@ | |||
2006-03-30 | - Comment fixes. | Ray Lai | |
- int rcsnum_cpy() -> void rcsnum_cpy(). - Check for overflow in rcsnum_cpy(). OK niallo@ | |||
2006-03-27 | - properly implement GNU file modes. basically, checkout will inherit | Niall O'Higgins | |
permissions from rcs file and initial checkin will inherit permissions from working file. problem spotted by uwe@ ok ray@ xsa@ | |||
2006-03-27 | rcs_comment_set() will never return non-zero; change its return type to void. | Xavier Santolaria | |
OK ray@. | |||
2006-03-27 | rcs_desc_set() will never return non-zero; change its return type to void. | Xavier Santolaria | |
OK niallo@. | |||
2006-03-24 | Fix RCS_KWEXP_INVAL() macro. | Ray Lai | |
Pointed out by Theo. Okay xsa@. | |||
2006-03-23 | Use TAILQ_HEAD() macro instead of custom struct definition. | Ray Lai | |
From Pierre-Yves Ritschard. OK xsa@ | |||
2006-03-09 | move joris' timezone support into rcstime.c; more work to be done there. | Xavier Santolaria | |
OK joris@. | |||
2006-03-07 | -z support for RCS; | Joris Vink | |
2006-03-05 | our deltatexts were sometimes different from gnu. rcs_getrev() was | Niall O'Higgins | |
unconditionally doing keyword expansion, even when this wasn't what we wanted e.g. in checkout_rev() and cvs_checkout_rev(). so: - change semantics of rcs_getrev() to not do keyword expansion - add an rcs.c api function rcs_kwexp_buf() which does this - change both checkout_rev() and cvs_checkout_rev() to use this function. eyeballed by xsa, joris and Ray Lai | |||
2006-02-09 | - move rcs_kw-related data into rcs.h and de-static the keyword array. this | Niall O'Higgins | |
allows access from outside rcs.c and will be needed for upcoming features in ci(1). ok joris@ xsa@ | |||
2006-01-02 | more includes cleanup; | Xavier Santolaria | |
2005-12-30 | - zap unused 'rf_ref' member of RCSFILE structure. | Niall O'Higgins | |
spotted by joris@ | |||
2005-12-27 | - implement lazy-parsing of rcs files, that is only parse as much as we | Niall O'Higgins | |
need. this can save us much work, particularly with very large rcs files. first of a few important performance improvements. ok joris@ | |||
2005-12-08 | complete and correct rcs locking functionality, | Joris Vink | |
it was only done partially and as a bonus, completely wrong. seriously guys what was up with that? | |||
2005-12-03 | todd@ reminds me: | Joris Vink | |
If you 'vi file.c' and change stuff, then 'make depend && make' you'll have a file.o file most definately more recent than the latest committed version of file.c. Then, if you rm file.c, and cvs update file.c, if 'file.c' is set to the timestamp of the last committed version, a subsequent 'make' will not rebuild the .o file. to fix this we simply use the current timestamp when updating files. thanks todd@! | |||
2005-12-03 | add very basic support for the following stuff: | Joris Vink | |
- checkout in local mode (example: /cvs) - update in local and server mode (example: /cvs and user@host:/cvs) - import in local and server mode (example: /cvs and user@host:/cvs) what remains to be done: - not all options are supported yet, and update cannot pick up newly added files yet. these things are pending and will be commited real soon. - checkout only works locally right now. - fix rcs parsing code so that we don't fucking hog 100% cpu on really BIG BIG BIG ass trees. mainly tested by pedro@ and myself, thanks a lot pedro! "go for it" niallo@ | |||
2005-12-01 | rcs_findrev() is not static anymore; align protos while here; | Xavier Santolaria | |
OK joris@ niallo@. | |||
2005-11-02 | changes from Venice: | Niall O'Higgins | |
- instead of using lots of individual flag variables, use a single int and bitwise operations on it. while this saves memory, really it saves code space and reduces complexity. checkout_rev() and checkout_state() in particular benefit from these changes since their parameters where growing really long. - implement `-s' option in co - implement `-M' option in ci "I like this, go for it" joris@ | |||
2005-10-29 | - add two new functions to RCS api: rcs_state_set() and rcs_state_check() | Niall O'Higgins | |
- use these two new functions to implement -s<state> option in ci ok joris@ | |||
2005-10-22 | diff3 support, needed for merging files together; | Joris Vink | |
"go for it" niallo@ | |||
2005-10-15 | - add username parameter to rcs_rev_add(), needed to implement at least | Niall O'Higgins | |
`ci -wusername'. ok joris@ | |||
2005-10-10 | add rcs_rev_setlog() in the RCS api; used for setting log messages | Joris Vink | |
of a revision to a specific value; ok niallo@ | |||
2005-10-10 | add rcsnum_dec() api call, decreases a revision number by one. | Joris Vink | |
ok niallo@ | |||
2005-10-07 | basic `ci' support is here! more coming soon. | Niall O'Higgins | |
combined effort with joris. ok joris@ | |||
2005-08-02 | handle magic branch numbers. | Joris Vink | |
ok xsa@, jfb@ | |||
2005-07-25 | KNF; mostly spaces vs. tabs; ok joris@ jfb@. | Xavier Santolaria | |
2005-05-26 | add a couple of functions to go from branch numbers to revisions and | Jean-Francois Brousseau | |
vice versa, and fix RCSNUM_ISBRANCH() | |||
2005-05-25 | unused code | Jean-Francois Brousseau | |
2005-05-25 | modify rcs_rev_add() to accept a time_t argument to explicitly set | Jean-Francois Brousseau | |
the revision's timestamp (-1 is equivalent to using the current time) | |||
2005-05-25 | split cvs_admin_file() into the local and remote versions and do | Jean-Francois Brousseau | |
some cleanup | |||
2005-05-25 | add cvs_comment_lookup() and a suffix -> comment leader lookup table | Jean-Francois Brousseau | |
to determine the appropriate comment leader for a file | |||
2005-05-25 | add the RCS_ERR_ERRNO code to indicate that the actual error code is | Jean-Francois Brousseau | |
in errno, fix cvs_errstr() to return the appropriate string, and sprinkle some error setting where appropriate | |||
2005-04-20 | check the validity of tag names passed to the tag command, and print | Jean-Francois Brousseau | |
an abort message if the tag is invalid. also, match gnu cvs behaviour with regards to command usage output on usage errors. ok joris | |||
2005-04-19 | add rcs_sym_check() to check the validity of an RCS symbol and | Jean-Francois Brousseau | |
sprinkle some in the other symbol functions | |||
2005-04-13 | cache leftovers | Jean-Francois Brousseau | |
2005-04-11 | modify handling of RCS delta texts so we can handle arbitrary binary | Jean-Francois Brousseau | |
data | |||
2005-04-07 | * reverse symbol list order | Jean-Francois Brousseau | |
* allow retrieval and setting of the head revision number | |||
2005-04-07 | Perform proper escaping of the @ character in all RCS strings when | Jean-Francois Brousseau | |
writing the output to the file. ok joris@ | |||
2005-04-06 | * allow for creation and removal of RCS locks | Jean-Francois Brousseau | |
* add rcs_tag_resolve() to resolve a branch, tag or revision easily | |||
2005-03-13 | support for the optional `branch' keyword, which is used to set the | Jean-Francois Brousseau | |
default branch for an RCS file | |||
2005-03-05 | add functions to retrieve and set the comment leader for an RCS | Jean-Francois Brousseau | |
file | |||
2005-03-05 | add RCS error codes and a global variable to hold the last error | Jean-Francois Brousseau | |
and make the code less verbose at the same time | |||
2005-03-05 | unbreak the RCS_KWEXP_INVAL() macro | Jean-Francois Brousseau | |
2005-03-05 | functions to manage the locking mode of RCS file | Jean-Francois Brousseau | |