Jan Holesovsky [Tue, 10 Mar 2015 17:00:05 +0000 (10 18:00 +0100)]
Fix build.
Change-Id: Ie072b9d51ee41f0c02421c4930bbfce5d281a8d9
Jan Holesovsky [Mon, 9 Mar 2015 11:25:30 +0000 (9 12:25 +0100)]
sc tiled rendering: Don't adjust the text width according to printer.
When we don't set the 'wysiwyg' text, tiled rendering gets confused, because
nPrtToScreenFactor is not 1.0, and everything gets horizontally shrunk.
There is still a problem with vertical direction unfortunately - in order to
have the same height of all the cells, the zooms where it does not fit the
pixels can lead to an offset there too; but still this commit improves the
situation a lot already.
Also sort the includes when touching this, otherwise no idea where to add the
inputopt.hxx :-)
Change-Id: I15bf367af72a898248af81f34dc857ceb66187af
Jan Holesovsky [Mon, 9 Mar 2015 08:41:48 +0000 (9 09:41 +0100)]
sc tiled rendering: RefreshZoom() is called already in SetZoom().
Change-Id: I985275e3a1a944dffebe3987dee748f604e065f9
Jan Holesovsky [Fri, 6 Mar 2015 21:27:27 +0000 (6 22:27 +0100)]
sc tiled rendering: Simplify the zoom computation.
In principle, we should avoid messing up with zoom, and instead just work with
the MapMode, but we are not there yet - lots of places are hardcoded to work
in pixels.
Change-Id: I572b0d54fbfc72494c44ef95e7fda5e655f83fde
Jan Holesovsky [Fri, 6 Mar 2015 21:00:15 +0000 (6 22:00 +0100)]
sc tiled rendering: Make the drawings and charts work.
Change-Id: Ibd7e9e398fe24ec2b3553c8488b46b65de316da6
Jan Holesovsky [Fri, 6 Mar 2015 17:21:02 +0000 (6 18:21 +0100)]
sc tiled rendering: tdf#85848: Use DrawContent() in PaintTile() too.
From now on, the code for the tiled rendering is shared with the desktop
rendering, modulo few isTiledRendering() calls.
Drawing of the shapes & charts needs fixing, it does not honor the
output device settings.
Change-Id: I74cdb4e09da59aa71f31b18130829de28a93fab4
Jan Holesovsky [Fri, 6 Mar 2015 15:44:46 +0000 (6 16:44 +0100)]
sc tiled rendering: Split ScGridWindow::Draw() to setup and drawing.
The drawing part is planned to be shared with the tiled rendering, while the
setup part has to be different.
Change-Id: I9101111d44f4602cdb92916ff3889b52bf10a8bf
Miklos Vajna [Wed, 25 Feb 2015 15:01:30 +0000 (25 16:01 +0100)]
Clean up not needed ScTabViewShell LOK methods
Change-Id: Ic834d61cccdd422af96bd1b5933eb1a77e8efc16
Miklos Vajna [Wed, 25 Feb 2015 14:38:40 +0000 (25 15:38 +0100)]
ScInputHandler::ImplCreateEditEngine: don't invalidate unconditionally
In the desktop case we still have to Paint() directly. This fixes the
small rendering delay in the desktop case introduced by the previous
commit.
Change-Id: If07e2d47f62cbe17816439d18c45f129be6ce210
Jan Holesovsky [Wed, 25 Feb 2015 14:06:00 +0000 (25 15:06 +0100)]
sc: Make characters appear during tiled rendering as they are typed.
TODO FIXME proof-of-concept cut'n'paste
This entire ScGridWindow::PaintTile() must share code with
ScGridWindow::Draw(), that's the only way how to get also the shapes,
charts and everything.
Change-Id: I72d7363edc0c46a9920c3ca0d5d51c982e748a77
Jan Holesovsky [Tue, 24 Feb 2015 12:58:55 +0000 (24 13:58 +0100)]
sc: Initial support for tiled editing in Calc.
Change-Id: Ifa5f84934a68fec86d4f30ee998bf75edfe331c5
Miklos Vajna [Fri, 20 Feb 2015 13:51:06 +0000 (20 14:51 +0100)]
sd::ViewShell -> SdrModel for LOK callback
One one hand, this fixes missing invalidations after typing characters
in editeng on Android. Previously it was assumed that there is only one
sd::ViewShell for one Impress document, but that's obviously not true.
On the other hand, this will be handy when later svx code wants to
invoke the LOK callback as well, when it was stored in sd, that wasn't
possible.
Conflicts:
sd/source/ui/unoidl/unomodel.cxx
sd/source/ui/view/sdwindow.cxx
Change-Id: Id467be01ad008aecaaabdd85b2a6b29a14f1eb86
Miklos Vajna [Thu, 19 Feb 2015 13:38:53 +0000 (19 14:38 +0100)]
ImpEditEngine::UpdateViews: need to go via Invalidate() for tiled rendering
This makes typed characters appear as you type it (and not only after
the editing of the shape text is finished) in Impress.
Change-Id: Id47efe8223ddfdbad36f436366c9c8c8e0cb45f4
Siqi Liu [Thu, 5 Mar 2015 13:26:03 +0000 (5 14:26 +0100)]
add getPartsCount() to TileProvider
Change-Id: I8f1f61110d06333bc1140caf13d9e96e669fc231
Siqi Liu [Thu, 5 Mar 2015 12:58:15 +0000 (5 13:58 +0100)]
tdf#89174:disable swipe gesture when zoomed in.
Change-Id: I0c3a565a3ae276fb60bf99ec32941715f1556127
Siqi Liu [Thu, 5 Mar 2015 12:25:05 +0000 (5 13:25 +0100)]
refactor swipegesture to be handled by layerview
Change-Id: Id094ffa7972df0477ad26b2fc579fe010e745550
Siqi Liu [Sat, 28 Feb 2015 21:07:36 +0000 (28 22:07 +0100)]
remove unused boolean (propagating touchEvent instead of intercepting it)
Change-Id: If05cf04414572fea809104c7fed309afb2438bfd
Siqi Liu [Sat, 28 Feb 2015 20:50:12 +0000 (28 21:50 +0100)]
implement swiping gesture as a generic event
Conflicts:
android/experimental/LOAndroid3/src/java/org/libreoffice/LOEvent.java
android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java
Change-Id: I024db339bada34a544fdcc1def107c7b06332847
Siqi Liu [Sat, 28 Feb 2015 18:04:25 +0000 (28 19:04 +0100)]
add swipe support for presentation
Change-Id: I650d661a1656388e50e5d4e3a003b8eb4f032382
Jan Holesovsky [Thu, 26 Feb 2015 19:39:42 +0000 (26 20:39 +0100)]
native-code.py: Some services were converted to using constructors.
Change-Id: I957bf1d5bd88b15539e95dfa4aa87a8e63a96439
Stephan Bergmann [Thu, 26 Feb 2015 14:34:57 +0000 (26 15:34 +0100)]
Clean up previous commit
Change-Id: Iddade9d297be8f4a4e69b3bec5ab7588bf68c112
Chris Sherlock [Tue, 24 Feb 2015 03:31:11 +0000 (24 14:31 +1100)]
basic: convert sb.component to constructor usage
Change-Id: I45ddf460fa7d673c5210f9415b2a8015988a643e
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Stephan Bergmann [Thu, 26 Feb 2015 13:46:03 +0000 (26 14:46 +0100)]
Clean up previous commit
Change-Id: I754ac95c851892bdf7630d6f6241ed86f3750cf1
Chris Sherlock [Tue, 24 Feb 2015 03:06:26 +0000 (24 14:06 +1100)]
sw: convert swd.component to constructor usage
Whilst we are about it, need to expand the macro
SFX_DECL_XSERVICEINFO_NOFACTORY and remove the impl_createInstance
function. Also removed factory parameter from constructor as not
needed.
Change-Id: I400274fa9aaaa95be1c9929bce9dd6f25c780196
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Chris Sherlock [Mon, 23 Feb 2015 15:07:17 +0000 (24 02:07 +1100)]
sw: convert SwWebDocument & SwGlobalDocument components to use constructor
Change-Id: Ib59fa91eb9d32ea437c182d3c0f3b9348816bf7b
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Chris Sherlock [Mon, 23 Feb 2015 00:41:59 +0000 (23 11:41 +1100)]
sw: convert import & export components to constructor usage
Change-Id: I15b64f874f72715cea04f656e1b883c6cf45a86c
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Jan Holesovsky [Wed, 25 Feb 2015 09:41:46 +0000 (25 10:41 +0100)]
native-code.py: Add more forms constructors.
With this, ODF_text_reference_v3.odt does not report any broken services, but
the app still crashes anyway - tdf#89642.
Change-Id: If73835534184ffbac1c91b2c5bca33bded50c41f
Jan Holesovsky [Mon, 23 Feb 2015 10:58:13 +0000 (23 11:58 +0100)]
native-code.py: Add more missing chart services.
Fixes ab-slides.odp.
Change-Id: I9f04fb395adab986d3e6d8576d842e08c2d03538
Jan Holesovsky [Mon, 23 Feb 2015 10:56:28 +0000 (23 11:56 +0100)]
android: Avoid big amount of space below the icons.
[between the icon and the text]
Change-Id: I7e4d7cfc7df5d186cc721f01ff2c8f157fcbc806
Jan Holesovsky [Mon, 23 Feb 2015 06:17:41 +0000 (23 07:17 +0100)]
backport: Forgotten file.
Change-Id: I0ffe55d9beb3658d3ffdf93dc7867b0422c719e1
Jan Holesovsky [Sun, 22 Feb 2015 00:15:41 +0000 (22 01:15 +0100)]
Backported Tomaž's rendering improvements from the tiled-editing branch.
Much improves the rendering experience, and decreases the amount of oom's too.
It is up to the 'android: support selection invalidation, show selection
handles' commit (including).
Change-Id: Ife926aabbb83128f221f500eab0e6acdbe589306
Jan Holesovsky [Sat, 21 Feb 2015 21:52:01 +0000 (21 22:52 +0100)]
native-code.py: Sync it with master.
Change-Id: I504054875007ad81c307b81046c845e290102556
Jan Holesovsky [Sat, 21 Feb 2015 21:52:01 +0000 (21 22:52 +0100)]
native-code.py: Missing services after the stocservices conversion.
Change-Id: I70bb9386487930061c6bb1576de29d4bdcc56f8c
Jan Holesovsky [Thu, 19 Feb 2015 20:21:41 +0000 (19 21:21 +0100)]
stocservices.component: The rest of the services + cleanup.
Change-Id: I5156318afde0f56cf3eb8d1c74c6db8d5e378600
Ursache Vladimir [Wed, 18 Feb 2015 23:17:31 +0000 (19 01:17 +0200)]
stocservices.component partly refactored to use the "constructor" feature.
Change-Id: I4c1c5e62de608738a91be4a234d9c160a18cbf8f
Michael Meeks [Fri, 20 Feb 2015 11:03:26 +0000 (20 11:03 +0000)]
android: protect against a crash with an empty sdcard.
If you mis-configure your emulator - that's what you get.
Unfortunate that this affects 2x places.
Change-Id: I0b281d96b22ec3ac793c687ee7f3ba1a78784ace
Miklos Vajna [Thu, 19 Feb 2015 19:45:45 +0000 (19 20:45 +0100)]
-Werror=unused-parameter
Change-Id: I6f8603ed6cde9c604f3e980410656de34420352b
Stephan Bergmann [Thu, 19 Feb 2015 10:04:39 +0000 (19 11:04 +0100)]
Missing constructor
...the implementation in ChartView.cxx oddly got removed from
<https://gerrit.libreoffice.org/#/c/14431/1> to
<https://gerrit.libreoffice.org/#/c/14431/2>, but the declaration in
chartcore.component was missing from the start
Change-Id: I71699ee74278f7e419eca63c5784b46efc42d96b
Stephan Bergmann [Thu, 19 Feb 2015 08:46:40 +0000 (19 09:46 +0100)]
Clean up
Change-Id: Id91be8ec8a97d8fad398d798cd2a9b77773a39e2
Jan Holesovsky [Thu, 19 Feb 2015 19:17:58 +0000 (19 20:17 +0100)]
native-code.py: Writerfilter implementation is now converted to constructors.
Change-Id: Idcb8731523e3cc54653193e9755b3a59995d4bc8
Chris Sherlock [Wed, 18 Feb 2015 12:18:59 +0000 (18 23:18 +1100)]
writerfilter: use constructor for writerfilter module
Change-Id: Iada80d2c6989de2811cf35cb288a430e2eeba8e9
Reviewed-on: https://gerrit.libreoffice.org/14536
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Chris Sherlock [Wed, 18 Feb 2015 10:11:30 +0000 (18 21:11 +1100)]
filter: use constructor for filter module
Change-Id: Ic03555dc06909da1c60c8edc7aa17d4cb41c468b
Reviewed-on: https://gerrit.libreoffice.org/14533
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Jan Holesovsky [Tue, 17 Feb 2015 14:24:41 +0000 (17 15:24 +0100)]
android: No need to include the entire libfrmlo.a, add just the used services.
Made sure that ooo108922-1.doc and fields.doc are still loading.
Change-Id: If009c25be1776eba77a397efb2eae820838ac053
Jan Holesovsky [Tue, 17 Feb 2015 12:24:00 +0000 (17 13:24 +0100)]
android: Better check for package name when debugging.
Change-Id: Iad29aa8cc47220e5aa33a4991a0c0d265d107152
Jan Holesovsky [Tue, 17 Feb 2015 11:05:47 +0000 (17 12:05 +0100)]
forms: Fix copy'n'paste mistakes.
com_sun_star_form_ORadioButtonModel_get_implementation ->
com_sun_star_form_ORadioButtonControl_get_implementation
com_sun_star_form_OGroupBoxModel_get_implementation ->
com_sun_star_form_OGroupBoxControl_get_implementation
and a bit of further cleanup.
Change-Id: I2d03d69ac83c482257baed5a6b84a6bacae68889
Jan Holesovsky [Tue, 17 Feb 2015 09:21:14 +0000 (17 10:21 +0100)]
forms: Convert also com.sun.star.form.XForms.
Plus some associated cleanup.
Change-Id: I0a923198c23e2e4ecbc91e5b56cfac31b7f71256
Chris Sherlock [Thu, 12 Feb 2015 03:10:24 +0000 (12 14:10 +1100)]
forms: use constructor feature for form modules
Change-Id: I8f1588cbd338e2f8b5bc6047d84b17c697a7d2d3
Jan Holesovsky [Fri, 13 Feb 2015 10:37:48 +0000 (13 11:37 +0100)]
native-code.py: Don't add the entire libchartcorelo.a.
Instead, just add the constructors of the needed services. Tested with
various-charts.ods from tdf#89364.
Change-Id: I98df03bfc19aeacaa92e4693e7934c8503f183e1
Jan Holesovsky [Fri, 13 Feb 2015 08:14:18 +0000 (13 09:14 +0100)]
Add an overlooked constructor to chartcore.component.
com.sun.star.comp.chart2.report.XMLFilter was pointing to
com.sun.star.comp.chart2.XMLFilter by mistake.
Change-Id: Ia3c96cc98a4f81f2bb918200dc39eae1dbafdb58
Ursache Vladimir [Thu, 12 Feb 2015 01:47:36 +0000 (12 03:47 +0200)]
Use constructors for services from chartcore.component.
Change-Id: I72227b45f305734060a669275044f6f9c8859bc5
Jan Holesovsky [Wed, 11 Feb 2015 09:33:40 +0000 (11 10:33 +0100)]
native-code.py: Add com_sun_star_comp_dba_ORowSet_get_implementation.
In the end, seems to be enough (together with a checkbox-related constructor)
to make the fields.doc work.
Change-Id: I72bf2020726aabed9b7d8cf45c23c131361f9907
Jan Holesovsky [Tue, 10 Feb 2015 10:05:58 +0000 (10 11:05 +0100)]
android: optipng the resources.
Change-Id: I2b27c6edd94d63ddcfb885592b0fb954cf505e8b
Jan Holesovsky [Tue, 10 Feb 2015 09:50:52 +0000 (10 10:50 +0100)]
android: Remove duplicated icons.
No need to provide eg. drawable-hdpi/blah.png when it is the same as
drawable/blah.png anyway.
Change-Id: I4f840a7674e86a7c16d43fc5e1d4fd1e0956d0c8
Jan Holesovsky [Tue, 10 Feb 2015 09:49:12 +0000 (10 10:49 +0100)]
android: Remove unused icons.
Change-Id: Ia844806ad3bff92fcace2765fb3b39ab729a6b28
Jan Holesovsky [Mon, 9 Feb 2015 09:28:54 +0000 (9 10:28 +0100)]
It is not necessary to be _that_ verbose.
Change-Id: Ie7685beae20df8b3798070135fad529cde3604a9
Jan Holesovsky [Mon, 9 Feb 2015 09:12:57 +0000 (9 10:12 +0100)]
native-code.py: Add libevtattlo.a + some forms related services.
Fixes part of fields.doc loading, but unfortunately not completely, as in the
end it needs "com_sun_star_comp_dba_ORowSet_get_implementation" - and we avoid
the database stuff for now still.
Change-Id: I9035e80fb1326357dbecf7994419d909e1f25373
Jan Holesovsky [Sat, 7 Feb 2015 23:28:12 +0000 (8 00:28 +0100)]
android: Update README.Android with the recent ndk-gdb info.
Change-Id: I23d76562c85ff458bdc539a8ba0681a847e647c5
Jan Holesovsky [Sat, 7 Feb 2015 23:15:25 +0000 (8 00:15 +0100)]
android: Even --enable-debug needs org.libreoffice for debugging.
Change-Id: If6fb1eb2e8dbcf885b27d10202295e8c11177d49
Jan Holesovsky [Sat, 7 Feb 2015 19:19:29 +0000 (7 20:19 +0100)]
android: Set a more verbose SAL_LOG.
Change-Id: I7ce3d8eeaaa307ad2c779b2b57d5d3f34258ae5f
Jan Holesovsky [Sat, 7 Feb 2015 18:57:29 +0000 (7 19:57 +0100)]
LOK: Return NULL when we failed to load the document.
Change-Id: I7740549f35cdbe21556e1e066bbc6c0355463b79
Jan Holesovsky [Sat, 7 Feb 2015 17:11:30 +0000 (7 18:11 +0100)]
Allow setting ICECC_VERSION in the autogen.input.
That way you can avoid having to set ICECC_VERSION in every shell where you
want to use icecream with cross-compilation. See
http://holesovsky.blogspot.cz/2015/02/using-icecream-to-speed-up-libreoffice.html
for details.
Change-Id: I1adf67934c2687f0fca1b73e7793b72120eeedab
Caolán McNamara [Thu, 5 Feb 2015 16:25:04 +0000 (5 16:25 +0000)]
don't relatively move FAR_AWAY things away from FAR_AWAY
to avoid the dread 64bit
vcl/source/outdev/map.cxx:391: long int ImplLogicToPixel(long int, long int, long int, long int, long int): Assertion `std::abs(n) < std::numeric_limits<long>::max() / nMapNum / nDPI'
assert on executing...
soffice.bin abi10619-1.doc --convert-to pdf
Change-Id: Id81d8e7eb9a962a5bc7f50d9c02da052cee24da1
Jacobo Aragunde Pérez [Tue, 3 Feb 2015 18:19:32 +0000 (3 18:19 +0000)]
tdf#87432: normal icons for folders in android doc browser
The code used to draw a black circle and populate it with thumbnails
of the documents inside the folder, but they are always empty because
we are not generating any thumbnails.
Change-Id: Id0b63f7e901525b5a962d12441cda84dfeb59d52
Jan Holesovsky [Thu, 5 Feb 2015 17:07:05 +0000 (5 18:07 +0100)]
native-code.py: Add libfrmlo.a + some constructors around controls.
Fixes loading of ooo108922-1.doc, hope this does not blow the .apk size too
much...
Change-Id: Ifbaa6fa5a7467e516fd1020e941c7a125d1a6437
Jan Holesovsky [Thu, 5 Feb 2015 15:35:56 +0000 (5 16:35 +0100)]
native-code.py: Add libxolo.a.
Fixes loading of ooo10504-1.doc.
Change-Id: Ib82ac9938c755ec5fa9ccd93e44d92b744dc0ff4
Tomaž Vajngerl [Thu, 5 Feb 2015 10:05:05 +0000 (5 19:05 +0900)]
android: copy document to temp file when using content scheme
We get the data from Intent, which has data identified by an uri.
An uri can use many schemes but we support file (loading directly
from a file) or content (used by GMail App). When loading from
content, the document is available through a stream and has to be
stored into a temporary file locally first, and then that file is
should be used as input for loading the document.
Change-Id: Ia4ffa8ff02b9737b91a41c03c2eb335d28fe1d61
Tomaž Vajngerl [Thu, 5 Feb 2015 10:03:06 +0000 (5 19:03 +0900)]
android: allow only "file" and "content" URI scheme
Content scheme is used by GMail App for example.
Change-Id: I3583d38c42b9ad96209f0cd178ea6957a7aec86c
Miklos Vajna [Mon, 26 Jan 2015 10:40:33 +0000 (26 11:40 +0100)]
gtktiledviewer: fix for missing g_info()
Change-Id: I04a91065526b49bacb72c7d4865440efc3b3f7d0
Miklos Vajna [Mon, 26 Jan 2015 09:57:10 +0000 (26 10:57 +0100)]
fix for missing g_info
Change-Id: Ibfab6d3aadb126fc357fd2d15485dcde8ceefa94
Michael Stahl [Wed, 21 Jan 2015 13:36:42 +0000 (21 14:36 +0100)]
writerperfect: convert assert on invalid input to SAL_WARN
lp502369-3.doc contains several StgEntry that are invalid and have type
0 (STG_EMPTY). Not sure if sot Storage::FillInfoList() should filter
these out.
Change-Id: I493cbb346723a3be4f8bc93de1030e68c1216b50
Michael Stahl [Wed, 21 Jan 2015 10:12:34 +0000 (21 11:12 +0100)]
sw: fix bogus assert in SwTxtNode::RstTxtAttr()
The assert for case 3 is wrong and fires when importing ooo44732-2.doc
but there is also a bug here where a hint could be skipped.
Change-Id: I028d2d5df9e80cf0001d9bc11aa7fabcd01e83bb
Caolán McNamara [Tue, 20 Jan 2015 17:43:46 +0000 (20 17:43 +0000)]
fix SwIndexReg::~SwIndexReg assert in fdo68332-2.docx
SwParaSelection sets a mark on the cursor, but there is no need to do that.
DelFullPara will delete the SwTxtNode anyway.
Change-Id: I99b8dd637bd4d2b49a555e147514a2def19fa0bf
Reviewed-on: https://gerrit.libreoffice.org/14054
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Caolán McNamara [Tue, 20 Jan 2015 15:14:58 +0000 (20 15:14 +0000)]
Related: ooo#34420-1.sxi concealed divide by zero
on this and about 30 other documents where the NaN result is cast back to a
long, giving rise to an assert in vcl/source/outdev/map.cxx:391 of
long int ImplLogicToPixel(long int, long int, long int, long int, long int):
Assertion `std::abs(n) < std::numeric_limits<long>::max() / nMapNum / nDPI'
failed.
Change-Id: Ia87e4ee6bbf0f10b7eba513e9a5ba3c42440d181
Miklos Vajna [Wed, 4 Feb 2015 16:45:00 +0000 (4 17:45 +0100)]
android: fix missing drawingML preset shapes
Change-Id: I7a22b9bcacd26b837c00bb09743ab2e176d60746
Tomaž Vajngerl [Thu, 29 Jan 2015 10:03:07 +0000 (29 19:03 +0900)]
tdf#87098 don't adjust zoom/position for spreadsheets
Change-Id: Ieb908980a931b123e2c48fe3ecdc7830b48810ed
Tomaž Vajngerl [Fri, 23 Jan 2015 14:48:14 +0000 (23 23:48 +0900)]
android: add some comments to TileProvider interface
Change-Id: I1c6f7bccda2392235242f5c26af1437f1365f728
Jan Holesovsky [Wed, 4 Feb 2015 22:31:01 +0000 (4 23:31 +0100)]
android: When loading fails, make sure we don't crash the next time.
Until now, when the loading failed, the next attempt to open a document
lead to a crash; fixed.
Change-Id: Ibb55b4799169e1521f076cf38380e429a50258a3
Jan Holesovsky [Wed, 4 Feb 2015 19:33:52 +0000 (4 20:33 +0100)]
android: Initialize for tiled rendering earlier.
We need to prepare the document ASAP, otherwise we will get zero size when eg.
presentation is switched to Notes view.
Change-Id: I0d3ccea18058052994d91868ec1346c5de25faff
Jan Holesovsky [Wed, 4 Feb 2015 13:48:57 +0000 (4 14:48 +0100)]
android: In Impress, switch to the 'Normal' (slides) view.
Other modes are not fit for the tiled rendering, and crash the viewer.
Change-Id: I6fb17663203d9eb298bba2b9bd143fdd28ffb470
Jan Holesovsky [Tue, 3 Feb 2015 15:24:30 +0000 (3 16:24 +0100)]
android: Don't confuse Icecream.
Change-Id: I91969800330042a6950402e3995b4d86020006f3
Jan Holesovsky [Tue, 3 Feb 2015 10:44:54 +0000 (3 11:44 +0100)]
android: Always log the SAL_WARN's.
Change-Id: Iab470097cc09835efd5ab3c13a0defb267c985a0
Jan Holesovsky [Mon, 2 Feb 2015 22:34:16 +0000 (2 23:34 +0100)]
Add slideshow-related services.
Fixes loading of .pps presentations.
Change-Id: I739d15793110fc55cbaa556e1c91d666c6f81c70
Jan Holesovsky [Thu, 29 Jan 2015 11:36:56 +0000 (29 12:36 +0100)]
native-code.py: Add libi18nsearchlo.a.
Fixes load of fdo68762-1.ods.
Change-Id: I4141674a9766fe9514c47e1c1b29ed727148a41d
Miklos Vajna [Wed, 28 Jan 2015 11:16:40 +0000 (28 12:16 +0100)]
OFormsRootImport::CreateChildContext: survive a missing css.form.Forms
At least moz406390-1.odt has an unreferenced (so uninteresting in
practice) <form:form> block. Till there is a real benefit of it, better
not add form/database components to the Android component list but teach
the user of such code to fail gracefully.
Change-Id: I165a09fefa887da7b78a917c43ecc17d8f0ba3e2
Miklos Vajna [Wed, 28 Jan 2015 10:27:10 +0000 (28 11:27 +0100)]
dbaccess: use constructor feature for ORowSet
Change-Id: Iabb04fde096e8d0bb92b3d796310354df5985e9a
Miklos Vajna [Tue, 27 Jan 2015 17:01:52 +0000 (27 18:01 +0100)]
forms: use constructor feature for ODatabaseForm
Change-Id: I1f36b28c3d71b90e439c6ba86bba09cf55bc43ae
Miklos Vajna [Tue, 27 Jan 2015 16:54:08 +0000 (27 17:54 +0100)]
forms: use constructor feature for OFormsCollection
Change-Id: Ifdc031480617ec4d0a50ae5b6cd6a2c838ae076a
Jan Holesovsky [Tue, 27 Jan 2015 09:51:57 +0000 (27 10:51 +0100)]
native-code.py: When filtering the services.rdb, keep also the factories.
Change-Id: I663e82322a05b7b6f140cb9adecbe1465f320f95
Jan Holesovsky [Tue, 27 Jan 2015 08:51:47 +0000 (27 09:51 +0100)]
native-code.py: Share more code around the factories too.
Change-Id: Iff0909ee110058cd3e351e4a96738d5b8e6ba62e
Jan Holesovsky [Tue, 27 Jan 2015 08:17:01 +0000 (27 09:17 +0100)]
native-code.py: Sort the constructors.
Change-Id: I3b7b5a13c1384313a12ec9f11714a85be2ad1693
Jan Holesovsky [Mon, 26 Jan 2015 23:53:28 +0000 (27 00:53 +0100)]
native-code.py: Add a mode that allows filtering out services.rdb.
Limit only the constructors for the moment.
Limiting services.rdb will be useful for finding out what services are
actually missing when loading various document types.
Change-Id: Ifd6c2c0c43defac79d3eba1853347614ce7c0b46
Jan Holesovsky [Mon, 26 Jan 2015 22:20:44 +0000 (26 23:20 +0100)]
native-code.py: We need these services everywhere anyway.
Change-Id: I97cfedb54d91f6d689f357e65599c91a6cd9f3d3
Miklos Vajna [Thu, 22 Jan 2015 16:03:36 +0000 (22 17:03 +0100)]
android: make sure the soffice.cfg directory is always available
Otherwise FSStorageFactory::createInstanceWithArguments() would throw,
resulting in a css::configuration::CorruptedConfigurationException
later, that makes LO throw up its hands in Desktop::Main() and say that
the instset is simply corrupted, there is no point in continuing
further.
Change-Id: I3a401ee77f4fbf1a42a09c5fedd7681b4f32e952
Miklos Vajna [Thu, 22 Jan 2015 12:11:12 +0000 (22 13:11 +0100)]
android: disable Impress View -> Slide Pane
Change-Id: I5a3c014894fe74781cf050f3cd2ce2bcc0395cb3
Miklos Vajna [Thu, 22 Jan 2015 11:42:16 +0000 (22 12:42 +0100)]
configure: fix --with-android-package-name wrt ndk-gdb
Default to the package name that makes ndk-gdb happy in case
--enable-dbgutil is used (can be extended later to --enable-symbols /
--enable-debug as well, if necessary).
Change-Id: If9dc09f48c895a4a138c3911f129e84f001d5f43
Tomaž Vajngerl [Thu, 22 Jan 2015 05:44:37 +0000 (22 14:44 +0900)]
android: add postMouseEvent to LOKit JNI interface
Change-Id: I652a0c365c4a1413226cdd4dc7910e65ac2a5285
Jan Holesovsky [Thu, 22 Jan 2015 07:57:23 +0000 (22 08:57 +0100)]
android: 'make release-apk' now also accepts the example document.
Change-Id: I4144d0ed42a50be4fa91f377f78a20c28fda36f6
Jan Holesovsky [Thu, 22 Jan 2015 07:35:40 +0000 (22 08:35 +0100)]
android: Rename 'make sign' to 'make release-apk'.
This now also allows to specify the version number; now you want to use:
cd android/
make versionCode=<previous_version_num+1> key=<key_name> release-apk
Change-Id: I078e8dbbe671969fc3b228ac987cdb9a4a53b281
Jan Holesovsky [Thu, 22 Jan 2015 06:14:34 +0000 (22 07:14 +0100)]
android: Bind the release/debug setting to --enable-release-build.
Change-Id: I9e9849d91dda0ff9361ef9a0023be18406b067d0
Tomaž Vajngerl [Thu, 22 Jan 2015 04:53:57 +0000 (22 13:53 +0900)]
android: it doesn't hurt to log the document filename on load
Change-Id: I18554052e543a8799ebb45727947a3466b1c793c