137 Commits

Author SHA1 Message Date
Tor Lillqvist
e909cf1b22 Add more source files for debugging convenience
Change-Id: I305870bd067d015d975b7a887bece91819810ec4
2014-06-04 00:02:16 +03:00
Tor Lillqvist
f13e5b2845 Add some more source files for debugging convenience
Change-Id: Ic058067f4114662569433801d8627e1c6fe648aa
2014-05-23 17:21:58 +03:00
Tor Lillqvist
c1addbb684 ICU has been bumped to 53
Change-Id: I55cf9fa0364856169e9781f77c65bae047ce1ca8
2014-04-30 09:26:58 +03:00
Tor Lillqvist
304c7f7d3c Add some sources from framework for debugging convenience
Change-Id: Id6c6ce764f03849e63fd69dcc780155c98fee812
2014-04-30 00:42:44 +03:00
Tor Lillqvist
2d6e8e2b5f Add a source file for debugging convenience
Change-Id: Ic337ac74b38f7c6591a91cc9d996a23b3a3fdf25
2014-04-14 17:21:19 +03:00
Tor Lillqvist
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
Tor Lillqvist
a4351c3db5 Avoid NSLogging when not debugging
Change-Id: Ia6d3057ab013aa31dd40058e453f8ca18de91149
2014-04-14 17:21:18 +03:00
Tor Lillqvist
cddf4bd65f HEADER_SEARCH_PATHS is duplicated for Debug and Release
Change-Id: Ifbed4933f528342300642673d707c8189eda1e8c
2014-04-12 23:35:37 +03:00
Tor Lillqvist
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
Tor Lillqvist
11842c6643 Copy the ICU data file into the TiledLibreOffice app
Change-Id: I7f259c96dd9ab0ec833cefd2142682d08b7255b1
2014-04-12 20:34:50 +03:00
Tor Lillqvist
a2adff5540 Add udata.cpp from ICU for easy breakpoint setting
Change-Id: Ic830275479ef68af50e4df738d9f5d252bb1cdf0
2014-04-12 20:34:48 +03:00
Tor Lillqvist
e6b3ec87af Add MobileCoreServices and ImageIO frameworks for some debugging code in vcl
Change-Id: I6eb0091d22ee5776e9be1bfde76860abc51a69b2
2014-04-11 13:20:19 +03:00
Tor Lillqvist
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
Tor Lillqvist
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
Tor Lillqvist
cde082f5f1 Bin a few since long commented-out lines
Change-Id: I4087f8f51dd6e8066818a98797c1e575ecca3442
2014-03-31 20:11:16 +03:00
Tor Lillqvist
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
Tor Lillqvist
51fc55cfcc Add customshapes source files for debugging convenience
Change-Id: Ifa88f10a547c9aafd888065ae94210ec1cc7f273
2014-03-21 08:37:42 +02:00
Tor Lillqvist
621e86a462 Add oox/source/drawingml source for debugging convenience
Change-Id: I20108b8b044cbf129426688b9bee90a0a6c016a3
2014-03-21 08:37:41 +02:00
Tor Lillqvist
0fe02d03ac Add a few cppu source files for debugging convenience
Change-Id: I9cad3f9f2a80f7915a5525855fcdf6fd5bb32d50
2014-03-20 10:10:43 +02:00
Tor Lillqvist
fc33829dcd Add some more source files for debugging convenience
Change-Id: I2cfb9dd31b76d230a4c8aadc5461b7601fbc63a4
2014-03-20 10:10:39 +02:00
Tor Lillqvist
5390829bb3 Add some more source files for debugging convenience
Change-Id: I8e489354fab78e2dff35ecaca80375640c75a68d
2014-03-19 08:46:16 +02:00
Tor Lillqvist
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
Tor Lillqvist
6013967b39 Add some more source files for debugging convenience
Change-Id: Ibf4f18e0e8efe0d220e087559578747b45e03942
2014-03-18 10:14:05 +02:00
Tor Lillqvist
847b6169c6 Enable one more level of zooming in, just for fun
Change-Id: I7181199363f93dd7da851674c7f593f509082475
2014-03-18 10:14:04 +02:00
Tor Lillqvist
5133e0e0e8 Add more source files for convenient breakpoint setting
Change-Id: I88d6176f919de90b5014f328fdad84d017b3bb55
2014-03-10 17:48:10 +02:00
Tor Lillqvist
0b5558a68d Add sal source files
Change-Id: Id44a5bb0dca7bc6b8d97a6d5ae26ea642043e374
2014-03-05 16:12:18 +02:00
Tor Lillqvist
55d2f55ddf Add objface.cxx
Change-Id: I2444acf09b3108c1a79658f0954bb9481c8fad0c
2014-01-23 15:18:21 +02:00
Tor Lillqvist
8b9536f61a Add cppuhelper sources
Change-Id: I47545d0592348f585c23e3c6be079e0ed664d706
2014-01-23 15:18:13 +02:00
Tor Lillqvist
31321832dc More source files for easier debugging
Change-Id: Ie17504bfb991503e1790ea8a696768fb90c116a2
2014-01-17 00:17:03 +02:00
Tor Lillqvist
1284078c39 Add sources from vcl/headless and drop not compiled sources from vcl/quartz
Change-Id: Ie0fbacf01fcde8cb50b660e7976471a2d3bb9edc
2014-01-17 00:17:03 +02:00
Tor Lillqvist
cec1697095 Need to have native-code.cxx as a separate file for the LibreOffice app
The executable of the LibreOffice app (which as such at the moment
doesn't work, since the tiled rendering changes) is built using
gbuild, and thus we can't generate the native-code snippet in the
CustomTarget that builds the app bundle, but need it already when
building the executable. This is one wayt to handle that.

Change-Id: Ifdab40c970e93b1f2608cefc637df8a8e5396efe
2014-01-01 18:37:07 +02:00
Matúš Kukan
645fb66bbd Use native-code.py generated code also for iOS.
This allows us to get rid of component-declarations.h and
simplify component-mapping.h.
For new, converted, implementation_getFactories, adding one line into
native-code.py should be enough to make them available in application.

Change-Id: I042320e5b7f8a9aa9f02b77d2bdd07cf9a690ee6
2014-01-01 17:33:29 +02:00
Tor Lillqvist
0324a62e19 Add source files from bridges for quicker breakpoint setting
Change-Id: I7842d9d0e5786647d14d0c30be5230c05883ada2
2013-12-23 12:59:05 +02:00
Tor Lillqvist
ee7689d052 We seem to need lo.xcconfig here, too
Change-Id: I7db16b3736a83b9372aba11ac9ff302bc087e008
2013-12-23 12:59:04 +02:00
Tor Lillqvist
4a86b0f301 Add arm64 to VALID_ARCHS
Change-Id: Ibf1ed5ee1d7ab8319b393475c49655708e9a6d61
2013-12-23 12:59:04 +02:00
Tor Lillqvist
5ed55393ee Don't need Base, Calc, Draw and Math functionality here for now
Change-Id: I20b9325f9c7eed1e49ea815c284f8fe1a6ed428d
2013-12-20 12:32:09 +02:00
Tor Lillqvist
b8a1af35cc Improve the tiles per second calculation
Avoid an implicit upper limit on the value calculated (and displayed) by
keeping a counter, too, for each slot in the array.

Also edit a comment, as I now have a better understanding of how the
tiling works.

Change-Id: I5df4076917a244f73f27b66f4983f17ce95b9df7
2013-12-20 10:52:45 +02:00
Tor Lillqvist
4cae6fa29a Add tiles per second counter (averaged over last five seconds)
Change-Id: I11e282c1a72dbc6b41a5a89229065983b41eb65b
2013-12-20 02:00:18 +02:00
Tor Lillqvist
969bd8aa73 Use embedded DWARF in the iOS apps except for in release build
Running dsymutil takes much too long to be bearable during
development. But when building for actual release we do want a
separate dSYM of course. (Of course none of the current iOS apps in
the source are intended to be actually "released". But add this logic
just for completeness.)

Change-Id: Ibb5037d6926e969a891269d6c9d86232bc01cb3c
2013-12-19 23:28:33 +02:00
Tor Lillqvist
7f02e47111 Further minor tweaks to TiledLibreOffice
Change-Id: If1c1bbaadf8866605bf1026c4a71da0a397391a4
2013-12-19 21:58:59 +02:00
Matúš Kukan
645dac2f94 Deduplicate more components.
No one says this is the only good classification.
Quite possibly it's not even a good one, but at least something.

Change-Id: I81178314222f9f63708a83b262ff8ef73a1d9467
2013-12-19 15:34:33 +01:00
Matúš Kukan
6275751f63 fix typo
Change-Id: I52bbae367d1b4a76aa5507daa38582f7c97d794d
2013-12-19 15:34:32 +01:00
Matúš Kukan
43e2cf590a Deduplicate calc components.
Hopefully it makes sense, I don't know.
Inspired by Debian packages.

Change-Id: I8caf2d4aa75b8f6de3cc7da9eb293955a4ed58d8
2013-12-19 15:34:32 +01:00
Matúš Kukan
e05e58948c Deduplicate writer component factories.
Change-Id: I0b82e8a284f871829b7c22a654d61534b5c5a3cc
2013-12-19 15:34:30 +01:00
Matúš Kukan
ad4e451070 Deduplicate a lot of common components.
Change-Id: Ic3eb95119eed7a691c9cd0c677f28c87395b9415
2013-12-19 09:41:45 +01:00
Stephan Bergmann
ae3a0c8da5 Add .component <implementation constructor="..." feature
...to directly call constructor functions of ComponentContext-based C++
implementations of (non-single-instance) UNO services.  The case where these
calls would need to be bridged across different environments (e.g., from gcc3
to gcc3:affine) is not yet implemented.

bootstrap.component and expwrap.component are adapted accordingly as a proof-of-
concept (which had previously been adapted to use the prefix="direct" feature,
which may become unnecessary again in the end, depending on how to handle
single-instance services/singletons).  More to follow.

Change-Id: I18682d75bcd29d3d427e31331b4ce8161dbb846d
2013-12-19 08:48:56 +01:00
Tor Lillqvist
2753bc1eff Adapt TiledLibreOffice to the new library name to component mapping API
Change-Id: I96e2931763c277d72ff1bb7ebdf5b71c0d6e091b
2013-12-19 00:16:31 +02:00
Tor Lillqvist
48f625b899 Add a view-only iOS test app using tiled rendering
I had to add some horrible hacks to make sure the test doc has been
loaded into a Writer shell before retrieving its size and being able
to render it. Obviously some better solution is needed. But this is
just a testbed to get some profiling data.

The app is built using an Xcode project, and in gbuild through a
custom target based on the MobileLibreOffice one. Setting up the
various files used (or not used...) at run-time should really be
factored out from the CustomTarget files.

Change-Id: I1711b0cae9d28a09b73476b2d37d98b1820c9943
2013-12-18 22:59:23 +02:00
Matúš Kukan
d8bbae2fd6 Get more --disable-dynamic-loading code out of shlib.cxx.
It's not terribly nice, but, hopefully, better.
The hope is that one day, lo_get_library_map will be no more.
In lo_get_implementation_map we can specify more precisely what to link
into the binary.

Change-Id: I99a1854fbae05be2f70302cc56bea88e522ec129
2013-12-18 07:15:49 +01:00
Matúš Kukan
562b21949f Deduplicate some foo_component_getFactory declarations.
Change-Id: I9304b62134bab375b721399ae078bf66e01191d8
2013-12-18 07:15:47 +01:00