summaryrefslogtreecommitdiff
path: root/sw/inc/IDocumentTimerAccess.hxx
AgeCommit message (Collapse)Author
2023-01-31tdf#143148 sw: inc: Use pragma once instead of include guardsRasenkai
Change-Id: I7a491038d1b8532385e70294872d209dcdc63ce9 Signed-off-by: Rasenkai <rasenkai99@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146300 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2020-11-19tdf#123936 Formatting files in module sw with clang-formatPhilipp Hofer
Change-Id: I6243bc95129bf81a124d006ce0fc1aa1b5f618bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105718 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
2018-08-27tdf#119458 fix sw background Idle state handlingJan-Marek Glogowski
Starting the SwDocIdle in StartIdeling() just reintroduces the bug fixed in commit 401cba4c20fb ("tdf#116370 cleanup Writer idle job handing"), so trading one bug for the other. For the real solution we have to handle two states: 1. The SwDocIdle being active 2. The SwDocIdle being blocked For the first state we can just use the active state of the Idle itself. Since it's not a AutoIdle, it will be turned of, if invoked. Either some Idle handler will want to be run it again or some other thread might start it again, if needed. Since we're now tracking the wanted Idle state via the active task flag, we can drop the explicit mbStartIdleTimer handling. As a result of the first change, we can't stop the Idle anymore when blocking it. But the Idle itself checks its ready state via IsDocIdle() in its UpdateMinPeriod function, so we have to add the blocking state to IsDocIdle(). Change-Id: I33017a8e07208a6a3bce761cc899ac3ca944cd61 Reviewed-on: https://gerrit.libreoffice.org/59586 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2018-08-20tdf#116370 cleanup Writer idle job handingJan-Marek Glogowski
This prevents the start of the idle job, while processing itself, so the fixed WinSalInstance::AnyInput of commit 3bf6c97029d2 ("tdf#112975 WIN correctly handle VclInputFlags::OTHER") won't report the timer events of the re-started idle job to process. Fixes the early abort of the background job, which resulted in the busy loop of the reported bug and this strange printing behaviour. P.S. I'm not sure, why this was just broken on Windows. Change-Id: I6503dcd925c9a0ed843e794a31eea32a4a4b2889 Reviewed-on: https://gerrit.libreoffice.org/59279 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2017-10-06Don't schedule the Idle job for busy documentsJan-Marek Glogowski
This refactors DocumentTimerManager to export the busy status independent of the Idle function. This way it can be ignored in the Scheduler while the document is busy, Change-Id: Icec2075d3338ad8dd4440678eb0570d7fe887778 Reviewed-on: https://gerrit.libreoffice.org/43197 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2017-08-28Translate German comments/debug strings (leftovers in dirs starmath to sysui)Johnny_M
Translates leftovers found using a custom regex. Additionally translated: - One randomly found comment in /reportdesign - Test strings in /stoc/test (let's see if it works) Change-Id: I5f893c194c4b56b5365700928a3b8b63936d03e2 Reviewed-on: https://gerrit.libreoffice.org/41583 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-06-01fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directory sw/ Change-Id: I5859f986c6f954d41a7940dc9ae8febaa714d34f Reviewed-on: https://gerrit.libreoffice.org/9587 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-11-05fixincludeguards.sh: swThomas Arnhold
Change-Id: I8e0889200d1a1c36e53022a74792728efd66c2fc
2012-12-20fdo#38837: Timers must end eventually [Writer idle timer]pkoroau pkoroau
Change-Id: I36c6c56d7277b9b3853b846c86c1f4dd47ebdb08 Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-04-10INTEGRATION: CWS changefileheader (1.4.436); FILE MERGEDRüdiger Timm
2008/03/31 16:52:32 rt 1.4.436.1: #i87441# Change license header to LPGL v3.
2007-05-10INTEGRATION: CWS pj77 (1.2.238); FILE MERGEDKurt Zenker
2007/04/25 17:53:12 pjanik 1.2.238.1: #i76688#: Remove deprecated SISSL.
2007-04-26INTEGRATION: CWS swselection (1.2.132); FILE MERGEDRüdiger Timm
2007/01/25 11:03:21 ama 1.2.132.1: Fix #i73752#: Remove SISSL
2006-10-11INTEGRATION: CWS swstability06 (1.1.2); FILE ADDEDOliver Bolte
2006/09/01 12:14:19 ama 1.1.2.1: #i68827#: CleanUp for timer access