Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added the --info=FLAGS an --debug=FLAGS options, which allows | Wayne Davison | 2008-07-13 | 1 | -7/+6 |
| | | | | fine-grained output control (in addition to the coarse -v). | ||||
* | Improved a length check in parse_merge_name(). | Wayne Davison | 2008-03-26 | 1 | -3/+4 |
| | |||||
* | Don't send daemon-config filter-action messages back to the user. | Wayne Davison | 2008-03-24 | 1 | -8/+9 |
| | |||||
* | Added XFLG_DIR2WILD3 flag that the daemon uses to transform any | Wayne Davison | 2008-03-22 | 1 | -2/+17 |
| | | | | config-file dir/ exclude rule into a dir/*** rule. | ||||
* | A couple fixes in add_rule() for XFLG_ABS_IF_SLASH: | Wayne Davison | 2008-03-22 | 1 | -12/+21 |
| | | | | | | | | - Remove the trailing slash earlier, so that it doesn't affect the XFLG_ABS_IF_SLASH check. - Count the slashes earlier so that the XFLG_ABS_IF_SLASH can use it instead of using a strchr() all that could scan past the end of the input. | ||||
* | Change ex_len to pre_len in add_rule(). | Wayne Davison | 2008-03-22 | 1 | -9/+9 |
| | |||||
* | Some improvements to the file-name cleaning code: | Wayne Davison | 2008-03-20 | 1 | -1/+1 |
| | | | | | | | | | - Removed the CFN_KEEP_LEADING_DOT_DIR flag for clean_fname(). - Explicitly add an implied dot-dir to the transfer rather than keeping a leading a "./" prefix as a part of a relative pathname. - Added the CFN_KEEP_DOT_DIRS flag for clean_fname(). - Added the SP_KEEP_DOT_DIRS flag for sanitize_path(). - Call clean_fname() a couple more times. | ||||
* | Changed the name of the server_filter_list to be | Wayne Davison | 2008-03-20 | 1 | -3/+3 |
| | | | | daemon_filter_list, for improved clarity. | ||||
* | Added "const" to a couple more char * args. | Wayne Davison | 2008-03-16 | 1 | -3/+3 |
| | |||||
* | Include 2008 in the copyright years. | Wayne Davison | 2008-03-01 | 1 | -1/+1 |
| | |||||
* | Got rid of the unused symlink parameter to sanitize_path(). | Wayne Davison | 2007-11-20 | 1 | -1/+1 |
| | |||||
* | Including my extern-squishing script, which just found an | Wayne Davison | 2007-11-11 | 1 | -1/+0 |
| | | | | extraneous extern in exclude.c. | ||||
* | Call clean_fname() with new flag arg. | Wayne Davison | 2007-10-31 | 1 | -5/+5 |
| | |||||
* | Fixed problem with anchored filter and an absolute | Wayne Davison | 2007-10-26 | 1 | -5/+4 |
| | | | | source path with --relative. | ||||
* | Added .git/ to "CVS" excludes. | Wayne Davison | 2007-10-25 | 1 | -1/+1 |
| | |||||
* | Got rid of some old exclude trickery for --list-only w/o -r. | Wayne Davison | 2007-10-07 | 1 | -6/+0 |
| | |||||
* | Use new0() function instead of new() followed by memset(). | Wayne Davison | 2007-09-03 | 1 | -2/+1 |
| | |||||
* | Avoid a crash if pop_local_filters() has some pointer gaps. | Wayne Davison | 2007-08-04 | 1 | -10/+14 |
| | |||||
* | Tweaking the license text a bit more. | Wayne Davison | 2007-07-10 | 1 | -2/+3 |
| | |||||
* | Switching to GPL 3. | Wayne Davison | 2007-07-07 | 1 | -3/+2 |
| | |||||
* | Further modifications to the copyright comment section. | Wayne Davison | 2007-02-04 | 1 | -4/+3 |
| | |||||
* | New support function: change_local_filter_dir(). | Wayne Davison | 2006-12-28 | 1 | -0/+24 |
| | |||||
* | Don't include MATCHFLG_PERISHABLE in CVS-exclude handling unless | Wayne Davison | 2006-12-28 | 1 | -2/+4 |
| | | | | we're talking protocol 30 or above. | ||||
* | The exclude code wasn't sending the MATCHFLG_NEGATE (!) char to the | Wayne Davison | 2006-11-21 | 1 | -0/+2 |
| | | | | other side. | ||||
* | - Added the 'p' (perishable) flag to the filter rules, as suggested | Wayne Davison | 2006-11-11 | 1 | -3/+15 |
| | | | | | | | by Matt. - If ignore_perishable is set, we ignore all perishable rules. - Mark all default-cvsignore rules as perishable (e.g. excludes such as *.o CVS .svn/ will not prevent a directory from being deleted). | ||||
* | Tweaked an exit_cleanup() value. | Wayne Davison | 2006-11-11 | 1 | -1/+1 |
| | |||||
* | Cast pat_len to an int when using it as a field width. | Wayne Davison | 2006-10-13 | 1 | -1/+1 |
| | |||||
* | Fixed an infinite loop in parse_rule() when a filter rule is too | Wayne Davison | 2006-10-13 | 1 | -8/+8 |
| | | | | | longer for MAXPATHLEN. Also fixed a couple spots nearby that were erroneously treating pointer "cp" as a '\0'-terminated string. | ||||
* | Some minor improvements to parse_merge_name(). | Wayne Davison | 2006-10-12 | 1 | -12/+11 |
| | |||||
* | The --delete-excluded code now also drops any merge file that was | Wayne Davison | 2006-09-09 | 1 | -6/+12 |
| | | | | | marked as MATCHFLG_NO_PREFIXES because they can only contain include/exclude rules. | ||||
* | Matt pointed out that the code was not properly dropping excludes | Wayne Davison | 2006-09-01 | 1 | -0/+11 |
| | | | | | that were read from a per-dir merge file when --delete-excluded is enabled. This additional code fixes that. | ||||
* | Make sure that --delete-excluded does not elide a per-dir merge | Wayne Davison | 2006-08-31 | 1 | -1/+2 |
| | | | | filter file, while still dumping the .cvsignore file from -C. | ||||
* | Fixed an exclude bug with --relative excluding "/". | Wayne Davison | 2006-08-12 | 1 | -2/+2 |
| | |||||
* | Added ".bzr/" to the default CVS exclusions. | Wayne Davison | 2006-05-11 | 1 | -1/+1 |
| | |||||
* | Use the new calling syntax for sanitize_path(). | Wayne Davison | 2006-05-03 | 1 | -1/+1 |
| | |||||
* | Updated the FSF's address to an even newer one. | Wayne Davison | 2006-04-25 | 1 | -3/+3 |
| | |||||
* | - Updated the address for the FSF in the opening comment. | Wayne Davison | 2006-04-25 | 1 | -12/+9 |
| | | | | | | | - Standardized the format of the opening comment, including adding a brief description of what's in the file for those that lacked it. - Added some missing copyright lines. - Some minor whitespace tweaks (in a few of the files). | ||||
* | Use the regular delete* vars instead of the saw_delete* vars | Wayne Davison | 2006-03-28 | 1 | -4/+2 |
| | | | | (which are no longer around). | ||||
* | Fixed a problem when copying an absolute source path with | Wayne Davison | 2006-03-13 | 1 | -1/+1 |
| | | | | the --relative option enabled. | ||||
* | - We need to send exclude info from the client to a server-receiver | Wayne Davison | 2006-01-28 | 1 | -9/+13 |
| | | | | | | | when --prune-empty-dirs was specified. - Changed the output of debug include/exclude/show/hide/risk/protect messages to use the appropriate filter terminology instead of always using the (potentially unclear) include/exclude terms. | ||||
* | Use the new saw_delete* variables to ensure that the server side | Wayne Davison | 2006-01-21 | 1 | -2/+4 |
| | | | | always reads the exclude information when it is present. | ||||
* | Got rid of calls to (the soon to vanish) safe_fname() function. | Wayne Davison | 2006-01-13 | 1 | -5/+4 |
| | |||||
* | We need to call clearerr() when getc() returns EOF with errno == EINTR. | Wayne Davison | 2006-01-06 | 1 | -1/+3 |
| | |||||
* | We use the new wildmatch_array() and litmatch_array() functions to | Wayne Davison | 2006-01-02 | 1 | -37/+41 |
| | | | | | | | | make our include/exclude code easier to read and maintain, and to eliminate a buffer copy when handling an absolute-path pattern (which eliminated the full_name[] buffer). Also added handling for the new MATCHFLG_WILD3_SUFFIX define that allows a string that ends with "dir/***" to match the "dir" as well as its contents. | ||||
* | - Renamed match_start -> anchored_match. | Wayne Davison | 2005-12-24 | 1 | -11/+11 |
| | | | | | - Twiddled one comment and added another. - Twiddled the placement of two else statements. | ||||
* | Tweaked the debug output for cvs_filter_list and server_filter_list. | Wayne Davison | 2005-12-17 | 1 | -2/+2 |
| | |||||
* | Support new XFLG_ABS_IF_SLASH flag. | Wayne Davison | 2005-10-07 | 1 | -5/+9 |
| | |||||
* | Really fix '!' in a .cvsignore file this time. | Wayne Davison | 2005-09-16 | 1 | -1/+2 |
| | |||||
* | Use BIGPATHBUFLEN for the length of two line buffers. | Wayne Davison | 2005-07-29 | 1 | -2/+2 |
| | |||||
* | Changed overflow() to overflow_exit(). | Wayne Davison | 2005-07-07 | 1 | -1/+1 |
| |