Commit Graph
10 Commits
Author SHA1 Message Date
jan Iversen 97d03a1209 iOS, updated resource paths.
changed name of example.odt to welcome.odt

Change-Id: I59625949f4aaad3b3f75bfa243f1a4186d563822
2018-03-03 22:30:25 +01:00
jan Iversen 6b08a0c363 iOS, made example.odt local to ios
Have a local copy instead of referencing the android dir, allows us to
make modifications local to iOS.

Change-Id: Ifb6292cff5dcfce0a45c210176f8597d0091ee20
2018-03-03 22:30:25 +01:00
Jon Nermut 671e67dfc2 iOS: linker changes for on device
[ae490dd] iOS: add script to sym link the dylib to the right spot

Adds a shell script to symlink the right dylib into the build products folder,
which means we can reference libKit.dylib relative to that, rather than absolutely

[ba4c072] iOS: pass in user path

On device using appPath/user as the user directory causes a crash, as an app cannot write inside it's bundle. Instead, add a new param to pass the documents dir into the init.

[088ad49] iOS: linker changes to run on device

Change-Id: I16f5d85f3ca483df11b82108ee39c4ec461214f4
Reviewed-on: https://gerrit.libreoffice.org/48866
Reviewed-by: jan iversen <jani@libreoffice.org>
Tested-by: jan iversen <jani@libreoffice.org>
2018-01-30 08:51:39 +01:00
jan Iversen 73259891a3 iOS changed reference to native-code.h
Change-Id: Icadbdc4463ffb9591353e820f66474c65efd12cf
2018-01-14 12:03:40 +01:00
jan Iversen e25d7cc905 iOS, removed hook reference
Change-Id: I9a9d9613313ac8d0e611f4d7f766c42ab71963e1
2018-01-12 13:13:25 +01:00
jan Iversen e4f5c5cebb iOS, reference to hook_2 wrong
Change-Id: I4f0051bac812969988b701383a9df7db96ce245e
2018-01-10 14:23:02 +01:00
jan Iversen da745e2f14 iOS, add bridge function to expose kit pointer.
Change-Id: I534dc7e418c342d50762fbb69ae442a75610b278
2018-01-08 20:04:53 +01:00
jan Iversen 72db74239a iOS, allow calls to LibreOfficeKit from swift
Extended the bridge to include original LibreOfficeKit.h
as well as Kit pointer (set in init call)

Change-Id: I5e96f2706ac4d1ee897b977d3322bdc1b91f1a0b
2018-01-06 10:43:47 +01:00
jan Iversen 781c532068 iOS, make Kit symbols external
Xcode has a problem (a bug) with linkink .o files to a
project, this is ignored on the linker line.

We use visisbility=hidden as default, therefore the symbols
to be exported need to have the attribute
visibility=default

Change-Id: I079189dbaf6c0f606028a1e582f320db97995285
2017-11-26 19:19:51 +01:00
jan Iversen ed885a3cdb iOS, do not use different C compilers
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-23 08:53:39 +01:00