HPCC-10192 Add test case (could not reproduce issue)

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-9401 Optimize query time WsEcl

The dependency on the xml schema from the query workunit to process
incoming queries greatly slows down WsECL.

Past optimizations have removed this dependency for some query paths,
but not others.  This removes the dependency for the rest of the query
paths.

Also add a toJSON function to jptree.

Also fix WsECL form, xsd, and other processing of child sets.

Also add a new type of REST input parameter.  Adding a $ to the end of
an input parameter will cause it to be treated as a \r\n delimited
input array (so that WsEcl no longer needs to use schema to process arrays on
input).

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-9401 Update based on review and missing changes

Removed IPropTree::getIsArrayItem().  toJSON now looks ahead one child
item to determine when an element repeats.

Also reimplemented lost changes to only create a workunit if/when its
actually needed.

Also fixed various other items caught in code review.

 to delay creating workunit

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
EPE-102 DOCS:Update to ECL Plug-in for Eclipse doc

Fix EPE-102 DOCS:Update to ECL Plug-in for Eclipse doc
Update documentation for running ECL Plug in
for Eclipse using Eclipse Kepler.

Signed-off-by: g-pan <greg.panagiotatos@lexisnexis.com>
EPE-102 DOCS:Update to ECL Plug-in for Eclipse doc

Fix EPE-102 DOCS:Update to ECL Plug-in for Eclipse doc
Update documentation for running ECL Plug in
for Eclipse using Eclipse Kepler.

Signed-off-by: g-pan <greg.panagiotatos@lexisnexis.com>
HPCC-10941 Add mechanism for finding queries that use a given file

Build a cache of files used by queries.  Update cache when DALI changes
in QuerySets, PackageMaps, or PackageSets are detected.

Add method to WsWorkunits to WUListQueriesUsingFile.

Create a report xslt for the result, and add a link to the the
context menu for roxie files listed on the browse dfu files page.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Merge pull request #5567 from g-pan/E102-EPEUpdate3-14

EPE-102 DOCS:Update to ECL Plug-in for Eclipse doc

Reviewed-By: Gordon Smith <gordon.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10438 WU Details Duration is Blank

The duration displayed on the WU Details page was pulled from the "process"
timer, only after the timers list was loaded.  Better to just display "Total
Thor Time".

Changed "Action" to display ActionEx.

Fixes HPCC-10438

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
HPCC-11082 - Global LOOP with row condition must recheck finishing

A global LOOP with a condition on thw rows, must recheck the
'finishedLooping' condition. Just because there are 0 rows to
process at the start of the loop, does not mean there will be 0
after the next execute in the global case.

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

HPCC-11082 - Global LOOP with row condition must recheck finishing

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11080 DOCS:Value Types link broken

Fix EPE-102 HPCC-11080 DOCS:Value Types link broken
Fix for the Value_Types link in the ECL Lang. Ref.
Issue itself was not a problem and did not manifest until
combining with other documents to produce the compiled help.
Each ID=attribute needs to be unique.

Signed-off-by: g-pan <greg.panagiotatos@lexisnexis.com>
Merge pull request #5568 from afishbeck/queriesUsingFile

HPCC-10941 Add mechanism for finding queries that use a given file

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11087 - Track subs swapped as part of swap/promote

SwapSuperFile and PromoteSuperFile were not tracking the subs
removed/added between supers in a transaction. As a consequence
if there were incompatibilities between old and new subs, then
the transaction mechanism spuriously detected the old+new as
incompatible and threw and error, even though they weren't in the
same super at the same time.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-10643 Don't generate HASH and SMART joins inside child queries

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-11114 - Missing user credentials from foreign sub files

Sub files retreived from a foreign super, were not created with
the supers user credentials, consequently actions on those sub
files that expected credentials were using the default user.
Pass user of super to sub file creation.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-10148 Clarify Node memory requirement in Installing and Running doc

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
HPCC-11101 Fail publishing queries with foreign files in old eclwatch

Change ESDL default for publish to be allowForeign==false.  Matching
default cli and now old eclwatch behavior.

Also fix old eclwatch display of exceptions when publish fails.

Another issue is being worked on for new eclwatch.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Merge pull request #5601 from jakesmith/hpcc-11087

HPCC-11087 - Track subs swapped as part of swap/promote

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5591 from g-pan/H11080-ValueTypeLink

HPCC-11080 DOCS:Value Types link broken

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-8961 Add ulimits for enabling huge page support

Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>

fixed typo: unlmited -> unlimited