Commit graph

391256 commits

Author SHA1 Message Date
Adolfo Jayme Barrientos
212bb39bb6 Updated core
Project: help  743ed49ef0759b6cbd65d707ae9b8bba90e81a4d

“Mail & News” is just “Mail” now

Support for the news:// protocol was removed in core commit 6d089a4c7

Change-Id: I858331b9fc73502915cbd5fc2a8618e0837ba2a6
2016-04-28 01:52:02 +00:00
Adolfo Jayme Barrientos
42d7c0d8c5 Updated core
Project: help  32a855a02c55f864af7b2d1a7ebddd55043e297b

tdf#92825 Update Impress’ Master menus

For now I removed the tip paragraph on “Format > Slide Layout”, which is
a very old window (from ~2004-era OOo) that nowadays is replaced with the
Sidebar (and before the Sidebar, it was replaced with the Tasks pane).
This tip linked to more obsolete content… It’s a growing snowball. We
really need to get ourselves busy and rewrite all that.

Change-Id: I70e48f7613a0b17649e88f12c986a5ff1969deba
2016-04-28 01:28:00 +00:00
Takeshi Abe
615e3502c5 Resolves: tdf#88320 parsing fails with a subscript number
... ending with comma and followed by non-space.

Change-Id: Ia00c662e31940270690c64e1840417436565a6c7
Reviewed-on: https://gerrit.libreoffice.org/24260
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-04-27 23:40:37 +00:00
Xisco Fauli
a7bd0355cc vcl: remove unused variable and redundant method
Change-Id: Id3662a21b6a687f9283f93778e5b70183e4f0c04
Reviewed-on: https://gerrit.libreoffice.org/24435
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-04-27 21:33:35 +00:00
Markus Mohrhard
f710c017a6 add todo list with open performance problems in calc
Change-Id: I3f9969b142b2673aadc9b85c77e226c7b2806d51
2016-04-27 22:42:46 +02:00
Maxim Monastirsky
e4ae5e2d40 SubToolBarController: Use initialize to change tb bits
update is called so late that the dropdown addition is
noticeable by the user.

Change-Id: I36d76770125f927a851caef010e81f12f40d4405
2016-04-27 22:20:22 +03:00
Eike Rathke
f5cd030ee0 extract adjustCopyRangeName() from adjustRangeName()
Change-Id: I1dd41a4fe96187750d4269e732ca39c19de3c060
2016-04-27 21:06:21 +02:00
Eike Rathke
bd2800df84 make findRangeNamesReferencingSheet() independent from a passed FormulaToken
Preparing to extract some functionality.

Change-Id: Ic0e298273f6f047a7d35aaa31fb99d9a45128ad0
2016-04-27 21:06:21 +02:00
Eike Rathke
cc5f8c6bf0 FindRangeNameByIndexAndSheet() to FindRangeNameBySheetAndIndex()
index,sheet was slightly confusing as we lookup an index within a sheet.

Change-Id: I164dd48187e6652639094e33ca83a91a96c893a0
2016-04-27 21:06:20 +02:00
Adolfo Jayme Barrientos
4e6fd4f4b5 Print dialog: minor spacing tweaks
Change-Id: I58ea5ec681746b36d6eb1899b7fd9a42adb29dae
2016-04-27 13:52:37 -05:00
Xisco Fauli
80590c1162 tdf#62525 vcl: use cow_wrapper for Hatch
Change-Id: I520b2a6a8c309b3702208633ed86225f61b7368c
Reviewed-on: https://gerrit.libreoffice.org/24376
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-04-27 18:48:53 +00:00
Maxim Monastirsky
579c2de3a8 tdf#80999 Canceling password prompt should abort detection
... instead of continuing the detection loop and being
"detected" as plain text. The detection API will from now
return a type based on the file extension only, which is
far more useful than "plain text" anyway. Plus the media
descriptor has a flag to indicate that the detection wasn't
completed, which can be also used by the loading code to
abort the loading process.

Change-Id: Ida37e2687bd5cd86b5780620724e9bce82e11946
Reviewed-on: https://gerrit.libreoffice.org/24428
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-04-27 18:36:57 +00:00
Michael Stahl
ef52ce82bf tdf#89866 tdf#96504 vcl: fix printing of form controls with images
Originally in 2004 commit 0339e43208 added a
"DBG_ASSERT( GetOutDevType() != OUTDEV_PRINTER, "DrawImage(): Images can't
 be drawn on any mprinter" );"

Recently commit f749ffbdf4 made the mistake
of trusting this assertion to be correct and added Printer::DrawImage()
overrides that do a hard "assert()" now and don't do any drawing.

Armin claims that the implementation of OutputDevice::DrawImage() should
actually work for Printer as well due to fall-backs and thus the
original DBG_ASSERT was misleading.

This matters when printing documents that contain form controls
such as ImageControl.

Additionally, Image::Draw() should not return early when
IsDeviceOutputNecessary() is false, because that is the case when
printing, where instead a meta-file is recorded.
The called OutputDevice::DrawBitmapEx() will check
IsDeviceOutputNecessary() internally anyway.

This check was actually always there, so i do not understand how this
should have worked in LO 4.2, as the bug reporters claim.

Change-Id: I92ba19e7036197d1dde88c361f8e1cb59fae3a60
2016-04-27 18:46:25 +02:00
Miklos Vajna
db4cba7603 beans: if loading a library fails, show the reason
Don't do it for the MSVC libraries though, e.g. on my system loading
msvcr70 fails, but the SDK example works without problems.

Change-Id: I81bc0b64967e7abb74ca1fff7a2e4b4dbd75d5a5
Reviewed-on: https://gerrit.libreoffice.org/24432
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-04-27 16:42:31 +00:00
Caolán McNamara
b71f470e37 Resolves: tdf#99498 don't overwrite trwWidth value if set on a table
Change-Id: Ia39da999a2de1ca2b8bec5fc7f35d2f9ffe2dd19
Reviewed-on: https://gerrit.libreoffice.org/24430
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-04-27 16:30:07 +00:00
Eike Rathke
0445de5e0d accept UTF8 as explicit charset value
... to follow the (wrong) docs on the net.. it doesn't harm.

Change-Id: I30c34edb6dc1c56084625de8e52bfb5afe82fcf7
2016-04-27 18:06:32 +02:00
Luke Deller
817c3b17fa tdf#99474 close direct char fmt at end of para
When exporting to doc, ensure that the FKP entry for direct character
formatting is closed at the end of a paragraph, so that any direct
character formatting in the next paragraph does not apply to the
end-of-paragraph marker (CR).

Also revert the changes for i#119650 and tdf#87437 which targetted
more specific examples of this problem, as those issues should now be
covered by this fix.

Add a test case for the example from tdf#99474

Change-Id: I2cb482adb39a84f152707dafcb18f289ca0bd550
Reviewed-on: https://gerrit.libreoffice.org/24402
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-04-27 15:17:22 +00:00
Miklos Vajna
99ea437f75 lokdocview: log postMouseEvent() arguments
Change-Id: Idd4db9259448d3dcf4e0820b8845a1ab395f0bff
Reviewed-on: https://gerrit.libreoffice.org/24427
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-04-27 15:00:36 +00:00
Jorenz Paragas
de4b758ff3 Improve the gen-iwyu-dummy-lib script a bit.
- Fix the check for --enable-compiler-plugins not being included in
  the resulting StaticLibrary_iwyudummy.mk file.
- Disable warnings about unused const variables to reduce noise.

Change-Id: If54dfd55f46631bbc526326bed5c272358fb9cf3
Reviewed-on: https://gerrit.libreoffice.org/24419
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-27 14:34:05 +00:00
Michael Stahl
4ec7128470 convwatch: use PerTestConnection by default
It's more robust to restart soffice after every file, even if it takes
more time, overall it's better than having to prune all the files that
are invalid or cause loops before running convwatch.

Change-Id: I7f7155f71bb2522ae48182aa1b5ca61fc47ae4d5
2016-04-27 15:52:42 +02:00
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