Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-04-22 | finish support for the '-' token in the Entry file, this allows | Joris Vink | |
us to mark files as removed, and lets the remove command work completely. tested and ok xsa@, jfb@ | |||
2005-04-15 | snprintf() return values checks; joris ok | Xavier Santolaria | |
2005-02-22 | do not leak a file pointer in case of error | Jean-Francois Brousseau | |
from Joris Vink | |||
2005-02-01 | - accept a minus sign in front of the file's revision number to | Jean-Francois Brousseau | |
indicate that the file has been removed - set the timestamp as invalid if we get the "dummy timestamp" string in the 4th field | |||
2005-01-14 | stupid me, no need to reinit the queue | Jean-Francois Brousseau | |
pointed by henning@ | |||
2005-01-14 | when removing the last entry from the tail queue, reinitialize the | Jean-Francois Brousseau | |
queue for sanity, and make sure that the current pointer is set to the next item if it points to the item being removed. fixes a crash reported by brad@, tested by joris and brad@ | |||
2004-12-14 | When loading directory entries, create file structures for files which | Jean-Francois Brousseau | |
have been lost but have a valid entry. | |||
2004-12-07 | less whitespace, more pretty. ok jfb | Ted Unangst | |
2004-12-06 | tighten vertical spacing for else; jfb ok | Theo de Raadt | |
2004-11-09 | We don't need to keep a copy of each Entries line, it isn't used | krapht | |
anywhere and it consumes memory uselessly. | |||
2004-08-31 | use the correct Entries path to store in cef_path; | Joris Vink | |
ok jfb | |||
2004-08-27 | Instead of keeping an open pointer to the Entries file when opening with | Jean-Francois Brousseau | |
write access, close it and reopen it only on demand, since large trees can contain enough Entries files to generate a 'Too many open files'. Problem spotted by Todd Fries. | |||
2004-08-13 | * add an entry for directories when we create them | Jean-Francois Brousseau | |
* when writing a directory entry, skip the revision and timestamp | |||
2004-08-13 | When the mtime is (time_t)-1, print the dummy timestamp string instead | Jean-Francois Brousseau | |
of a bogus date | |||
2004-08-13 | Ditch the 'ce_timestamp' field in favor of 'ce_mtime', which keeps | Jean-Francois Brousseau | |
the timestamp in time_t instead of a string | |||
2004-08-12 | When creating a new Entries file, make sure we put one 'D' instead of | Jean-Francois Brousseau | |
leaving the file empty | |||
2004-08-06 | Fix usage of cvs_splitpath() | Jean-Francois Brousseau | |
2004-08-04 | Simplify entry parsing | Jean-Francois Brousseau | |
2004-08-03 | Implement cvs_ent_remove() | Jean-Francois Brousseau | |
2004-07-30 | * remove header cruft that belongs in file.h | Jean-Francois Brousseau | |
* be more intelligent with the file open mode. It seems rewind() doesn't work too well with a file opened in append mode | |||
2004-07-27 | * when opening an Entries file for writing, open the file in append mode | Jean-Francois Brousseau | |
* when parsing the entries, break if we encounter the last line 'D' * when adding the line to the file, generate it from the fields instead of taking the line | |||
2004-07-26 | Fix pointer passed to fclose() in cvs_ent_close() | Jean-Francois Brousseau | |
2004-07-25 | * cleanup the file API with regards to flag handling and | Jean-Francois Brousseau | |
general structure * implement cvs_ent_close() correctly, fix some memory leaks, and add cvs_ent_getent() to get a single entry easily | |||
2004-07-14 | Unbreak the Entries loading code and move to a tail queue so we can remove | Jean-Francois Brousseau | |
entries as well when it will be needed | |||
2004-07-14 | make adding entries to the Entries file work | Jean-Francois Brousseau | |
2004-07-14 | prepare the entries interface so we can add entries | Jean-Francois Brousseau | |
2004-07-13 | * initial import from the cvs-tools module | Jean-Francois Brousseau | |