Code Cleanup

- Removed obsolete configuration variable 'patterns', which is no longer
  used.
This commit is contained in:
Paul Beckingham 2014-05-08 07:05:29 -04:00
parent fa2af30857
commit eb6c38ac17
5 changed files with 2 additions and 7 deletions

View file

@ -69,6 +69,7 @@
- Added certificate hostname verification (thanks to Alexander Sulfrian). - Added certificate hostname verification (thanks to Alexander Sulfrian).
- Removed debugging code. - Removed debugging code.
- Added details in debug mode, for unrecognized data (thanks to Kosta H). - Added details in debug mode, for unrecognized data (thanks to Kosta H).
- Removed unused 'patterns' configuration variable.
------ current release --------------------------- ------ current release ---------------------------

1
NEWS
View file

@ -29,6 +29,7 @@ Removed features in 2.4.0
- Old-style color names including underscores are no longer supported. - Old-style color names including underscores are no longer supported.
- Removed priority counts from the 'projects' commands. - Removed priority counts from the 'projects' commands.
- Removed the unused 'locale' configuration variable. - Removed the unused 'locale' configuration variable.
- Removed the unused 'patterns' confguration variable.
Known Issues Known Issues

View file

@ -356,11 +356,6 @@ among users that are not comfortable with regular expressions.
.B xterm.title=no .B xterm.title=no
Sets the xterm window title when reports are run. Defaults to off. Sets the xterm window title when reports are run. Defaults to off.
.TP
.B patterns=on
Enables or disables pattern support on the command line, such as /foo/.
Defaults to on.
.TP .TP
.B expressions=infix|postfix .B expressions=infix|postfix
Sets a preference for infix expressions (1 + 2) or postfix expressions (1 2 +). Sets a preference for infix expressions (1 + 2) or postfix expressions (1 2 +).

View file

@ -98,7 +98,6 @@ std::string Config::_defaults =
"regex=no # Assume all search/filter strings are regexes\n" "regex=no # Assume all search/filter strings are regexes\n"
"xterm.title=no # Sets xterm title for some commands\n" "xterm.title=no # Sets xterm title for some commands\n"
"expressions=infix # Prefer infix over postfix expressions\n" "expressions=infix # Prefer infix over postfix expressions\n"
"patterns=on # Support for regex patterns\n"
"dom=on # Support DOM access\n" "dom=on # Support DOM access\n"
"json.array=off # Enclose JSON output in [ ]\n" "json.array=off # Enclose JSON output in [ ]\n"
"abbreviation.minimum=2 # Shortest allowed abbreviation\n" "abbreviation.minimum=2 # Shortest allowed abbreviation\n"

View file

@ -166,7 +166,6 @@ int CmdShow::execute (std::string& output)
" locking" " locking"
" monthsperline" " monthsperline"
" nag" " nag"
" patterns"
" print.empty.columns" " print.empty.columns"
" recurrence.indicator" " recurrence.indicator"
" recurrence.limit" " recurrence.limit"