office-gobmx/compilerplugins/clang
Ashod Nakashian b31c39cbc8 desktop: disable callback handling while changing the view
When changing the view, some components are disabled
and re-enabled. This triggers a flood of invalidations
that then result in rendering requests. For each rendering
the view is set, which triggers more invalidations.

The Sidebar suffers from this, and it causes cpu pegging.
This fix prevents this issue by disabling all callbacks
during setView.

Change-Id: If6b93b2ab31f568a0761f15d945a43de1bc2d4d0
Reviewed-on: https://gerrit.libreoffice.org/84184
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/84226
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2019-12-03 09:47:25 +01:00
..
sharedvisitor compilerplugins: fix ambiguous type warnings 2019-11-18 13:56:08 +01:00
store Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
test ...and take implicit const casts into account 2019-11-30 14:59:33 +01:00
automem.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
badstatics.cxx Extend loplugin:external to warn about classes 2019-11-22 12:57:32 +01:00
blockblock.cxx
bufferadd.cxx Fix call to NamedDecl::getName 2019-10-23 22:07:32 +02:00
buriedassign.cxx
casttovoid.cxx
changetoolsgen.cxx
charrightshift.cxx
check.cxx New loplugin:getstr 2019-10-14 15:48:38 +02:00
check.hxx New loplugin:getstr 2019-10-14 15:48:38 +02:00
checkconfigmacros.cxx disable checkconfigmacros compiler check for UnpackedTarball 2019-11-27 09:55:08 +01:00
checkunusedparams.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
classmemaccess.cxx Can use pointer to const here 2019-10-15 11:26:26 +02:00
collapseif.cxx
commaoperator.cxx
comparisonwithconstant.cxx
compat.hxx Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename 2019-11-26 07:12:38 +01:00
conditionalstring.cxx Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename 2019-11-26 07:12:38 +01:00
constantparam.bitmask.results loplugin:constantparam 2019-10-22 14:14:48 +02:00
constantparam.booleans.results loplugin:constantparam 2019-10-22 14:14:48 +02:00
constantparam.constructors.results loplugin:constantparam 2019-10-22 14:14:48 +02:00
constantparam.cxx Make base of loplugin::FunctionAddress more flexible 2019-11-11 17:29:06 +01:00
constantparam.numbers.results Introduce o3tl::optional as an alias for std::optional 2019-12-01 14:57:16 +01:00
constantparam.py
constfields.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
constfields.py
constfieldsrewrite.cxx fix various warnings in compilerplugins 2019-10-07 21:56:55 +02:00
constmethod.cxx Make base of loplugin::FunctionAddress more flexible 2019-11-11 17:29:06 +01:00
constparams.cxx Make base of loplugin::FunctionAddress more flexible 2019-11-11 17:29:06 +01:00
conststringvar.cxx
consttobool.cxx Missing includes 2019-11-18 17:29:17 +01:00
constvars.cxx loplugin:constvars, look for loop vars that can be const 2019-08-21 11:16:15 +02:00
convertlong.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
countusersofdefaultparams.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
countusersofdefaultparams.py
cppunitassertequals.cxx
cstylecast.cxx
data.cxx
datamembershadow.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
dbgunhandledexception.cxx fix various warnings in compilerplugins 2019-10-07 21:56:55 +02:00
derefnullptr.cxx
dllprivate.cxx
dodgyswitch.cxx
doubleconvert.cxx Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename 2019-11-26 07:12:38 +01:00
duplicate-defines.cxx Fix loplugin::Entry ODR violation 2019-11-16 16:48:33 +01:00
dyncastvisibility.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
dynexcspec.cxx
empty.cxx fix various warnings in compilerplugins 2019-10-07 21:56:55 +02:00
emptyif.cxx
expandablemethods.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
expandablemethods.py
expressionalwayszero.cxx
external.cxx Extend loplugin:external to warn about classes 2019-11-22 12:57:32 +01:00
externandnotdefined.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
externvar.cxx
faileddyncast.cxx
fakebool.cxx Fix loplugin:fakebool (clang-cl) 2019-11-19 21:34:45 +01:00
finalclasses.cxx loplugin:finalclasses fix check 2019-10-29 09:01:02 +01:00
finalclasses.py
finalprotected.cxx
flatten.cxx replace throw with abort 2019-10-06 16:57:23 +02:00
fragiledestructor.cxx improve and enable loplugin:fragiledestructor 2019-09-19 11:42:47 +02:00
functionaddress.hxx Make base of loplugin::FunctionAddress more flexible 2019-11-11 17:29:06 +01:00
getimplementationname.cxx fix various warnings in compilerplugins 2019-10-07 21:56:55 +02:00
getstr.cxx There doesn't need to be a TemplateSpecializationType here 2019-10-22 07:18:49 +02:00
implicitboolconversion.cxx Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename 2019-11-26 07:12:38 +01:00
includeform.cxx
indentation.cxx loplugin:indentation no longer needs to blacklist binaryurp/source/bridge.cxx 2019-11-26 11:28:07 +01:00
inlinefields.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
inlinefields.py
inlinesimplememberfunctions.cxx
inlinevisible.cxx
intvsfloat.cxx
literaltoboolconversion.cxx
logexceptionnicely.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
loopvartoosmall.cxx
mapindex.cxx use shared-plugin infra for some recent plugins 2019-08-26 13:48:13 +02:00
memoryvar.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
mergeclasses.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
mergeclasses.py loplugin:mergeclasses 2019-11-30 21:33:01 +01:00
mergeclasses.results loplugin:mergeclasses 2019-11-30 21:33:01 +01:00
methodcycles.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
methodcycles.partition.results loplugin:methodcycles 2019-10-04 08:54:02 +02:00
methodcycles.py loplugin:methodcycles 2019-10-04 08:54:02 +02:00
methodcycles.results loplugin:methodcycles 2019-10-04 08:54:02 +02:00
nestedunnamed.cxx
noexceptmove.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
nullptr.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
oncevar.cxx
oslendian.cxx
overrideparam.cxx remove newly unused SvxCheckListBox 2019-07-30 21:14:11 +02:00
overridevirtual.cxx
pahole-all-classes.py
passparamsbyref.cxx
passstuffbyref.cxx
plugin.cxx Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename 2019-11-26 07:12:38 +01:00
plugin.hxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
pluginhandler.cxx llvm::make_unique is gone from LLVM trunk 2019-08-21 12:37:36 +02:00
pluginhandler.hxx
pointerbool.cxx
precompiled_clang.hxx use PCH for clang plugin source too, if enabled 2019-10-15 16:02:40 +02:00
privatebase.cxx
ptrvector.cxx
rangedforcopy.cxx
readability-redundant-pp.cxx Improve loplugin:redundantpreprocessor performance a bit 2019-11-16 16:55:36 +01:00
redundantcast.cxx loplugin:redundantcast: Don't warn about cast from nullptr_t to function ptr 2019-11-04 17:20:28 +01:00
redundantfcast.cxx Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename 2019-11-26 07:12:38 +01:00
redundantinline.cxx
redundantpointerops.cxx Fix detection of std::unique_ptr/shared_ptr in loplugin:redundantpointerops 2019-10-10 08:41:06 +02:00
refcounting.cxx Extend loplugin:external to warn about classes 2019-11-22 12:57:32 +01:00
referencecasting.cxx Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename 2019-11-26 07:12:38 +01:00
rendercontext.cxx
reservedid.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
returnconstant.cxx Make base of loplugin::FunctionAddress more flexible 2019-11-11 17:29:06 +01:00
returnconstval.cxx use shared-plugin infra for some recent plugins 2019-08-26 13:48:13 +02:00
salcall.cxx
sallogareas.cxx
salunicodeliteral.cxx
selfinit.cxx
sequenceloop.cxx Improve loplugin:sequenceloop diagnostic advice 2019-09-25 22:14:02 +02:00
sequentialassign.cxx
sfxpoolitem.cxx
shouldreturnbool.cxx Make base of loplugin::FunctionAddress more flexible 2019-11-11 17:29:06 +01:00
simplifybool.cxx Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename 2019-11-26 07:12:38 +01:00
simplifyconstruct.cxx Use compat::IgnoreImplicit 2019-09-05 14:13:33 +02:00
simplifydynamiccast.cxx
singlevalfields.could-be-bool.results loplugin:singlevalfields 2019-11-16 20:19:54 +01:00
singlevalfields.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
singlevalfields.py loplugin:singlevalfields 2019-11-16 20:19:54 +01:00
singlevalfields.results loplugin:singlevalfields 2019-11-16 20:19:54 +01:00
staticaccess.cxx
staticanonymous.cxx
staticconstfield.cxx
staticmethods.cxx Extend loplugin:external to warn about classes 2019-11-22 12:57:32 +01:00
staticvar.cxx
stdfunction.cxx New loplugin:stdfunction 2019-08-28 12:47:21 +02:00
stringadd.cxx Fix StringAdd::isCompileTimeConstant 2019-10-31 09:14:39 +01:00
stringbuffer.cxx Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename 2019-11-26 07:12:38 +01:00
stringconcatauto.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
stringconcatliterals.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
stringconstant.cxx Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename 2019-11-26 07:12:38 +01:00
stringloop.cxx
stringstatic.cxx Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename 2019-11-26 07:12:38 +01:00
subtlezeroinit.cxx
typedefparam.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
unicodetochar.cxx
unnecessarycatchthrow.cxx
unnecessaryoverride.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
unnecessaryparen.cxx ...and take implicit const casts into account 2019-11-30 14:59:33 +01:00
unnecessaryvirtual-dead.results loplugin:unnecessaryvirtual 2019-11-06 20:03:32 +01:00
unnecessaryvirtual.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
unnecessaryvirtual.py
unnecessaryvirtual.results unnecessary virtual 2019-11-29 18:10:48 +01:00
unoany.cxx Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename 2019-11-26 07:12:38 +01:00
unoquery.cxx Adapt to clang::MaterializeTemporaryExpr::GetTemparyExpr rename 2019-11-26 07:12:38 +01:00
unreffun.cxx
unusedenumconstants.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
unusedenumconstants.py loplugin:unusedenumconstants 2019-11-19 20:11:30 +01:00
unusedenumconstants.readonly.results loplugin:unusedenumconstants 2019-11-19 20:11:30 +01:00
unusedenumconstants.untouched.results loplugin:unusedenumconstants 2019-11-19 20:11:30 +01:00
unusedenumconstants.writeonly.results loplugin:unusedenumconstants 2019-11-19 20:11:30 +01:00
unusedfields.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
unusedfields.only-used-in-constructor.results loplugin:unusedfields 2019-11-21 18:27:56 +01:00
unusedfields.py loplugin:unusedfields 2019-11-16 12:27:59 +01:00
unusedfields.readonly.results loplugin:unusedfields 2019-11-21 18:27:56 +01:00
unusedfields.untouched.results loplugin:unusedfields 2019-11-21 18:27:56 +01:00
unusedfields.writeonly.results loplugin:unusedfields 2019-11-21 18:27:56 +01:00
unusedfieldsremove.cxx fix various warnings in compilerplugins 2019-10-07 21:56:55 +02:00
unusedindex.cxx
unusedmethods.cxx loplugin:unusedmethods 2019-11-20 09:59:17 +01:00
unusedmethods.py loplugin:unusedmethods 2019-11-30 21:32:46 +01:00
unusedmethods.results desktop: disable callback handling while changing the view 2019-12-03 09:47:25 +01:00
unusedmethods.unused-returns.results loplugin:unusedmethods 2019-11-17 07:15:22 +01:00
unusedmethodsremove.cxx fix various warnings in compilerplugins 2019-10-07 21:56:55 +02:00
unusedvariablecheck.cxx loplugin:unusedvariablecheck tweak to find more stuff 2019-11-06 10:47:15 +01:00
unusedvariablecheck.hxx
unusedvariablemore.cxx
useuniqueptr.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
vclwidgets.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
virtualdead.cxx loplugin:virtualdead look for virtual methods where a param is unused 2019-10-17 16:51:07 +02:00
virtualdead.py loplugin:virtualdead look for virtual methods where a param is unused 2019-10-17 16:51:07 +02:00
virtualdead.results loplugin:virtualdead look for virtual methods where a param is unused 2019-10-17 16:51:07 +02:00
virtualdead.unusedparams.results loplugin:virtualdead unused param in ResourceChangeListener 2019-10-22 08:14:02 +02:00
virtualdown.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
virtualdown.py
virtualdown.results
weakbase.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00
weakobject.cxx
writeonlyvars.cxx better name for a function in compilerplugins 2019-10-08 20:46:36 +02:00