HPCC-10941 Add mechanism for finding queries that use a given file

Build a cache of files used by queries.  Update cache when DALI changes
in QuerySets, PackageMaps, or PackageSets are detected.

Add method to WsWorkunits to WUListQueriesUsingFile.

Create a report xslt for the result, and add a link to the the
context menu for roxie files listed on the browse dfu files page.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-11082 - Global LOOP with row condition must recheck finishing

A global LOOP with a condition on thw rows, must recheck the
'finishedLooping' condition. Just because there are 0 rows to
process at the start of the loop, does not mean there will be 0
after the next execute in the global case.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #5582 from jakesmith/hpcc-11082

HPCC-11082 - Global LOOP with row condition must recheck finishing

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11080 DOCS:Value Types link broken

Fix EPE-102 HPCC-11080 DOCS:Value Types link broken
Fix for the Value_Types link in the ECL Lang. Ref.
Issue itself was not a problem and did not manifest until
combining with other documents to produce the compiled help.
Each ID=attribute needs to be unique.

Signed-off-by: g-pan <greg.panagiotatos@lexisnexis.com>
Merge pull request #5568 from afishbeck/queriesUsingFile

HPCC-10941 Add mechanism for finding queries that use a given file

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11087 - Track subs swapped as part of swap/promote

SwapSuperFile and PromoteSuperFile were not tracking the subs
removed/added between supers in a transaction. As a consequence
if there were incompatibilities between old and new subs, then
the transaction mechanism spuriously detected the old+new as
incompatible and threw and error, even though they weren't in the
same super at the same time.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #5601 from jakesmith/hpcc-11087

HPCC-11087 - Track subs swapped as part of swap/promote

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5591 from g-pan/H11080-ValueTypeLink

HPCC-11080 DOCS:Value Types link broken

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11191 - Restoring archived workunits GeneratedDlls incorrect

GenerateDlls were being restored, such that the registered query dlls
pointed to the sasha archive directory. That meant the Associated file
references that were also GeneratedDlls were no longer accessible.
Change so that the restore, copies back to the Associated file location.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>