Merge pull request #1825 from stuartort/CE-ldap

LDAP / esp addition in community OSS code

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge latest changes from 3.6 branch

Resolved conflicts:
	esp/services/ws_access/ws_accessService.hpp
	esp/services/ws_account/ws_accountService.hpp

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Silly cast mismatch, removes warning
Merge pull request #1829 from rengolin/warnings

Silly cast mismatch, removes warning

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Fix ln422 Select cluster order on Activity page

This fix adds a drop down menu which allows to select
the display order of clusters (both roxie and thor) on
Activity page by name or by size.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
fixes: gh-1786 Added creation of PDF docs to CMake.

WIP: automation of Documentation building from cmake.

The first commmit here includes the creation of PDF's only.

Workflow:

1. Generate relative link cleaner xsl.
2. Use xsltproc to clean relative links for cmake based out of source builds.
3. Use xsltproc to process cleaned source with docbook to create FO.
4. Use apache fop to process FO into pdf.

TODO:
- Force all docs to build on a single target of `make docs`. Currently only docs that are not in a subdirectory are on this target.
- Add in cmake steps to build only docs and disable the rest of the tree. MAKE_DOCS_ONLY=ON
- Add in HTML and CHM generation.
- Add in package steps to allow for optional package creation along side the binary package.

WIP: change to handling of documentation global target to all for "make docs"

WIP: fixed version file usage.

WIP: more doc gen changes.

WIP: more changes.

WIP: doc dir moves.

WIP: doc CMake files along with xslt clean up.

WIP: finalized pdf generation from cmake.

todo:
- MAKE_DOCS_ONLY
- Doc package generation. (generate CMake files for creating package)

WIP: Fixed overflow issues with HPCCClientTools pdf.

WIP: moved wip docs to a wip directory.

wip: added MAKE_DOCS_ONLY to allow only creation of docs with only
doc deps.
gh-1831 - Recent change broke dali start if clean

Changes in gh-1646, caused a new dali, with no existing to store, to fail to
start.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Fix checkEclVersionCompatible checks subminor against wrong value

Checks subminor!=LANGUAGE_VERSION_MINOR rather than LANGUAGE_VERSION_SUB.

Fixes gh-1838.

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Merge pull request #1837 from jakesmith/gh-1831

gh-1831 - Recent change broke dali start if clean

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1830 from wangkx/ln422-sort-clusters

Fix ln422 Select cluster order on Activity page

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1839 from afishbeck/version_compatible

Fix checkEclVersionCompatible checks subminor against wrong value

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #1807 from afishbeck/ecl_queries_cluster

gh-1728 Add ecl queries support for showing queries suspended given cluster

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1843 from afishbeck/execute_existing

Fix gh-1686 missing WsWorkunit support for WUActionExecuteExisting

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1770 from ghalliday/eclccfixes

Various eclcc fixes found while fixing another problem.

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Improve implicit field projection for count/exists

- Previously the output record from an activity was required to have at least one
  field, which meant that exists/count arbitrarily "used" the first field.  With
  this change that no longer happens - often reducing the number of fields used.

A record can have a _nonEmpty_ attribute associated with it to ensure
it has a non-zero size (to differenitate it from a skipped row).  The
transform clears the byte (to make memory consitant and ensure spilt
files compress properly).

Serialize/Deserialize use the default classes so they will still work.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #1842 from hpcc-systems/candidate-3.6.x

Merge latest 3.6.x fixes back into master

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #1824 from ghalliday/nullrecord

Improve implicit field projection for count/exists

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1833 from pschwartz/autodoc

fixes: gh-1786 Added creation of PDF docs to CMake.

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge latest changes from 3.6 into master

Documentation restructuring merged back to master.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>