Commit graph

391386 commits

Author SHA1 Message Date
Michael Stahl
66f769feb2 convwatch: logExceptionInvoke is kind of pointless now
... that runLoadPrintFileTests catches the exceptions anyway.

Change-Id: I6441551558e057427a9732451415f4c449a3609a
2016-04-27 15:52:42 +02:00
Michael Stahl
61e8275de6 convwatch: don't generate images for documents that failed to print
Change-Id: I2dba6ccbb7cbfb3719c2169dc74204014caf2e84
2016-04-27 15:52:41 +02:00
Michael Stahl
844ca4dcc6 convwatch: add a watchdog for the layout loops :(
Change-Id: I33996f0d84e1a4b303b6f2cf7afa6cee32665a77
2016-04-27 15:52:41 +02:00
Michael Stahl
32b6b0e934 convwatch: if a document fails to load, log that instead of failing
Bugzillas have lots of zip-files with wrong mime-types
and non-well-formed files.

Change-Id: I1238a35da0f222759439316a33b8927a3544a965
2016-04-27 15:52:41 +02:00
Michael Stahl
97d9733b24 convwatch: don't buffer stdout logging
Change-Id: I0d32b150b65bf6bd30a988c2e028c5d7e05f195e
2016-04-27 15:52:41 +02:00
Michael Stahl
a1f3f7da8d convwatch: let's print some timestamps
Change-Id: I455017ad3458362b78d6306886344ccec3c9247b
2016-04-27 15:52:41 +02:00
Michael Stahl
7895f7e1a8 logerrit: disarm the "resubmit" foot-gun
Recently some new developers accidentally used "resubmit", intending to
upload a new revision of their change, but it actually always creates a
new gerrit change.

4e15809a78 claims that "resubmit creates a
new Change-Id for the current change and thus allow to submit changes for
review on release branches that were already reviewed on master", but
that is not actually required with gerrit versions that were in use in
the recent years, gerrit is capable of tracking Change-Id per branch.

Change-Id: I66eda4dbc6f4ff1e235105b3f55041cda88a6b60
2016-04-27 15:52:40 +02:00
Michael Stahl
3585cfe5f5 todo odd warnings being printed
Change-Id: I227ba7063827952525a4b190f864b4c7ffb3a6d8
2016-04-27 15:52:40 +02:00
Michael Stahl
e1fc96df40 tdf#99460 sw: layout: don't split table before fly
First the table is formatted properly and then the following paragraph
is formatted, along with its anchored objects.
The Fly frame is aligned to the bottom of the page by
SwAnchoredObjectPosition::_AdjustVerRelPos() without checking for any
overlap, and thus overlaps the table.
Then SwFlyNotify and Notify_Background() invalidate the table's PrtArea,
and the table responds by splitting numerous times, until finally there
is a page where the table does not overlap with the fly any more.
Instead of the table splitting, the paragraph with the Fly anchored to
it should move to the next page; suppressing the table invalidation in
Notify_Background() appears to achieve that.

Change-Id: If65879f1756856bda344e0ef8fbffbc33e80f3ec
Reviewed-on: https://gerrit.libreoffice.org/24307
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-27 13:53:15 +00:00
Guillaume Smaha
2c47053e7e Specify Alfresco 5 in the list, it also compatible
Change-Id: I29d32253259c296e2e5fedcff241573479b2d4a3
Reviewed-on: https://gerrit.libreoffice.org/24426
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-27 13:45:34 +00:00
Stephan Bergmann
3caf268f9a Make SDK examples compile again
Revert (parts of) various commits that tried to use LIBO_INTERNAL_ONLY features
in external odk/examples/ code.

Change-Id: I275c3e8979c995430329bca61e51b2841503234f
2016-04-27 15:39:47 +02:00
Noel Grandin
5e4fc95409 clang-tidy modernize-loop-convert in f*
Change-Id: Id866aa244378758e3bdb9e99d02cdd2ae6104e16
2016-04-27 15:03:40 +02:00
Stephan Bergmann
0c2d6574c6 Remove ancient, dead CONTEXT_DIAG code
Change-Id: I24123a54fe847b35f6b3674e2caa9bfb4b339d4a
2016-04-27 14:28:59 +02:00
Stephan Bergmann
11ba28a47d Remove ancient OSL_DEBUG_LEVEL printf
...alerting about something that is not too exciting anyway

Change-Id: I7596f14e52a0272762f923882f5f92fc3ac1ddf4
2016-04-27 14:26:51 +02:00
slideon
fd0d4f845d Add default line width defines for TableBorders
This define makes things clearer.

Change-Id: Idd4abf11ed7657c688ea95aac1958ee4b1fd32ee
Reviewed-on: https://gerrit.libreoffice.org/23732
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-04-27 12:16:56 +00:00
Jochen Nitschke
1520d0d6f3 cppcheck: silence warnings in compilerplugins
mostly missing explicit before ctors and
uninitialized member vars

one odd use of std::find
> compilerplugins/clang/implicitboolconversion.cxx
> 800 stlIfFind warning	Suspicious condition.
> The result of find() is an iterator, but it is not properly checked.

Change-Id: Iade53494cd7fe8ddb0e110e431449ae5a517fe3b
Reviewed-on: https://gerrit.libreoffice.org/24398
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-27 12:03:57 +00:00
Stephan Bergmann
e02a29c0a7 Improve documentation
Change-Id: I13683f971bf56f6c5e226d749e60ccb25af559a5
2016-04-27 13:48:07 +02:00
Stephan Bergmann
81105d9534 -Werror,-Wvarargs
"passing an object that undergoes default argument promotion to 'va_start' has
undefined behavior [-Werror,-Wvarargs]"

just drop the variadic overload and use the one taking a WizardPath (i.e., a vector)

Change-Id: I6e389f60f8b7cb0633bf173bde69af1c5af86048
2016-04-27 13:47:30 +02:00
Stephan Bergmann
d3f80583ee -Werror,-Wvarargs
"passing an object that undergoes default argument promotion to 'va_start' has
undefined behavior [-Werror,-Wvarargs]"

just replace the variadic function with one taking an initializer list

Change-Id: Ied3dfe835dcebef48cf35374ec4d8835f98e6779
2016-04-27 13:47:30 +02:00
Stephan Bergmann
49f2d7cd98 loplugin:stylepolice: adapt to libc++
Change-Id: I8a471d0fb7a206f1a235c3019ae9d07b44056e01
2016-04-27 13:47:30 +02:00
Oliver Specht
a4da4cc660 tdf#99527: show all accelerators in menus of extensions
XCUBasedAcceleratorConfiguration::getPreferredKeyEventsForCommandList() throws
if the command string of a menu entry is empty. Parent entries of sub menus of
extensions are empty. As the method doesn't know about the source of the command
a dummy entry is supplied.

Change-Id: I1d12bbf41c22b66e9ee29f1f05ea216134168795
Reviewed-on: https://gerrit.libreoffice.org/24423
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2016-04-27 11:43:47 +00:00
HaidongWu
ed81bf39dd tdf#98512 Fix the Undo action of insert an input field.
Change-Id: Ia3214564f78a300bfd3f2e6de677fcdff39e107b
Reviewed-on: https://gerrit.libreoffice.org/23055
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2016-04-27 11:43:01 +00:00
Takeshi Abe
1ef1ed40cb starmath: Drop unnecessary cast
Change-Id: Ia892100507de7365bcecfa0708f76931f84d797b
Reviewed-on: https://gerrit.libreoffice.org/24389
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-04-27 02:58:02 +00:00
Laurent Balland-Poirier
fe2bf7b059 tdf#99518 Use correct decimal separator
Change-Id: I39169e7c7344fcfd594a0e0d2ab0a762cc3d5829
Reviewed-on: https://gerrit.libreoffice.org/23961
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-27 00:29:42 +00:00
Fabio Buso
e7f55f15cc tdf#45904 Move java XViewPane test to c++
Change-Id: I3c99fb4c611a3b45d31412731c548b59e95d7179
Reviewed-on: https://gerrit.libreoffice.org/24285
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-27 00:28:03 +00:00
Christian Lohmaier
72f89e0f0e update credits
Change-Id: I63a025efc0208b93887bc02acb360311b56688e9
2016-04-27 01:12:54 +02:00
Tor Lillqvist
29da9d383e loplugin:stringconstant
Rewrite call of rtl::OUString::operator= with empty string constant
argument as call of rtl::OUString::clear.

Change-Id: Ib53fcfcca95e8c46f8ae24d648d7b9bf421df3f5
2016-04-26 20:31:13 +03:00
Tor Lillqvist
7671d64307 loplugin:defaultparams
Not necessary to pass this argument, it defaults to the same value.

Change-Id: I090566ebc968c69351cd019e1a5b2b6a0749f03f
2016-04-26 20:10:16 +03:00
Tor Lillqvist
7b1b9d42b0 loplugin:bodynotinblock
Statement aligned as second statement in if body but not in a
statement block.

Change-Id: I213d0b304fe23c9b7c739257201425475f7cb3b5
2016-04-26 20:04:24 +03:00
Jochen Nitschke
2bb6221b39 C++11: disable ctors instead of not implementing them (sc)
replace the old declare and don't implement pattern
with C++11 delete keyword

Change-Id: I96c71d512d8dab4ad7c806c2e871604163fc49c1
Reviewed-on: https://gerrit.libreoffice.org/24399
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2016-04-26 16:44:10 +00:00
Regina Henschel
32cec4ca8b tdf#48066 render stroke-miterlimit correctly in SVG import
The property stroke-miterlimit is transported to the renderers
via a new member mfMiterMinimumAngle in class LineAttribute
Several drawPolyLine methods are adapted. This patch does not
include changes in MetaAction. Presentation mode, printing, and
PDF-export is still wrong.

Corrected LineJoinMiter to LineJoinBevel in canvas, that s closer
to NONE. Removed DrawPolyLine method without MiterMinimumAngle
and adapted calls accordingly.

Change-Id: I6bcd24add5d85c4d9a39e3788e0682091c5fc9c4
Reviewed-on: https://gerrit.libreoffice.org/23946
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2016-04-26 16:42:27 +00:00
Eike Rathke
4905c8bf78 early bail out if nGlobalError, tdf#97831 follow-up
Change-Id: Ic45d11cecc4bb372dac3deca27ae3665303d5b29
2016-04-26 18:24:00 +02:00
Feyza
1670e45f6a tdf#58845 Added shorcut for Extension Manager
Change-Id: Iabd60e57de34f7463b7be2074ec2276572cdcdb0
Reviewed-on: https://gerrit.libreoffice.org/23376
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-26 16:13:54 +00:00
Yousuf Philips
554a7a5c89 tdf#84909 Draw: Reorganize buttons in connector split button
Change-Id: I192bf6285bb76a049eea631bd5341460ad05272c
Reviewed-on: https://gerrit.libreoffice.org/23929
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-26 16:12:42 +00:00
Yousuf Philips
31539dd176 Dock track changes toolbar on outline toolbar line
Change-Id: If5c4fa58b8e7ce8eaa5758a0c88a4ab9c13498c3
Reviewed-on: https://gerrit.libreoffice.org/23962
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-26 16:11:41 +00:00
Yousuf Philips
0c817c3b4b Change label to title case similar to other surrounding labels
Change-Id: I4b02aada5e50e7b30ed23fe12fab1c99f38ccfeb
Reviewed-on: https://gerrit.libreoffice.org/24056
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-26 16:11:06 +00:00
Eike Rathke
98ac8e769c check availability of stack and some nitpicks, tdf#97831 follow-up
See comments on https://gerrit.libreoffice.org/#/c/23601/5

Change-Id: Ib8d5a6cbf87f8b6cafd825f380c7e65c3227aefd
2016-04-26 18:05:47 +02:00
Stephan Bergmann
2ac66f5a36 Enable Clang plugin warnings in Bison source code
-Werror is generally suppressed in Bison-generated C/C++ code (as in all other
generated code) to silence warnings from the Bison skeleton code.  And the Clang
plugins suppress warnings in generated WORKDIR code based on the presumed source
location (i.e., taking #line directives into account).  So introduce a new
PLUGIN_WARNINGS_AS_ERRORS mode where warnings from Clang plugins are reported as
errors even if -Werror is suppressed.  That way, any warnings in the Bison
skeleton code still do not lead to compilation errors, while (at least plugin-
emitted) warnings in the genuine source code do.

Unfortunately this cannot also be enabled for Flex source code, as at least
Flex 2.5.39 generates poor code that does not properly prefix all skeleton code
with appropriate #line directives, so that some skeleton code would be mistaken
for genunie source code, and compilation would fail due to errors.

Also, %glr-parser Bison input appears to generate no #line directives at all (at
least with Bison 3.0.4), so all of connectivity/source/parse/sqlbison.y is
considered generated code and plugin warnings are still suppressed throughout.

Change-Id: Id746e81cbfa5f77628b0a34c7b82780948e7db08
2016-04-26 17:49:11 +02:00
Stephan Bergmann
13213de796 loplugin:nullptr
Change-Id: I02e177e07fc5fef225351392c9cd5743a2212967
2016-04-26 17:49:10 +02:00
Stephan Bergmann
db151516b5 loplugin:nullptr
Change-Id: I699ce2c97d7874eac78b3afcd08ba011f56156bd
2016-04-26 17:49:10 +02:00
Stephan Bergmann
d36b8733c0 loplugin:nullptr
Change-Id: Id58f3320ff152286fa6b3268cdc9c2af2d7e068b
2016-04-26 17:49:10 +02:00
Stephan Bergmann
f88f82233d simplify
Change-Id: Iecb9ea0106cf57ef3c873d3a62407a3da5706d92
2016-04-26 17:49:10 +02:00
Akshay Deep
35aded0e43 tdf#98037 - SIDEBAR: Replacing 'Speed' drop downs with comboboxes (2)
Changed speed dropdowns in CustomAnimationPane and CustomAnimationDialog to Duration combobox.
Used Custom Widget VclComboBoxNumeric with MetricBox class.
Unit set in seconds.

Change-Id: I86e18da77dcdd72d429a2c02d56aa4b1cf5f6c54
Reviewed-on: https://gerrit.libreoffice.org/23157
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-26 15:36:04 +00:00
Winfried Donkers
a76c5e2137 tdf#97831 [part] Add Excel 2016-Office 365 functions to Calc
Functions CONCAT and TEXTJOIN.

Change-Id: I38092f77df719d11f6746ac10fe14dc53b7e93e7
Reviewed-on: https://gerrit.libreoffice.org/23601
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-04-26 15:08:22 +00:00
Akshay Deep
0bdb8baf57 tdf#64292 tdf#94639 Meaningless Functions in Template Properties Dialog
Removed useless Template Properties Dialog.

Change-Id: I453abb67de9eb1515f98ff78cc7bebcc69482a1e
Reviewed-on: https://gerrit.libreoffice.org/23339
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-26 14:01:26 +00:00
Stephan Bergmann
56cd140064 loplugin:salbool
Change-Id: I079d12c7d3406e371c434214f4ad66f6decab954
2016-04-26 15:52:23 +02:00
Stephan Bergmann
f3c120ec22 loplugin:simplifybool
Change-Id: Ie3662271f57df724329cb5fa52881479890277f9
2016-04-26 15:36:38 +02:00
Miklos Vajna
f9ade68d8d lokdocview: log setGraphicSelection() arguments
Change-Id: I36af712274e1a3f9dacd5d62ab42032ca9e9acdd
Reviewed-on: https://gerrit.libreoffice.org/24390
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-04-26 12:12:04 +00:00
Jorenz Paragas
6a4a15c87c tdf#42949: clean up includes in include/oox/crypto with iwyu
The includes in CryptTools.hxx that are within #if/#endif directives
are not altered. iwyu suggested replacing the includes for nss.h,
pk11pub.h, and sechash.h with hasht.h, pkcs11t.h, seccomon.h,
and secmodt.h. I decided not to because it might make CryptTools.hxx
harder to refactor in exchange for little gain.

Before creating this commit, I ran 'make check' after passing
--with-tls=openssl to ./autogen.sh to ensure that building with
either OpenSSL or NSS (the default except on iOS and Android) works.

Change-Id: I20260d18f073ffd8077bbcc597e7a8e4954e2ec5
Reviewed-on: https://gerrit.libreoffice.org/24386
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-26 11:53:52 +00:00
Oliver Specht
c3572701cf tdf#89953: put zero kerning if item state has been invalid
Change-Id: I96d81ed7654dc310df68a7ff376bbcd2e1d5810b
Reviewed-on: https://gerrit.libreoffice.org/24361
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-04-26 11:34:13 +00:00