Skip to content

Commit 4030bb6

Browse files
committed
Prepare 7.10.3 release
1 parent 612f097 commit 4030bb6

File tree

3 files changed

+24
-13
lines changed

3 files changed

+24
-13
lines changed

build/jsroot.js

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// https://root.cern/js/ v7.10.2
1+
// https://root.cern/js/ v7.10.3
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
44
typeof define === 'function' && define.amd ? define(['exports'], factory) :
@@ -10,11 +10,11 @@ var _documentCurrentScript = typeof document !== 'undefined' ? document.currentS
1010

1111
/** @summary version id
1212
* @desc For the JSROOT release the string in format 'major.minor.patch' like '7.0.0' */
13-
const version_id = '7.10.2',
13+
const version_id = '7.10.3',
1414

1515
/** @summary version date
1616
* @desc Release date in format day/month/year like '14/04/2022' */
17-
version_date = '11/02/2026',
17+
version_date = '26/02/2026',
1818

1919
/** @summary version id and date
2020
* @desc Produced by concatenation of {@link version_id} and {@link version_date}
@@ -95263,6 +95263,12 @@ class THistPainter extends ObjectPainter {
9526395263
return cntr;
9526495264
}
9526595265

95266+
/** @summary Reset contour object
95267+
* @private */
95268+
resetContour() {
95269+
this.#contour = undefined;
95270+
}
95271+
9526695272
/** @summary Return Z-scale ranges to create contour */
9526795273
#getContourRanges(main, fp) {
9526895274
const o = this.getOptions(),
@@ -95843,7 +95849,7 @@ class THistPainter extends ObjectPainter {
9584395849
this.maxbin = this.minbin = 0;
9584495850

9584595851
// force recalculation of z levels
95846-
this.#contour = undefined;
95852+
this.resetContour();
9584795853

9584895854
if (args.zrange)
9584995855
Object.assign(res, this.#getContourRanges(this.getMainPainter(), this.getFramePainter()));
@@ -104523,6 +104529,9 @@ class TH3Painter extends THistPainter {
104523104529
const histo = this.getHisto(),
104524104530
fp = this.getFramePainter();
104525104531

104532+
// ensure proper colors
104533+
this.resetContour();
104534+
104526104535
let use_lambert = false,
104527104536
use_helper = false, use_colors = false, use_opacity = 1, exclude_content = -1,
104528104537
logv = this.getPadPainter()?.getRootPad()?.fLogv,
@@ -127106,6 +127115,7 @@ async function treeProcess(tree, selector, args) {
127106127115
case 'TLeafS': datakind = leaf.fIsUnsigned ? kUShort : kShort; break;
127107127116
case 'TLeafI': datakind = leaf.fIsUnsigned ? kUInt : kInt; break;
127108127117
case 'TLeafL': datakind = leaf.fIsUnsigned ? kULong64 : kLong64; break;
127118+
case 'TLeafG': datakind = leaf.fIsUnsigned ? kULong : kLong; break;
127109127119
case 'TLeafC': datakind = kTString; break;
127110127120
default: return null;
127111127121
}
@@ -127754,7 +127764,7 @@ async function treeProcess(tree, selector, args) {
127754127764

127755127765
for (let k = 0; k < handle.arr.length; ++k) {
127756127766
const elem = handle.arr[k];
127757-
if ((elem.type <= 0) || (elem.type >= kOffsetL) || (elem.type === kCharStar))
127767+
if ((elem.type <= 0) || (elem.type >= kOffsetL) || (elem.type === kCharStar) || (elem.type === kFloat16) || (elem.type === kDouble32))
127758127768
handle.process_arrays = false;
127759127769
}
127760127770

@@ -166720,8 +166730,9 @@ class HierarchyPainter extends BasePainter {
166720166730
if ((hitem._more === false) || (!hitem._parent && hitem._childs))
166721166731
return;
166722166732

166723-
if (hitem._childs && hitem._isopen) {
166724-
hitem._isopen = false;
166733+
// for the file expand always just toggle isopen flag
166734+
if (hitem._childs && (hitem._isopen || hitem._file)) {
166735+
hitem._isopen = !hitem._isopen;
166725166736
if (!silent)
166726166737
this.updateTreeNode(hitem, d3cont);
166727166738
return;

changes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# JSROOT changelog
22

3-
## Changes in 7.10.x
4-
1. Fix - add TLeafG support to TTree #397
5-
2. Fix - reset contour while drawing TH3
6-
3. Fix - fix kFloat16/kDouble32 processing in TTree
3+
## Changes in 7.10.3
4+
1. Fix - add `TLeafG` support in `TTree` #397
5+
2. Fix - reset contour while drawing `TH3`
6+
3. Fix - fix kFloat16/kDouble32 processing in `TTree`
77

88

99
## Changes in 7.10.2

modules/core.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
/** @summary version id
44
* @desc For the JSROOT release the string in format 'major.minor.patch' like '7.0.0' */
5-
const version_id = '7.10.x',
5+
const version_id = '7.10.3',
66

77
/** @summary version date
88
* @desc Release date in format day/month/year like '14/04/2022' */
9-
version_date = '17/02/2026',
9+
version_date = '26/02/2026',
1010

1111
/** @summary version id and date
1212
* @desc Produced by concatenation of {@link version_id} and {@link version_date}

0 commit comments

Comments
 (0)