summaryrefslogtreecommitdiff
path: root/ios
AgeCommit message (Collapse)Author
2019-04-12tdf#124449: We need also share/gallery for the iOS appTor Lillqvist
I wonder wheter we should just include all of instdir/share. Seems that I have to add more and more of it all the time anyway. I don't remember why I thought (many years ago) that an app would need just a subset. (Maybe I thought that an app would not, at least not initially, have functionality that would use most of the stuff in shre. But that has changed now.) Change-Id: I62f935e3ab9c4709373fad11ed120ecca033b4aa
2019-03-25Just include all fonts from instdir/share/fonts in the iOS appTor Lillqvist
Change-Id: I7c98fb1cbf6523e39111c774a5ef3af20bba73b6
2019-03-20tdf#124168: The share/template folder is needed in the iOS appTor Lillqvist
Otherwise we get a warning dialog about a missing internal/idxexample.odt when inserting a table of contents. Change-Id: Id30be100906ea3292b9acd9e983ef7ae39ef63a2
2019-03-11We need share/theme_definitions in the iOS appTor Lillqvist
Change-Id: I460a71f363eb3b7f89786b8bd02f4b8f9521f4c7
2018-11-27Prepare to bundle the Liberation fonts with the iOS appTor Lillqvist
The way the iOS app is built (over in the online repo), any "resources" to be included need to be copied into the workdir/CustomTarget/ios folder. Change-Id: I0104df73326a8ccfa86235ea23b5900f9d2554b5
2018-11-27Fill buildid in versionrc for iOS with the git HEAD hashTor Lillqvist
Previously it tried to use a BUILDID Make variable that did not exist. Change-Id: Idaf8076fac0a39fc3805c4445de2b41b55044c1a
2018-11-14Do include the message catalogs, if any, in program/resource for iOSTor Lillqvist
Change-Id: I75f3e3d9873e2612852a3a43476f6f453732e457
2018-11-12We need share/liblangtag, tooTor Lillqvist
Otherwise i18nlantag works weirdly. Change-Id: Ic5bf2007e586e6bb53a9e89782c2b05f73e348e3
2018-11-06The image zipfiles should be in share/config, it seemsTor Lillqvist
Change-Id: Ifa27bb32aeff719aa0a9b3a3c70b5b61047f17f6 Reviewed-on: https://gerrit.libreoffice.org/62943 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2018-11-01Handle also css::ucb::NameClashExceptionTor Lillqvist
Change-Id: I979a163e796418d9a693229698b638cec4bf2226 Reviewed-on: https://gerrit.libreoffice.org/62708 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2018-10-30Add BRAND_SHARE_SUBDIRTor Lillqvist
Change-Id: If50391d2f20e5540f355b5498d7845b0fae6e774 Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2018-10-30Make this more like in master and as the "Mobile" app in online.git expectsTor Lillqvist
Change-Id: I4116d8b35f5219c3cec12c1905bb1c21f23c22a5 Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2018-10-30Need to handle css::uno::RuntimeException too nowTor Lillqvist
Change-Id: Idedcaddeab80fcfdc3d5a4f2852712827a98e848 (cherry picked from commit 45786711ec54e738d868ceabdc1a9f5bccffec1d) Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2018-10-30Re-think cppu::throwException() and the C++/UNO bridge on iOSTor Lillqvist
It seems that on iOS, where we don't have any Java, Python, BASIC, or other scripting, the only thing that would use the C++/UNO bridge functionality that invokes codeSnippet() was cppu::throwException(). codeSnippet() is part of what corresponds to the code that uses run-time-generated machine code on other platforms. We can't generate code at run-time on iOS, that has been known forever. Instead we have used some manually written assembler to handle it instead. We used to have a Perl script to generate a set of code snippets for different cases, different numbers of parameters of the called function and whatnot, but that went away at some stage some year ago. (It is unclear whether that broke the C++/UNO bridge on iOS, or whether the stuff continued to work even after that.) Anyway, this handwritten assembly, or the manual construction of internal data structures for exceptions, or something else, seemed to have bit-rotten. Exceptions thrown with cppu::throwException() were not catchable properly any longer. Instead of digging in and trying to understand what is wrong, I chose another solution. It turns out that the number of types of exception objects thrown by cppu::throwException() is fairly small. During startup of the LibreOffice code, and loading of an .odt document, only one kind of exception is thrown this way... (The lovely css::ucb:InteractiveAugmentedIOException.) So we can simply have code that checks what the type of object being thrown is, and explicitgly throws such an object then with a normal C++ throw statement. Seems to work. Sadly the cppu::getCaughtException() API still needs some inline assembly in the C++/UNO brige. That seems to work though, knock on wood. This commit also adds a small "unit test" for iOS, copied from cppuhelperm to ImplSVMain(). Ideally we should not copy code around of course, but have a separate unit test app for iOS that would somehow include relevant unit tests from source files all over the place. Later. Change-Id: Ib6d9d5b6fb8cc684ec15c97a312ca2f720e87069 Reviewed-on: https://gerrit.libreoffice.org/60506 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit 7d6be61a62ca3724c67ab3fb93e60a2748d8a67e) Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2018-10-30Return share/config/soffice.cfg as it was, as I think the code expectsTor Lillqvist
Change-Id: I0991b13a7538581642f530bf45a1bba1b1b644d5 Reviewed-on: https://gerrit.libreoffice.org/60505 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2018-10-30Don't copy files into the source directory, use workdirTor Lillqvist
Change-Id: I0b17c595fc0d169f6393ab8734a1eecb241f59be Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2018-10-30Put the lib names one per line to match what ld's -filelist expectsTor Lillqvist
Change-Id: I7454c10a1547db796554f45f2d630af81a916c55 (cherry picked from commit 59b9fc4776940863d905de14e25d74421f7de603) Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2018-10-30Run bin/ios-all-static-libs and put its output in a fileTor Lillqvist
(To be used from Xcode projects elsewhere building iOS apps that want to link to iOS code built here.) Change-Id: I39bf2a4ed059930fcfc30c4d2016dfbc698da353 (cherry picked from commit e3bac83bec762db924149f710f1ba437e0c94582) Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2018-10-30Use $(ICU_MAJOR) instead of hard coded (Upgrade to ICU 62.1)Eike Rathke
Change-Id: Ifea7072922388b2c0b7631fb809b23e2a5524a3c Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2018-10-30Don't bother with the WIP stuff for LibreOfficeLight in this branchTor Lillqvist
LibreOfficeLight is buildable in master. In this branch I am now trying to make it build for the needs of the "Mobile" app in online.git. Change-Id: I08b1ea0ef74dc5384d3b2edb2607d4a4f031469a Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2018-01-18Resolves: rhbz#1535541 fdo#88004 mimetypes are .macroEnabled not .macroenabledCaolán McNamara
Change-Id: If7942ec9d4cd40f29fae2b9a8f76df1ef08bfc17 Reviewed-on: https://gerrit.libreoffice.org/48121 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-25iOS, remove app xcconfigjan Iversen
This is now handled directly in the project Change-Id: I1a57521ff8fe733d56154d186c98f68556128ebd
2017-11-25iOS, project update to compile with dummy LOkitjan Iversen
Change-Id: If76f4aaecb853db6b33d671092b7806bbb9b9d2d
2017-11-25iOS, update app projectjan Iversen
Updated LibreOfficeLight to correspond to new prelink. Change-Id: Iec0425d3516849afaae4b640e8b4fc733430d595
2017-11-25iOS corrected object namejan Iversen
removed "lib" from object name updated README Change-Id: I37948aca4d3a1e226e55a84a13e41d0237cbc6fb
2017-11-24iOS, typo in release mkjan Iversen
removed extra l Change-Id: I6b01bb25a3e8d1caa5ba04ac09a5fa078bb2d664
2017-11-24iOS, used wrong gbuild get_target macrojan Iversen
Change-Id: Ie23c71faef2b14480b3797dd66bfe9788401ccf4
2017-11-24iOS, prelink with native linker.jan Iversen
Removed the need for a xcode project to prelink all LO libraries. Change-Id: I16d38ae0205e73de59b1cf3abdbbb8d4fea6d24c
2017-11-24iOS .mk naming conventions.jan Iversen
Updated target names, to allow cross references. Change-Id: Ie0959876df58657a2303ca2b0865e91a7f5a0eea
2017-11-23iOS, do not use different C compilersjan Iversen
LibreOfficeKit.c was compiled with an xcode project and not like all other sources. Changed to use clang with same switches as rest of LO. Separated resource generation in own makefile Removed project LibreOfficeKit which was responsible for prelink. Change-Id: Iaf9fbb4b652501af0b7f3643ed3efcc2ed93b611
2017-11-23iOS, unicode not used in swift interfacejan Iversen
remove include not needed Change-Id: Ibad12f510a5d947ba2754dae192413852e63ab03
2017-11-22iOS, update icons to support new modelsjan Iversen
Update of icons and start image (xib file not png) Change-Id: I172c4e6eb0f27d6dd05b9eb28b2e352f29578279
2017-11-22iOS, update app project.jan Iversen
Adjustments to cope with schemes. Change-Id: Ifbe50658299927d66886fc88753db5544e1f93d6
2017-11-22iOS, update loApp.xcconfig pathjan Iversen
Path is now relative to core directory, as documented Change-Id: Ib731e8c650dd600932516cfda2e9545b04609994
2017-11-22iOS, icudt59.dat => icudt60.datjan Iversen
Updated copy of icu dat file, due to version change Change-Id: I12885de019fa00f0816b9c31a30d02e73821be33
2017-11-22iOS, changed debugger from to lldbjan Iversen
gdb2 does not work well when using a swift based frontend. changing to default debugger but only for iOS. Change-Id: Iae0df85b9db4b3dfaf9fbc0e42848c52f3685a48
2017-11-19iOS, updated app iconjan Iversen
new demands for appicons (iOS 11.1) Change-Id: I26eb7c61d4ffe24347ed3b192b579d07e46afc34
2017-11-19iOS, added schemes to projectjan Iversen
This is very much an experimental feature, to ease the building process. Currently only SIMULATOR is tested Change-Id: I67137057132115d800af31a617aeafc585b0819b
2017-11-18iOS, Xcode upgrade ruined project.pbxprojjan Iversen
The latest Xcode upgrade caused dublicate XBUILDCONFIGURATIONS, giving a strange behaivour when changing parameters using Xcode. Change-Id: I3e4d43af5540ef505665cf832090c767774bd951
2017-11-17iOS changed icons to non transparent.jan Iversen
Transparent icons have a black frame on the iPad, changed transparent background to a green background (after all green is the color of LO). Change-Id: Id0703c63bab0f6cb5d5a9c268124daba5d6323b1
2017-11-17iOS, updated app icon setjan Iversen
Change-Id: I5995f4caad6b03bad7cbc76e860ea0471572952d
2017-11-16iOS disable bitcode.jan Iversen
Change-Id: Ibbd5e789155d312c9639b5bb594ca5470314c5c2
2017-11-16iOS, add tile sizing functionjan Iversen
Added function to calculate needed tiles. Change-Id: Ie598f6a5f438dea72c298e769bdba8fd00bbb4bf
2017-11-16iOS, update LibreOfficeLight versionjan Iversen
Getting close to a realistic beta state Change-Id: I30dddce6b52f622a3295b905d781b6c0543f45f7
2017-11-12iOS, updated link flagsjan Iversen
added -ggdb2 to final linking Added extra folder to include some LO files needing debug Change-Id: Ieed2ff630b67df358dc47e2b27a51e8c692308b5
2017-11-12iOS, added -ggdb2 prelinkjan Iversen
New xcode needs -ggdb2 (like the compiler) in order not to strip symbols Change-Id: I652b1d9791d1ce6d752748eb950615051d140ba7
2017-11-12Bin file accidentally committed in 8e84dfd7c678e2774522a8d23fa4f6313ed6281aTor Lillqvist
Change-Id: I8bbe484790d8012ff921b1e438ab3d8985c0c39e
2017-11-10Elementary: update icon packandreas kainz
Change-Id: Ic20330ed474d434dfb2ab25d4c94875ff305eca8 Reviewed-on: https://gerrit.libreoffice.org/44596 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2017-11-02iOS, update to new xcodejan Iversen
Updated settings to new xcode Change-Id: I04eed7eaaf02dda69b4dbce7376b883478b78d27
2017-11-02iOS activated full build for testjan Iversen
Removed compile of dummyLO, meaining full link is performed (to test LOkit_open) Removed faulty properties in property view scene Change-Id: I980cadaf98d40f3e497ee6aa69cb6166fa1b87f7