Commit Graph

403477 Commits

Author SHA1 Message Date
Caolán McNamara
b602313ab8 tweak the scoping here a little
Change-Id: Idb257e3aee7d3f0316f34d34866eb2484390a798
2017-01-27 09:01:50 +00:00
Miklos Vajna
777a15db74 CppunitTest_libreofficekit_tiledrendering: fix cppunitassertequals warnings
Change-Id: I0fce00d4c794918e5b14b2c4f3f9f36231f28718
Reviewed-on: https://gerrit.libreoffice.org/33604
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-01-27 09:00:59 +00:00
Caolán McNamara
9a61fdbf0b Related: tdf#105514 recursive fallback GetOpenGLContext
Change-Id: Icb8f3751806ef9c1c7c92cd8b7cc7c28595eca22
Reviewed-on: https://gerrit.libreoffice.org/33580
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-27 08:53:13 +00:00
Tor Lillqvist
ee9568efee Use 'CPT' (for "compilerplugins test") instead of 'C??'
Change-Id: I783a121b43223bbd0fd3f6250b2e009a77c87a85
2017-01-27 10:23:33 +02:00
Vitaliy Anderson
91ccb4dbf7 Compatibility options refactoring. Part 1
It relate to reduce the nubmer of copy-paste the same code
and simplify adding compability options.
Also using enum class instead enum can eliminate to occurrence
an error relate to access to out of range an array.

Change-Id: I07b862aac5f88da4a98e2273cb14daa09e70eacb
Reviewed-on: https://gerrit.libreoffice.org/33543
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-27 07:35:47 +00:00
Gian Domenico Ceccarini
78f5923e7c use . as decimal separator in exported number format
Change-Id: I951995a028274c93e0c0b7226e6d2dceec5a916d
Reviewed-on: https://gerrit.libreoffice.org/33022
Tested-by: Jenkins <ci@libreoffice.org>
Tested-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2017-01-27 07:26:06 +00:00
Noel Grandin
4142e0a0c0 loplugin: unnecessary destructor writerfilter..xmloff
Change-Id: I511822dc874101ed3b9850b015b746a86d26c3b5
Reviewed-on: https://gerrit.libreoffice.org/33578
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-27 06:51:11 +00:00
Noel Grandin
32a461bdd6 loplugin: unnecessary destructor vbahelper..vcl
Change-Id: I6b7800d4a456391251168f7923a1ec7a5ca9efc9
Reviewed-on: https://gerrit.libreoffice.org/33577
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-27 06:50:02 +00:00
Kohei Yoshida
fab2f546d1 tdf#102688: prevent leaking of VirtualDevice instances.
Change-Id: I6fb8e5b7fc5c0cef8f7ab1f93f5096ad588d57c7
Reviewed-on: https://gerrit.libreoffice.org/33601
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-01-27 04:37:22 +00:00
Thorsten Behrens
2be42d9480 curl: get winProxy support back
with properly aligned asterisks

Change-Id: I48b31bce45cdce378fa1cfdd9ddde82b9e669cf5
Reviewed-on: https://gerrit.libreoffice.org/33500
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-01-26 22:18:25 +00:00
Christian Lohmaier
116693b67f update credits
Change-Id: I678449b9e5722a1d8b7516cb934f03c48abb5fda
2017-01-26 23:01:42 +01:00
Christian Lohmaier
a7f24b6fe6 update emoji autocorrect files from po-files
Change-Id: Iea4e16a5c0ede574bc9e01bc0953aed9a138243d
2017-01-26 22:47:12 +01:00
Christian Lohmaier
f28a335826 Updated core
Project: translations  f6f80453277b09ee87688949dce31fb350d068c0

update translations for 5.3.0 rc3

and force-fix errors using pocheck

Change-Id: I6b04819571adace8dd8bd2f5bfa6e37c0e4ac618
2017-01-26 21:38:15 +00:00
Eike Rathke
32d90e643e this is the css::document::Settings property LinkUpdateMode
... not the css::sheet::XGlobalSheetSettings attribute LinkUpdateMode.

Change-Id: I039c8d39e89e693de1c5a1a4218c2fca70a6de9f
2017-01-26 22:31:47 +01:00
Eike Rathke
d03cacfb7b remove now unused header file
Change-Id: I7a9696f07c1a6e1deec342f224343bd938078c2c
2017-01-26 22:31:47 +01:00
Michael Meeks
294c78fd65 German comment finding - simplify top-level detection.
Change-Id: Ic75b4fbb84687a86f7eca52f82dd337244339c42
Reviewed-on: https://gerrit.libreoffice.org/33595
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-01-26 21:09:51 +00:00
Zdeněk Crhonek
38b3df0f74 add VAR, TRIMMEAN, TTEST testcase
Change-Id: I2e4044bdf77433e3193ba8670a013561a6497482
Reviewed-on: https://gerrit.libreoffice.org/33596
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-26 21:08:20 +00:00
Zdeněk Crhonek
87603abe03 add IMARGUMENT, IMCONJUGATE testcase
Change-Id: I5c2a58b868529d60a5ac66aa0f594d702df6ca56
Reviewed-on: https://gerrit.libreoffice.org/33597
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-01-26 21:06:31 +00:00
Caolán McNamara
e17a34e957 ofz: check if the stream is able to meet the eps len claim before reading
Change-Id: I65407bffb67449e203b8ead23554a4e88387d214
2017-01-26 21:04:30 +00:00
Caolán McNamara
9954a91eb8 Related: tdf#104312 create palette on demand
Change-Id: I741323c41231a08fe9561d72ca6079079e888e90
2017-01-26 21:04:30 +00:00
Stephan Bergmann
63a24bfdc0 loplugin:useuniqueptr
Change-Id: I582c1ac00bd6c9a76fca34e51be0017cdf24f035
2017-01-26 21:59:50 +01:00
Julien Nabet
68155a6857 tdf#105483: let's put lowercase Greek letter in italic
and let uppercase one in non italic
See comments from tdf#52225 in addition to initial description of this one

+ adapt QA tests associated (keep on to test "0" case)

Change-Id: Ia84685fc5d336dd96b97d02c0e81f92e7966a6f1
Reviewed-on: https://gerrit.libreoffice.org/33480
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2017-01-26 18:53:18 +00:00
Stephan Bergmann
5b37ec6eb1 loplugin:useuniqueptr
CMtaFolderPicker resp. its only derived class CWinFolderPickerImpl is only ever
instantiated on the heap, so no harm in having that array directly as a member.

Change-Id: I23312e34d3377a46b95a7ee059a2dbbf8f937422
2017-01-26 19:05:38 +01:00
Stephan Bergmann
1041bc88ec loplugin:useuniqueptr
Change-Id: I66e3e1b3c92304643a783203e4f245e93701ba9a
2017-01-26 19:04:40 +01:00
Stephan Bergmann
79ed69ed92 ure/source/uretest is !LIBO_INTERNAL_ONLY
...so revert the relevant parts of d1a9c73ea1
"tdf#88206 replace cppu::WeakImplHelper* misc"

Change-Id: I0ee5bf227fc541672dfb73e57657640cbccbf7f3
2017-01-26 17:57:16 +01:00
Eike Rathke
109cff60a3 this is css::sheet::XGlobalSheetSettings attribute LinkUpdateMode
... and not css::document::Settings property LinkUpdateMode.
It directly maps to ScLkUpdMode, LM_UNKNOWN isn't documented as a valid input value.

Change-Id: I062a1fd32ad6a98db4f8e78de4724be1c8190407
2017-01-26 17:51:45 +01:00
Caolán McNamara
f85fb724d5 ofz: check eps seeks are sane and succeeded
Change-Id: I0eb45e1c1ffd91682ed0ce6a6a74eab54666d715
2017-01-26 16:02:53 +00:00
Stephan Bergmann
d119e3a986 Adapt odk/examples to incompatibly changed (unpublished) API
...changed with f88f6bcfce "Resolves: tdf#35247
introduce a locale independent numeric field filter".

Makes the example at least compile again.  No idea whether any of the values
reported by getLocaleIndependentElementNames would actually need to be different
from those reported by getElementNames for this exampel.

Change-Id: I115096477b28a4ceea398cbbb473a707141d05aa
2017-01-26 16:26:57 +01:00
jan Iversen
69a3cd1604 unittest gbuildtojson
Rename of FLEX to LEX needs to be done in the unittest as well.

Change-Id: Ic038fa01d65edb5724c3d9dc8a04c72c6367372d
2017-01-26 15:38:29 +01:00
Stephan Bergmann
52b84ea007 -Werror=int-in-bool-context (GCC 7)
Change-Id: Id97c3ec66c9c0f924951c44efa9f7dd95b184223
2017-01-26 15:09:31 +01:00
Stephan Bergmann
23bf422723 -Werror=implicit-fallthrough= (GCC 7)
Change-Id: I2e9ab956fc1e59d09b7409333f18230e34b6a9b7
2017-01-26 15:08:39 +01:00
Caolán McNamara
e99364e34b fix wrong indent
since...

commit 6ec8387bea
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Thu Jan 19 15:56:12 2017 +0000

    unbreak this wizard enough to run it

though in fairness it didn't work before that change anyway

Change-Id: Ibd454ec781c6a5ca65ad08f894854b556b046be6
2017-01-26 14:04:49 +00:00
jan Iversen
dcd86466c6 gbuildtojson support for yacc files.
added support for add_grammars macro

Change-Id: I17955bd1534d9f43e1953691d985a18ee8241d38
2017-01-26 14:35:43 +01:00
jan Iversen
1fb65a66f1 gbuildtojson, added support for lex files
added add_scanner macro

Finalized the move around in gbuild-to-ide, to signal
which generators are actively supported.

Change-Id: I11699cd4380d49efc3b541abb7780b5136162433
2017-01-26 14:25:49 +01:00
Stephan Bergmann
8af9286632 -Werror=implicit-fallthrough= (GCC 7)
Change-Id: I703a5f19536b08a87f2282a278218d0fcecfb515
2017-01-26 14:07:41 +01:00
Stephan Bergmann
e57ca02849 Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only).  See the mail thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html>
"Dynamic Exception Specifications" for details.

Most changes have been done automatically by the rewriting loplugin:dynexcspec
(after enabling the rewriting mode, to be committed shortly).  The way it only
removes exception specs from declarations if it also sees a definition, it
identified some dead declarations-w/o-definitions (that have been removed
manually) and some cases where a definition appeared in multiple include files
(which have also been cleaned up manually).  There's also been cases of macro
paramters (that were used to abstract over exception specs) that have become
unused now (and been removed).

Furthermore, some code needed to be cleaned up manually
(avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no
configurations available that would actually build that code.  Missing @throws
documentation has not been applied in such manual clean-up.

Change-Id: I3408691256c9b0c12bc5332de976743626e13960
Reviewed-on: https://gerrit.libreoffice.org/33574
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-01-26 12:54:43 +00:00
aleksandar-stefanovic
8802ebd517 Moved About dialog to DialogFragment
This makes the dialog more modular, and it takes no parameters
instead of two. This is in the preparation of making
the classes more independent on each-other's states, which is very
important. Also, this follows the Android way of workflow better,
since there is no "wrapper" class around the dialog, but instead
the dialog is called directly.

Change-Id: I7571480a040efaf202fae3929cfe76d65c19653e
Reviewed-on: https://gerrit.libreoffice.org/33086
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com>
2017-01-26 12:22:14 +00:00
Stephan Bergmann
690ab77f88 Remove dead code
...originally introduced with 7c35643da4
"INTEGRATION: CWS npower6" and d06de30660
"INTEGRATION: CWS npower8", respectively, but never added to
sc/source/ui/vba/makefile.mk in the first place

Change-Id: Ifdc56beefddfcc24b00c7c79003ed285e29dd8ca
2017-01-26 11:54:44 +01:00
Miklos Vajna
a4af8986c9 [API CHANGE] offapi: remove unused xsec_fw UNO services
This is mostly just the offapi/ part, more C++ code can be removed in
xmlsecurity/ after this. SignatureVerifier, SAXEventKeeper,
SignatureCreator, XMLSignatureTemplate and XMLEncryptionTemplate was
only used inside xmlsecurity, but they all are accessed directly
already. Decryptor and Encryptor wasn't even used by internal code since
they were added in commit 9f34fde7a8
(libxmlsec, 2004-07-12).

It seems to be unlikely that any of these non-published services were
used by 3rd-party code, since they were specific to other xmlsecurity/
code, not generic functionality that could be useful in other contexts.

Change-Id: I4bcfa88d11d2b92a440f6617193c6460125ce4fd
Reviewed-on: https://gerrit.libreoffice.org/33569
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-01-26 10:43:25 +00:00
Noel Grandin
b98811106b use rtl::Reference in OImageControlModel
instead of storing both a raw pointer and an uno::Reference

Change-Id: If0e1380815e93015249cc19bc66b40befbfab50e
Reviewed-on: https://gerrit.libreoffice.org/33570
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-26 10:23:56 +00:00
Noel Grandin
a49cbc5893 loplugin: unnecessary destructor test..unotools
Change-Id: I1fd8a3f39b875d1920759f42e37f4c9d6785d62e
Reviewed-on: https://gerrit.libreoffice.org/33573
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-26 10:07:23 +00:00
Noel Grandin
788368633a loplugin: unnecessary destructor sw
Change-Id: I27dcd289177bd6a63f07d75fb3cfd5c14fa2ee9d
Reviewed-on: https://gerrit.libreoffice.org/33572
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-26 10:06:49 +00:00
jan Iversen
fc68a26770 gbuild-to-ide finalized split of maintained code
Added "testIde-ide-integration" to allow test of new vs2013 generator.

Change-Id: Ia7d286f06e287ce97faa0a262ee4f93172d4ed28
2017-01-26 10:39:44 +01:00
Noel Grandin
13aa595069 use rtl::Reference in Model
instead of storing both raw pointers and an uno::Reference

Change-Id: I93871eaf9807d0fa846a4e1090d7ee7b1db01c5e
Reviewed-on: https://gerrit.libreoffice.org/33571
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-26 09:22:50 +00:00
Caolán McNamara
068edb65b1 Resolves: tdf#104153 crash on drag and drop pivot table field
now though sometimes it doesn't get removed at all, so a band aid
for the moment

Change-Id: I6ccbbe51fe9250af0f85c30a9d253269a18df457
2017-01-26 09:19:22 +00:00
Stephan Bergmann
aee1d799be Make test work with older Clang
For some reason, e.g. Clang 3.8.1 doesn't evaluate std::strlen here (though it
apparently does in other places in this file).

Change-Id: Ib2b7dcc1d7b6ae47ef285bd2edb65e399dc11b79
Reviewed-on: https://gerrit.libreoffice.org/33547
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2017-01-26 08:36:51 +00:00
Stephan Bergmann
00424a277b loplugin:dynexcspec
Change-Id: I5e30befa9338bfd72e237e2bdb7c157526d32b85
2017-01-26 09:07:24 +01:00
Stephan Bergmann
9f5c54856f loplugin:useuniqueptr
Change-Id: I5091c2b4550dee1f0b602a5337e17fe78b9d07f9
2017-01-26 09:06:38 +01:00
Stephan Bergmann
6a16775c78 loplugin:useuniqueptr
Change-Id: I1fa141ee0d8d818f3ed5b31faa1ac578ba791e39
2017-01-26 08:56:55 +01:00
Stephan Bergmann
9f80fceaa2 loplugin:salbool
Change-Id: I9c34c84d14084e84ab7d9fda78955cf2aebaf5dc
2017-01-26 08:54:57 +01:00