summaryrefslogtreecommitdiff
path: root/ios/MobileLibreOffice
AgeCommit message (Collapse)AuthorFilesLines
2013-12-23Add arm64 to VALID_ARCHSTor Lillqvist1-3/+3
Change-Id: Ibf1ed5ee1d7ab8319b393475c49655708e9a6d61
2013-12-18Add a view-only iOS test app using tiled renderingTor Lillqvist1-0/+48
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-14iOS tiled rendering workTor Lillqvist1-0/+2
Possibly quite broken intermediate commit. But anyway, now it is possible to render the tile diretly to a CGContext. Can be seen in the MobileLibreOffice app when build in the Debug_tile_tester configuration. See touch_lo_draw_tile() in viewsh.cxx. Unfortunately the old plain LibreOffice test app is now broken, though, and displays nothing at all. This refactoring and hacking in vcl was done in a quite ugly fashion, with ifdefs etc. But trust me, I did try, several times, for many days, to get where I wanted in an elegant and clean fashion. But doing it cleanly meant not being able to actually build it for days while trying to figure ut which bits go where and which class should be split into what base and derived class(es), and it was too much for my limited brain capacity. I just couldn't juggle all the vcl class structure in my head, especially as I don't have any good understanding of the general design of it all. Change-Id: Ia59d6a9cce15a63e63f94e8d8574bef21993fb1f
2013-12-11Add a fileTor Lillqvist1-0/+10
Change-Id: I32bc4852396b0eff9962dc5cd007faf0bb9f5eaa
2013-12-11Use same test1.odt as in odk/examples/java/DocumentHandling/testTor Lillqvist1-0/+0
It includes a small PNG image, too. Change-Id: I31169698a7573b7a6e272277a49cefe76c74f959
2013-12-11Add basebmp sourcesTor Lillqvist1-0/+14
Change-Id: Idcf6e210a888a80fa4adb7ac8532e4db075eebf7
2013-12-10Add more source files for easier breakpointing in XcodeTor Lillqvist1-0/+10
Change-Id: Ibe97fe4a105d048c02d3af5263efc68d486afb06
2013-12-09Update file paths and names after c49721950cb3d897b35f08bf871239308680b18eTor Lillqvist1-7/+7
Change-Id: I2798800689809c8dfc3edede337f7667ff3248a1
2013-12-09Add types.rdb (formerly known as udkapi.rdb) to MobileLibreOfficeTor Lillqvist1-0/+4
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-11-22No lib_link directory is used any moreTor Lillqvist1-1/+0
Change-Id: Ic21750744794b4721c28f4e2b23e5e5ca5d74db5
2013-11-22Use the CLANG_CXX_LIBRARY from lo.xcconfigTor Lillqvist1-3/+0
Change-Id: Id6424157d2a9ba2a4ab987cd8aafd9c7de52f836
2013-11-21I think we need to restrict ARCHS to armv7Tor Lillqvist1-0/+3
Change-Id: I5f9c7ec4a154af4422ce5ae841c350b5640eb026
2013-11-15Add the vcl/coretext source filesTor Lillqvist1-0/+14
Change-Id: Ifa700d0dc9a5545254a4c04284dd3c3ad46f92cb
2013-11-15Add more source files for convenienceTor Lillqvist1-0/+156
Change-Id: Ie605c8068a62480e360c13f08eea785d54c57f42
2013-11-15Add a bunch of LO source files, not in any target, for convenienceTor Lillqvist1-0/+186
Change-Id: I06eefc339b9b2fead6c80979b86d30975875fa51
2013-10-31Fixe project for Xcode5 iOS7 new solver changesRoi Illouz1-9/+5
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-29New CustomTarget, move Xcode setup to MakefileRoi Illouz2-26/+5
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-27No more lib dir. Linking to original filesRoi Illouz1-1/+1
Change-Id: If63add1f1bfdb9f5a2bcdc0c942bf991cbc47dfc Reviewed-on: https://gerrit.libreoffice.org/6445 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-22emantic name changing fro LO_LDFLAGS to LINK_LDFLAGSRoi Illouz1-4/+4
Change-Id: Iee16bd0d774a9c24834a2a0882d301a9255d7bd9 Reviewed-on: https://gerrit.libreoffice.org/6372 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-22Created an automatic lib linkage with no copy to source treeRoi Illouz1-1035/+13
Change-Id: I60384fdb4307b71d84072a0268e75abead8c5896 Reviewed-on: https://gerrit.libreoffice.org/6368 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-20Fix breakpoint support for XcodeRoi Illouz1-4/+4
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-18ios tile testing app donePtyl Dragon1-0/+5
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-17The Emacs mode for Objective-C is called "ObjC"Tor Lillqvist16-16/+16
Change-Id: I78428758aff0f0fb7e25ae8724ac32db824e10a6
2013-10-17infrastructure for ios tile testing appPtyl Dragon1-1/+69
Change-Id: I1a3d10b7fb61b19664b383d29c6e607c01b90a71
2013-10-17Make the MobileLibreOffice project work better in a srcdir!=builddir scenarioTor Lillqvist1-1/+1
Manual intervention still needed to copy over the ios/MobileLibreOffice and ios/shared directories, though. Change-Id: I1e985cb9bf61238631bd01cd222eeaeb447d58b9
2013-10-16Use ln -f to avoid warnings about existing filesTor Lillqvist1-1/+1
Some libraries exist both in solver/*/lib and in their UnpackedTarball/foo location. Change-Id: Ie312479069738b27900bd4d7021ede986d94f22a
2013-10-16Drop the set -xTor Lillqvist1-1/+1
Change-Id: I014202fa48a211499b0290e6236bbdc96ad247a8
2013-10-16Make libc++ optional for iOS and use the right library in the Xcode projectsTor Lillqvist1-4/+0
It seems that using libc++ when building with Xcode 4 (and iOS SDK 6) you get linking errors. Stick to libstdc++ for now then with that. Propagate the choice to the iOS Xcode projects through the lo.xcconfig file. Change-Id: Ic61dd2336066a77c4219c532106e3e50e85d0689
2013-10-16For clarity, prefix the LO-specific Xcode configuration variables with LO_Tor Lillqvist1-1/+1
Change-Id: I196feb392f9ebebfdcd6f6e0ecd2c9cc89707cbb
2013-10-16Adapt to changed directory structure in fundamentalrcTor Lillqvist1-1/+1
With this change, the MobileLibreOffice app builds and runs for me. Change-Id: I8c7ce3fdedced5eb82ed18e21873e773733d612f
2013-10-16No "registry" directly at top app level any moreTor Lillqvist1-2/+0
Change-Id: Idc81f4913a96938f1fdd2644cc9e34a07554bb21
2013-10-16Use libc++ here, too, as we now do for the LO codeTor Lillqvist1-8/+8
Also quotes added by Xcode around library names that contain nonalphanumerics. Change-Id: Ie5b34b2da0ec5600e9ca1aba1e17efd7e3e087de
2013-10-16Ignore the lib_link and resource_link dirsTor Lillqvist1-0/+2
Change-Id: Ib30199e3f193f9b98e9f0e2ec0d76953abf39a14
2013-10-16Adapt library names and paths to current build systemTor Lillqvist1-41/+21
For many 3rd-party libraries we have for some time already kept the archives only in their build directories, under workdir's UnpackedTarball. Also, we now use upstream names for them which often contain a verison number. Change-Id: I51888de287e2c352a890bd4ae1dfdf0c6dc77158
2013-10-16Linking changes: Adapt to changes in build systemTor Lillqvist1-5/+1
Link libs from where they are now. Yeah, a third place where we tediously list this (also in solenv/gbuild/platform/IOS_ARM_GCC.mk and ios/Executable_LibreOffice.mk, although the latter will probably now go away when/if the experimenatl iOS app is superseded by this MobileLibreOffice app). Also, don't duplicate the lib_link directory, and don't use a path to the randomly-named DerivedData directory. Change-Id: I7b685085d07da18a4594db067fb586b4eb3d2d4a
2013-10-16Adapt to recent changes in solver/instdir/workdir structureTor Lillqvist1-1/+1
Change-Id: I1286feafa1a11fe30aa4f8383c094661aa10db92
2013-10-16Use OUTDIR and INSTDIR in the shell scriptTor Lillqvist1-1/+1
Change-Id: I400fc5d0d572b3eab99f8da20162de1191cf3a53
2013-10-16We want config_host, not config_buildTor Lillqvist1-1/+1
We use GNU cross-compilation terminology: "host" means the platform the code being compiled will run on (this is often somewhat surprising to those unaware), and "build" means the platform the build tools (= the compiler, linker etc) is running on. For an iOS app, "host" is iOS and "build" is OS X. There is also "target" but it is in this case the same as "host". (Only in a so-called Canadian Cross situation is "target" different from "host" (and from "build").) Change-Id: I6eefa982916f0660afd259770bf455cf28793670
2013-10-16Set ARCHS = armv7 otherwise Xcode complains for me about armv7sTor Lillqvist1-0/+2
Change-Id: I59767af5fe4b2067a175c6882ecb3edf3c4ee2f7
2013-10-15Add the new iOS app project filesptyl@cloudon.com41-0/+2833
Change-Id: I9ac049ef61e698afda1577a630e1185c75a33734