respect CFENGINE_COLOR=1 environment setting
IsDir2().
Fixed documentation, added TODO.
Promise constification.
Merge pull request #1313 from tzz/feature/color-from-environment

respect CFENGINE_COLOR=1 environment setting
Redmine#2100: acceptance test for chmod on an immutable file
Some more changelog entries.
make inputdir (sys.inputdir)  and masterdir (sys.masterdir)  configurable via configure options. Solve issue #3688
rewrite some if/else logic, thanks to @ediosyncratic
added some comment why not to use GetInputDir()
Fix PIDDIR containing a preceding '='.
Don't complain loudly when IPv6 support is missing.
Bring back Windows specific copy_from section in failsafe.cf.

It is needed because Windows looks in the wrong folder on the remote
host (Masterdir on Windows is C:\Program Files\Cfengine\masterfiles).
Indent ifdef and comment about reason.
Merge branch 'configurable_workdirs' (Pull request #1293)

"make inputdir (sys.inputdir) and masterdir (sys.masterdir)
configurable"
Merge pull request #1320 from jimis/v6only_2

V6only 2
Add safeguard when reading timestamp from cf_promises_valid.

If the file contains valid JSON, but is missing the timestamp field,
then the attempted fetch of the value will crash, leaving all daemons
dead in the water.
Redmine#4076: add acceptance test for countlinesmatching()
Redmine#4076: improve acceptance test for countlinesmatching()
Use CfReadLine instead of getline for countlinesmatching

To prevent having to match newline. Close #4076