Commit graph

107 commits

Author SHA1 Message Date
Tor Lillqvist
a3892f465b Bin lotuswordpro_component_getFactory
Not suitably licensed.

Change-Id: I221cccb9d2ff5b6cb5e25161b6d5bfe504acb10e
2013-04-24 18:14:10 +03:00
David Tardon
c042cd05e9 gbuild: drop uses of removed packages
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac
Reviewed-on: https://gerrit.libreoffice.org/3502
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:18:03 +00:00
Michael Meeks
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Tor Lillqvist
685a12ac0e Prefer simple and working solution to obscure and non-working
Change-Id: I5c7d02daced542222c2cb3881fafd2d58fe7f14d
2013-04-19 09:28:54 +03:00
Tor Lillqvist
1e7bf8de3b Add pan gesture handling
I get exactly the same kind of artefacts as in the Android app, which
I guess is good as it is at least consistent, as the implementation at
the LO layer is identical...

Change-Id: Icf0690fd2c48a133cb66de2ab7977b7088d2199e
2013-04-19 00:18:33 +03:00
Tor Lillqvist
7711a60a64 Try to get the tinderbox build working
Change-Id: Ie0a9b6e64c35a046afbb5c26c1b75bdd0d897a23
2013-04-19 00:18:33 +03:00
Tor Lillqvist
aca9824cfd Add comment
Change-Id: I737e43d35eb2ebd6aeadeb5695cb3ecc74cc4484
2013-04-19 00:18:33 +03:00
Tor Lillqvist
ab49c55bbc More orientation experimentation and hacking
Now it re-orients and re-sizes the LO "frame" correctly upon rotation,
but it still starts wrongly if starting in landscape orientation.

Change-Id: I4c12a7e00d687391435a47400b6e8b4c7e49bdda
2013-04-16 15:51:03 +03:00
Tor Lillqvist
cfe512ac7b Start hacking on handling orientation changes
Change-Id: I94cfdc1b334539399faff29c046185bbbf698d23
2013-04-15 21:25:43 +03:00
Tor Lillqvist
c02f96f0bb Bin unneeded #includes and usings
Change-Id: I93102156c4713191c8ad49da9b9d2eda5be722e8
2013-04-15 21:25:42 +03:00
Tor Lillqvist
efef1c690f Add components needed by spreadsheet documents
Change-Id: I191bc093def5d2965b463dcff9e1289901064ce8
2013-04-15 21:25:42 +03:00
Tor Lillqvist
b0e6bba1c5 Try depending on touch_inc to maybe fix tinderbox build
Change-Id: I9833437256243c26b9ff468937ec9f975c2e898d
2013-04-14 21:00:01 +03:00
Tor Lillqvist
e3e040f671 Add text input to the iOS app
Don't have our View class implement the UIKeyInput protocol any
more. It won't work properly anyway. The docs say: "Only a small
subset of the available keyboards and languages are available to
classes that adopt this protocol".

Instead, use a transparent UITextView on top of our View to accept
keyboard input.

Seems to work as expected.

Change-Id: I3093ea7fbfa0ecab0dc5d0a38e5695723e8ed4ad
2013-04-14 01:52:28 +03:00
Tor Lillqvist
410ad97b30 Listen for keyboard show and hide notifications
Only react to hide notification for now, call lo_keyboard_did_hide()

Change-Id: I2f429039d2a84269783d103ad635ff4c407c4a15
2013-04-13 20:59:04 +03:00
Tor Lillqvist
7f93d63ae2 Add some more files for easy breakpointing
Change-Id: Ib68928d7213a7dbba830b20c882ba53c6f3deb4c
2013-04-13 20:59:03 +03:00
Tor Lillqvist
a6e1f214c9 Start implementing on-demand keyboard display for non-DESKTOP
Change-Id: I9321dcf9d863cb59eee9b2a012d887a17cb1b454
2013-04-12 15:22:10 +03:00
Tor Lillqvist
8000406861 Add one more file for easy breakpointing and re-structure list a bit
Change-Id: If37b5e646562357c4c6c9ce0a3821d92bbfc07f9
2013-04-12 15:22:10 +03:00
Tor Lillqvist
034d5fe9ac Sort source files for clarity
Change-Id: Idac1c756faa47236e4ebc3c7400f7e4412f02a44
2013-04-12 02:24:44 +03:00
Tor Lillqvist
25c6386a52 Typo
Change-Id: I87c74eb6e4f9aa4f06bfca00817b4d04d7d84b40
2013-04-11 13:44:13 +03:00
David Tardon
e2d31c5e70 fix ios build
Change-Id: Id8c405e63abec3d8c1d3c5f8fb7f40ba082c9f47
2013-04-11 12:08:14 +02:00
Tor Lillqvist
99bf1f244a Add some more interesting sources
Change-Id: Id0fdba93a5d3a46a79cebea8839bdfd467ef4f6f
2013-04-07 01:34:43 +03:00
Tor Lillqvist
f3dbb35c80 NSLogging changes
Change-Id: I42991d7a9c9e0bd4a023739051393935efa5c29f
2013-04-07 01:13:37 +03:00
Eike Rathke
876c619b94 new module i18nlangtag
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.

This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.

Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05 19:10:48 +02:00
Tor Lillqvist
cc8ca7fad0 Try again to use AllModulesButInstsetNative to unbreak tinderbox build
Change-Id: Ib9da3de2cedf423a18819aa83fa55de77a288a72
2013-04-05 08:50:49 +03:00
Tor Lillqvist
8facc8e986 List more libraries in an attempt to make tinderbox builds work
Change-Id: I21e6affaf08322f9e9cf1554e76f935f2c3e29b3
2013-04-05 00:19:21 +03:00
Tor Lillqvist
85b104712b No need to setenv SAL_LOG in the code for iOS
One can set environment variables to be used when debugging an app in
Xcode, which is when it is interesting to see SAL_INFO output anyway.

(This is very different from Android, where one can't set environment
variables "before" an app starts, as apps there aren't separate
programs that would be exec'ed.)

Change-Id: I3971d1b2d1a849deac2722a90271ef2458db1643
2013-04-05 00:19:17 +03:00
Tor Lillqvist
5f18619f93 Add the vcl coretext sources
Change-Id: I433419e1ed7bda566bb13bf14346948d131abee6
2013-04-03 23:38:13 +03:00
Tor Lillqvist
4f879d0cd5 Checking the device orientation at this stage doesn't seem to work
Change-Id: I0015f7d751cb0e45262774c19a120f428cb35af2
2013-04-03 23:38:13 +03:00
Tor Lillqvist
d054a817be Revert "Try redrawing in multiple phases to avoid blocking the UI thread too long"
This reverts commit 3aae02d02d418222b0b51748008ed5c9c1f1d3c2.
2013-03-31 21:56:40 +03:00
Tor Lillqvist
41a70cc2d3 Try redrawing in multiple phases to avoid blocking the UI thread too long
When initially calling lo_render_windows() from a redrawRect(), just
post the user event asking for a redraw of the (headless) windows, and
return without actually drawing anything to the context.

Then when the RenderWindows() callback for that user event eventually
gets called (which during startup and/or loading of a document might
be several seconds later, as there is lots of other activity going on
also as "user events"), ask the UI thread for a fresh redraw, and wait
for lo_render_windows() in that phase to signal the actual redraw of
the "headless" windows into the context.

Unfortunately this doesn't work well enough. It is not a good idea to
not draw anything in response to a drawRect() it seems. The affected
rectangle gets initialised to black. So there is now irritating
flashing. One sees an almost ready document (and the UI elements which
still are there), but then it goes away for some time before finally
re-appearding. Quite silly. So I will revert this, and I am committing
it just to keep the code for reference in git.

Change-Id: I9ee490345f093d80113c36f9e3268cab5a810dd0
2013-03-31 21:55:10 +03:00
Tor Lillqvist
e581dd2cda Organise the (few) source files included in the Xcode project into groups
Change-Id: I01c9c26c6d282729101386266db898d759450a41
2013-03-31 09:41:46 +03:00
Tor Lillqvist
003a05b257 Must pass the test document as a file: URI because it is percent-escaped
Change-Id: I8e27f0cb4a9605a97d8120f9f4697e7f939135c1
2013-03-31 00:15:32 +02:00
Tor Lillqvist
b46eed92ce Use iOS 5.1 as deployment target
Change-Id: Idd44c792b4e0ee9cd27c3d66c2c5d794f4304045
2013-03-30 07:53:41 +02:00
Tor Lillqvist
82e030bf1d No need to verify the Xcode "configuration" ("Debug" or "Release") matching
Change-Id: I5c2e05feecffa1679930b041854b1cd190ef007a
2013-03-30 07:53:40 +02:00
Tor Lillqvist
bb0b2744af Draw the frame virtual device bitmaps directly to the destination CGContext
Much faster. No need for the pixelBuffer inbetween.

Change-Id: I6493faca6da3a3e9a1285e00c887928b85dca56e
2013-03-30 07:53:40 +02:00
Tor Lillqvist
378d389620 Add iosinst.cxx
Change-Id: Ia5e84bc661d0de1140a259be7dd9fcdaca5e1930
2013-03-30 07:53:39 +02:00
Tor Lillqvist
e36e86ee3c Refactor the iOS Viewer app and rename it to "LibreOffice"
No, it isn't any closer to being "ready" despite the name, but still,
using the current approach, it clearly isn't restricted to be just a
viewer.

Also drop the verbose LOViewer prefix from class and file names in it.

Change-Id: Ib4e8a31d6fa1b35169ee98cf2aa8f0f22957164c
2013-03-30 07:53:38 +02:00
Tor Lillqvist
46675c06fe WaE: macro is not used
Change-Id: I4c839e7b20e276b2fb3be60925de42ae91f47ee1
2013-03-30 07:53:37 +02:00
Tor Lillqvist
4ac0eff680 Re-add change from 304cb6ab8fb159c883c42d2d42e82750fab4e4a7
Was accidentally reverted.

Change-Id: I1d62003cfab222664b7cf2053f640287910b2892
2013-03-26 19:06:57 +02:00
Tor Lillqvist
b2ad5380ad Handle different basebmp scanline formats and flip vertically when needed
Change-Id: Ic0fd7d60ddc66bcd5577988b3a4e5b2185d3ec1f
2013-03-26 19:05:34 +02:00
Tor Lillqvist
bcb57baaae Use the applicationFrame and not whole screen size
Change-Id: I33a67b4908759913e49608110cc2635cc50e54b1
2013-03-26 19:02:15 +02:00
Tor Lillqvist
6d7d274151 I think kCGImageAlphaNoneSkipLast is what we want
Change-Id: I19a5ab15650cef4ee834af63e19bea7807b77477
2013-03-26 19:02:10 +02:00
Tor Lillqvist
8818140775 Introduce temporary lo_set_view_size() hack like on Android and call it
Change-Id: I44df0946f59d1b9a2a6ea935b3c2ea3c96c1260d
2013-03-26 19:02:05 +02:00
Tor Lillqvist
1b57a3b523 Add svt and svx
Change-Id: I3298b985bc7f197e50f7246c8fe828d51804bde3
2013-03-26 19:01:51 +02:00
Tor Lillqvist
753d0de374 Add the soffice.cfg and registry stuff
Change-Id: I12dda660f4eac298af29cee8858f8aef496aa5ed
2013-03-26 19:01:44 +02:00
Tor Lillqvist
74fa38afcd Add to the project some source files where breakpoints are often useful
Change-Id: Iccd5f7bb99a76542481564b2f6475ca365756e45
2013-03-26 19:01:31 +02:00
Tor Lillqvist
2672cbdd00 Add LOViewerWindow.[hm] to the project
Change-Id: I50ac91fd0e803b1b2322e5c7c25f7bf682a8208d
2013-03-26 18:43:55 +02:00
Tor Lillqvist
5a4c573506 Add images.zip
Change-Id: If764bb95ab29b8092b356fee644cfa5190ce3eeb
2013-03-26 18:43:41 +02:00
Tor Lillqvist
66ac0a5beb Try to make the tinderbox build succeed
Change-Id: Iae0b134d9579dcaaa39ce8a99e843fe24c27060a
2013-03-22 08:48:15 +02:00
Tor Lillqvist
63dcca42ce Re-work the vcl aspects of the iOS port
Don't try to use similar code as for OS X to manage windows, events
etc. I.e. don't use UIKit in vcl to do that. Instead, just do as in
the Android port, use the "headless" vcl backend. Do keep using
CoreText, though, not FreeType & fontconfig.

Start changing the iOS "Viewer" app to correspond to the Android
"desktop" app (so it should be renamed).

Work in progress since a long time, several crucial details still
missing, but committing for now.

Change-Id: Iac5fbf8def415e4d0d21e5200450a373420ad7ee
2013-03-21 13:28:32 +02:00