Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump the year to 2014. | Wayne Davison | 2014-01-26 | 1 | -1/+1 |
| | |||||
* | Fix a typo that Stefan Beller pointed out. | Wayne Davison | 2013-12-14 | 1 | -1/+1 |
| | |||||
* | Update copyright year. | Wayne Davison | 2013-01-19 | 1 | -1/+1 |
| | |||||
* | Make --delete-excluded work better with --filter=merge. | Wayne Davison | 2011-09-15 | 1 | -6/+2 |
| | |||||
* | Add .hg dir exclude to default_cvsignore list. | Wayne Davison | 2011-02-17 | 1 | -1/+1 |
| | | | | Fixes bug 7957. | ||||
* | Fix a warning about a %d not getting an int (on some platforms). | Wayne Davison | 2009-08-10 | 1 | -1/+1 |
| | |||||
* | Refactorings to the filter code, most notably: | Matt McCutchen | 2009-05-23 | 1 | -174/+217 |
| | | | | | | | | | | | | | | | | | | | | | | - Improve function name: parse_rule -> parse_filter_str (to make the similarity with parse_filter_file clearer, and better indicate that it can parse multiple rules when FILTRULE_WORD_SPLIT is specified). - In preparation for rule prefixes containing information beyond the rflags, change the code to pass around a full "template" filter_rule instead of just rflags. Callers of parse_filter_{str,file} that want to specify only rflags can use rule_template(rflags) . - Remove the MODIFIERS_* strings and instead hand-code the condition under which each modifier is valid. This should make it easier to see that the conditions are correct. - Tighten up default modifiers on merge rules: - Disallow "!" because it isn't useful. - If the merge rule specifies a side via "s" or "r", the rules in the file cannot also specify a side via "s", "r", "hide", etc. [Patch was changed by Wayne a bit prior to application.] | ||||
* | Improved a couple variable names. | Wayne Davison | 2009-05-23 | 1 | -54/+42 |
| | |||||
* | Use typedefs for the filter structures. | Wayne Davison | 2009-05-23 | 1 | -36/+36 |
| | |||||
* | Change filter MATCHFLGs to FILTRULEs. | Wayne Davison | 2009-05-23 | 1 | -138/+138 |
| | |||||
* | Update the copyright year. | Wayne Davison | 2009-01-03 | 1 | -1/+1 |
| | |||||
* | Don't define an array with no size. | Wayne Davison | 2008-09-01 | 1 | -2/+2 |
| | |||||
* | A little tidying up to follow my preferred style. | Wayne Davison | 2008-09-01 | 1 | -14/+23 |
| | |||||
* | Several fixes for merge file handling: | Matt McCutchen | 2008-09-01 | 1 | -28/+112 |
| | | | | | | | | | | | | | | | - Free a mergelist's parent_dirscanned filters the last time it is popped or as soon as the filters are discarded due to the "n" modifier. Aside from not leaking memory, this is needed to clean up any mergelists defined during the parent_dirscan to avoid crashing by trying to restore nonexistent state for them in pop_local_filters. - Make push_local_filters save the current mergelist_cnt, and make pop_local_filters assert that it has the correct number of mergelists before restoring their state. - Assert that mergelists get deactivated in strict LIFO order to catch any glitches as soon as they happen. Free linked lists of filters in reverse order to make that the case. - Add a bunch of mergelist-related debug output (--debug=filter2). | ||||
* | Output an FERROR* for a general io_error, and an FWARNING for other | Wayne Davison | 2008-07-31 | 1 | -1/+1 |
| | | | | io_error flags. | ||||
* | Include the array-size in array externs so that IBM's code-checker | Wayne Davison | 2008-07-20 | 1 | -1/+1 |
| | | | | can do more checking for us. | ||||
* | 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 |
| |