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>
HPCC-11169 Add ResourceURLCount to WUQueryDetails response

The ResourceURLCount is added to WUQueryDetails response. Also fix
'the ResourceURLCount should not set to 0 when IncludeResourceURLs
is set to false'.

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com
HPCC-11169 Get WU ResourceURL count using a new method

A new method getResourceURLCount is added to WuWebView. The method is
called to get the WU ResourceURL count.

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com
HPCC-10451 UnicodeWithinEditN and UnicodeGetRangeOfWords

- Add declarations for UnicodeWithinEditN and UnicodeGetRangeOfWords
- Remove declarations for deprecated functions UnicodeLocaleMatchBagofwords
and StringMatchBagofwords


Signed-off-by: Edin Muharemagic <edin.muharemagic@lexisnexis.com>
HPCC-10348 Ensure DISTRIBUTED removes grouping from the dataset

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #5712 from ghalliday/issue10348b

HPCC-10348 Ensure DISTRIBUTED removes grouping from the dataset

Reviewed-By: Jamie Noss <james.noss@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5693 from emuharemagic/hppc10451

HPCC-10451 UnicodeWithinEditN and UnicodeGetRangeOfWords

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11169 Add a missing flag: WUINFO_IncludeResultsViewNames

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com
HPCC-11191 - Restoring archived workunits GeneratedDlls incorrect

GenerateDlls were being restored, such that the registered query dlls
pointed to the sasha archive directory. That meant the Associated file
references that were also GeneratedDlls were no longer accessible.
Change so that the restore, copies back to the Associated file location.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-9401 Update based on review

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

HPCC-11191 - Restoring archived workunits GeneratedDlls incorrect

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11252 Option on complete-uninstall to leave environment

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11251 - daliadmin holdlock

For testing purposes, allow a logical file to be locked
temporarily.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-11169 Remove an extra line of code

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com
Merge pull request #5499 from afishbeck/wseclQueryTimeOptimizations

HPCC-9401 Optimize query time WsEcl

Reviewed-By: Kevin Wang <kevin.wang@lexisnexis.com>
Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11251 - indentation

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

HPCC-11251 - daliadmin holdlock

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11219 Bulk workunit delete leaves checkbox checked

Fixes HPCC-11219

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

HPCC-11252 Option on complete-uninstall to leave environment

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>