Fix gh-2860 https connection to EclWatch failed

This only happens on Linux. The error comes from
openssl lib. Browser is trying to create multiple
SSL connections to ESP. ESP creates multiple threads
and each thread uses openssl lib to accept the
connections. To make openssl thread-safe, ESP has to
provide a callback fucntion: CRYPTO_set_id_callback().

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Fix gh-2888 add superfile operations to esp log

Superfile operations (add/remove) should be logged
into esp log. This fix also cleans ESP code for
superfile operations, including the method
SuperfileAddRaw() which has not been used for years.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Revised based on review.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Fix and enhancement for configmgr pull request #2601 and for issue gh-2386
- Add highlight to indicate staged envrionment in table triggered from open
  environment button
- Fix IE specific display

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Fix for out of bounds array index based on feedback
Properly handling of multiple configuration files matching
staged configuration.  All will be highlighted.

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Minor for-loop restructure based on feedback.

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Not more than 10 files per log line

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Fix gh-2836 - buildindex var row,col_prefix fix

Building an index with COMPRESS(FIRST) and variable rows, caused excessive
amounts of memory to be used when reading the index. Because, the when the
nodes were unpacked, the max length * numRows was allocated and retained per
expanded node.

This commit encodes the row lengths in the compressed format

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
gh-2161 Only 1 package can be active per queryset / packagemap

Package add needs to make sure that there is only 1 active package
at a time for a queryset.  Roxie will only process the first active
package, so when adding a package (or activating an exisiting package)
the code needs to deactivate the currently active package first

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
gh-2161 Package add queryset shortcut parameter should be -qs

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
minor changes

rename a couple of local vars for clarity
common up a couple of memcpy's for efficiency

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
gh-2998 Remove some getRecordSize(NULL) calls

Remove some calls to getRecordSize(NULL) in Roxie (all results were unused).

Note that I no longer pass the (code) record size to createKeyMerger - this
means that mismatches won't be deteced at this point, but Roxie should have
picked them up earlier anyway (with a full meta compare).

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Fix gh-2989, more null ptr
Merge pull request #3004 from rengolin/esp

Fix gh-2989, more null ptr

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Add --no-reload option to ecl-publish and ecl-queries-copy

--no-reload will prevent signalling roxie to do an imediate reload
of queries.

--wait=0 will also not bother to reload since it would immediately
time out.

Fixes gh-2694

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Fix gh-2955 Spaces not trimmed from workunit id

Searching for a workunit with an id that ends in a space
leads to an internal error. This fix trims both left spaces
and right spaces of a workunit id input for all of the
methods in ws_workunit. This fix also checks the format
of the id and, if the id contains invalid characters,
displays an error: 'Invalid Workunit ID'.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Fix gh-2849 Move Total Thor Time to end of Timings

In EclWatch workunit details under Timings, "Total thor time"
is sometimes difficult to find because it is in the middle of
all the timings instead of being on the end. Having it on the
end would make it easier to find.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Consistently use queryname to generate root tags in WsEcl

Previously WuWebView would sometimes default to using the jobname
instead of the queryname.

Fixes gh-2896

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Improve ws_workunits cluster parameter validation

Fixes gh-2407


Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Add COMPRESSED(FIRST) and COMPRESSED(ROW) tests