Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub actions #23

Closed
wants to merge 309 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
309 commits
Select commit Hold shift + click to select a range
31154ca
Workaround for MS compiler bug
bellenot Jun 4, 2021
eb01096
REveProjectionManager - rename UpdateDependentElsAndScenes to UpdateD…
osschar May 21, 2021
358c437
Add missing initialization
alja May 25, 2021
c97dce3
Check validity of function
alja May 27, 2021
16734ad
Check valid function pointer in ApplyFilter()
alja May 27, 2021
a9c61d5
Handle RFileDialog requests in REveManager::WindowData()
alja Jun 3, 2021
da13622
Remove not needed fatal message (fixing ##8280)
oshadura Jun 4, 2021
27cd610
[DF] Use a RAII object to make sure to always run CleanUpTask
eguiraud Jun 4, 2021
378872d
[json] support utf-8 codes when writing const char*
linev Jun 4, 2021
941e9db
[json] add utf8 testing for TBufferJSON
linev Jun 4, 2021
1ca221f
[io] Avoid nullptr deref when printing warning in TStreamerInfo
eguiraud Jun 7, 2021
1c38aa0
Test if json_fwd.hpp exists
linev Jun 4, 2021
47bd4c0
[reve] provide REveRGBAPalette::OnZeroRefCount() implementation
linev Jun 7, 2021
dd36f63
[reve] exclude TObject from REveRGBAPalette parent classes
linev Jun 7, 2021
3f14846
[reve] provide also REveFrameBox::OnZeroRefCount
linev Jun 7, 2021
7e92c38
[reve] make REveRefCnt::OnZeroRefCount() abstract
linev Jun 7, 2021
5d20599
[eve] provide OnZeroRefCount() in derived from TEveRefCnt classes
linev Jun 7, 2021
474d833
Add TTreeProcessorMP to LinkDef
ellert Jun 8, 2021
e8ac189
[RF] Set plot norm variables in RooAbsPdf::plotOn before using them
guitargeek Jun 7, 2021
cff4b09
[RF] Handle nullptr or empty norm set ambiguity in RooAbsReal::getVal
guitargeek Jun 8, 2021
2029dec
[RF] Add unit test for RooSimultaneous that covers #8307
guitargeek Jun 8, 2021
3c63384
Cosmetic changes in ALittleC++.md for better readability
YuryYury Jun 6, 2021
01c1c76
Fixing a typo in FittingHistograms.md
YuryYury Jun 6, 2021
5cb45ed
[DF] Fix Book with helper that takes no columns
eguiraud Jun 4, 2021
5ab00fc
[DF] Add test for Book with a helper that reads no columns
eguiraud Jun 7, 2021
0c06dfe
[rbox] use directly border and fill attributes
linev Jun 4, 2021
424b68d
[rcanvas] provide onframe/clipping attributes directly to drawables
linev Jun 8, 2021
876367a
[rcanvas] remove no-longer used RAttrBox and RAttrOnFrame classes
linev Jun 8, 2021
92cf13c
[rcanvas] enforce naming convention for attributes access
linev Jun 8, 2021
41e01c6
[rcanvas] intoroduce RAttrBorder class
linev Jun 8, 2021
afde14d
[rcanvas] use RAttrBorder for RFrame and RPave
linev Jun 8, 2021
a963bd2
[jsroot] dev 8/06/2021 with RAttrBorder support
linev Jun 8, 2021
28fc566
[ntuple] Register new performance counters in RPageSinkFile
jalopezg-git Jun 1, 2021
490710c
[ntuple,daos] Add performance counters to RPageSinkDaos
jalopezg-git Jun 1, 2021
27c8815
[TClass] Clarify ctor vs GetClass() (#8250) (NFC). [skip-ci] (#8384)
Axel-Naumann Jun 9, 2021
c72dcbf
protect fIsRunning from TThread, and fix typo
ferdymercury Jun 8, 2021
3744197
apply when stopping also, just in case
ferdymercury Jun 8, 2021
d3babea
use atomic to simplify
ferdymercury Jun 8, 2021
a5111eb
add atomic bool to suppression file
ferdymercury Jun 8, 2021
3d850fe
[skip-ci] Fix stressGUI and Makefile.win32
bellenot Jun 9, 2021
1acb202
JupyROOT: fixed bug closing the file descriptors caputring stderr and…
omazapa Jun 9, 2021
c44fe98
[DF] Add support for data-block callbacks in RDF
eguiraud Jun 3, 2021
7fb4e1e
[DF][NFC] Remove some trailing whitespaces
eguiraud Jun 4, 2021
01cfaf0
[DF] Add test for data-block callbacks
eguiraud Jun 10, 2021
267b8e7
[DF] Improve Snapshot branch-address-resetting logic
eguiraud Jun 4, 2021
fcba08b
[DF][NFC] Simplify SnapshotHelper[MT]::GetDataBlockCallback
eguiraud Jun 9, 2021
46590d9
[DF][NFC] Update some comments
eguiraud Jun 9, 2021
3f94894
[DF] Use different filenames in different test cases
eguiraud Jun 9, 2021
1469c34
[PyROOT] Remove setting of -mavx in EXTRA_CLING_ARGS
etejedor Jun 10, 2021
90fc263
Correct value of TLeaf*::GetDeserializeType and usage thereof.
pcanal Jun 2, 2021
d01a354
ReadBasketFast no longer required GetDeserializeType to be called exp…
pcanal Jun 2, 2021
4b61106
Extend BulkApiMultiple test to more data type
pcanal Jun 2, 2021
8055a20
Always accept to return the serialized buffer.
pcanal Jun 2, 2021
f99e10d
Modernize BulkApiMultiple test.
pcanal Jun 8, 2021
5248b58
Mark the 'unset' state of fDeserializeTypeCache.load as the unlikely …
pcanal Jun 8, 2021
d9e1585
[DF] Add RDisplay to LinkDef
eguiraud Jun 10, 2021
8f2ee58
[json] cast UTF8 string to const char *
linev Jun 10, 2021
6e7462b
[DF][NFC] Clarify comment
eguiraud Jun 10, 2021
c203562
[llvm] Suppress -Wmisleading-indentation note:
Axel-Naumann Jun 7, 2021
8cd38ed
Fix compilation on RHEL/CentOS 7 with gcc 4.8.5
ellert Jun 10, 2021
878cdba
[rcanvas] make draw option for TObject attribute value
linev Jun 10, 2021
62602e1
[rdrawable] extract ROOT colors from TAttLine, TAttFill, ...
linev Jun 10, 2021
a804570
[rdrawable] let use different csstype for TObjectDarable
linev Jun 10, 2021
df1608a
Let evaluate line attributes from css for TObjectDrawable
linev Jun 10, 2021
ec78ae8
[rdrawable] no need to extract draw option from TObject attributes
linev Jun 10, 2021
599d59f
[rdrawable] add basic attributes to TObjectDrawable
linev Jun 10, 2021
6f4fb3c
[jsroot] dev 10/06/2021 with TObjectDrawble attributes
linev Jun 10, 2021
2f2db89
[DF] Use ROOT_GENERATE_DICTIONARY properly in dataframe/test
eguiraud Jun 10, 2021
9e193c1
[DF] Add test for duplicate columns passed to Snapshot
eguiraud Jun 10, 2021
f6c7ef2
[DF] Throw if the same column is passed multiple times to Snapshot
eguiraud Jun 10, 2021
abe4a2e
Change the documentation of TQObject
bellenot Jun 11, 2021
5d8ea94
[RF] Remove useless interface in RooAbsFunc.
hageboeck May 7, 2021
1bd5845
[RF] Remove stray friend declaration.
hageboeck May 7, 2021
79bb8e6
[RF] Add RooAbsArg::setCachedValue.
hageboeck Nov 22, 2020
bf4b0a4
[RF] Add addTerm() function to RooProduct.
hageboeck May 29, 2020
127cc60
[HF] Add self-contained test for creating models.
hageboeck Jun 4, 2020
9a8bc8a
[HF] Add test of gamma parameters to testHistFactory.
hageboeck May 7, 2021
24cbf04
[RF] Optimise analytical integration of ParamHistFunc.
hageboeck Jun 5, 2020
28a2c32
[RF] React to custom binning when plotting data.
hageboeck Jun 9, 2020
0676d95
[RF] Add getBin(), totVolume(), evaluateSpan() to RooHistFunc.
hageboeck Jun 11, 2020
cf24112
[RF] Implement evaluateSpan for RooProduct.
hageboeck Oct 30, 2020
f469fd7
[HF] Make nominal model accessible in PiecewiseInterpolation.
hageboeck Oct 30, 2020
0ed9693
[RF] Add RooBinWidthFunction.
hageboeck Jun 11, 2020
5b788a4
[HF] Clean up / speed up bin calculation in ParamHistFunc.
hageboeck Nov 1, 2020
dc65afe
[HF] Rework histFactory logic to simplify models.
hageboeck Nov 1, 2020
fca7b9d
[HF] Silence a warning when combining channels with same constraints.
hageboeck Nov 2, 2020
a32a325
[HF] Implement PiecewiseInterpolation::evaluateSpan.
hageboeck Nov 15, 2020
1ecd30e
[RF] Implement RooRealSumPdf::evaluateSpan().
hageboeck Nov 22, 2020
8172963
[RF] Allow for broadcasting in RooProdPdf::evaluateSpan().
hageboeck Nov 22, 2020
41dcb21
[RF] Allow for broadcasting in RooAddPdf::evaluateSpan.
hageboeck Nov 22, 2020
ae7ad73
[RF] Implement batch evaluations for RooBinIntegrator.
hageboeck May 7, 2021
ea2a65f
[RF] Support batch evaluations with RunContext in RooRealBinding.
hageboeck May 7, 2021
c84193f
[HF] Implement batch evaluations in ParamHistFunc.
hageboeck May 7, 2021
1dcda9c
[RF] RooAbsData: Remove TH1F, fix memory leaks, improve string parsing.
hageboeck Jun 7, 2021
caf9c77
[RF] Check preconditions of RooDataHist::calcTreeIndex in debug builds.
hageboeck Jun 7, 2021
5ad86c5
[RF][NFC] Unify access to integrand in RooBinIntegrators constructor.
hageboeck Jun 7, 2021
af76bce
[HF] Use ROOT's make_unique in HistFactory.
hageboeck Jun 7, 2021
5dc31c8
[RF] Extend RooArg{Set|List}'s iterator constructor to accept pointers.
hageboeck Jun 7, 2021
03b6b16
[HF] Simplify histFactory code using new RooArgSet constructor.
hageboeck Jun 7, 2021
398a179
[TMVA SOFIE] Fast Inference Code Generation Initial Commit (#7544)
sitongan Jun 11, 2021
5b41ad1
[ntuple][doc] Add some RNTupleReader doc examples
mxxo Jun 10, 2021
5d633ab
[ntuple][doc] Add Reader::EnableMetrics example
mxxo Jun 10, 2021
348603d
[ntuple][doc] Fix Show usage in example
mxxo Jun 10, 2021
41fb91b
[ntuple][doc] Add GetView example
mxxo Jun 10, 2021
c16ca68
[ntuple][doc] Add RNTupleModel::MakeField examples
mxxo Jun 10, 2021
661baaf
Do not fire any RecursiveRemove calls by accident in TH1::LabelsInfla…
ponyisi Jun 11, 2021
78a2ef7
[DF] Allow using RDF Fill with types that do not inherit from TH1
eguiraud Jun 11, 2021
3842bc7
[DF] Add test for Fill with custom type
eguiraud Jun 11, 2021
ecbd6ce
[RF] New STL-compatible `add` and `overlaps` for RooAbsCollection
guitargeek Apr 16, 2021
3378eca
[RF] Add unit test for RooProdPdf::getPartIntList
guitargeek Jun 5, 2021
cee6cb5
[RF] Replace a nested RooLinkedList with std::list<RooLinkedList>
guitargeek Apr 16, 2021
1814f13
[RF] Reduce calls to RooAbsArg::treeNodeServerList in RooProdPdf
guitargeek Apr 16, 2021
ec3db50
[RF] Make depIntNoNormList in RooProdPdf::factorizeProduct a std::vector
guitargeek Apr 16, 2021
540b1f2
[RF] Make depAllList in RooProdPdf::factorizeProduct a std::vector
guitargeek Apr 16, 2021
bdf7502
[RF] Avoid construction RooArgSets in RooProdPdf::factorizeProduct
guitargeek Apr 16, 2021
6507138
[RF] Turn groupedTerms in RooProdPdf into a STL collection
guitargeek Apr 20, 2021
8c4e06c
[RF] Some code modernization in RooProdPdf
guitargeek Apr 20, 2021
c550567
[RF] Use RooHelpers::tokenise in RooAbsData::createHistogram()
guitargeek Jun 11, 2021
9cb05fd
[RF] Pythonized RooSimultaneous
harshal0815 Jun 11, 2021
ab04b4e
[RF] Pythonized RooFit tutorial files
harshal0815 Jun 11, 2021
e8ae2ce
[RF] Format code of RooFit python tutorials
harshal0815 Jun 11, 2021
6a7e318
[ntuple] Add the `RNTupleMetrics::GetLocalCounter()` member function
jalopezg-git Jun 10, 2021
d4e1e02
[ntuple] Provide a set of default performance counters in RPageSink/R…
jalopezg-git Jun 10, 2021
b58bc62
[ntuple] RPageStorage{File,Daos}: use the performance counters provid…
jalopezg-git Jun 10, 2021
89d5c80
[ntuple,c++20] Add explicit constructor in RSealedPage; fixes -std=c+…
jalopezg-git Jun 11, 2021
e7b32cf
[RF] Make ConditionalObservables accept RooRealVars directly
guitargeek Jun 11, 2021
b394d92
[RF] Refactor RooGlobalFuncs that process std::map
guitargeek Jun 10, 2021
e350003
[RF] Add overload of the Slice argument that takes map of categories
guitargeek Jun 10, 2021
2aff5a7
[RF][Tutorials] Avoid repeated command args in RooFit Tutorials
guitargeek Jun 10, 2021
afd421d
[RF] Avoid repeating command arguments in stressRooFit
guitargeek Jun 10, 2021
d69de72
Fixing a few typos in Trees.md (#8419)
YuryYury Jun 14, 2021
f22c865
[asimage] Port to Win64 (replace Long_t by Longptr_t + pointer format…
bellenot Jun 14, 2021
9ade39e
[graf] Port to Win64 (replace Long_t by Longptr_t + pointer formattin…
bellenot Jun 14, 2021
526096a
[gpad] Port to Win64 (replace Long_t by Longptr_t + pointer formattin…
bellenot Jun 14, 2021
87acb38
[graf3d] Port to Win64 (replace Long_t by Longptr_t + pointer formatt…
bellenot Jun 14, 2021
acb9383
[webgui] use less chrome processes when running headless
linev Jun 14, 2021
32df6e1
[webgui] add RUN_SERIAL to ping.cxx test
linev Jun 14, 2021
69d7d5b
[webgui] add more debug output for ping.cxx test running in batch
linev Jun 14, 2021
aab1062
[mathcore] Fix list init of vector<double>.
Axel-Naumann Jun 11, 2021
a00c905
Added a PR template file (#8423)
AdvaitDhingra Jun 14, 2021
b9ae6c3
[math] Port to Win64 (replace Long_t by Longptr_t + pointer formattin…
bellenot Jun 15, 2021
c65f3d9
Fix 'this' pointer is null warnings
ellert Jun 8, 2021
714896e
[NFC] Fix display of github PR template when checkboxes are empty
eguiraud Jun 15, 2021
1f68735
[core] Remove long-deprecated memstat, memcheck:
Axel-Naumann May 26, 2021
4116fca
[RF] Avoid using RooCmdArg::_nextSharedData directly in header file
guitargeek Jun 15, 2021
f3804af
Fix bug in using the pdf derivative in TUnuranContDist
lmoneta May 26, 2021
a3a8503
add new constructor for TUnuranContDist passing pdf, dpdf, cdf
lmoneta May 28, 2021
6ddcc0d
Fix drawing in df104 tutorial
linev Jun 16, 2021
1d91977
[RF] Fix copy-paste error in RooAddModel constructor and modernization
guitargeek Jun 15, 2021
923562b
correct syntax for preloading ACLiC library
pcanal Jun 16, 2021
1b7fd5a
[ntuple,daos] libdaos_mock: provide implementation for `daos_oclass_{…
jalopezg-git Jun 12, 2021
38a4c5d
[ntuple] Remove unused `OC_xxx` constants from libdaos_mock/daos.h
jalopezg-git Jun 12, 2021
5f564f1
[ntuple,daos] Minor changes in the RDaosContainer class interface
jalopezg-git Jun 12, 2021
4bc21b8
[ntuple,daos] RDaosContainer: allow specifying an object class
jalopezg-git Jun 12, 2021
ab70f6c
[rcanvas] Provide return type to RPadBase::Draw method
linev Jun 14, 2021
f1419eb
[rdrawable] provide new signatures for TObjectDrawable constructor
linev Jun 14, 2021
70db9df
[rdrawable] always call TH1::SetDirectory(nullptr) in TObjectDrawable
linev Jun 14, 2021
9bb07b2
[rdrawable] let extract THStack colors and axes colors from TH1
linev Jun 14, 2021
a6bebcd
[rcanvas] simplify RPad constructor
linev Jun 15, 2021
055a5cd
[rdrawable] Provide more signatures for TObjectDrawable constr
linev Jun 15, 2021
c0d6e4a
[raxis] adjust methods to naming conventions, add nolabels
linev Jun 15, 2021
822bcdc
[rprimitives] adjust primitives methods
linev Jun 15, 2021
49c57e1
[rdrawables] improve RPave, let draw errors in RLegend
linev Jun 15, 2021
a017040
[jsroot] dev 15/06/2021 with new v7 features
linev Jun 15, 2021
124b828
[tutorials] add first PyROOT tutorials for ROOT7 graphics
linev Jun 15, 2021
db144a4
[rdrawable] specially handle TF1 object in TObjectDrawable
linev Jun 16, 2021
5e2fa07
[rpad] do not try to oprimize dynamic_cast in RPadBase methods
linev Jun 16, 2021
897256b
[rdrawable] adjust TObjectDrawable internal methods
linev Jun 16, 2021
7a96014
[rdrawable] rename nolabels -> hidelabels in RAttrAxis
linev Jun 16, 2021
c4ea822
[RF] Fix warning: ‘arg’ shadows member of RooTemplateProxy
guitargeek Jun 16, 2021
36eeeba
[skip-ci] fix typos (#8455)
couet Jun 17, 2021
8ddd507
[NFC] Remove installation instructions from README, point to website
eguiraud Jun 17, 2021
9d401f0
[codeowners] Move CMake responsibility from Oksana to Bertrand.
Axel-Naumann Jun 17, 2021
48232ae
[skip-ci] Fix TMVA tutorials typos (#8460)
couet Jun 17, 2021
e411bdf
[rbrowsable] fix potential ownership problem
linev Jun 17, 2021
210de96
- simplify Doxyfile (#8451)
couet Jun 17, 2021
315c362
[IO] Take TBufferMerger out of the Experimental namespace
eguiraud Jun 16, 2021
87c65b0
[IO][NFC] Reformat long lines in TBufferMerger.{hxx,cxx}
eguiraud Jun 16, 2021
6f3dec8
Remove usages of deprecated spelling ROOT::Experimental::TBufferMerger
eguiraud Jun 16, 2021
f710392
[IO] Add ROOT::TBufferMerger[File] to LinkDef
eguiraud Jun 16, 2021
d431b80
[IO] Remove deprecated spelling Experimental::TBufferMerger from LinkDef
eguiraud Jun 17, 2021
6a1fc72
[rdrawable] fix bug in THStack handling
linev Jun 17, 2021
658994c
[rdrawable] let use non-owned object in TObjectDrawable
linev Jun 17, 2021
0f714b7
[RDF] adjust df105 tutorial to use proper drawing methods
linev Jun 17, 2021
db5185c
Introduce v7/df105.py tutorial
linev Jun 17, 2021
58a708f
[jsroot] dev 17/06/2021 with several fixes for TObjectDrawable
linev Jun 17, 2021
6419947
[rcanvas] introduce RPadBase::AddPad() method
linev Jun 17, 2021
6b4e7b3
[rcanvas] inctorduce RPadBase::AddFrame method
linev Jun 17, 2021
8aa2f14
Added Warning to TString constuctor
AdvaitDhingra Jun 14, 2021
a9d2405
TF1 CONV if statement fix
AdvaitDhingra Jun 14, 2021
f7ee1a3
Fix setting convolution range when using the CONV operator.
lmoneta May 26, 2021
a3c8cc0
fix handling of extra range for FFT convolution
lmoneta May 31, 2021
6d6989d
Fix a bug in TF1Convolution::SetExtraRange
lmoneta Jun 1, 2021
d93287c
Add a new static data member in TF1Convolution defining the default …
lmoneta Jun 16, 2021
47d84bc
[RF] Added pythonizations for RooFit DecayType enum and refactored ex…
harshal0815 Jun 17, 2021
e6e80d5
[RF] Pythonized and Formatted RooFit Tutorial Files
harshal0815 Jun 17, 2021
bacc1b5
[RF] Import remaining RooFit Python examples translated by Clemens Lange
guitargeek Jun 17, 2021
9bdc853
[RF] Add pythonization for RooAbsCollection::AddClone
guitargeek Jun 17, 2021
f7456d4
[RF] Don't use RooRealVar operator= because it doesn't work in pyROOT
guitargeek Jun 17, 2021
9d6be92
[RF] Syncronize new RooFit Python tutorials with C versions
guitargeek Jun 17, 2021
b188508
[skip-ci] move the group tutorials definition in tutorials/index.md (…
couet Jun 18, 2021
f0ca6a5
fix typo (#8480)
ferdymercury Jun 18, 2021
496601a
Add namespace to LinkDef
ellert Jun 12, 2021
645d3d0
[RF] Fix missing initializer warnings in MemPoolForRooSets.h
guitargeek Jun 16, 2021
ccdf269
[ntuple] Change the type of `RPageSink::fOptions` to `std::unique_ptr…
jalopezg-git Jun 16, 2021
936de99
[ntuple] Move string serialization functions to RNTupleUtil
jalopezg-git Jun 16, 2021
94a2228
[ntuple,daos] Use a fixed object class to generate ntuple-metadata OIDs
jalopezg-git Jun 16, 2021
e32c215
[ntuple,daos] Enable customization of object class for user data OIDs
jalopezg-git Jun 16, 2021
9b4c7da
[ntuple,daos] Add `RNTupleWriteOptionsDaos` unit test
jalopezg-git Jun 16, 2021
14b8e83
[ntuple,daos] Change default object class for user data OIDs `OC_RP_X…
jalopezg-git Jun 16, 2021
66278e4
[rdrawable] use union in RAttrBase class for exclusive members
linev Jun 18, 2021
478e160
[rattr] split RAttrValue and RAttrAggregation class
linev Jun 18, 2021
b4b858f
[rattr] extract RAttrAggregation in separate incluse/source files
linev Jun 18, 2021
398ec56
[rattr] remove unused RAttrBase::GetValue() methods
linev Jun 18, 2021
fb8efa4
[rattr] use const char* to keep name/prefix values
linev Jun 18, 2021
02f5188
[rattr] add plain RAttrValue tests
linev Jun 18, 2021
5803fef
[rattr] always set prefix for RAttrValue
linev Jun 18, 2021
68270d5
[rattr] simplify default values collection and handling
linev Jun 18, 2021
76fa200
[PyROOT] Provide an explanatory error message when pickling cross-inh…
etejedor Jun 18, 2021
19929b6
Update concurrentfill.cxx (#8492)
cxwx Jun 21, 2021
7a21712
Revert "Update concurrentfill.cxx (#8492)"
linev Jun 21, 2021
4f0a530
[RF] Add missing nullptr check to removeCommon helper in RooProdPdf
guitargeek Jun 18, 2021
855fd44
[RF] Fix missing initializer warnings in MemPoolForRooSets.h (2nd try)
guitargeek Jun 21, 2021
aa4efb7
TTree::GetEntry() entry parameter default value fix (#8425)
AdvaitDhingra Jun 21, 2021
05bc521
[RF][Tutorials] Avoid race condition in RooFit python tutorials
guitargeek Jun 21, 2021
d1b4256
[RF][Tutorials] Rename output file of rf502_wspacewrite_py
guitargeek Jun 21, 2021
498ad04
[cmake] update urls in windows installer
linev Jun 22, 2021
e1bdaf6
Implement SetStats for TGraph. (#8498)
couet Jun 22, 2021
71e0b99
Remove stray debug print out.
pcanal Jun 22, 2021
e1da585
[skip-ci] Fix a few typos in roofit (#8508)
couet Jun 23, 2021
d026b49
[cling] Also fwd decl underlying type of using decls:
Axel-Naumann Jun 22, 2021
4ccd20e
[JupyROOT][6974] Import get_ipython explicitly in JsMVA
etejedor Jun 23, 2021
86f17eb
RANLUX++: Add compatibility engines (#8383)
hahnjo Jun 23, 2021
00b1368
[RF] Fix warning about sigma parameter shadowing RooCrystalBall member
guitargeek Jun 4, 2021
f109862
[RF] Fix warning about getObservables member shadowing in RooProdPdf
guitargeek Jun 19, 2021
8ed10cb
[RRawFileDavix] Silence 'maybe uninitialized' warning
jblomer Jun 18, 2021
d8e3ac5
[RRawFileDavix] Use C++ native initialization of Davix struct
jblomer Jun 18, 2021
2c0f22e
[RRawFileDavix] Use vector for RRawFileDavix::ReadVImpl I/O structs
jblomer Jun 23, 2021
d5e2aa0
add clang-format job
egpbos Jun 23, 2021
303f586
trigger on pull_request without branch specified
egpbos Jun 23, 2021
3f604f6
fetch all history and tags so we can compare for clang-format
egpbos Jun 23, 2021
8bcd2c1
try to separately pull in master
egpbos Jun 23, 2021
036272e
change to fetch
egpbos Jun 23, 2021
8221f2f
pass in BASE_COMMIT using a github actions variable
egpbos Jun 24, 2021
c0f2291
actually point to base SHA instead of head SHA
egpbos Jun 24, 2021
170826e
fetch base ref
egpbos Jun 24, 2021
bd2d072
install clang tools to also get git-clang-format
egpbos Jun 24, 2021
88fd751
install clang-format instead
egpbos Jun 24, 2021
d424b5d
revert format_script.sh change
egpbos Jun 24, 2021
f4dcfe1
pass BASE_COMMIT to format_script.sh
egpbos Jun 24, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .ci/format_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

set -ex

BASE_COMMIT=$(git rev-parse $TRAVIS_BRANCH)
echo "Running clang-format against branch $TRAVIS_BRANCH, with hash $BASE_COMMIT"
COMMIT_FILES=$(git diff --name-only $BASE_COMMIT | grep -i -v LinkDef)
RESULT_OUTPUT="$(git-clang-format --commit $BASE_COMMIT --diff --binary `which clang-format` $COMMIT_FILES)"
Expand Down
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
/gui/canvaspainter/ @Axel-Naumann @linev
/ui5/ @linev

/cmake/ @oshadura
*.cmake @oshadura
*/CMakeLists.txt @oshadura
CMakeLists.txt @oshadura
/cmake/ @bellenot
*.cmake @bellenot
*/CMakeLists.txt @bellenot
CMakeLists.txt @bellenot
12 changes: 12 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This Pull request:

## Changes or fixes:


## Checklist:

- [ ] tested changes locally
- [ ] updated the docs (if necessary)

This PR fixes #

23 changes: 23 additions & 0 deletions .github/workflows/code_analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: clang-tools code analysis

on: pull_request
# push:
# branches: [ $default-branch ]
# pull_request:
# branches: [ $default-branch ]

jobs:
clang-format:
runs-on: ubuntu-latest
env:
TRAVIS_BRANCH: ${{ github.base_ref }}
TRAVIS_PULL_REQUEST_BRANCH: ${{ github.head_ref }}
BASE_COMMIT: ${{ github.event.pull_request.base.sha }}
steps:
- uses: actions/checkout@v2
- name: Fetch base_ref HEAD
run: git fetch --depth=1 origin +refs/heads/${{github.base_ref}}:refs/remotes/origin/${{github.base_ref}}
- name: install clang-format
run: sudo apt-get install -y clang-format
- name: run clang-format script
run: .ci/format_script.sh
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ matrix:
include:
- env: TOOL=clang-format
script: &format_script
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then .ci/format_script.sh; fi
- |
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
export BASE_COMMIT=$(git rev-parse $TRAVIS_BRANCH)
.ci/format_script.sh
fi

- env: TOOL=clang-tidy-analyzer
before_script: &copy_headers
Expand Down
9 changes: 4 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 1995-2019, Rene Brun and Fons Rademakers.
# Copyright (C) 1995-2021, Rene Brun and Fons Rademakers.
# All rights reserved.
#
# For the licensing terms see $ROOTSYS/LICENSE.
Expand Down Expand Up @@ -649,11 +649,10 @@ if(testing)
endif()
endif()

if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.10.0")
if (${CMAKE_MINIMUM_REQUIRED_VERSION} VERSION_GREATER_EQUAL "3.10.0")
message(FATAL_ERROR "Remove this condition")
endif()
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.10.0")
cmake_host_system_information(RESULT PROCESSOR QUERY PROCESSOR_DESCRIPTION)
else()
set(PROCESSOR ${CMAKE_HOST_SYSTEM_PROCESSOR})
endif()

message(STATUS "ROOT Configuration \n
Expand Down
29 changes: 4 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,32 +51,11 @@ These screenshots shows some of the plots (produced using ROOT) presented when t

See more screenshots on our [gallery](https://root.cern/gallery).

## Download and Getting Started
See [root.cern download page](https://root.cern/downloading-root) for the latest binary releases.
## Installation and Getting Started
See https://root.cern/install for installation instructions.
For instructions on how to build ROOT from these source files, see https://root.cern/install/build_from_source.

[Getting started with ROOT.](https://root.cern/get_started)

## Building
Clone the repo

$ git clone https://github.com/root-project/root.git

Make a directory for building

$ mkdir build
$ cd build

Run cmake and make

$ cmake ../root
$ make -j n # where n is the number of cores

Setup and run ROOT

$ source bin/thisroot.sh
$ root

[More information](https://root.cern/building-root) regarding building.
Our ["Getting started with ROOT"](https://root.cern/get_started) page is then the perfect place to get familiar with ROOT.

## Help and Support
- [Forum](https://root.cern/forum/)
Expand Down
2 changes: 2 additions & 0 deletions README/ReleaseNotes/v626/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ The following people have contributed to this new version:

## Histogram Libraries

- Implement the `SetStats` method for `TGraph` to turn ON or OFF the statistics box display
for an individual `TGraph`.

## Math Libraries

Expand Down
3 changes: 2 additions & 1 deletion bindings/jsmva/python/JsMVA/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# @package JsMVA
# @author Attila Bagoly <[email protected]>

from IPython import get_ipython
from IPython.core.extensions import ExtensionManager

## This function will register JsMVAMagic class to ipython
Expand All @@ -11,4 +12,4 @@ def loadExtensions():
extMgr = ExtensionManager(ip)
extMgr.load_extension("JsMVA.JsMVAMagic")

loadExtensions()
loadExtensions()
11 changes: 1 addition & 10 deletions bindings/jupyroot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,7 @@ foreach(val RANGE ${how_many_pythons})
target_link_libraries(${libname} PUBLIC -Wl,--unresolved-symbols=ignore-all Core)
endif()

target_include_directories(${libname} PRIVATE ${python_include_dir})

# Disables warnings originating from deprecated register keyword in Python
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_CXX_STANDARD GREATER_EQUAL 11)
target_compile_options(${libname} PRIVATE -Wno-register)
endif()
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" AND CMAKE_CXX_STANDARD GREATER_EQUAL 11)
target_compile_options(${libname} PRIVATE -Wno-register)
target_compile_options(${libname} PRIVATE -Wno-deprecated-register)
endif()
target_include_directories(${libname} SYSTEM PRIVATE ${python_include_dir})

# Compile .py files
foreach(py_source ${py_sources})
Expand Down
7 changes: 6 additions & 1 deletion bindings/jupyroot/src/IOHandler.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ static void InitCaptureImpl(int &savedStdStream, int *pipeHandle, int FILENO)
fcntl(pipeHandle[0], F_SETPIPE_SZ, MAX_PIPE_SIZE);
#endif
dup2(pipeHandle[1], FILENO);
close(pipeHandle[1]);
}

void JupyROOTExecutorHandler::InitCapture()
Expand All @@ -123,6 +122,12 @@ void JupyROOTExecutorHandler::EndCapture()
Poll();
dup2(fSaved_stdout, STDOUT_FILENO);
dup2(fSaved_stderr, STDERR_FILENO);
close(fSaved_stdout);
close(fSaved_stderr);
close(fStdout_pipe[0]);
close(fStdout_pipe[1]);
close(fStderr_pipe[0]);
close(fStderr_pipe[1]);
fCapturing = false;
}
}
Expand Down
13 changes: 3 additions & 10 deletions bindings/pyroot/cppyy/CPyCppyy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,26 +82,19 @@ foreach(val RANGE ${how_many_pythons})
target_compile_options(${libname} PRIVATE -Wno-cast-function-type)
endif()

# Disables warnings originating from deprecated register keyword in Python
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_CXX_STANDARD GREATER_EQUAL 11)
target_compile_options(${libname} PRIVATE -Wno-register)
endif()
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" AND CMAKE_CXX_STANDARD GREATER_EQUAL 11)
target_compile_options(${libname} PRIVATE -Wno-register)
target_compile_options(${libname} PRIVATE -Wno-deprecated-register)
endif()

# Disables warnings due to new field tp_vectorcall in Python 3.8
if(NOT MSVC AND ${python_version_string} VERSION_GREATER_EQUAL "3.8")
target_compile_options(${libname} PRIVATE -Wno-missing-field-initializers)
endif()

target_include_directories(${libname}
SYSTEM PUBLIC ${python_include_dir})

target_include_directories(${libname}
PRIVATE
${CMAKE_SOURCE_DIR}/core/foundation/inc # needed for string_view backport
${CMAKE_BINARY_DIR}/ginclude
PUBLIC
${python_include_dir}
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
)
Expand Down
100 changes: 61 additions & 39 deletions bindings/pyroot/cppyy/CPyCppyy/src/Pythonize.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -653,19 +653,38 @@ PyObject* MapContains(PyObject* self, PyObject* obj)
return result;
}


//- STL container iterator support --------------------------------------------
static const ptrdiff_t PS_END_ADDR = 7; // non-aligned address, so no clash
static const ptrdiff_t PS_FLAG_ADDR = 11; // id.
static const ptrdiff_t PS_COLL_ADDR = 13; // id.

PyObject* StlSequenceIter(PyObject* self)
{
// Implement python's __iter__ for std::iterator<>s
PyObject* iter = PyObject_CallMethodObjArgs(self, PyStrings::gBegin, nullptr);
if (iter) {
PyObject* end = PyObject_CallMethodObjArgs(self, PyStrings::gEnd, nullptr);
if (end)
PyObject_SetAttr(iter, PyStrings::gEnd, end);
Py_XDECREF(end);

// add iterated collection as attribute so its refcount stays >= 1 while it's being iterated over
PyObject_SetAttr(iter, CPyCppyy_PyText_FromString("_collection"), self);
if (end) {
if (CPPInstance_Check(iter)) {
// use the data member cache to store extra state on the iterator object,
// without it being visible on the Python side
auto& dmc = ((CPPInstance*)iter)->GetDatamemberCache();
dmc.push_back(std::make_pair(PS_END_ADDR, end));

// set a flag, indicating first iteration (reset in __next__)
Py_INCREF(Py_False);
dmc.push_back(std::make_pair(PS_FLAG_ADDR, Py_False));

// make sure the iterated over collection remains alive for the duration
Py_INCREF(self);
dmc.push_back(std::make_pair(PS_COLL_ADDR, self));
} else {
// could store "end" on the object's dictionary anyway, but if end() returns
// a user-customized object, then its __next__ is probably custom, too
Py_DECREF(end);
}
}
}
return iter;
}
Expand Down Expand Up @@ -856,44 +875,47 @@ Py_hash_t StlStringHash(PyObject* self)
PyObject* StlIterNext(PyObject* self)
{
// Python iterator protocol __next__ for STL forward iterators.
PyObject* next = nullptr;
PyObject* last = PyObject_GetAttr(self, PyStrings::gEnd);
bool mustIncrement = true;
PyObject* last = nullptr;
if (CPPInstance_Check(self)) {
auto& dmc = ((CPPInstance*)self)->GetDatamemberCache();
for (auto& p: dmc) {
if (p.first == PS_END_ADDR) {
last = p.second;
Py_INCREF(last);
} else if (p.first == PS_FLAG_ADDR) {
mustIncrement = p.second == Py_True;
if (!mustIncrement) {
Py_DECREF(p.second);
Py_INCREF(Py_True);
p.second = Py_True;
}
}
}
}

PyObject* next = nullptr;
if (last) {
// handle special case of empty container (i.e. self is end)
if (PyObject_RichCompareBool(last, self, Py_EQ) == 0) {
// first, get next from the _current_ iterator as internal state may change
// when call post or pre increment
next = PyObject_CallMethodObjArgs(self, PyStrings::gDeref, nullptr);
if (!next) PyErr_Clear();

// use postinc, even as the C++11 range-based for loops prefer preinc b/c
// that allows the current value from the iterator to be had from __deref__,
// an issue that does not come up in C++
static PyObject* dummy = PyInt_FromLong(1l);
PyObject* iter = PyObject_CallMethodObjArgs(self, PyStrings::gPostInc, dummy, nullptr);
if (!iter) {
// allow preinc, as in that case likely __deref__ is not defined and it
// is the iterator rather that is returned in the loop
PyErr_Clear();
iter = PyObject_CallMethodObjArgs(self, PyStrings::gPreInc, nullptr);
}
if (iter) {
// prefer != as per C++11 range-based for
int isNotEnd = PyObject_RichCompareBool(last, iter, Py_NE);
if (isNotEnd && !next) {
// if no dereference, continue iterating over the iterator
Py_INCREF(iter);
next = iter;
if (!PyObject_RichCompareBool(last, self, Py_EQ)) {
bool iter_valid = true;
if (mustIncrement) {
// prefer preinc, but allow post-inc; in both cases, it is "self" that has
// the updated state to dereference
PyObject* iter = PyObject_CallMethodObjArgs(self, PyStrings::gPreInc, nullptr);
if (!iter) {
PyErr_Clear();
static PyObject* dummy = PyInt_FromLong(1l);
iter = PyObject_CallMethodObjArgs(self, PyStrings::gPostInc, dummy, nullptr);
}
Py_DECREF(iter);
} else {
// fail current next, even if available
Py_XDECREF(next);
next = nullptr;
iter_valid = iter && PyObject_RichCompareBool(last, self, Py_NE);
Py_XDECREF(iter);
}

if (iter_valid) {
next = PyObject_CallMethodObjArgs(self, PyStrings::gDeref, nullptr);
if (!next) PyErr_Clear();
}
} else {
PyErr_SetString(PyExc_StopIteration, "");
}
Py_DECREF(last);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,7 @@ def set_cling_compile_options(add_defaults = False):
CURRENT_ARGS = os.environ['EXTRA_CLING_ARGS']

if add_defaults:
has_avx = False
try:
with open('/proc/cpuinfo', 'r') as ci:
for line in ci:
if 'avx' in line:
has_avx = True
break
except Exception:
try:
cli_arg = subprocess.check_output(['sysctl', 'machdep.cpu.features'])
has_avx = 'avx' in cli_arg.decode("utf-8").strip().lower()
except Exception:
pass
CURRENT_ARGS += ' -O2'
if has_avx: CURRENT_ARGS += ' -mavx'
os.putenv('EXTRA_CLING_ARGS', CURRENT_ARGS)
os.environ['EXTRA_CLING_ARGS'] = CURRENT_ARGS

Expand Down
15 changes: 4 additions & 11 deletions bindings/pyroot/pythonizations/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,23 +111,16 @@ foreach(val RANGE ${how_many_pythons})
endif()

target_include_directories(${libname}
PRIVATE ${python_include_dir}
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc>)
SYSTEM PRIVATE ${python_include_dir})

target_include_directories(${libname}
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc>)

# Disables warnings caused by Py_RETURN_TRUE/Py_RETURN_FALSE
if(NOT MSVC)
target_compile_options(${libname} PRIVATE -Wno-strict-aliasing)
endif()

# Disables warnings originating from deprecated register keyword in Python
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_CXX_STANDARD GREATER_EQUAL 11)
target_compile_options(${libname} PRIVATE -Wno-register)
endif()
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" AND CMAKE_CXX_STANDARD GREATER_EQUAL 11)
target_compile_options(${libname} PRIVATE -Wno-register)
target_compile_options(${libname} PRIVATE -Wno-deprecated-register)
endif()

# Compile .py files
foreach(py_source ${py_sources})
install(CODE "execute_process(COMMAND ${python_executable} -m py_compile ${localruntimedir}/${py_source})")
Expand Down
Loading