#2568 restructure ECL record definition parsing mechanism.
Include all optional modifiers per record field definition.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
#2568 changes based on code review
- removed superfluous trim call
- spelling changes

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
Fix gh-2202 Incorrect output from xml output(row)

Added a new workunit method setResultRow() which saves a row and
sets the row count to 1. Call this new method from setResultRaw, which
is called by the workunit shared object to save a row. This fixes the
missing XML output because it now sets a row count, which is needed
by the xml writer

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
Improve Context Menu UI.

- Prevent multiple context menus from being open
- Close context menu when clicking on empty space on screen

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
fixes gh-1633 modified Installing_and_RunningTheHPCCPlatform.xml
Fix ESP cores when WU ID not found

For several operations, ESP cores when WU ID is not found
by openWorkUnit(). The openWorkUnit() returns a NULL
pointer if Workunit ID cannot be found. ESP/WsWorkunits
should check the return of openWorkUnit() before using it.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
fixes gh-2596 added support for creation of md5sum from file.

added md5_filesum in order to support md5sum creation from a file.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>
Add options to 'ecl run' for setting debug and stored variables

New options -deb.<name>=<value> and -var.<name>=<value>.

-deb.<name>=<value> can be used to set workunit debug values.
-var.<name>=<value> can be used to set input (stored) variables.

example:
ecl run add.ecl -cl=hthor -var.n1=11 -var.n2=22 -dbg.maxruntime=1000

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
fixes gh-2596 added support for creation of md5sum from file.

added md5_filesum in order to support md5sum creation from a file.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>
Fix gh-2387 configmgr - Give indication of staged configuration
- In the wizard summary and advaned view highlight matching
  configuration file matching staged configuration file
- Add tooltip to explain highlighting

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
FIX HPCC-Systems/LN#472 JComp incorrectly quotes source file name

If a source path is specified, jcomp incorrectly puts quotes around the
filename (/folder/"file.cpp"). This fix corrects that by quoting the
path and filename ("/folder/file.cpp")

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>

Rebased for 3.8 and minor change to avoid doubled path separators

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2595 from wangkx/check_openwu

Fix ESP cores when WU ID not found

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2603 from richardkchapman/RussWhitehead-jcompFix

FIX HPCC-Systems/LN#472 JComp incorrectly quotes source file name

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #2586 from rpastrana/gh-2568_parse_optional_modifiers

fix 2568 parse optional modifiers

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2594 from g-pan/38_bug1633

fixes gh-1633 modified Installing_and_RunningTheHPCCPlatform.xml

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Add pagesize property, defaults to 100
Don't fetch all files every time a single file's metadata is needed.
Cache individual file's metadata
Improve search logic in gettables and getcolumns
Fetch total HPCC logical file count
Add support for NE SQL operator.

Add test methods

Second commit squashed in:

upon access to a superfile, if it doesn't contain rec definition,
fetch and cache one subfiles until one is found with rec definition.
In case the subfiles.

Upon success, update the superfile's rec definition with newly cached subfile.

Also added paging size fetch for stored procs and on-demand stored proc fetch.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
#2540 changes based on code review.

New test case code.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
Soft link to thorslave causing problems

On multislave (per node) setups, the link was causing problems, where
randomly some slaves failed to start, if unlucky enough to start as link
removed/rewritten.
There is no need for link anymore

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #2616 from jakesmith/start_slave-fix

Start slave fix

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Fix gh-2476 Cluster name cannot be hard coded

In the fix for gh-2476, the thor cluster name is hard
coded as 'thor' which is wrong.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>