Commit Graph

524 Commits

Author SHA1 Message Date
09f5922baf Add code to test encryption and export to .docx on iOS
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
2014-08-13 12:40:47 +03:00
b513f28827 LO_LIB_DIR is used in nsscrypto_initialize() so must give it a value
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
2014-08-12 23:11:13 +03:00
323142c678 Add some more source files for debugging convenience
Change-Id: Ibc13ecb2ea154802bf2f7e06fa583460344bf6f7
2014-08-12 17:03:17 +03:00
493a058dea Set VALID_ARCHS equal to ARCHS
Change-Id: Ief7d3b09cb68eb2abdb99ebc9cfac7f71cd1476e
2014-07-08 18:20:49 +03:00
a036817586 Pass -sdk option
Change-Id: I694d90e2cfca2b4b68a33df0d3912c2492563d28
2014-07-08 18:20:48 +03:00
e2f1fffc81 Add more source files for Xcode debugging convenience
Change-Id: I3717ca2c3f4cf06ce851188a27f3108674a8fe14
2014-07-07 13:15:58 +03:00
e909cf1b22 Add more source files for debugging convenience
Change-Id: I305870bd067d015d975b7a887bece91819810ec4
2014-06-04 00:02:16 +03:00
4c28b348f5 Nah, use gb_Helper_print_on_error
Change-Id: Ib47ed5d13d0d94e706b38dc996999e263d3d0967
2014-05-26 10:10:37 +03:00
ba97e26d41 Print the xcodebuild output (including errors) if it has failed
Change-Id: I9c1074f49ca8cd1c3c97581ae45cbb8ac1855b71
2014-05-26 09:55:10 +03:00
f13e5b2845 Add some more source files for debugging convenience
Change-Id: Ic058067f4114662569433801d8627e1c6fe648aa
2014-05-23 17:21:58 +03:00
c1addbb684 ICU has been bumped to 53
Change-Id: I55cf9fa0364856169e9781f77c65bae047ce1ca8
2014-04-30 09:26:58 +03:00
304c7f7d3c Add some sources from framework for debugging convenience
Change-Id: Id6c6ce764f03849e63fd69dcc780155c98fee812
2014-04-30 00:42:44 +03:00
37466b015d Include the newly required custom shape data files
Change-Id: I3a83be864819a0dea98263ca399789ffd007f405
2014-04-18 15:08:27 +03:00
c79a5f87b1 remove executable bit
Change-Id: I91f6e861f6d0dbea1b57ac73857e0c706b27f681
2014-04-17 15:11:14 +02:00
2d6e8e2b5f Add a source file for debugging convenience
Change-Id: Ic337ac74b38f7c6591a91cc9d996a23b3a3fdf25
2014-04-14 17:21:19 +03:00
0b6fb1f45a Put the dict_ja and _zh data in files instead of code for iOS
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
2014-04-14 17:21:19 +03:00
c0f2dc1347 It doesn't seem to work to use variable references for file names anyway
Change-Id: Ic98a9c5792b98705b57f39e1d90fb7019bfb95c9
2014-04-14 17:21:19 +03:00
a4351c3db5 Avoid NSLogging when not debugging
Change-Id: Ia6d3057ab013aa31dd40058e453f8ca18de91149
2014-04-14 17:21:18 +03:00
cddf4bd65f HEADER_SEARCH_PATHS is duplicated for Debug and Release
Change-Id: Ifbed4933f528342300642673d707c8189eda1e8c
2014-04-12 23:35:37 +03:00
eb6bf90a87 Mmap in the ICU data file and pass it to udata_setCommonData()
Now done in TiledLibreOffice's lo_initialize(), but should probably be
done in common LO code instead.

Change-Id: I398a703943d13c6d715e4c88ead2a629955fb7c9
2014-04-12 20:34:50 +03:00
11842c6643 Copy the ICU data file into the TiledLibreOffice app
Change-Id: I7f259c96dd9ab0ec833cefd2142682d08b7255b1
2014-04-12 20:34:50 +03:00
a2adff5540 Add udata.cpp from ICU for easy breakpoint setting
Change-Id: Ic830275479ef68af50e4df738d9f5d252bb1cdf0
2014-04-12 20:34:48 +03:00
e6b3ec87af Add MobileCoreServices and ImageIO frameworks for some debugging code in vcl
Change-Id: I6eb0091d22ee5776e9be1bfde76860abc51a69b2
2014-04-11 13:20:19 +03:00
801a8cd336 Add somewhat ridiculous debug hacks for CoreGrahics drawing debugging on iOS
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.
2014-04-07 17:56:04 +03:00
561f5a8753 Use tile coordinates for the DRAW_ONLY_TILE functionality
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
2014-04-04 14:31:25 +03:00
cde082f5f1 Bin a few since long commented-out lines
Change-Id: I4087f8f51dd6e8066818a98797c1e575ecca3442
2014-03-31 20:11:16 +03:00
7c4783f6a2 Add possibility to show tile numbers and render just one tile
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
2014-03-31 20:11:11 +03:00
328d747821 Bypass also the MobileLibreOffice thing for now
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
2014-03-28 10:32:04 +02:00
51fc55cfcc Add customshapes source files for debugging convenience
Change-Id: Ifa88f10a547c9aafd888065ae94210ec1cc7f273
2014-03-21 08:37:42 +02:00
621e86a462 Add oox/source/drawingml source for debugging convenience
Change-Id: I20108b8b044cbf129426688b9bee90a0a6c016a3
2014-03-21 08:37:41 +02:00
0fe02d03ac Add a few cppu source files for debugging convenience
Change-Id: I9cad3f9f2a80f7915a5525855fcdf6fd5bb32d50
2014-03-20 10:10:43 +02:00
fc33829dcd Add some more source files for debugging convenience
Change-Id: I2cfb9dd31b76d230a4c8aadc5461b7601fbc63a4
2014-03-20 10:10:39 +02:00
8dcdee51cd Bypass the 'LibreOffice' executable and app for now
It hasn't worked since the switch to tiled rendering anyway, and we
use the 'TiledLibreOffice' app for testing now.

Change-Id: I8137b8390c020ec4e6826e40e9cda69810f8318f
2014-03-20 09:40:31 +02:00
5390829bb3 Add some more source files for debugging convenience
Change-Id: I8e489354fab78e2dff35ecaca80375640c75a68d
2014-03-19 08:46:16 +02:00
bf1b78c2d9 Add simple document selector to TiledLibreOffice
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
2014-03-18 16:26:33 +02:00
6013967b39 Add some more source files for debugging convenience
Change-Id: Ibf4f18e0e8efe0d220e087559578747b45e03942
2014-03-18 10:14:05 +02:00
847b6169c6 Enable one more level of zooming in, just for fun
Change-Id: I7181199363f93dd7da851674c7f593f509082475
2014-03-18 10:14:04 +02:00
5133e0e0e8 Add more source files for convenient breakpoint setting
Change-Id: I88d6176f919de90b5014f328fdad84d017b3bb55
2014-03-10 17:48:10 +02:00
b0ac763d13 native-code: Remove foo_core groups, now only 'core' and 'writer' are used.
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
2014-03-06 15:48:26 +01:00
f52dbb2d1d Bin ios/qa/sc, hasn't been tested for ages and surely doesn't build or work
Change-Id: Id4f527f7645544b32fbee33c7f3b275492a3c5f4
2014-03-06 14:37:12 +02:00
0b5558a68d Add sal source files
Change-Id: Id44a5bb0dca7bc6b8d97a6d5ae26ea642043e374
2014-03-05 16:12:18 +02:00
bab7eebba1 moved impress remote clients to a separate repository
Change-Id: I654e3af31a6915f08ff808b351d304da773ad267
see: git://gerrit.libreoffice.org/impress_remote
2014-01-30 18:54:36 -06:00
d6388e4dcd iosremote: add translations
and change bundle-ID to the explicit org.libreoffice.iosremote

Change-Id: I92e43156b749e6717b7391208337977f62ce5aef
2014-01-26 04:39:32 +01:00
adbfc8a0db remove unused images
Change-Id: Ifae3ab7c1c4eaa28e75ede3b799726a53c1d49d2
2014-01-26 01:38:46 +01:00
bf67bc6eaa info-plist make use of image assets to manage icons files
Change-Id: Ib6be4cb1e0eb60363b4a106f0297ec69520ac91e
2014-01-26 01:34:57 +01:00
79c6ee4513 icons with required sizes for iOS7
Change-Id: I2afad83240a2306bb8a4312659c75613c9c7519e
2014-01-26 00:51:06 +01:00
04c3d13ed9 iosremote: remove invalid icon references
The plist contains references to icons that don't exist.
This breaks iTunes validation / prevents submitting to appstore

Change-Id: I7028960d5e237367224dc16be39a9e5e729ae745
2014-01-26 00:39:07 +01:00
f3f77f5562 Produce a ld map file, too
Change-Id: Ieded05eb402e3d87ad039cd06b86e99114ff5afe
2014-01-24 17:55:22 +02:00
55d2f55ddf Add objface.cxx
Change-Id: I2444acf09b3108c1a79658f0954bb9481c8fad0c
2014-01-23 15:18:21 +02:00
8b9536f61a Add cppuhelper sources
Change-Id: I47545d0592348f585c23e3c6be079e0ed664d706
2014-01-23 15:18:13 +02:00