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-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-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-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>
Merge pull request #3566 from stuartort/pkg_removecopyfiles

HPCC-8083 Ecl packagemap no longer needs to support copyFiles

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #3568 from g-pan/H7927_RunTogetherFix

HPCC-7927 Run Together Text Fix

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-8048 Add Remove Super File to transactions

Adding removal of super files inside transactions, with full
roll-back capabilities. Tests included.

Signed-off-by: Renato Golin <rengolin@hpccsystems.com>
HPCC-8073 Edit documentation about Roxie packages, fix typo

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
Merge pull request #3567 from g-pan/H8119_ParsePatFMT

HPCC-8119 ParsePattern in HTML

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #3557 from GordonSmith/HPCC-8115b

HPCC-8115 Building HPCC-Platform in Ubuntu 12.10

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-8055 Release complex normalize examples.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8124 Check for failed malloc

Specifying a large value for DATA[n] such as DATA10000000000 causes ECLCC
to core. This fixes that problem by checking for a failed malloc and
throwing if it happens

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
HPCC-8125  Docs say either IP or hostname can be used in ecl cli

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