HPCC-11693 Catch and handle OOM and failover when setting up HT

If it manages to avoid OOM on gather, but OOM's setting up sized
HT, then catch OOM exception coming back from roxiemem and let
it degrade to distributed local lookup join.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-11966 Extend locking primitives to add assertLocked()

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10525 Solve constant folding functions for ARM

ARM32 implementation - tested in isolation but not in the context of the
compiler, as I don't have a suitable machine.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10525 Solve constant folding functions for ARM

Cleaned up with respect to floating point parameters and other bits.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10525 Solve constant folding functions for ARM

Some suble alignment issues for ARM calls.

Also fixed some issues in the x64 code that I spotted while I was there.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10525 Solve constant folding functions for ARM

Accidentally deleted a line

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11693 Improove OOM handling when sizing tables

Prevent sizing tables, pushing out other memory (use allocate
with maxSpillCost). Catch a couple of other table sizing that
could OOM and ensure they fail over to local lookup join

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-11693 More changes, spotted during review

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-12031 Always throw exceptions if cannot allocate enough memory

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-11966 Extend locking primitives to add assertLocked()

Handle nested case

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-12062 Add FromJSON function to ECL

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-12047 String repad causes seg fault on -ve lengths

Technically, this fix is incorrect, as someone COULD be trying to deal with
strings > 2Gb in length.

In practice, anyone trying to deal with strings that size will hit other
problems, and this can be fixed when those are.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-12062 Update based on review

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-10525 Solve constant folding functions for ARM

Fix issues addressed in code review

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-12047 String repad causes seg fault on -ve lengths

Additional check for invalid parameter

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11975 Restrict height of confirmation dialog

Clip visible list to a sensible amount (10) and display "...N more..."

Fixes HPCC-11975

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
HPCC-11966 Extend locking primitives to add assertLocked()

Handle nested case in linux too

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10525 Solve constant folding functions for ARM

Additional issues from testing on rPi

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10525 Solve constant folding functions for ARM

More compile errors on ARM

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10525 Solve constant folding functions for ARM

Fix passing of REAL parameters in x86_64

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