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-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-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>
HPCC-8055 Release complex normalize examples.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8144 Fix minor memory leak in grammar

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8145 Fix minor memory leak in the job queue

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8146 Crash on unbalanced splitter reading grouped input

A spilling splitter (unbalanced), would crash if it hit an
end of group marker, reading grouped input

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-860  Explain that HEADING() defining IMDB data may need change in ECL

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
HPCC-860  Edits to IMDB file (typo)

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

HPCC-860  Explain that HEADING() defining IMDB data may need ECL change

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3581 from ghalliday/issue8145

HPCC-8145 Fix minor memory leak in the job queue

Reviewed-By: Renato Golin <rengolin@hpccsystems.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3573 from ghalliday/issue8098

HPCC-8098 Fix seh after unusual syntax error

Reviewed-By: Renato Golin <rengolin@hpccsystems.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3580 from ghalliday/issue8144

HPCC-8144 Fix minor memory leak in grammar

Reviewed-By: Renato Golin <rengolin@hpccsystems.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3583 from jakesmith/lookahead-groupdisk-bug

HPCC-8146 Crash on unbalanced splitter reading grouped input

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3576 from ghalliday/issue8055

HPCC-8055 Release complex normalize examples.

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3548 from wangkx/h8104

HPCC-8104 Fix duplicated log link and empty log view in ECL WU Details

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3564 from ghalliday/issue8000

HPCC-8000 Improve error message when cannot open a file.

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>