HPCC-8136 Remove Auto-refresh function for Target Clusters page

The Target Clusters page is mainly displaying static information. The
auto-refresh function for this page is copied from other page by mistake.
This fix removes the auto-refresh.

Signed-off-by: Kevin Wang <kevin.wang@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>
HPCC-8180 Roxie issues reloading changed files

Various issues related to how Roxie caches file references:

1. A memory leak was causing files to be locked longer than they should
2. Using just the file time and not the CRC to determine if the slave
   dynamic file cache entries are valid. Time is only accurate to 1s,
   it seems
3. Files were always being copied regardless of the settings of
   useRemoteResources/copyResources. Some code that was intended to be
   temporary had been left in.
4. Refactor to remove some unused functions

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3606 from richardkchapman/roxie-copy

HPCC-8180 Roxie issues reloading changed files
HPCC-8193 Roxie file resolution issues

Various changes to support local file resolution. Still work to be done
but it's working in more cases than it was.

Some changes will also improve dynamic (and static) file resolution issues
too.

 - Use the 'scope prefix' defined in the workunit for filenames that do not
   start with ~.
 - Use common code for local filename generation from logical in read and write
   cases.
 - Delay decision on whether to use 'simple' versus 'remote' mode in disk
   read activities, so that 1-way files resolved dynamically use simple mode.
 - Removed some unused and duplicated functions.
 - Reduced unwanted tracing.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8052 nested ChildDatasets not showing up in ECL Playground generated results

Adding missing dojox.xml files.

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Merge pull request #3617 from GordonSmith/HPCC-8052

HPCC-8052 nested ChildDatasets + ECL Playground generated results

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-7970 Include eclcc timing information in workunits

The workunit embedded in the .so file contains timing info, but it was
not copied into the dali workunit by eclccserver.

Also, some interesting timing (like the time to compile the c++) does
not get captured because the workunit has already been dumped to XML
so that it can be included in the .so - capture this info via a
different mechanism.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8052 nested ChildDatasets not showing up in ECL Playground generated results

Disable paging for results with child datasets.

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Merge pull request #3609 from richardkchapman/precompile

HPCC-8159 Prepare for use of precompiled headers in eclcc-generated code

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>