HPCC-9271 Show 'truncated' message for viewing large file

Inside the Helpers section of the ECL Workunit Details page, there is a
640k limit for displaying a cpp file, xml file, and workunit archive
file. This fix checks the size of the helper file. If it is larger than
640k bytes, a message '(Truncated to 640K bytes)' will be added beside
the View File link.

When a helper file is downloaded, the existing code uses 'file path
 + file name' as 'attachment filename'. Internet browser replaces
the Path Separators in the file path with the '_'s and the file
name looks strange. This fix removes the file path from the
'attachment filename'.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Merge remote-tracking branch 'origin/candidate-4.0.0' into closedown-4.0.x

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

Conflicts:
	version.cmake

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

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9407 Add support for building in VS2012

Fixes HPCC-9407

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Merge pull request #4433 from GordonSmith/HPCC-9407

HPCC-9407 Add support for building in VS2012

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-4.0.0' into closedown-4.0.x

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

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

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4381 from wangkx/h9271

HPCC-9271 Show 'truncated' message for viewing large file

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-4.0.0' into closedown-4.0.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9304 Add PID into Process/eclagent entries of ECL WU xml

Existing ECL WU xml contains only one agentPID. EclWatch uses the
agentPID to identify the log lines for the workunit from eclagent
log. When a WU runs on two different eclagents, EclWatch can only
find out the log lines in one eclagent log using the agentPID. In
this fix, the agentPID of each eclagent is added into the <Process>
<EclAgent><eclagent> entry of the WU xml. EclWatch uses the agentPID
and the log name to read WU log lines from each eclagent log.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-9304 Modify code based on review comments

Change PID type to unsigned; remove old setAgentPID(); rename a
'component' to 'instance'.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Merge remote-tracking branch 'origin/candidate-4.0.0' into closedown-4.0.x

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

Conflicts:
	version.cmake

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9375 Remove duplicate no-reload option from ecl publish docs

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
HPCC-9367 Add wait option ecl roxie check docs (Client Tools)

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
Merge pull request #4473 from JamesDeFabia/9375_eclPublishDocs_no_reload_dupe

HPCC-9375 Remove duplicate no-reload option from ecl publish docs
Merge pull request #4474 from JamesDeFabia/9367_ecl_roxie_check_add_wait_option_toDocs

HPCC-9367 Add wait option ecl roxie check docs (Client Tools)

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-4.0.0' into closedown-4.0.x

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