Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/candidate-9.2.x' into candidate-…
Browse files Browse the repository at this point in the history
…9.4.x

Signed-off-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday committed Nov 22, 2023
2 parents 7094fa3 + 0078472 commit 637ecf2
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 32 deletions.
4 changes: 2 additions & 2 deletions ecl/hql/hqlgram2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9700,11 +9700,11 @@ void HqlGram::checkDerivedCompatible(IIdAtom * name, IHqlExpression * scope, IHq
if (match)
{
if (!canBeVirtual(match))
reportError(ERR_MISMATCH_PROTO, errpos, "Definition %s, cannot override this kind of definition", str(name));
reportError(ERR_MISMATCH_PROTO, errpos, "Definition %s, cannot override this kind of definition", nullText(str(name)));
else
{
if (!areSymbolsCompatible(expr, isParametered, parameters, match))
reportError(ERR_MISMATCH_PROTO, errpos, "Prototypes for %s in base and derived modules must match", str(name));
reportError(ERR_MISMATCH_PROTO, errpos, "Prototypes for %s in base and derived modules must match", nullText(str(name)));
}
}
}
Expand Down
32 changes: 12 additions & 20 deletions esp/services/ws_workunits/ws_workunitsService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3638,6 +3638,16 @@ void getScheduledWUs(IEspContext &context, WUShowScheduledFilters *filters, cons
{
jobName.set(cw->queryJobName());
owner.set(cw->queryUser());
if ((cw->getState() == WUStateScheduled) && cw->aborting())
{
stateID = WUStateAborting;
state.set("aborting");
}
else
{
stateID = cw->getState();
state.set(cw->queryStateDesc());
}
}

if (!filters->jobName.isEmpty() && (jobName.isEmpty() || !WildMatch(jobName.str(), filters->jobName, true)))
Expand All @@ -3646,26 +3656,8 @@ void getScheduledWUs(IEspContext &context, WUShowScheduledFilters *filters, cons
match = false;
else if (!filters->eventText.isEmpty() && (ieventText.isEmpty() || !WildMatch(ieventText, filters->eventText, true)))
match = false;
else if (!filters->state.isEmpty())
{
if (!cw)
match = false;
else
{
if ((cw->getState() == WUStateScheduled) && cw->aborting())
{
stateID = WUStateAborting;
state.set("aborting");
}
else
{
stateID = cw->getState();
state.set(cw->queryStateDesc());
}
if (!strieq(filters->state, state.str()))
match = false;
}
}
else if (!filters->state.isEmpty() && !strisame(filters->state, state.str()))
match = false;
}
catch (IException *e)
{
Expand Down
7 changes: 6 additions & 1 deletion esp/src/eclwatch/PermissionsWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ define([
"hpcc/GridDetailsWidget",
"src/ws_access",
"src/ESPUtil",
"src/Utility"
"src/Utility",

"dijit/Dialog",
"dijit/form/TextBox",

"hpcc/TableContainer"

], function (declare, nlsHPCCMod,
registry, CheckBox,
Expand Down
7 changes: 6 additions & 1 deletion esp/src/eclwatch/ShowAccountPermissionsWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ define([
"src/ws_access",
"src/ESPUtil",
"src/Utility",
"hpcc/ShowInheritedPermissionsWidget"
"hpcc/ShowInheritedPermissionsWidget",

"dijit/Dialog",
"dijit/form/TextBox",

"hpcc/TableContainer"

], function (declare, lang, nlsHPCCMod, arrayUtil,
registry, CheckBox,
Expand Down
8 changes: 4 additions & 4 deletions esp/src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion esp/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@hpcc-js/chart": "2.81.7",
"@hpcc-js/codemirror": "2.60.12",
"@hpcc-js/common": "2.71.12",
"@hpcc-js/comms": "2.84.4",
"@hpcc-js/comms": "2.85.0",
"@hpcc-js/dataflow": "8.1.6",
"@hpcc-js/eclwatch": "2.73.27",
"@hpcc-js/graph": "2.85.8",
Expand Down
2 changes: 1 addition & 1 deletion esp/src/src-react/hooks/workunit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function useWorkunit(wuid: string, full: boolean = false): [Workunit, WUS
let active = true;
let handle;
const refresh = singletonDebounce(wu, "refresh");
refresh(full)
refresh(full, { IncludeTotalClusterTime: true })
.then(() => {
if (active) {
setRetVal({ workunit: wu, state: wu.StateID, lastUpdate: Date.now(), isComplete: wu.isComplete(), refresh });
Expand Down
8 changes: 6 additions & 2 deletions esp/src/src-react/layouts/DojoAdapter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,12 @@ export const DojoAdapter: React.FunctionComponent<DojoAdapterProps> = ({
},
...delayProps
}, elem);
widget.startup();
widget.resize();
if (widget.startup) {
widget.startup();
}
if (widget.resize) {
widget.resize();
}
if (widget.init) {
widget.init(params || {});
}
Expand Down
3 changes: 3 additions & 0 deletions system/jlib/jsecrets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
#if defined(__clang__) || defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat-nonliteral"

//httplib also generates warning about access outside of array bounds in gcc
#pragma GCC diagnostic ignored "-Warray-bounds"
#endif

#ifdef _USE_OPENSSL
Expand Down

0 comments on commit 637ecf2

Please sign in to comment.