Conditional on the environment variable
PTYL_TEST_ENCRYPTION_AND_EXPORT, eek. The document is written out
using the name of the input document with .new.docx appended.
I placed the function that handles it, somewhat arbitrarily, in
sofficemain.cxx. The invocation of this function is, also somewhat
arbitrarily, placed in TiledView's drawLayer:inContext: method.
Quite possibly this test functionality occasionally causes solar mutex
deadlocks or whatever, but at least in Xcode, when one has placed some
breakpoints in it, it seems to work. Which is what matters, as this is
code for manual testing, not invoked normally.
Change-Id: I38bb4b406edf47f0f24857b6044e3bf4eaf17c34
Its actual value is irrelevant in the nsscrypto_initialize() case for
iOS, though, as it is used to form a pathname to a hypothetical
libnssckbi.dylib (which does not exist for iOS, as we build NSS
statically), and we patch the NSS code to recognize the nssckbi name
specially in the static build case... Such elegance.
Change-Id: Ib5015a18e86cc604f80433a676faa10ac76e04ab
Map the file(s) into memory on demand. The executable file of an app
needs to be as small as possible. Including additional data files in
an app bundle is fine.
Change-Id: Ife9bfe99a2cf0473d459f38f50dfa3304b39e282
Now done in TiledLibreOffice's lo_initialize(), but should probably be
done in common LO code instead.
Change-Id: I398a703943d13c6d715e4c88ead2a629955fb7c9
When the environment variable DRAW_INCREMENTALLY_FROM is set to a
number, we want TiledLibreOffice to loop, initially performing only
that number of drawing operations in AquaSalGraphics, then wait for
some seconds, and redraw. Next time perform one operation
more. Repeat.
Implemented in vcl by surrounding the entry and exit(s) of the drawing
functions in AquaSalGraphics with macros.
All this is active only for iOS and in a dbgutil build.
CATiledLayer does not guarantee that tiles are drawn in the same order
each time so using a "tile number" for DRAW_ONLY_TILE was not
perfect. Use tile coordinates instead when wanting to restrict to
showing just one tile.
Change-Id: I23f4a3ecaf47cd3392d2d950bd279260b3a7b9f4
Useful for debugging. Also, make the tile border drawing
optional. These three debugging features are governed by environment
variales (set in Xcode before running with Alt+Product>Run...)
DRAW_ONLY_TILE, DRAW_TILE_BORDERS and DRAW_TILE_NUMBERS.
Change-Id: I81f952284676eafe5d204c819658e0225aabdb1c
It seems abandoned and hasn't work since we switched to tiled
rendering anyway. And the need for the special single tile at a time
rendering test mode is mostly gone now, when tiled rendering can be
tested with the TiledLibreOffice app, I think. So no need to slow down
a "make" by building the MobileLibreOffice app, too.
Change-Id: I7b0afd3b35ff2ed0fb72f2c150abb25548a5546d
It hasn't worked since the switch to tiled rendering anyway, and we
use the 'TiledLibreOffice' app for testing now.
Change-Id: I8137b8390c020ec4e6826e40e9cda69810f8318f
Make it easier to handle several test docs. Until now you had to
change the hardcoded document in the Xcode project and in the lo.mm
source file and re-build. Now it is enough to upload a new test doc to
the device using iTunes. If no test docs are present, use the good old
bundled test1.odt.
Change-Id: I3cbb9f74c17332ffc6ac90dd1e226fac005c3387
Also remove extended_core group. If something from there will be
needed, we will add it another way.
Currently only android/experimental/desktop/Makefile and
ios/CustomTarget_TiledLibreOffice_app.mk are known to do something.
Change-Id: I99936075e35ce98d684581838c0a19dccd83f942
The plist contains references to icons that don't exist.
This breaks iTunes validation / prevents submitting to appstore
Change-Id: I7028960d5e237367224dc16be39a9e5e729ae745