Row array optimizations

Reallocate base array before temp stable array
The ptry tables can be large and allocating both before either is freed,
restricts the overall limit

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Changes following review

1) Add option to allow stable ptr table allocation to be delayed until
needed (in sort). For spilling collector wants to pre-allocate as expands,
to ensure it's there when needs to sort and spill.

2) Ensure stable ptr table size is based on std. row table capacity

3) fix some unsigned's which should have been rowidx_t's

4) missing check on 'throwOnOom'

5) use local var for newSize calc. instead of working with reference
Results fail to display correctly.

When clicking "show" for a specific result, either none would display
or wrong one would be selected.

Fixed gh-2415

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Community Edition 3.8.0 Release Candidate 2

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Fixes problem where rows could lose fields

In very unusual situations (see attached examples) it was possible for
rows to have fields implicitly removed from them even when that wasn't
legal.  It was discovered when implementing an upcoming feature.

I found no existing examples in archived queries, but one example in the
soapcall10.ecl example.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge remote-tracking branch 'origin/candidate-3.8.x' into candidate-3.8.0

Conflicts:
	version.cmake

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
minor tweaks
urgent change to ECL Playground doc to fix image refs
Merge pull request #2455 from g-pan/38_playground

urgent change to ECL Playground doc to fix image refs

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Fix gh-2435 configmgr - Close context menu on top doc click

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Fix gh2460 dropzones not selectable for file upload

On the Upload/Download files page, when multiple dropzones
are set and a user selects the second dropzone, EclWatch
would automatically reselect the default (first) dropzone.
Eclwatch selects the dropzone based on both network address
and dropzone path. When an extra path seperator is at the
end of the dropzone path, the selection fails. The code in
this fix takes care of the extra path seperator.
Fix configmgr crash when passing an invalid sourcefile in query string

Passing in a cached or manually entererd query string containing
a invalid sourcefile may result in a crash of configmgr when generating
a new environment.

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Add missing options to DFUPlus docs

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
fixes gh-2445 fixed naming issue in el6 dep file.

Signed-off-by: Philip Marc Schwartz <philip.schwartz@lexisnexis.com>
gh-2411 distiguish between clusters and querysets, and validate

Add lazyloading option (LazyLoad=true|false)
provide access to all published queries (per queryset)
add default query set property (QuerySet=<querysetname>)
Modularize queryset/queries/dfufile fetch logic

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
Improve ws_workunit and EclDirect cluster name validation and default behavior

Dependency of gh-2423, helps resolve gh-2409.

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Fix HTML returned for exceptions when xml response requested

The parameter "rawxml_" is currently used to specify that the caller
wants an xml formatted response.

XML was returned for successful transactions, will now return XML
for exceptions as well.

Fixes gh-2469.

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Merge pull request #2458 from pschwartz/centos6deps

fixes gh-2445 fixed naming issue in el6 dep file.

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Make catch3 Roxie-only test
Fix stack fault if memory callback allocates memory

If a registered IBufferedRowCallback allocated memory while attempting
to free memory in freeBufferedRows() it could recursively call the same
callback resulting in a stackfault.

This change ensure any active callbacks are not called to free memory
allowing another callback to free the necessary memory, or a heap
exception to be generated instead.

Fixes #2446

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>