Community Edition 3.10.0 Release Candidate 1

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

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8104 Fix duplicated log link and empty log view in ECL WU Details

This fix solves three problems found in the Helpers section of ECL WU
Details page. 1. duplicated log files are displayed; 2. The first
thormaster log is displayed when web link to second thormaster log is
selected from the section; 3. A blank page shows when an EclAgent Log
link is selected from the section. The existing code assumes only one
thormaster log (and one eclagent log) per workunit. When more than one
thormaster log entries occur in WU XML, the entries causes extra loops
to generate duplicated links. The existing links contain process name
as an identifier. When a user clicks one of the links, the code always
picks up the first log file based on the process name. Since no related
log line is found from the first log file, a plank page is displayed.

This fix modifies the code to avoid the extra loops. Inside the web link,
the process name is replaced by log file name. If no related log line
can be found in a log file, the page will display: (Not found a log line
related to this workunit).

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8002 Fix a couple of issues pick up by msvc

Most significantly, dedupSuccessess was always being incremented.
Meaning, it would continue to try and dedup in hash distributor
even if not succeeding to reduce

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #3555 from jakesmith/hashdist-stop-compilefixes

HPCC-8002 Fix a couple of issues pick up by msvc

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-3.10.x' into candidate-3.10.0

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Community Edition 3.10.0 Release Candidate 2

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8115 Building HPCC-Platform in Ubuntu 12.10

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
HPCC-8103 Fix missing hyperlinks for results in WU Details page

The existing WU Details page uses the ShowFileContent flag to decide
whether the Result hyperlinks should be displayed or not and the flag
is set to true as default. From 3.10.x, the default value is not set
for HTTP response and the Result hyperlink may not be displayed.

In fact, the ShowFileContent flag is being set only if the result has
a logical file name. If no file name, the WU Details page should not
check the ShowFileContent flag.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8090 Remove LD_LIBRARY_PATH

Fix HPCC-8090 Remove all references to LD_LIBRARY_PATH
meaning the command, source /opt/HPCCSystems/sbin/hpcc_setenv
From all instances in the documentation

Signed-off-by: G Panagiotatos <greg.panagiotatos@lexisnexis.com>
Merge pull request #3560 from g-pan/H8090LD_LibFix

HPCC-8090 Remove LD_LIBRARY_PATH

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #3559 from wangkx/h8103

HPCC-8103 Fix missing hyperlinks for results in WU Details page

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-8129 Fix bug generating an optimized hash function on a child dataset

For DEDUP(ds, x,y,z), if the list of fields contained a child dataset the
hash function generated when targetting Thor was incorrect, and could
cause thor to crash.  It could possibly be triggered in other situations
as well.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8000 Improve error message when cannot open a file.

It appears to be possible for file->exists() to succeed, but file->size()
to return -1.  This patch changes the error message to indicate the file
couldn't e read instead of complaining it was > 4Gb.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8119 ParsePattern in HTML

Fix HPCC-8119 Formatting issues in the HTML
version of the Parse Pattern Definitions portion
of the ECL Language reference.

Signed-off-by: G Panagiotatos <greg.panagiotatos@lexisnexis.com>
HPCC-8083 Ecl packagemap no longer needs to support copyFiles

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
HPCC-7927 Run Together Text Fix

Fix HPCC-7927 Formatting issue in the doc
where two terms ran together.

Signed-off-by: G Panagiotatos <greg.panagiotatos@lexisnexis.com>
HPCC-7975 Add std.system.thorlib.platform

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8130 Loading of profile regression on start of platform

Moved location of source call for /etc/profile. The location of the
source call caused a regression in the PATH on debian and SuSE.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>
HPCC-8098 Fix seh after unusual syntax error

Currently pushSelf is used differently when processing a record from
when processing a transform.  In the former it is a record, in the latter
a no_self.  This should really be changed in the future and made consistent.

A user had an example query containing a syntax error which caused the
state to become inconsistent, and then crash.  This change fixes the seh by
ensuring the record of the active item is selected.

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