collabora-online/common
Michael Meeks 3feb7fe58c bgsave: don't process left-over tile messages from the KitQueue.
If we had a tilecombine processed in the same queue and before
a save - the 'render tiles at the end' state would be inherited by
the background save process and result in excess work, and also
binary messages where only text messages are expected returning.

The rest of the queue is cleared post fork.

Add unit test - plus hook to hold queue processing.

Change-Id: Iee937897000bc3ac149599844f1eab005affb131
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-05-10 16:30:37 +01:00
..
Authorization.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
Authorization.hpp wsd: include cleanup 2024-03-19 20:51:02 -04:00
Clipboard.hpp wsd: rescue the clipboard before autosaving on unload 2024-02-05 11:52:02 +01:00
CommandControl.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
CommandControl.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
Common.hpp Forkit needs to wakeup to waitpid processes. 2024-05-10 16:30:37 +01:00
ConfigUtil.cpp bgsave: lower priority of background thread. 2024-05-10 16:30:37 +01:00
ConfigUtil.hpp bgsave: lower priority of background thread. 2024-05-10 16:30:37 +01:00
Crypto-stub.cpp wsd: Unconditionally compile support-key-enabled code paths 2024-04-14 01:23:00 +01:00
Crypto.cpp wsd: Unconditionally compile support-key-enabled code paths 2024-04-14 01:23:00 +01:00
Crypto.hpp wsd: Unconditionally compile support-key-enabled code paths 2024-04-14 01:23:00 +01:00
DummyTraceEventEmitter.cpp wsd: reduce directives for unused variable supression 2024-03-09 12:37:19 -05:00
FileUtil.cpp fix test failure with hardening flags enabled 2024-04-18 21:21:04 +01:00
FileUtil.hpp getTempFileCopyPath is only used by tests so move to test-only code 2024-02-01 10:01:08 +00:00
JailUtil.cpp mount: remove test-mount directory 2024-05-09 15:32:26 +02:00
JailUtil.hpp cool#8703 - Drop random node creation and rely on inherited fd. 2024-04-07 12:11:48 +02:00
JsonUtil.hpp killpoco: remove lots of redundant JSON includes. 2024-04-25 09:06:13 +02:00
LangUtil.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
Log.cpp cid#365222 COPY_INSTEAD_OF_MOVE 2024-05-07 15:59:55 +02:00
Log.hpp test: cleanup logging accounting post fork, for more helpful tests. 2024-04-29 10:56:54 +02:00
Message.hpp bgsave: change statusindicator protocol message to 'progress' + JSON. 2024-05-06 20:28:08 +01:00
MobileApp.cpp wsd: move wopi stub/dummy interface to MobileApp.hpp 2024-04-03 14:26:28 +01:00
MobileApp.hpp impress: restrict presentation in readonly mode 2024-05-07 13:21:04 +01:00
Png.hpp reduce uses of MOBILEAPP on some files 2024-03-20 09:13:00 +01:00
Protocol.cpp wsd: clean up unused header includes 2024-01-08 08:38:48 +01:00
Protocol.hpp wsd: clean up unused header includes 2024-01-08 08:38:48 +01:00
Rectangle.hpp ChildSession - dump much more internal state. 2024-01-18 20:18:56 +00:00
RenderTiles.hpp wsd: take arguments by-ref where possible 2024-03-09 12:37:19 -05:00
Seccomp.cpp wsd: reduce directives for unused variable supression 2024-03-09 12:37:19 -05:00
Seccomp.hpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
Session.cpp bgsave: change statusindicator protocol message to 'progress' + JSON. 2024-05-06 20:28:08 +01:00
Session.hpp MessageQueue cleanup, and avoid accidental use in tests. 2024-05-09 09:50:08 +01:00
SigUtil.cpp bgsave: ensure kit processes die when their parents do. 2024-04-16 15:07:18 +01:00
SigUtil.hpp bgsave: ensure kit processes die when their parents do. 2024-04-16 15:07:18 +01:00
Simd.cpp spdx: improve machine and human readability of headers. 2023-11-14 19:36:31 +00:00
Simd.hpp cool#8328 - config header fixup. 2024-02-21 09:35:25 +00:00
SpookyV2.cpp common: move "hashSubBuffer" function 2022-05-09 16:40:57 +01:00
SpookyV2.h common: move "hashSubBuffer" function 2022-05-09 16:40:57 +01:00
StateEnum.hpp add and use 'N_ELEMENTS' in lieu of std::size 2023-08-23 12:06:31 +02:00
StringVector.cpp cool#8328 - config header fixup. 2024-02-21 09:35:25 +00:00
StringVector.hpp wsd: clean up unused header includes 2024-01-08 08:38:48 +01:00
ThreadPool.hpp Re-factor thread counting into a ThreadCounter class. 2024-03-07 09:36:00 +00:00
TraceEvent.cpp wsd: streamline TraceEvent strings 2024-03-18 18:41:49 +00:00
TraceEvent.hpp wsd: avoid duplicate string copying for ProfileZone 2024-03-18 18:41:49 +00:00
Unit.cpp test: allow an exitTest to work in Kit and propagate its result. 2024-04-29 10:56:54 +02:00
Unit.hpp bgsave: don't process left-over tile messages from the KitQueue. 2024-05-10 16:30:37 +01:00
Util-desktop.cpp Logging: wrap poco and simplify logging. 2024-04-24 10:59:51 +01:00
Util-mobile.cpp add isMobileApp util function to reduce ifdefs 2024-03-20 09:13:00 +01:00
Util.cpp killpoco: remove lots of redundant JSON includes. 2024-04-25 09:06:13 +02:00
Util.hpp bgsave: Add SLEEPBACKGROUNDFORDEBUGGER environment variable. 2024-04-17 08:35:30 +01:00
Watchdog.hpp bump watchdog pings from 20ms to 50ms 2024-04-30 17:55:13 +02:00
security.h Add more comment warnings around security critical code. 2024-05-07 13:11:30 +01:00