Skip to content

Commit

Permalink
bug fixes in Proxy objects
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryI committed Dec 5, 2024
1 parent 5d0bf80 commit bcce5fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
17 changes: 1 addition & 16 deletions src/FrontSubmitKernel.wl
Original file line number Diff line number Diff line change
Expand Up @@ -101,22 +101,7 @@ FrontInstanceGroup /: MakeBoxes[f: FrontInstanceGroup[uid_String], StandardForm]
None, (* always shown content *)
Null (* expandable content. Currently not supported!*)
]
];

FrontInstanceGroup /: MakeBoxes[f: FrontInstanceGroup[uid_String, __], StandardForm] := Module[{above, below},
above = {
{BoxForm`SummaryItem[{"State: ", "Occupied"}]}
};

BoxForm`ArrangeSummaryBox[
FrontInstanceGroup, (* head *)
f, (* interpretation *)
None, (* icon, use None if not needed *)
(* above and below must be in a format suitable for Grid or Column *)
None, (* always shown content *)
Null (* expandable content. Currently not supported!*)
]
];
];


exec;
Expand Down
2 changes: 1 addition & 1 deletion src/FrontendProxyKernel.wl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Module[{buffers, private, arguments, explodeArgs, type, index, currentLength =
While[System`Utilities`HashTableContainsQ[groupsStore, prehash<>ToString[currentLength] ] || currentLength == 0,
currentLength++;
If[buffersLength < currentLength,
Print["Extend buffers"];

buffersLength = currentLength * 2;
updateBuffers[buffersLength, {opts}];
currentLength = 1;
Expand Down

0 comments on commit bcce5fe

Please sign in to comment.