64 Commits

Author SHA1 Message Date
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
1c7ea4668d OSL_DEBUG_LEVEL is defined in the flags in lo.xcconfig
Change-Id: If35f0407e40bfeade9c2a342e509ef5e84306f53
2013-12-28 16:31:38 +02:00
Tor Lillqvist
4a86b0f301 Add arm64 to VALID_ARCHS
Change-Id: Ibf1ed5ee1d7ab8319b393475c49655708e9a6d61
2013-12-23 12:59:04 +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
8f9c0fe459 bin few comments
It's not a good way to add invidual components.
We aim to create some groups of them.

Change-Id: I752c2b01c1c800d3eb446403ff7fc9e6da3aa635
2013-12-19 15:34:31 +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
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
Matúš Kukan
b6cebf4a3e Allow UNO component libraries to have each implementation in its own function.
Demonstrating on expwrap library.

There is hope, this will bring code size savings for mobile
platforms, where we don't need every implementation.

Change-Id: I3519fb6148fd7a47ed9df092c73779ea6add552f
2013-12-18 07:15:46 +01:00
Tor Lillqvist
f4502a2f7f These get defined through lo.xcconfig now
Change-Id: I4d574b728aa0a60808bcfdd36c503476c226599a
2013-12-17 15:17:42 +02:00
Michael Meeks
59197dea29 Targetted text updates, with seasonable changes before l10n freeze.
Change-Id: If37ef9f68711da3a0aa9a3ba59b111a8a23421df
2013-12-13 17:00:07 +00:00
Marcos Paulo de Souza
eebc1e9a8a fdo#60698: Merge fastsax and sax_shared into expwrap
Change-Id: I6f8c6827c00db50184a46f39968f882b944d18d4
Reviewed-on: https://gerrit.libreoffice.org/6967
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2013-12-11 20:45:30 +00:00
Tor Lillqvist
9f53053eda Add types.rdb (formerly known as udkapi.rdb) to MobileLibreOffice
Keeping this stuff working is hard. How did I not notice this before?
I need to make clean more often I guess.

I edited the project.pbxproj file manually as I didn't fully get it
how to set up the wanted handling of this file in the Xcode GUI. So I
just copied the handling of offapi.rdb in project.pbxproj (with
different ids, of course).

I really much prefer doing this fully in Makefiles, as in
CustomTarget_LibreOffice_app.mk.

Change-Id: Ifc4f2481f7a9d1562be6f91714ed38c82cdd5eb0
2013-12-09 21:49:42 +02:00
Tor Lillqvist
5238d79a7c Use hidden visibility as in the LO code here, too
Otherwise we get tons of (as such, in our case harmless) warnings from
the linker about mismatches.

Change-Id: I826d9e065bae59cdd213131163b31b2099806dd3
2013-11-22 13:34:45 +02:00
Tor Lillqvist
b9a3acb44c Use the CLANG_CXX_LIBRARY from lo.xcconfig
Change-Id: Id6424157d2a9ba2a4ab987cd8aafd9c7de52f836
2013-11-22 13:34:45 +02:00
Tor Lillqvist
a8c4390b66 I think we need to restrict ARCHS to armv7
Change-Id: I5f9c7ec4a154af4422ce5ae841c350b5640eb026
2013-11-21 20:17:00 +02:00
Ptyl Dragon
865433b348 measuring the time it takes to render a tile
Change-Id: I37db170af0e507c99d571b94ff78a1987944290e
2013-11-15 16:52:07 +01:00
Tor Lillqvist
e56b0c0f24 Adjust parameter defaults to give pleasant result
Change-Id: Ifee900344547ef25b2041d25c13fcbc50428485e
2013-11-15 16:52:06 +01:00
Tor Lillqvist
19fb3b3998 Keep tile top-left corner fixed, don't center it
Makes it easier to see what happens when the parameters are tweaked.

Change-Id: Ia69c0de74ccf3fcc8a5095a7cc62c6b4185cf9d6
2013-11-15 16:52:05 +01:00
Tor Lillqvist
781e4edac5 Tweak default values of tunables and use larger default step size
It is more interesting to get smaller text in the initial tile. Also,
make the tile fit on the screen of an iPad.

Change-Id: Ibe4e7f055ec2782a4fd96a3ae585d4630449f0ee
2013-11-15 16:52:03 +01:00
Tor Lillqvist
df9e43c61d Reduce NSLog verbiage a bit
Change-Id: I362acb92da88f9e348b33414cdc31cd83bfe1eac
2013-11-15 16:52:03 +01:00
Ptyl Dragon
360f741d68 fix less than 1 step limit
Change-Id: Ic5fd714ff975b6e5afbe7ff78f3fc1da398a658d
2013-11-15 16:52:03 +01:00
Ptyl Dragon
541d9ac222 changed testing app UI to be more clear what it does
Change-Id: I5307478fc47f0810cae24c72ce509ac6a409bf1b
2013-11-15 16:52:02 +01:00
Ptyl Dragon
2ccb8de590 added linking of width and height
Change-Id: I2282fcfffed5c17eb1798d3198d6f04dc27208e9
2013-11-15 16:52:02 +01:00
Ptyl Dragon
f3694fc39f in progress of linkinh width and height
Change-Id: I2d7f5a7bd41b8d2c4a62d199abb81afc466fc2ce
2013-11-15 16:52:02 +01:00
Tor Lillqvist
251e5534b1 Saving the graphics state around touch_lo_draw_tile() seems unnecessary
Change-Id: Ic1a6cf64fb05810eccc91d0095c9ced54d3d9fe1
2013-11-15 16:52:01 +01:00
Tor Lillqvist
3e4102f0fc No Y flip needed here
Change-Id: I2518a6151050edee8796a77633097fdd11202647
2013-11-15 16:52:01 +01:00
Ptyl Dragon
1974d99b60 UISteppers now go down as well
Change-Id: I06e1b7fec490ec373a9775915d6dc2c30ce805f1
2013-11-15 16:52:00 +01:00
Ptyl Dragon
5c6aa9ae86 tiledrendering new stepper ui for tor
Change-Id: I3d4586c84adfa9f0416a043230c6227bda98d9dd
2013-11-15 16:52:00 +01:00
Tor Lillqvist
5440d47c9c Use actual executable path in the fake argv
Not that I think it is needed for anything useful, but better to be
correct than to use the leftover "Viewer" name.

Change-Id: I0878d39abf99c9d07807aa6854bfdcf12bc81ab8
2013-11-15 16:51:59 +01:00
Ptyl Dragon
2a7ccf0c0a added units MLODpxes and MLORips
Change-Id: Ica09fbd0f6a822f464df302dba4cf40d1d089697
2013-11-15 16:51:58 +01:00
Tor Lillqvist
59e1b64cc1 touch_lo_get_content_size() returns CGSize now
Change-Id: Ib90c37c002192cfbed16d63f212212afbfb0eb6b
2013-11-15 16:51:57 +01:00
Ptyl Dragon
814ca0766e ready for integration with CATiledLayer
Change-Id: I50f519a37036ed3d17f73c80b33f4a9c4c19cb52
2013-11-15 16:51:57 +01:00
Ptyl Dragon
6b6088fa9c 1st implementation of touch_lo_get_content_size
Change-Id: I8b72c4366b502a71f2ed3bf917296c9553364d83
2013-11-15 16:51:56 +01:00
Ptyl Dragon
8d56ce8927 refactored mlo_uno to be in lo C++ conventions
Change-Id: I908902e6b9224b90c196a7f39b573e07b4928250
2013-11-15 16:51:56 +01:00
Ptyl Dragon
4861063081 for tor
Change-Id: I1565450c763e4f0bf1a724978b5550163d627482
2013-11-15 16:51:54 +01:00
Ptyl Dragon
ee7f141fb6 now iOS draws something (upside down)
Change-Id: Ibf04322d34605fce30b2fa477de98a3e2ff9c2d1
2013-11-15 16:51:52 +01:00
Ptyl Dragon
637e8970cf now showing blank tile
Change-Id: I76cbf205e19ffff83bea1ebae28f5172b2fbc250
2013-11-15 16:51:51 +01:00
Tor Lillqvist
9fabf25bc4 Dummy implementation of touch_ui_dialog_modal()
Change-Id: I38b72837d8a26ef95d84deca299023c1646169cf
2013-11-01 00:23:00 +02:00
Roi Illouz
aae312db55 Fixe project for Xcode5 iOS7 new solver changes
Change-Id: I13c33cb0806dd16c2255788f5bcf635413644792
Reviewed-on: https://gerrit.libreoffice.org/6514
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-31 13:06:02 +00:00
Ptyl Dragon
95f112d200 added stub for void touch_ui_selection_none in MLOGestureEngine
Change-Id: I45f957863dc26b2ef40bdfed04cb689325f5b170
Reviewed-on: https://gerrit.libreoffice.org/6492
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-30 13:50:04 +00:00
Roi Illouz
84cfb9b992 New CustomTarget, move Xcode setup to Makefile
Change-Id: Id03bf8002902f1adec57356601b28ab2c743df2a
Reviewed-on: https://gerrit.libreoffice.org/6476
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-29 19:16:30 +00:00
Roi Illouz
d8d0b83435 Fix breakpoint support for Xcode
Change-Id: Ifd80d9128fdd37f91377ccb48e91db273a5b1770
Reviewed-on: https://gerrit.libreoffice.org/6358
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-20 13:15:00 +00:00
Ptyl Dragon
6dd8449172 fix save several file on by reseting the xstorable on close
Change-Id: I329d43e06b0c81cebda0464ebb0fff41714020a3
Reviewed-on: https://gerrit.libreoffice.org/6355
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-20 09:23:22 +00:00
Ptyl Dragon
1034a2eb97 added save to ios app and removed keyboard on open
Change-Id: Ibfa9373cc82d7e2022190e158f94eb323a57f241
Reviewed-on: https://gerrit.libreoffice.org/6351
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-19 10:05:27 +00:00
Ptyl Dragon
4219195dec ios tile testing app done
Change-Id: I1c4a45c3f19d79b4da8cc96304e0e1802f92dff2
Reviewed-on: https://gerrit.libreoffice.org/6320
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-18 16:07:19 +00:00
Tor Lillqvist
459e3a26a4 Add dummy touch_ui_selection_start()
Change-Id: Id3854de1bcb8d5856d56e96895ff3bbf2e4aa666
2013-10-18 15:45:20 +03:00
Tor Lillqvist
ab5b6e3de4 The Emacs mode for Objective-C is called "ObjC"
Change-Id: I78428758aff0f0fb7e25ae8724ac32db824e10a6
2013-10-17 21:18:10 +03:00