Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-05-27 | commit the new opencvs code, i have been hacking on | Joris Vink | |
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. | |||
2006-04-14 | remove a metric buttload of excessive () | Theo de Raadt | |
no binary change; ok ray | |||
2006-04-05 | Use variable names for sizeof, remove casts in front of xmalloc, | Ray Lai | |
use xcalloc and xstrdup where appropriate, and other stuff. OK joris@ | |||
2006-04-02 | spacing; | Joris Vink | |
2006-01-02 | #include's cleanup; ok joris@ niallo@. | Xavier Santolaria | |
2005-12-12 | only xfree() cf->cf_dir when it's not NULL; | Joris Vink | |
2005-12-10 | switch to xmalloc stuff, me and xsa@ agreed on this a long | Joris Vink | |
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@ | |||
2005-12-04 | more code cleanup, remove useless flags and parts of code | Joris Vink | |
that never got used in the first place; | |||
2005-12-03 | fix date handling in opencvs, this was broken since the very start. | Joris Vink | |
now, when you checkout a tree with gnu cvs, opencvs no longer sees all the files as modified, and visa versa. this actually makes gnu cvs and opencvs dance together in working copies. | |||
2005-12-03 | remove unused and useless functions, they just get in the way; | Joris Vink | |
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-11-12 | - remove strtab stuff. serves no useful purpose. | Niall O'Higgins | |
diff is from joris@, committing on his behalf because his net connection is very dodgy right now. | |||
2005-10-27 | if cvs_file_loadinfo fails, return failure to the caller instead | Joris Vink | |
of acting like everything went fine. this fixes eternal loops in the client which waits for data from the server while the server waits for data from the client. problem found and fixed by Nuno Morgadinho, thanks! | |||
2005-10-16 | less 'pirates of the carribean' like error message; | Joris Vink | |
2005-10-07 | knf and spacing, ok joris@ | Reyk Floeter | |
2005-09-15 | strip trailing slashes from any arguments passed to opencvs. | Joris Vink | |
ok xsa@ | |||
2005-09-15 | check in cvs_mkadmin() wether we need to create or not the | Xavier Santolaria | |
CVS/Tag file. Sync the rest of the code accordingly; OK joris@. | |||
2005-09-14 | knf | Joris Vink | |
2005-09-13 | fix conditions when the base directory should be passed to the command | Joris Vink | |
callback. fixes local commands with directories as arguments (like 'add'). problem found and OK xsa@ | |||
2005-09-11 | only remove and free a cvsroot struct if it has been added in | Joris Vink | |
cvsroot_parse(). fixes segfaults opencvs has been receiving when cvsroot_parse() fails. "go ahead" xsa@ | |||
2005-09-06 | more bits for the local remove command support; OK joris@. | Xavier Santolaria | |
2005-09-06 | Make sure entries do not go away when we run through them in the file code. | Joris Vink | |
Fixes corrupt Entry files. Problem found by Mike Pechkin, thanks. | |||
2005-08-19 | do not close the entries file until all files depending on it have | Joris Vink | |
been passed to the callback. ok xsa@ | |||
2005-08-17 | keep a pointer to the CVSENTRIES in the CVSFILE structure. | Joris Vink | |
ok xsa@ | |||
2005-08-17 | trailing whitespaces ... | Xavier Santolaria | |
2005-08-14 | missing casts; ok joris | Xavier Santolaria | |
2005-08-11 | fgets() expects the 2nd arg to be an int. | Xavier Santolaria | |
2005-08-03 | check only once for the HOME environment variable and reuse | Xavier Santolaria | |
its value (if any) to check for the .cvsrc and .cvsignore files; ok jfb@ joris@. | |||
2005-07-30 | o remove a call to cvs_ent_open() from cvs_file_create(), | Moritz Jodeit | |
since cvs_mkadmin() already does this for us. o don't deref NULL ptr when cvs_ent_open() fails. o fix format string in cvs_log(). ok joris@ | |||
2005-07-29 | minor KNF; | Xavier Santolaria | |
2005-07-29 | make more use of error codes in the file code. | Joris Vink | |
ok xsa@ | |||
2005-07-29 | correctly build the repository path in cvs_load_dirinfo() so we do not | Joris Vink | |
end up with a totally messed up repopath when there are no admin files present. problems reported by mpech@ and Nuno Margadinho. tested by Nuno Margadinho, thanks a lot! | |||
2005-07-27 | rename cvs_remove_dir() to cvs_rmdir() because it might be confusing | Xavier Santolaria | |
with the `remove' command local functions. ok joris@. | |||
2005-07-25 | make it compile without warnings | Joris Vink | |
2005-07-25 | KNF; | Xavier Santolaria | |
2005-07-24 | do not bail out in client mode if the file is not on disk at all. | Joris Vink | |
noticed and ok xsa@ | |||
2005-07-24 | "cvslog.*" should really be "cvslog*" | Joris Vink | |
2005-07-24 | add "cvslog.*" to the ignore list | Joris Vink | |
noticed by xsa@ | |||
2005-07-23 | rewrite of the file code. the previous one was just | Joris Vink | |
a mess and not clean. this code is much cleaner, faster, and uses less memory overall. tested by xsa@, brad@, Michael Knudsen, and myself. okay xsa@ | |||
2005-07-22 | use the cf_name field of the CVSFILE struct instead of using the old | Joris Vink | |
CVS_FILE_NAME macro. This macro used to be nifty because of all the referencing for the names, but since we don't do that anymore and use cf_name directly... byebye CVS_FILE_NAME() okay xsa@ | |||
2005-07-18 | oops, last commit broke a few things | Joris Vink | |
2005-07-18 | let it compile without any warnings | Joris Vink | |
2005-07-15 | if the file has been added but is not on disk make sure we can pick it up | Joris Vink | |
as being "added". fixes the log command on our server-side for added files. tested & ok xsa@ | |||
2005-07-07 | do not run the callback for "." twice. | Joris Vink | |
ok xsa@ | |||
2005-07-07 | add a field to CVSFILE which holds the timestamp from the Entries file. | Joris Vink | |
usefull for some commands. ok xsa@ | |||
2005-07-07 | remove trailing whitespaces | Joris Vink | |
from deraadt@ | |||
2005-07-05 | if we can't stat the file and there is no entry for it, don't fail | Joris Vink | |
but assume it is a regular file and it is in unknown state. ok xsa@ | |||
2005-07-01 | - plug memleak in cvs_file_getdir(). | Joris Vink | |
- fix behaviour regarding unknown directories. ok xsa@ | |||
2005-06-17 | correctly build a temporary copy of the client its repository | Joris Vink | |
localy, so the server can execute the local commands on it and pipe the output to the client. with this diff in, our server is now working, please note that we currently don't have support for all commands yet, but you can expect this soon. ok xsa@ | |||
2005-06-17 | when pruning don't try to remove any directories outside | Joris Vink | |
the actual repository. reported by david@, ok xsa@ |