libreoffice-online/common
Michael Meeks a6678b554a Cleanup and shorten tilecombine descriptor lists.
If we have all default values of imgSize, wid, old-wid then we
should simply not serialize these out to save space and improve
readability.

Unfortunately, this means that we need to catch the mutation of
the TileCombined's content in two places; now just one. Building
the queue of rendered tiles to send back is now moved and
wrapped into a TileCombinedBuilder class - this also lets us
stop serialize taking a random vectors of TileDescs. However
the DocumentBroker::handleTileCombinedRequest method needs to
set the force-keyframe oldWid=0 flag on individual tiles and
then update the TileCombined.

Ideally we would have a nice visitor API and drop the non-const
getTiles() method that returns a reference to our internal vector.

Update tests, to not have redundant attributes, and add more tests
to ensure redundant attributes are removed.

Change-Id: Id76d3ae14d459d73bbae8112d840dea27f66588b
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-05-26 19:28:30 +01:00
..
Authorization.cpp
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
CommandControl.hpp
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 wsd: generic readFile 2024-05-21 04:52:12 -04:00
FileUtil.hpp wsd: generic readFile 2024-05-21 04:52:12 -04: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
Log.cpp Logging: add Area parameter and new LOGA_ macros to annotate areas. 2024-05-14 18:37:52 +02:00
Log.hpp Logging: add Area parameter and new LOGA_ macros to annotate areas. 2024-05-14 18:37:52 +02:00
Message.hpp cool#9120 - use a simple hash to avoid most tile: comparisons. 2024-05-22 19:58:28 +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
Protocol.hpp
Rectangle.hpp ChildSession - dump much more internal state. 2024-01-18 20:18:56 +00:00
RenderTiles.hpp Cleanup and shorten tilecombine descriptor lists. 2024-05-26 19:28:30 +01:00
Seccomp.cpp wsd: reduce directives for unused variable supression 2024-03-09 12:37:19 -05:00
Seccomp.hpp
security.h Add more comment warnings around security critical code. 2024-05-07 13:11:30 +01: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
Simd.hpp cool#8328 - config header fixup. 2024-02-21 09:35:25 +00:00
SpookyV2.cpp
SpookyV2.h
StateEnum.hpp Logging: add Area parameter and new LOGA_ macros to annotate areas. 2024-05-14 18:37:52 +02:00
StringVector.cpp cool#8328 - config header fixup. 2024-02-21 09:35:25 +00:00
StringVector.hpp
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 cypress and C++ tests: enable full trace logging to keep timing the same. 2024-05-14 18:37:52 +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