[Libreoffice-commits] core.git: avmedia/source basctl/source chart2/source cui/source sc/source sd/source sfx2/source svtools/source svx/source sw/source

Muhammet Kara muhammet.kara at pardus.org.tr
Mon May 16 01:07:09 UTC 2016


 avmedia/source/framework/soundhandler.cxx           |    1 +
 basctl/source/dlged/dlged.cxx                       |    1 +
 chart2/source/view/charttypes/GL3DBarChart.cxx      |    1 +
 cui/source/dialogs/thesdlg.cxx                      |    1 +
 cui/source/options/optjava.cxx                      |    1 +
 sc/source/core/tool/chartlis.cxx                    |    2 ++
 sc/source/ui/app/scmod.cxx                          |    2 ++
 sc/source/ui/formdlg/dwfunctr.cxx                   |    1 +
 sc/source/ui/pagedlg/tphfedit.cxx                   |    4 +++-
 sd/source/ui/slidesorter/controller/SlsAnimator.cxx |    2 +-
 sd/source/ui/view/sdview.cxx                        |    2 ++
 sfx2/source/appl/newhelp.cxx                        |    3 +++
 svtools/source/contnr/imivctl1.cxx                  |    5 +++++
 svx/source/dialog/fontwork.cxx                      |    1 +
 svx/source/dialog/graphctl.cxx                      |    1 +
 svx/source/svdraw/svdibrow.cxx                      |    1 +
 sw/source/ui/envelp/labfmt.cxx                      |    1 +
 sw/source/uibase/docvw/srcedtw.cxx                  |    3 ++-
 sw/source/uibase/utlui/unotools.cxx                 |    1 +
 19 files changed, 31 insertions(+), 3 deletions(-)

New commits:
commit 98505584ba3f324e36800704bbdacc2b7cf0ef71
Author: Muhammet Kara <muhammet.kara at pardus.org.tr>
Date:   Sun May 1 08:34:58 2016 +0300

    Give unique, comprehensible names to idles tdf#97087
    
    Timers and idles should have programmer comprehensible, unique names.
    
    Change-Id: Ida131a4e3ddb7f065d876d78dd501fa831d4cf4a
    Reviewed-on: https://gerrit.libreoffice.org/24605
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx
index 40c2c76..c86583c 100644
--- a/avmedia/source/framework/soundhandler.cxx
+++ b/avmedia/source/framework/soundhandler.cxx
@@ -145,6 +145,7 @@ SoundHandler::SoundHandler()
         ,   ::cppu::OWeakObject (          )
         // Init member
     ,   m_bError        ( false    )
+    ,   m_aUpdateIdle   ( "avmedia SoundHandler Update" )
 {
     m_aUpdateIdle.SetIdleHdl(LINK(this, SoundHandler, implts_PlayerNotify));
 }
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index a5f2542..fc4fab0 100644
--- a/basctl/source/dlged/dlged.cxx
+++ b/basctl/source/dlged/dlged.cxx
@@ -196,6 +196,7 @@ DlgEditor::DlgEditor (
     ,bGridSnap(true)
     ,bCreateOK(true)
     ,bDialogModelChanged(false)
+    ,aMarkIdle("basctl DlgEditor Mark")
     ,mnPaintGuard(0)
     ,m_xDocument( xModel )
 {
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index 497609f..521054a 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -518,6 +518,7 @@ GL3DBarChart::GL3DBarChart(
     mnPreSelectBarId(0),
     miScrollRate(0),
     mbScrollFlg(false),
+    maIdle("chart2 view GL3DBarChart"),
     mbScreenTextNewRender(false),
     maFPS(OUString("Render FPS: 0")),
     maDataUpdateFPS(OUString("Data Update FPS: 0")),
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index 3c9854f..23e5b2c 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -58,6 +58,7 @@ using namespace ::com::sun::star;
 
 LookUpComboBox::LookUpComboBox(vcl::Window *pParent)
     : ComboBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_TABSTOP)
+    , m_aModifyIdle("cui LookUpComboBox Modify")
     , m_pDialog(nullptr)
 {
     EnableAutoSize(true);
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index b7c2dde..44f9ccf 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -142,6 +142,7 @@ SvxJavaOptionsPage::SvxJavaOptionsPage( vcl::Window* pParent, const SfxItemSet&
     , m_nInfoSize(0)
     , m_nParamSize(0)
 #endif
+    , m_aResetIdle("cui options SvxJavaOptionsPage Reset")
     , xDialogListener(new ::svt::DialogClosedListener())
 {
     get(m_pJavaEnableCB, "javaenabled");
diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx
index c97286c..52e761f 100644
--- a/sc/source/core/tool/chartlis.cxx
+++ b/sc/source/core/tool/chartlis.cxx
@@ -404,6 +404,7 @@ ScChartHiddenRangeListener::~ScChartHiddenRangeListener()
 
 ScChartListenerCollection::ScChartListenerCollection( ScDocument* pDocP ) :
     meModifiedDuringUpdate( SC_CLCUPDATE_NONE ),
+    aIdle( "sc ScChartListenerCollection" ),
     pDoc( pDocP )
 {
     aIdle.SetIdleHdl( LINK( this, ScChartListenerCollection, TimerHdl ) );
@@ -412,6 +413,7 @@ ScChartListenerCollection::ScChartListenerCollection( ScDocument* pDocP ) :
 ScChartListenerCollection::ScChartListenerCollection(
         const ScChartListenerCollection& rColl ) :
     meModifiedDuringUpdate( SC_CLCUPDATE_NONE ),
+    aIdle( "sc ScChartListenerCollection" ),
     pDoc( rColl.pDoc )
 {
     aIdle.SetIdleHdl( LINK( this, ScChartListenerCollection, TimerHdl ) );
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 5da4341..359fb23 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -131,6 +131,8 @@ void ScModule::InitInterface_Impl()
 
 ScModule::ScModule( SfxObjectFactory* pFact ) :
     SfxModule( ResMgr::CreateResMgr( "sc" ), false, pFact, nullptr ),
+    aIdleTimer("sc ScModule IdleTimer"),
+    aSpellIdle("sc ScModule SpellIdle"),
     mpDragData(new ScDragData),
     mpClipData(new ScClipData),
     pSelTransfer( nullptr ),
diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx
index 461914a..8a36f6d 100644
--- a/sc/source/ui/formdlg/dwfunctr.cxx
+++ b/sc/source/ui/formdlg/dwfunctr.cxx
@@ -56,6 +56,7 @@
 ScFunctionWin::ScFunctionWin( SfxBindings* pBindingsP, vcl::Window* pParent, const ResId& rResId ) :
     vcl::Window(pParent, rResId),
     rBindings   ( *pBindingsP ),
+    aIdle       ( "sc formdlg ScFunctionWin" ),
     aPrivatSplit    ( VclPtr<ScPrivatSplit>::Create( this, ResId( FT_SPLIT, *rResId.GetResMgr() ) ) ),
     aCatBox         ( VclPtr<ListBox>::Create( this, ResId( CB_CAT, *rResId.GetResMgr() ) ) ),
     aFuncList       ( VclPtr<ListBox>::Create( this, ResId( LB_FUNC, *rResId.GetResMgr() ) ) ),
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx
index bd592ef..8bccbcc 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -333,7 +333,9 @@ css::uno::Reference< css::accessibility::XAccessible > ScEditWindow::CreateAcces
 }
 
 ScExtIButton::ScExtIButton(vcl::Window* pParent, WinBits nBits )
-    : ImageButton(pParent,nBits), pPopupMenu(nullptr)
+    : ImageButton(pParent,nBits),
+    aIdle("sc pagedlg ScExtIButton"),
+    pPopupMenu(nullptr)
 {
     nSelected=0;
     aIdle.SetPriority(SchedulerPriority::LOWEST);
diff --git a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
index 6d13918..a3ad04e 100644
--- a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
@@ -60,7 +60,7 @@ public:
 
 Animator::Animator (SlideSorter& rSlideSorter)
     : mrSlideSorter(rSlideSorter),
-      maIdle(),
+      maIdle("sd slidesorter controller Animator"),
       mbIsDisposed(false),
       maAnimations(),
       maElapsedTime(),
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index 969fbc7..c6e44d3 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -113,6 +113,8 @@ View::View(SdDrawDocument& rDrawDoc, OutputDevice* pOutDev,
     mpDropMarker(nullptr),
     mnDragSrcPgNum(SDRPAGE_NOTFOUND),
     mnAction(DND_ACTION_NONE),
+    maDropErrorIdle("sd View DropError"),
+    maDropInsertFileIdle("sd View DropInsertFile"),
     mnLockRedrawSmph(0),
     mbIsDropAllowed(true),
     maSmartTags(*this),
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index b7545c3..94b7073 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -541,6 +541,7 @@ void IndexBox_Impl::SelectExecutableEntry()
 IndexTabPage_Impl::IndexTabPage_Impl(vcl::Window* pParent, SfxHelpIndexWindow_Impl* _pIdxWin)
     : HelpTabPage_Impl(pParent, _pIdxWin, "HelpIndexPage",
         "sfx/ui/helpindexpage.ui")
+    , aFactoryIdle("sfx2 appl IndexTabPage_Impl Factory")
     , bIsActivated(false)
 {
     get(m_pIndexCB, "terms");
@@ -1405,6 +1406,7 @@ void SfxHelpWindow_Impl::loadHelpContent(const OUString& sHelpURL, bool bAddToHi
 
 SfxHelpIndexWindow_Impl::SfxHelpIndexWindow_Impl(SfxHelpWindow_Impl* _pParent)
     : Window(_pParent, 0)
+    , aIdle("sfx2 appl SfxHelpIndexWindow_Impl")
     , aIndexKeywordLink(LINK(this, SfxHelpIndexWindow_Impl, KeywordHdl))
     , pParentWin(_pParent)
     , pCPage(nullptr)
@@ -1853,6 +1855,7 @@ SfxHelpTextWindow_Impl::SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent ) :
 
     aToolBox            ( VclPtr<ToolBox>::Create(this, 0) ),
     aOnStartupCB        ( VclPtr<CheckBox>::Create(this, SfxResId( RID_HELP_ONSTARTUP_BOX )) ),
+    aSelectIdle         ( "sfx2 appl SfxHelpTextWindow_Impl Select" ),
     aIndexOnImage       ( SfxResId( IMG_HELP_TOOLBOX_INDEX_ON ) ),
     aIndexOffImage      ( SfxResId( IMG_HELP_TOOLBOX_INDEX_OFF ) ),
     aIndexOnText        ( SfxResId( STR_HELP_BUTTON_INDEX_ON ).toString() ),
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index 05c2aa4..3784433 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -94,6 +94,11 @@ SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl(
     aVerSBar( VclPtr<ScrollBar>::Create(pCurView, WB_DRAG | WB_VSCROLL) ),
     aHorSBar( VclPtr<ScrollBar>::Create(pCurView, WB_DRAG | WB_HSCROLL) ),
     aScrBarBox( VclPtr<ScrollBarBox>::Create(pCurView) ),
+    aEditIdle( "svtools contnr SvxIconChoiceCtrl_Impl Edit" ),
+    aAutoArrangeIdle ( "svtools contnr SvxIconChoiceCtrl_Impl AutoArrange" ),
+    aDocRectChangedIdle ( "svtools contnr SvxIconChoiceCtrl_Impl DocRectChanged" ),
+    aVisRectChangedIdle ( "svtools contnr SvxIconChoiceCtrl_Impl VisRectChanged" ),
+    aCallSelectHdlIdle ( "svtools contnr SvxIconChoiceCtrl_Impl CallSelectHdl" ),
     aImageSize( 32 * pCurView->GetDPIScaleFactor(), 32 * pCurView->GetDPIScaleFactor()),
     m_pColumns( nullptr )
 {
diff --git a/svx/source/dialog/fontwork.cxx b/svx/source/dialog/fontwork.cxx
index 77bf6df..39f3347 100644
--- a/svx/source/dialog/fontwork.cxx
+++ b/svx/source/dialog/fontwork.cxx
@@ -175,6 +175,7 @@ SvxFontWorkDialog::SvxFontWorkDialog(SfxBindings *pBindinx,
                                      vcl::Window* _pParent)
     : SfxDockingWindow(pBindinx, pCW, _pParent, "DockingFontwork", "svx/ui/dockingfontwork.ui")
     , rBindings(*pBindinx)
+    , aInputIdle("SvxFontWorkDialog Input")
     , nLastStyleTbxId(0)
     , nLastAdjustTbxId(0)
     , nLastShadowTbxId(0)
diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx
index 183338e..8dca9a9 100644
--- a/svx/source/dialog/graphctl.cxx
+++ b/svx/source/dialog/graphctl.cxx
@@ -56,6 +56,7 @@ void GraphCtrlUserCall::Changed( const SdrObject& rObj, SdrUserCallType eType, c
 
 GraphCtrl::GraphCtrl( vcl::Window* pParent, WinBits nStyle ) :
             Control         ( pParent, nStyle ),
+            aUpdateIdle     ( "svx GraphCtrl Update" ),
             aMap100         ( MAP_100TH_MM ),
             nWinStyle       ( 0 ),
             eObjKind        ( OBJ_NONE ),
diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx
index 6073806..2826441 100644
--- a/svx/source/svdraw/svdibrow.cxx
+++ b/svx/source/svdraw/svdibrow.cxx
@@ -1072,6 +1072,7 @@ void SdrItemBrowserWindow::GetFocus()
 
 SdrItemBrowser::SdrItemBrowser(SdrView& rView):
     SdrItemBrowserWindow(ImpGetViewWin(rView)),
+    aIdle("svx svdraw SdrItemBrowser"),
     pView(&rView),
     bDirty(false)
 {
diff --git a/sw/source/ui/envelp/labfmt.cxx b/sw/source/ui/envelp/labfmt.cxx
index f5b0a93..b1aa330 100644
--- a/sw/source/ui/envelp/labfmt.cxx
+++ b/sw/source/ui/envelp/labfmt.cxx
@@ -294,6 +294,7 @@ void SwLabPreview::UpdateItem(const SwLabItem& rItem)
 SwLabFormatPage::SwLabFormatPage(vcl::Window* pParent, const SfxItemSet& rSet)
     : SfxTabPage(pParent, "LabelFormatPage",
         "modules/swriter/ui/labelformatpage.ui", &rSet)
+    , aPreviewIdle("SwLabFormatPage Preview")
     , bModified(false)
     , aItem(static_cast<const SwLabItem&>( rSet.Get(FN_LABEL) ))
 {
diff --git a/sw/source/uibase/docvw/srcedtw.cxx b/sw/source/uibase/docvw/srcedtw.cxx
index f5784b8..4bce8bc 100644
--- a/sw/source/uibase/docvw/srcedtw.cxx
+++ b/sw/source/uibase/docvw/srcedtw.cxx
@@ -250,7 +250,8 @@ SwSrcEditWindow::SwSrcEditWindow( vcl::Window* pParent, SwSrcView* pParentView )
     nStartLine(USHRT_MAX),
     eSourceEncoding(osl_getThreadTextEncoding()),
     bDoSyntaxHighlight(true),
-    bHighlighting(false)
+    bHighlighting(false),
+    aSyntaxIdle("sw uibase SwSrcEditWindow Syntax")
 {
     SetHelpId(HID_SOURCE_EDITWIN);
     CreateTextEngine();
diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx
index c7ce30c7..da7512c 100644
--- a/sw/source/uibase/utlui/unotools.cxx
+++ b/sw/source/uibase/utlui/unotools.cxx
@@ -67,6 +67,7 @@ SwOneExampleFrame::SwOneExampleFrame( vcl::Window& rWin,
                                         const Link<SwOneExampleFrame&,void>* pInitializedLink,
                                         const OUString* pURL ) :
     aTopWindow(VclPtr<SwFrameCtrlWindow>::Create(&rWin, this)),
+    aLoadedIdle("sw uibase SwOneExampleFrame Loaded"),
     aMenuRes(SW_RES(RES_FRMEX_MENU)),
     pModuleView(SW_MOD()->GetView()),
     nStyleFlags(nFlags),


More information about the Libreoffice-commits mailing list