Merge remote-tracking branch 'origin/candidate-3.8.x' into candidate-3.8.6

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Community Edition 3.8.6-1 Gold

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

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Community Edition 3.8.6-2 Gold

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

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Community Edition 3.8.6-3 Gold

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

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Community Edition 3.8.6-4 Gold

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8174 Global loop regression

Missing condition in master could cause non loop again queries
to deadlock

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #3600 from jakesmith/globalloop-regression

HPCC-8174 Global loop regression

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8176 Regression in library resolve code

The rewriten code for resolving libraries was flawed, in that each query
kept a pointer to an object that would be destroyed by the next query load
operation.

The selection of the query manager to use for library resolution needs to
be delayed until actual library resolution time.

This code fixes the core, but requires that the query use the same package
as any library it uses. It's not clear if that is a sensible restriction
without some more thought.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3604 from richardkchapman/roxie-library-core-8176

HPCC-8176 Regression in library resolve code

Reviewed-By: Renato Golin <rengolin@hpccsystems.com>
Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Stuart Ort <stuart.ort@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8159 Prepare for use of precompiled headers in eclcc-generated code

Reorganise the generated code to make it easier to use precompiled headers.
It also has the benefit of making the generated code a little easier to
read.

Modifying jcomp to actually use precompiled headers will follow in a second
commit.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-3095 Format result columns from XML Schema

Also added basic support for nested child datasets.

Fixes HPCC-3095
Fixes HPCC-8052

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Manually merge branch 'GordonSmith/HPCC-3095' into candidate-3.10.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8188 Correct spelling in usage section for ecl roxie

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
Merge branch 'eclroxie_typo' into candidate-3.10.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8194 CRoxiePackageSetManager does not initialize stateHash

The initial value of statehash is not set, meaning that the value returned
by control:state and control:reload is fairly meaningless.

This value is only used by operations as a sanity-check that all nodes in
a cluster are in sync - see HPCC-2706

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3613 from richardkchapman/stateHash-8194

HPCC-8194 CRoxiePackageSetManager does not initialize stateHash

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8159 Add option to generate precompiled header for eclcc-generated code

The (undocumented, for now) option -pch passed to eclcc will cause it to
generate a precompiled header eclinclude.hpp.gch, whcih may speed up the c++
compile phase of (small) compilations.

For now, this option will need to be run manually. A later commit may run it
automatically when eclccsrever starts up.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>