Merge remote-tracking branch 'origin/candidate-4.0.0' into closedown-4.0.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9114 XMLParse gives spurious errors on CDATA sections that end ]]]>

The check for termination of a CDATA Section would miss cases with an odd
number of ] at the end.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge branch 'xmlparse-cdata' into candidate-3.10.x

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9124 Avoid issues with out of date precompiled headers

Anyone installing 4.0 then downgrading to 3.x may get weird behaviour caused
by out-of-date precompiled headers.

Renaming the base header file should help mitigate this issue.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-4.0.0' into closedown-4.0.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9088 Python errors prevent start of ESP in 4.0.0rc2

Python library calls exit() if stdin is referring to a directory.

FOr some reason, this seems to sometimes happen if the R library is also
loaded. While we should also address the problem in the R embedding plugin, it
is never a good idea for the Python plugin to cause the caller to exit.
Therefore, we check for the situation that causes it to exit, and disable
the python support if it is present.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9117 Stopping of dafilesrv generates odd message

Can get message /etc/init.d/dafilesrv: line 140: [: missing `]'

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4225 from richardkchapman/dafilesrv-initissue

HPCC-9117 Stopping of dafilesrv generates odd message

Reviewed-By: Philip Schwartz <philip.schwartz@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4222 from richardkchapman/eclinclude-rename

HPCC-9124 Avoid issues with out of date precompiled headers

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4224 from richardkchapman/pyembed-noexit

HPCC-9088 Python errors prevent start of ESP in 4.0.0rc2

Reviewed-By: Philip Schwartz <philip.schwartz@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Community Edition 4.0.0-rc3 Release Candidate 3

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9106 Incorrect determination of password expiration prompt

The test for whether or not to set passwordDaysRemaining to -1 incorrectly
casts passwordDaysRemaining to an unsigned. This is incorrect, because it
can be negative (-1 means expired, -2 means never expires). This fix corrects
the problem by treating it as an integer

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
Merge pull request #4226 from RussWhitehead/isPwdExp

HPCC-9106 Incorrect determination of password expiration prompt

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9127 - Fix global merge regression

Fixes for HPCC-8992, introduced a new issue.
When splitting the sample, the pending row was added
unconditionally. For the fpos' to be correct, it needed to check
if candidate to skip following a split.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #4227 from jakesmith/hpcc-9127

HPCC-9127 - Fix global merge regression

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9013 enter bad pwd for expired user still prompts for pwd change

Current code displays ChangePassword screen if user tries to log on and password
is expired, even when invalid password provided. This change makes the user
enter valid UN/PW before they are allowed to change their PW

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
HPCC-9120 - Fix global rollup early stop deadlock

If global rollup was stopped before it had process all it's input,
it would stall on a multi slave setup. If stopped, global rollup
was not signalling to the next nodes that it had finished.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-9051 Add the RoxieControlAccess tag to authenticated features

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Merge pull request #4228 from RussWhitehead/pwdExp

HPCC-9013 enter bad pwd for expired user still prompts for pwd change

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4229 from jakesmith/hpcc-9120

HPCC-9120 - Fix global rollup early stop deadlock

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>