Commit Graph

403714 Commits

Author SHA1 Message Date
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 aa799f6472,
and partially reverts commits bd505fdb9f
and 9104d5e890 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 d69bc9c939, which isn't needed
any more now that 01aa52b5e9 "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 9e7eb63989 (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 d575e3a14b
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
Gabor Kelemen
768ec4a12a Updated core
Project: help  31cb3368f3f9412c359b58009a8ea0dc9ab75324

Fix ahelps for FlipVertical and FlipHorizontal UNO commands

These are on the Image toolbar

Change-Id: I9ed0262e9e6e346a8e42dc034c690eb88646a316
Reviewed-on: https://gerrit.libreoffice.org/33730
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-31 08:29:25 +00:00
Samuel Mehrbrodt
e0e3bcfae0 Translate German comments
Change-Id: Idf54772d7da0da60d00cfd3b0650cfda0bcd9059
Reviewed-on: https://gerrit.libreoffice.org/33736
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-01-31 08:27:46 +00:00
Gabor Kelemen
4191f6147f Updated core
Project: help  d427d899f1228bcb309f349c39c17eb96d80d980

Fix ahelp for InsertCaptionDialog UNO command

This is on the Drawing Object Properties toolbar

Change-Id: I2f50145a75d213914f1b699753f39a19cc4a3b71
Reviewed-on: https://gerrit.libreoffice.org/33728
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-31 08:12:45 +00:00
Gabor Kelemen
9316e78339 Updated core
Project: help  ae83c2d740080cd66029a9cf58457f9711c95b66

Fix ahelp for Insert Section UNO command

This is on the Insert toolbar

Change-Id: I0690631f09fae8f3fca109e7b30b62f0411c4a5b
Reviewed-on: https://gerrit.libreoffice.org/33726
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-31 08:05:27 +00:00
Gabor Kelemen
6bfa01c693 Updated core
Project: help  8ff48d16dbea60ef20ca187f36214e020f73367f

Fix ahelp for line property related UNO commands

These appear on the Drawing Object Properties toolbar

Change-Id: I232f41a8fbde595a57fa6be705cb15ad330a124f
Reviewed-on: https://gerrit.libreoffice.org/33725
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-31 07:50:07 +00:00
Noel Grandin
2670ca3fc5 a whole bunch of SAL_WARN_UNUSED
Change-Id: Iea28debc7d3abc58cca21bd3856cb65b321dc1e6
Reviewed-on: https://gerrit.libreoffice.org/33693
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-31 05:32:03 +00:00
Caolán McNamara
267d6e19e3 ofz: we're going to need at last a len field and a CounterByte on each row
Change-Id: I5c5c2d67bcba7692e696be6ab96db041b20416a4
2017-01-30 22:44:46 +00:00
Gulsah Kose
8d999b118e tdf#102132 Add contextual edit region uno command.
Change-Id: I2b95457ba2f074a13059c9f5ce87589f925d3eda
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/33455
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-01-30 22:30:24 +00:00
Maxim Monastirsky
93ada372b0 Convert RID_MENU_APP_PREVIEW to xml
Change-Id: I8601c0d9c23c6b1fe191391a56602173fe600e20
2017-01-30 23:46:07 +02:00
Michael Stahl
ca1cb1b4ac tdf#44502 cppuhelper: fix doxygen warning
Change-Id: If1bb3d7cc37449fc6be5467dc5d4380083d66211
2017-01-30 22:38:33 +01:00
Michael Meeks
9c25f6c9fd German comments - last bits of stoc/ translated.
Change-Id: If43573010a4a77ed5b1878a4c5baeac139b30b89
Reviewed-on: https://gerrit.libreoffice.org/33708
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-01-30 21:03:55 +00:00
Caolán McNamara
4649a2c6b3 convert toolbar config context menu to .ui
Change-Id: I8f8a9517680f02cb8efa3e6e46d3d4ebf7da1510
2017-01-30 20:58:20 +00:00
Zdeněk Crhonek
20ca0d67e7 add MROUND test case
Change-Id: If05c593887841c344b5e81a3c18b9e91effe67fc
Reviewed-on: https://gerrit.libreoffice.org/33709
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-30 18:56:58 +00:00