HPCC-2351 Add a new sequential flag for a graph

Occasionally (e.g., for APPLY) the actions in a graph should be
executed SEQUENTIALly, rather than in PARALLEL.  This code adds
an attribute onto the graph to indicate if this is true.
applyaction.ecl is an example that requires it.

Will also require changes in roxie/thor.  See issue #2351.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-2351 Use new sequential flag for roxie graphs

If codegen indicates that a graph should be executed sequentially, do so.
Re-enable the applyaction.ecl test that was (sometimes) failing without
this fix.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-2351 Ensure APPLY actions are in separate subgraphs

This is required so that roxie/thor can execute the apply actions sequentially,
since they generally execute all sinks in a subgraph in parallel.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-3309 Ensure child graphs are executed sequentially

Thor already executed child graphs in parent graph sequentially,
but they were store in a hash table, and were no longer retrieved
in the order added.

Ensure that they remain ordered.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-8246 Denormalize has incorrect comments in code.

Fixes HPCC-8246

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
HPCC-8252 Macro comments for expected results don't match results

Fixes HPCC-8252

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

HPCC-8246 Denormalize has incorrect comments in code.

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3723 from GordonSmith/HPCC-8252

HPCC-8252 Macro comments for expected results don't match results

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8278 Cache memory allocators

Thor or generated code will ask for allocators during the
lifetime of a query. On the whole these are all requested up
front, e.g. in activity initialization or onCreate() methods.
Some might be requested repeatedly e.g. in transform() methods
Ensure that previously request meta/actid allocators are reused
by introducing a cache.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-8310 Verify KeyedJoin,local matches index

Check that the index supplied to a keyedjoin,LOCAL is also
local. Fire an error if not.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-7983 Avoid circular link leak for null inputs

Null activities that were created whilst tying up the graph, e.g.
when it was detected that a projectfilter had no matches, caused
a leak due to a circular leak

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-8123 Fix the Fo.xsl

Fix HPCC-8123 Fix the Fo.xsl file
to have it specify the appropriate
font call for monospace font.

Signed-off-by: G Panagiotatos <greg.panagiotatos@lexisnexis.com>
Merge pull request #3728 from g-pan/H8123_FOXSL

HPCC-8123 Fix the Fo.xsl
HPCC-8059 Memory leaks

Various leaks fixed, none large in terms of memory:

1) IndexWrite outRowAllocator leak
2) local join (left already sorted) input leak
3) lookahead reader, writer leak
4) piperead activity leak unless transformer used
5) minor graph results leak

the most significant is 2) - which as a side-effect caused all
acitivies above the left hand side input of the join to be
leaked also.

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

HPCC-8059 Memory leaks

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8074 Update AWS docs: rebranding and Roxie steps

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
HPCC-7991 Avoid uninitialized valgrind warning

A raw (unpacked) struct that was serialized to between slave
and master, caused valgrind warnings regarding uninitialized
data, because of the uninitialized padding between fields
Avoid warning, by memsetting to empty.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-8273 Document steps to enable SSL in ESP

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
Merge pull request #3732 from jakesmith/uninit

HPCC-7991 Avoid uninitialized valgrind warning

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3725 from jakesmith/keyjoin-local-check

HPCC-8310 Verify KeyedJoin,local matches index

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>