403477 Commits

Author SHA1 Message Date
Noel Grandin
faf9b82d39 makeAny->Any in accessibility..avmedia
Change-Id: I70f2dfa66d7b66738a840e4a7b5c7fb1b8d7b39f
Reviewed-on: https://gerrit.libreoffice.org/33756
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-01 06:22:09 +00:00
Takeshi Abe
cd2088f139 starmath: Simplify and micro-optimize lookup in SmIsMathAlpha()
Change-Id: Ica2e0d14141785b9e14c05179e517117afadc5e0
Reviewed-on: https://gerrit.libreoffice.org/33734
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2017-02-01 03:51:27 +00:00
Maxim Monastirsky
f3ba0c5d4d Convert RID_POPUP_TABBAR to xml
Change-Id: Ic4587b8e244c52089692908fe0d10e363b5ed4fb
2017-02-01 01:36:11 +02:00
Caolán McNamara
21f632d327 SolarMutexGuard for ImplDbgTestSolarMutex assert in JunitTest_dbaccess_complex
Change-Id: Ic2109abdec0ad3305c2720ac9012585cd7ceb25b
2017-01-31 20:53:37 +00:00
David Tardon
bc4097ed56 upload libmwaw 0.3.10
Change-Id: I1355f60bdaf66aecef22f1093f57369b9fd91972
Reviewed-on: https://gerrit.libreoffice.org/33745
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2017-01-31 20:08:48 +00:00
Olivier
f9d846e6ad tdf#105623 - Two labels for the same function
Change-Id: I0c6e1ed8a7ef90602e3309226481bd91f390f866
Reviewed-on: https://gerrit.libreoffice.org/33751
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-01-31 17:12:49 +00:00
Jan Holesovsky
20910ea89e Replace a terribly expensive json parsing with a peek for the value.
We should reduce the amount of callbacks from the core in the first place, so
that we don't have to deduplicate this much here, but this already helps a
lot.

Change-Id: Idf4a3681ac0f47536e00c1d97152f3f8bb99894b
2017-01-31 17:47:10 +01:00
Jan Holesovsky
230f04e92d Build the json message a much less expensive way.
Change-Id: I10911deb52f6a0c65262f9d6af459cf6ddd2fae9
2017-01-31 17:46:43 +01:00
Jan Holesovsky
be71e2b860 Revert "Lok: support for batch API calls"
This was for the moment removed from the online.git, so let's disable the API
bits too before it shows this is really necessary.  Reverts also:
Revert "Lok: unittest batch API"

Change-Id: I7bf3fe62d1e73b6f233992d51f587868a78f4bec
2017-01-31 17:45:29 +01:00
Caolán McNamara
fedbbc5e3f add pct fuzzer
Change-Id: I6a1787b484479268223fb59bf510c20be833d4d0
2017-01-31 16:39:17 +00:00
Caolán McNamara
3e27ba70ce Resolves: tdf#104884 print preview replaces the frame controller
so the sidebar is listening to the old controller which has been disposed[1] so
when print preview exits and yet another controller replaces the print preview
one then the sidebar still doesn't listen to the current one.

framework broadcasts COMPONENT_DETACHING/COMPONENT_REATTACHED around these
changes, so if we listen to them we can keep attached to whatever is the
current component

[1] note that ContextChangeEventMultipler doesn't inform clients that the
controller has been disposed, this remains unchanged here

Change-Id: I141509d4a262307afd7dcfc3d77de6cdd6dbfa5f
Reviewed-on: https://gerrit.libreoffice.org/33758
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-31 16:38:14 +00:00
Vitaliy Anderson
aaf41776b9 Compatibility options refactoring. Part 1 small fix
SvtCompatibilityOptions_Impl::impl_GetPropertyNames() solve problem with wrong lProperties names

Change-Id: I0b71a80d542d8175c3f6e6cdf5fe857143714acb
Reviewed-on: https://gerrit.libreoffice.org/33752
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-01-31 16:36:16 +00:00
Samuel Mehrbrodt
1478f81f23 tdf#105637 Digital signatures dialog has unnessary labels
Change-Id: I474968d566a31fba29bcdc1f74749de8e86fedce
Reviewed-on: https://gerrit.libreoffice.org/33754
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-01-31 15:42:30 +00:00
Samuel Mehrbrodt
0579907693 tdf#105566 Close Infobar after clicking action button
gpg4libre

Change-Id: I24c7021043c5fb1a2a8ef1fbce66f8e416377692
Reviewed-on: https://gerrit.libreoffice.org/33755
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-01-31 15:42:01 +00:00
Mike Kaganski
f72b866c9c tdf#105625: allow editing around field marks
This commit fixes commit aa799f64723933bbb46544f835a970cfcbb90384,
and partially reverts commits bd505fdb9f669f365ff39b0ef46f0742c638e333
and 9104d5e8905c2ec2b576b5ca452d3e23d5555e49 that seem unnecessary
now. Unit test included, the existing unit tests of partially
reverted commits are kept.

Change-Id: I2a02cda546f5d484553c3b9467993fca36dae140
Reviewed-on: https://gerrit.libreoffice.org/33722
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-01-31 15:33:32 +00:00
Eike Rathke
5e1cfb2b55 renumber global string IDs and close gaps
Eliminating 11 unused IDs that occupied empty elements in the string
table. Also moved STR_ERR_NAME_INVALID_CELL_REF to the proper position.

Change-Id: I2534476895edb438c7404d781781e6088adf0385
2017-01-31 15:45:05 +01:00
Pranav Kant
96f597acf7 gtktiledviewer: gtk version checks
There is no major harm in excluding these lines of code on
platforms with older gtk.

Change-Id: Ica3f1e2b4f60f0bab55254632663ace7b4c61d4d
2017-01-31 19:39:20 +05:30
Stephan Bergmann
0270018b68 Build the ODK examples during subsequentcheck
...at least on Linux for now

Change-Id: Id9d909a3b071c37ba0cd29bbff0edb83d937145f
2017-01-31 13:52:45 +01:00
Stephan Bergmann
2e244d8791 Allow some OO_SDK_*_HOME to be empty
...in which case the corresponding tool is located on the PATH

Change-Id: I4242180fbbc829f11aa1a12cf1e6b9f0a21ab7c6
2017-01-31 13:47:23 +01:00
Samuel Mehrbrodt
f921476a3a Use white font for colored InfoBars
Change-Id: I35ac32fc213afe7dc8f3ed29caaa982117ec7737
Reviewed-on: https://gerrit.libreoffice.org/33748
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-01-31 12:43:11 +00:00
Samuel Mehrbrodt
2499ecc405 tdf#105566 Show InfoBar also for signed docs with warnings
gpg4libre

Change-Id: Ia3df9d9d8121539fd1c6b77f8872287b0b432d8e
Reviewed-on: https://gerrit.libreoffice.org/33744
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-01-31 12:42:27 +00:00
Samuel Mehrbrodt
0cd819b68c Add helper methods to get common colors to SfxInfoBar
Change-Id: Ic3816b046839636fa0d1b8cb881725bcc80ef011
Reviewed-on: https://gerrit.libreoffice.org/33742
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-01-31 12:23:31 +00:00
Samuel Mehrbrodt
2dff5e856a tdf#105566 Show InfoBar when signature is invalid
gpg4libre

Change-Id: I272ac155889e25b9af91ff723a014588a65b045a
Reviewed-on: https://gerrit.libreoffice.org/33737
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-01-31 12:21:48 +00:00
Michael Stahl
95db32acab sfx2: fix comment copypasta
Change-Id: Iebb5f51afe6f32883a535656d8b9e1f0ec678050
2017-01-31 13:13:55 +01:00
Noel Grandin
0681a6ee28 more SAL_WARN_UNUSED
Change-Id: Idf44fe0302b4504c443f083e527b63b2461ada85
2017-01-31 14:05:11 +02:00
Stephan Bergmann
c866ace49f Revert "Avoid warning with Clang that doesn't have -Wunused-but-set-parameter"
This reverts commit d69bc9c939b94718ac9e17a62f62ae7ae87776e5, which isn't needed
any more now that 01aa52b5e91bac740ad21c31968c834c1530831e "Work around
-Werror,-Wunknown-pragmas" makes the whole pragma block conditional on

  __GNUC__ >= 7

(which Clang does not fulfill).
2017-01-31 12:30:13 +01:00
Stephan Bergmann
1b12381203 Remove meaningless comment
Change-Id: I4385376dffa6b7cbc0da3903f285185a6db928dc
2017-01-31 11:59:57 +01:00
aleksandar-stefanovic
5f89da97dc Removed static context from LOKitThread
Moved LOKitThread back to LibreOfficeMainActivity, so that it could
use the context in the constructor. Once the Context became available
in LOKitThread, it was simply a matter of replacing static references
with the one passed in the constructor.

Also changed access levels of some methods in LOKitThread.

Change-Id: I0cc2c846c67b90907cbf3dce363666f9ab02d887
Reviewed-on: https://gerrit.libreoffice.org/33546
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-01-31 10:58:01 +00:00
Stephan Bergmann
01aa52b5e9 Work around -Werror,-Wunknown-pragmas
...from GCC < 7 not knowing -Wunused-but-set-parameter

Change-Id: I6494882085ad39df8d7b94fa062a7717bffacadb
2017-01-31 11:56:36 +01:00
aleksandar-stefanovic
d339bba78a Removed static context from JavaPanZoomController
Removed static context, and edited the access levels of some methods
in the classes, along with some general code style fixes.

Change-Id: I89c71fa38eaafb5cda721602cfc8dad10ba7d26a
Reviewed-on: https://gerrit.libreoffice.org/33557
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-01-31 10:53:36 +00:00
aleksandar-stefanovic
644d92ada4 Removed static context from LOKitTileProvider
Removed references to static context, replaced them with the context
object already available in the class, and changed access levels on
some methods in LOKitTileProvider.

Change-Id: Ib52d325650377b77ec166ddbfb760f74c19067ff
Reviewed-on: https://gerrit.libreoffice.org/33554
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-01-31 10:47:42 +00:00
Stephan Bergmann
b01ec28b6d Create missing parent dirs when checking for r/o dir
...can happen when 'unopkg add' is called before soffice had ever been run, so
UserInstallation isn't populated yet

Change-Id: I0c6b9444f196da5ad5a32cc90f2e1e2a5dbd0f58
2017-01-31 11:44:20 +01:00
Federico Bassini
9f440258b6 gbuild-to-ide: testVS2013Ide add a function that create .filters file
this patch writes the .filters file, it creates 2 filters:
-headers: place, for each module, the header files contained in gbuilparser.modules[<module>][headers]
-sources: place, for each module, the cxx files contained in gbuildparser.modules[<module>][<target>]['CXXOBJECTS']

Change-Id: Iba98d788b72992624fb8aa09315a5647e275ffcc
Reviewed-on: https://gerrit.libreoffice.org/33721
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2017-01-31 10:36:28 +00:00
Tor Lillqvist
d69bc9c939 Avoid warning with Clang that doesn't have -Wunused-but-set-parameter
Change-Id: I8d016e9959898a90bff9d1e4734cbef37592a97e
2017-01-31 12:19:36 +02:00
Caolán McNamara
fbb91632da we don't actually need width amount of data in advance to fill the width
seeing as we seek from previous position + bytecount on each loop
we can only be sure we go forward the min (+1/+2) for each iteration

Change-Id: I4f1a29d96c43ee8aa858c97405d196b89994669b
2017-01-31 10:18:29 +00:00
Miklos Vajna
353a45aa1b tdf#103976 DOCX import: disable incomplete w:before/afterLines style handling
Regression from commit 9e7eb63989ef1cf4b9a0e0404b84ef890db3d8e3 (DOCX
import: parse <w:spacing>'s w:before/afterLines attribute, 2014-10-17),
the problem is that OOXML has 3 different attributes for the paragraph
bottom margin (and other 3 for the top one), while in Writer we just
have a top margin.

Now the import filter tries to work out which one of these should have
priority and ignore the rest, but this is way more complicated when
style inheritance has to be taken into account as well.

To avoid the regression just restrict w:before/afterLines handling for
the case when it's used as direct formatting, that's why this was
introduced after all.

Change-Id: Ie8642c7a9771596def6b8899e098b26c4f8be0b4
Reviewed-on: https://gerrit.libreoffice.org/33738
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-01-31 10:11:45 +00:00
Samuel Mehrbrodt
c53c38c763 Remove 'ODF' from comment
Change-Id: Ia7cf3b3a45089ec64f2466711870ed6ba3c59d02
Reviewed-on: https://gerrit.libreoffice.org/33746
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-01-31 10:10:12 +00:00
Samuel Mehrbrodt
d595515e9b Typo, whitespace fixes
Change-Id: I5e77ee0df8490706a33d2e8500f130ffa419168d
Reviewed-on: https://gerrit.libreoffice.org/33743
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-01-31 10:02:33 +00:00
Stephan Bergmann
ccb1b1251c Work around GCC 7 -Werror=implicit-fallthrough=
This is in !LIBO_INTERNAL_ONLY code, so cannot use SAL_FALLTHROUGH.  And even on
current <https://github.com/boostorg/config> master, BOOST_FALLTHROUGH does not
yet support [[fallthrough]] for GCC 7.

Change-Id: I5306c3949b13c517fe8ef643cf98c2021147617e
2017-01-31 10:55:16 +01:00
Stephan Bergmann
f669813835 Silence GCC 7 warnings in cppconn/exception.h
Change-Id: Ia924473d3dba11babee23f4137c645b9f8d86a8b
2017-01-31 10:41:35 +01:00
Stephan Bergmann
b48f97a2ec Silence GCC 7 warnings in libcmis/libcmis.hxx
Change-Id: If7114da10824300804a882fa31080a17e69fc36b
2017-01-31 10:40:54 +01:00
Stephan Bergmann
155553ac95 Work around GCC -Wunused-result
(cf. <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425> "(void) cast doesn't
suppress __attribute__((warn_unused_result))").  Interestingly, this only occurs
with GCC 7, look like <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70365>
"warn_unused_result doesn't warn when the result is a class with a destructor"
is fixed now.

Change-Id: I7b4a066d0bf59080e47404d718917b5f38a98832
2017-01-31 10:37:26 +01:00
Patrick J
e3a47c0950 tdf#101638 diameter and radius were mixed up, devide by two
Change-Id: Iaece1ca3439ab3e1029156a5847768728b53b96e
Reviewed-on: https://gerrit.libreoffice.org/33717
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-01-31 09:26:02 +00:00
Gabor Kelemen
695c8bc98a tdf#105571 Drop toolbar:helpid attribute from toolbar definitions
These are no longer useful.
Made with:
git grep toolbar:helpid | cut -d : -f1 | sort -u | xargs sed -i -r -e 's/ toolbar:helpid="[0-9]*"//'
git grep toolbar:helpid | cut -d : -f1 | sort -u | xargs sed -i -r -e 's/ toolbar:helpid=""//'1

Change-Id: If1bf04265f4e03b44b6a92529f6133aff1589526
Reviewed-on: https://gerrit.libreoffice.org/33642
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-01-31 09:11:47 +00:00
jan Iversen
8736391f4d Gbuild-to-ide, Froze non-active supported generators.
Copied gbuild-to-ide.py from d575e3a14beef8bdd3517c024b9aab8a17b3ef7b
to gbuild-to-ideNS.py

Changed Makefile.in to use gbuild-to-ideNS.py for non-actively
supported platforms.

That way these platform are stable, and not affected of new features.

For now all platforms are still present in gbuild-to-ide and will
have a "does not break" test for all new features.

Change-Id: I8bb069d93c954a80de540a32b8a01889035c840d
Reviewed-on: https://gerrit.libreoffice.org/33710
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2017-01-31 08:58:28 +00:00
Noel Grandin
1c3e84d819 teach lolugin:stringconstant about calling constructors
so we can remove unnecessary calls to the OUString(literal) constructor
when calling constructors like this:
   Foo(OUString("xxx"), 1)

Change-Id: I1de60ef561437c86b27dc9cb095a5deb2e103b36
Reviewed-on: https://gerrit.libreoffice.org/33698
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-31 08:56:20 +00:00
Gabor Kelemen
e1e6cdbb1e Updated core
Project: help  9e0198d62aac3781c1bc1935db9fd0b23e747761

Oops, wrong ui file name

Change-Id: If697b465ca8c019dbf09ffb3bf9501e08e758f13
Reviewed-on: https://gerrit.libreoffice.org/33732
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-31 08:50:16 +00:00
Gabor Kelemen
a4caad7486 Updated core
Project: help  e02e34d2842a5389d13e497c923e0fbb593c42a3

Fix ahelps on Position and Size tabpage of draw object properties

Change-Id: I62708e3a517f8983d22f90313936d9563dbfe09c
Reviewed-on: https://gerrit.libreoffice.org/33731
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-31 08:49:52 +00:00
Gabor Kelemen
6e269c12e7 Updated core
Project: help  57c058399077a50156e8f2d26f7b483f49fc3700

Fix ahelp for the Section tab page

Was set for the title instead of the description here

Change-Id: I108ea751c79f9dff0d8ab24205a7e06ca43a9ac3
Reviewed-on: https://gerrit.libreoffice.org/33727
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-31 08:49:34 +00:00
Gabor Kelemen
c21419eaa3 Updated core
Project: help  8ecc94f4f628fc151aabd6d4f3ba5dfe9ff72198

Fix ahelps for Wrap tab page and related UNO commands

These are on the Drawing Object Properties toolbar
and on the drawing objects Properties window - Wrap tab
also some simple drawing objects have an own Wrap window

Change-Id: I18471f402eb109af5936feacb3fdd8e1d1033087
Reviewed-on: https://gerrit.libreoffice.org/33729
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-31 08:46:55 +00:00