HPCC-9984 Compile direct from a version control system

Add code to eclccserver to support installation of hooks in place of eclcc,
and to pass values to those hooks via the environment.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9984 Compile direct from a version control system

Add support for bare repositories into the git file reader.

Note that this change means that the {branch} part of the git file
name is no longer optional. To refer to HEAD (on a non-bare repository)
you can use {}

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9984 Compile direct from a version control system

First stab at a vc hook for git repository support

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9984 Compile direct from a version control system

Don't allow workunit to set the hook - would be some security concerns.

Define an environment variable for the current thread index, in case anyone
wants it for an svn plugin.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9984 Compile direct from a version control system

Control whether local WU can override the branch

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9984 Compile direct from a version control system

Typo in git.sh meant only worked in verbose mode.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10043 Add option to eclcc to restrict compilation to repository

Set --deny=userECL in the eclccserver options to require that all jobs use
only code that is already present on the eclccserver (typically, from an
external repository via eclcc-hook)

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10060: Improve memory and thread handling of embedded Java code

Within destructor for JavaThreadContext class, add an explicit DetachCurrentThread() call to detatch the native thred from the JVM.  This allows the JVM to more easily determine what needs to be garbaged collected.

Within the constructor and destructor for JavaEmbedImportContext class, add calls to push and pop a local reference frame in the JNI.  This collects new local references and enables them to be GC'd when the frame is popped, freeing memory somewhat faster.  Also, allow up to 64 local references to be tracked/created (up from the default of 16).
HPCC-10044 Add IsLibrary, PublishBy, etc to WUQuerysetDetails/WUQueryDetails

Add IsLibrary and PublishBy for WUQuerysetDetailsResponse; Add IsLibrary,
Priority, WUSnapShot, LibrariesUsed, Errors, GraphIds and CountGraphs to
WUQueryDetailsResponse.

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com
HPCC-10044 Rename a method based on code review
HPCC-10049 Retrieve data for displaying cumulative Roxie graphs

A new WsWorkunits/WUQueryGetGraph method is added to retrieve data for
displaying cumulative Roxie graphs. The method calls control:queryStats
to get the data for displaying cumulative Roxie graphs.

And two small fixes: a. a compiling warning; b. a better time out for using
control:getQueryXrefInfo.

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com
HPCC-9034 Add Package Maps GUI to EclWatch

This fix adds Package Maps link to EclWatch navigation section. From this
link, EclWatch displays a list of all Package Maps and multiple controls
for Package Maps. The list may be filtered using target, process, etc.
The controls may be used to add new Package Maps, activate/deactivate
Package Maps, and delete Package Maps. Details of each Package Map may be
viewed using Open button.

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com
Merge pull request #4323 from wangkx/package_ui

HPCC-9034 Add Package Maps GUI to EclWatch

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4832 from wangkx/h9922a

HPCC-10044 Add IsLibrary, PublishBy, etc to WUQuerysetDetails/...
Merge pull request #4851 from wangkx/h9345

HPCC-10049 Retrieve data for displaying cumulative Roxie graphs

Reviewed-By: Gordon Smith <gordon.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10069 Typo correction to error messages 3101 and 3124

Signed-off-by: jamienoss <james.noss@lexisnexis.com>
Merge pull request #4862 from jamienoss/issue10069-typoError3101AND3124

HPCC-10069 Typo correction to error messages 3101 and 3124

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10070 Update needed to eclcc regression test instructions in sourcedoc.xml

Instructions in sourcedoc.xml state -r syntax for regress.sh that is no
longer supported.

Signed-off-by: jamienoss <james.noss@lexisnexis.com>
Merge pull request #4863 from jamienoss/issue10070-sourcedoc.xml-regress.sh-syntax

HPCC-10070 Change to eclcc regression test instructions in sourcedoc.xml

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10071 Allow eclcc regression suite cores to be configured

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