Fix gh-2990 - rowarray removeRows crash

CThorExpandingRowArray::removeRows, was memmoving memory beyond the row ptr
table, causing a segfault if unlucky.
This caused mini sort to fail.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge branch 'thorarray-removerows-fix' of https://github.com/jakesmith/HPCC-Platform into jakesmith-thorarray-removerows-fix

Conflicts:
	version.cmake

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Fix gh-2478 wrong order of machines in preflight page

The machines in the preflight page should display in a
correct order. On a default one-node system, looking at
the thor cluster preflight page, the position in the
list of the thor slave and master seems to swap every
time when the page is updated. Two problems have been
found: 1. the machine list inside the preflight request
does not asks for the list to be processed in an order;
2. the preflight code uses a map to store the machine
list and the map re-orders the machines. Those problems
have been fixed now.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Change multimap to BoolHash and set the BoolHash using
Network Address, process name, process type and process
number which define unique preflight request for system
component.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
gh-2715 FileActors example not extracting episode numbers

The version of FindWithin that was provided was not working
correctly if the end marker occurred before the start marker.

This really highlights some deficiencies and/or poor design
choices in the standard string library - they should be
addressed separately.

Fixes gh-2715.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
LDAPConfig to filter out DC entries for DNS

When LDAPConfig queries the domain controller for the DC= baseDC adornments,
if DNS is enabled then those entries are returned in addition to the usual
one (dc=internal,dc=sds). In the past we have gotten lucky and the one
we wanted was returned first, but now that we have raised several controllers
we have found this isn't always the case. This fix filters out the DNS entries
and then selects the first one. It is possible as we go forward that there
may be additional ones returned, in which case we may need to externalize
the baseDC setting to configmanager.
into configmanager

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
OSX Load Plugins Issue
Dynamic loading of libraries was failing in eclcc on OSX

Signed-off-by: Gordon Smith <gordonjsmith@gmail.com>
Fix gh-2834 - variable length indexwrite fix

Hard-coded 4k limit increased to 32k (the upper limit as defined by the key
header definition)

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Deleted RoxieConfig chapter that was never included in Client Tools manual

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
Made edits to DFUPlus doc: add transferbuffersize=nnn and 2 formats : format=recfmv & format=recfmvb

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
Fix password expiration issue with openLdap

Using openLdap, if there is no password expiration policy in place
then no value is returned for maxPwdAge. This fix allows for that case
and defaults to passwords never expire.

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
ECLPlayground:  IE7 + IE8 Loading Issue.

Page failed to load while initialising the target drop down box.

Fixes gh-2821

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>