HPCC-9791 XML file spray logging improvement

Add
- splitOffset value log at findSplitPoint() call
- log predicted recordsize, maxRecordSize and blockSize when "End of record
  not found (need to increase maxRecordSize?)" exception occurs
- extension to exception message with same info as logged (offset, predicted
  recordsize, etc.
- relation between blocksize and maxrecordsize parameter

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
HPCC-9791 XML file spray logging improvement

Add
- splitOffset value log at findSplitPoint() call
- log predicted recordsize, maxRecordSize and blockSize when "End of record
  not found (need to increase maxRecordSize?)" exception occurs
- extension to exception message with same info as logged (offset, predicted
  recordsize, etc.
- relation between blocksize and maxrecordsize parameter

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
HPCC-9503 Return action results when DFU WU restored

In the existing ECLWatch, FileSpray/WorkunitsAction automatically
redirects webpage to Browse DFU Workunits page after a workunit
action is finished. This fix removes the code for the URL redirect.
The FileSpray/WorkunitsAction returns the action results. It allows
the caller to decide how to use the results and/or redirect to
another page.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-9682 Add WsWorkunits method to return paged QuerySet Queries

This fix adds new WsWorkunits method 'WUListQueries' to return
QuerySet Queries with paging/sorting options.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-9682 Rename a method based on review

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-9553 Support typedefs as the base type for ENUM definitions

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8867 - Fill in @kind file attribute for all files

The @kind meta field was only filled for keys.
Useful also to be able to distinguis between flag,xml & csv

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-9919 Fix core accessing uncompressed workunit resources

The technique used to store the size and retrieve the size of stored
resources were not compatible.  As most resources are formatted
with headers designed to support compression this is usually not
noticed.  But resources stored without the headers would fail because
they relied on the size that was stored as an absolute data resource.

Headers will now always be stored with resources whether attempting to
compress them or not.  The size will be retrieved from the headers.

The old size information is still stored as it can be retrieved in
other ways besides the dlopen/dlsym technique used by dllserver.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-9961 Expose contents of @kind DFU attribute in WsDFU/DFUInfo

It is requested that WsDFU should expose contents of @kind DFU attribute
as new field ContentType. This fix exposes the contents of @kind DFU
attribute.
HPCC-9835 - avoid issues with transaction actions causing crash

If a transaction action throws an exception in the constructor
it caused nasty side-effects, because (prior to this change) the
base of any action caused it to be added to a actions list inside
the transaction that owned it. So when the constroctor failed
it left a linked object in the actions list which was no longer
valid.
This was 1st noticed by a failing rename transaction - the rename
failed because the file being renamed was owned by a super.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-9999 Correctly export functions so hql.dll links on windows

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

HPCC-9999 Correctly export functions so hql.dll links on windows

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9286 Allow multiple optional atmost conditions.

Also fixes:

HPCC-9711 Ensure only the atmost condition is used for calculating the hard matches.
HPCC-10005 Global ATMOST prefix join in thor may lose results

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPPC-10010 - Fix race condition in multicore join helper

worker threads creating reader pipe stream too late.
Reader could start reading before created by thread.
Move create to worker constructor.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-10010 - set uninitialized stopped flag

Should be inconsequential anyway, but spotted during review

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

HPPC-10010 - Fix race condition in multicore join helper

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Community Edition 4.0.2-2 Gold

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-4.0.2' into closedown-4.0.x

Conflicts:
	version.cmake

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/closedown-4.0.x'

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9977 Document "eclcc -Me" option and add to usage

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>