Fix gh-2478 wrong order of machines in preflight page

The machines in the preflight page should display in a
correct order. On a default one-node system, looking at
the thor cluster preflight page, the position in the
list of the thor slave and master seems to swap every
time when the page is updated. Two problems have been
found: 1. the machine list inside the preflight request
does not asks for the list to be processed in an order;
2. the preflight code uses a map to store the machine
list and the map re-orders the machines. Those problems
have been fixed now.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Change multimap to BoolHash and set the BoolHash using
Network Address, process name, process type and process
number which define unique preflight request for system
component.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Default inline is GCC only
Add Ubuntu Unity Launcher icon

This adds the unity launcher and a stock LN icon
to Ubuntu desktops. Left-click to go to local
ESP, right-click gives you the options to start,
stop, restart and see the status of the cluster.

You still have to add it to the unity bar yourself,
but searching for "hpcc" on the dash is enough to
find it, drag it and done.
gh-2715 FileActors example not extracting episode numbers

The version of FindWithin that was provided was not working
correctly if the end marker occurred before the start marker.

This really highlights some deficiencies and/or poor design
choices in the standard string library - they should be
addressed separately.

Fixes gh-2715.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Introduce extra hash dedup helper functions

Introduce extra hash-dedup helper functions to enable thor to optimize
the implementation.  Also indicate whether the entire row is being
deduped - to avoid conversion to a key.

See Issue #2700.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
moved ECLPlugin doc to proper folder, added rpoduction url

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

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
edits to ECLPlugin doc for prerequisites

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
Finalize ECL Plugin for Eclipse doc

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
Add ESP support for JSON formatted responses

Refactors ESP message serialization code.  Encapsulates format
specific code. Adds support for JSON responses.

For now, desired format is specified in the request url by adding
an extension to the method name at the end of the path.

i.e. for XML:
http://host:8010/MyService/MyMethod.xml?Wuid=W20120621-123710

for JSON:
http://host:8010/MyService/MyMethod.json?Wuid=W20120621-123710

Fixes gh-2741.

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Provide a function for estimating allocated row capacity

For hash dedup if the dedup criteria are much smaller than the full row
then it is worth saving just the dedup fields.  However this may cause
extra work, may use more memory if the deduped rows are held in memory
(e.g., by a sort), or if there is little difference in the shrunk size.

To help this last criteria, this function allows thor to determine
whether or not removing some fields is likely to reduce the memory
usage.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Move ECL_PluginforEclipse to its own folder and add cmake file

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
Move ECL_PluginforEclipse to its own folder and add cmake file 2

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
Fix gh-2747 empty page from Users link for non-admin

When logged in as a non-administrator user in eclwatch, and
you click on any of the 'Users/Permissions' links (Users,
Groups, Permissions) it returns a blank page. Previously,
the page showed an exception: Access denied, administrators
only.

The exception did not show because XslProcessor cannot be
found for the exception xslt. The XslProcessor of
Cws_accessSoapBinding was replaced by the XslProcessor of
Cws_accessSoapBindingEx, which is incorrect. This fix
removed the the XslProcessor of Cws_accessSoapBindingEx.
This fix also removed the getQualifiedNames() which should
not be there any more.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
added ECL plug in for Eclipse document to the master CMakeLists.txt
fixes gh-2753 Fixed error generating second pdf file created from single cmake file.

When TARG is being set by the macro RUN_XSTLPROC it is being set on the global scope for the current cmake file instead of in the local scope of the macro. This is causing an issue where the second call to make a pdf which calls RUN_XSLTPROC sees the variable as set if it was set on the first run.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>
Fix crash on linux generating a field usage report

The code was passing parameters field.getClear() and field->queryName(),
but the execution order isn't defined, leading to an invalid access of
field->

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Invalid links to download resources.

Fixes gh-2760

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
gh-2764 Core dumps possible if mix debug/release .so's

The unicodelib plugin compiled in debug mode can core if used with a jlib
compiled in release mode (and probably the reverse). This is caused by
the different definition of the Atom class in the two modes, which causes
chaos if inline calls to the constructor are made in both modes.

Modern debuggers are capable of displaying the value in an Atom without
the 'DbgReadable' field, so remove it.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>