394279 Commits

Author SHA1 Message Date
Takeshi Abe
68585e3045 starmath: Remove a couple of unused error codes
Change-Id: Iae3118150cf9119e48b1740ea630dea0ebef895a
Reviewed-on: https://gerrit.libreoffice.org/26998
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-07 11:56:46 +00:00
Caolán McNamara
3cecadbddd Related: tdf#92478 speculative win64 scanning fix
TWAIN-2.3-Spec.pdf says...

All TWAIN 2.x Sources must be prepared to work with either TWAINDSM.DLL or
TWAIN_32.DLL, which may still be used by older Applications.

The TWAIN DSM is a shared library named TWAINDSM.DLL.  There is a 32-bit and a
64-bit version of this file.

Change-Id: I047d872271573a5b2efc3ee2af4ecfc4e142a2b2
Reviewed-on: https://gerrit.libreoffice.org/26541
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-07 11:55:20 +00:00
Caolán McNamara
1190e73852 gtk3: if a popup is withdrawn close the popup
we don't always get the click that causes the popup
to be withdrawn when the mouse is clicked outside
the application during a grab

Change-Id: I2dbef23813972ebd75c8899711a2d1309110f968
2016-07-07 12:16:20 +01:00
Caolán McNamara
a71de3f2b4 make this a little more clear
Change-Id: I1e13ba97bd057b755fc65b2c90a6b74669422b22
2016-07-07 10:53:03 +01:00
Caolán McNamara
0ea7788842 hitting esc while insert->table float is open crashes
Change-Id: I96817f0c061c29eafba942884fcf37788341ff20
2016-07-07 10:51:23 +01:00
Jakub Trzebiatowski
40fba0f441 GSoC Writer Table Styles Import
This patch is implementing import of table styles (table-template).

Modified shared code: Added "background" to the cell styles export.

To make cell export properties map accessible by both export and import code,
moved from xmloff/source/table/XMLTableExport.cxx to xmloff/txtprmap.hxx.

To avoid export of default valued properties implemented XPropertyState for
SwXTextCellStyle

Change-Id: I8b4f12e4b51f478f8ce8fde1203cd4611d7ae852
Reviewed-on: https://gerrit.libreoffice.org/26721
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-07-07 09:02:15 +00:00
Miklos Vajna
046244bcfe sw: prefix members of SwSrcEditWindow
Change-Id: I6944a398bc7689ef4d2daf4ac8b9f601c0dff450
Reviewed-on: https://gerrit.libreoffice.org/26997
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-07 08:41:25 +00:00
Andras Timar
049eed046a Updated core
Project: dictionaries  a4a8bb897b5e5dc0b90579b73ed071d47f66f699

Update pt_PT dictionary to version 16.7.4.1

Change-Id: If00be0e9c05c5cf1cc67427eed723484ad33e6d2
2016-07-07 08:15:42 +00:00
Justin Luth
1127bed4d9 tdf#95367 inherit page style if no new one imported
CopyLastHeaderFooter doesn't do much good
if the previous section has blank stylenames.
(usually because of continuous section breaks).

Change-Id: Ida1e42ab0b650c7c43f06539b3cc058fe5c27919
Reviewed-on: https://gerrit.libreoffice.org/26911
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-07-07 07:18:02 +00:00
Takeshi Abe
048f298d9c starmath: Drop useless PE_BINOPER_EXPECTED
as no code generates the error.

Change-Id: I86f2db28030090e0a9284e7771f26821468bb685
Reviewed-on: https://gerrit.libreoffice.org/26974
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-07-07 06:52:48 +00:00
slideon
9547d9f7ac Add test for XML Range Conversions
SwChartDataProvider's XML conversion methods were untested.
Also add tests for SwChartDataSequence's clone method and its get/
set property value methods.

Change-Id: I6323a7af1eae747592f5016b13fb5e2e3f0b71d1
Reviewed-on: https://gerrit.libreoffice.org/26995
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-07-07 06:39:05 +00:00
Christian Lohmaier
296c74f61e update credits
Change-Id: Id597c51484924f0398bbb30ba419809beb9a96b5
2016-07-07 04:04:28 +02:00
Christian Lohmaier
d3c1fa9362 update emoji autocorrect files from po-files
Change-Id: I7f92c40ea33a04a2c7ea8545d423c645503fd445
2016-07-07 03:57:15 +02:00
Christian Lohmaier
264a157584 Updated core
Project: translations  4659a8d992ac88a1f941ce8d3e81124406d58e57

update translations for 5.2.0 rc2

and force-fix errors using pocheck

Change-Id: Ib04fb536c08f6a16d587ac60ac5a5cee0e82e6cf
2016-07-07 01:49:58 +00:00
Markus Mohrhard
dc4797a79e tdf#100295 force curl to build for XP
Change-Id: Ia705704bc80a951f0da04936783dd8965bda842b
Reviewed-on: https://gerrit.libreoffice.org/26886
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-07 00:43:20 +00:00
Rishabh Kumar
c56974019c Reload the preset list after deletion
ValueSet assign Ids to entries when the list is loaded.
Ids are not changed after deleting entries.

Change-Id: Ia4442992561bf2cd82ff325abef8e34715851e1d
Reviewed-on: https://gerrit.libreoffice.org/26986
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-06 22:01:26 +00:00
Henry Castro
880e013d7c sc lok: add toolbar item wrap text and merge cells
Change-Id: I266b7171ee0a8a324ee8f71680f76c132b5c5fbd
Reviewed-on: https://gerrit.libreoffice.org/26985
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-06 18:05:12 +00:00
Stephan Bergmann
57440dfcbd clang-tidy performance-faster-string-find
Change-Id: Ia645dd9c5301d93abea90646ad32e94b8cb8ce17
2016-07-06 18:10:32 +02:00
Stephan Bergmann
7eaf8b17dd clang-tidy performance-implicit-cast-in-loop
...where the first component of the pair returned by the iterator would be
const, so an implicit conversion would be required.

Change-Id: I62b6ddd799261e1dd63ea5c42a85d8b071f8b8b7
2016-07-06 18:05:06 +02:00
Stephan Bergmann
0f92d79708 Silence loplugin:staticmethods under --disable-debug
...after 0d3f9667bbc7b1a22d33dc92a2028fc712495a8e "AllocatorTraits::size can be
static after all"

Change-Id: I7fb2558c322dd7d92f3a3bda9a93a1b3da575d2e
2016-07-06 16:22:57 +02:00
Rishabh Kumar
6a4e4fc74b Add XGradientList to SvxPresetListBox
Change-Id: I0b4af0eb465b997e8bea012b1f2e3cc07cce6ddb
Reviewed-on: https://gerrit.libreoffice.org/26953
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-06 14:22:07 +00:00
Samuel Mehrbrodt
fc95bc132d Improve Tooltip Labels for Writer Toolbar
Change-Id: I68b639b85974739d23affe373d686e094b3ef715
Reviewed-on: https://gerrit.libreoffice.org/26978
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-06 12:11:10 +00:00
Rishabh Kumar
21f36336c9 Make gradient UI bitmap resizable
Change-Id: Icaa06911a620697d86a8854ba6bc46874c195b97
Reviewed-on: https://gerrit.libreoffice.org/26949
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-06 10:09:49 +00:00
Caolán McNamara
246eca3e5a OSL_TRACE->SAL_INFO for the Invalidate all children output
Change-Id: Ib5db114502ebf86ab1581104b914c84eceb50829
2016-07-06 10:58:36 +01:00
Laurent Balland-Poirier
37d97ff389 tdf#99996 tdf#100594 tdf#100754 Add qa unit test
- tdf#99996: new algorithm for better fraction representation
- tdf#100594: forced denominator with one ? for numerator
- tdf#100754: forced denominator with text after fraction

Change-Id: I0990c7b3848ba5def629346f71be732d75ca248d
Reviewed-on: https://gerrit.libreoffice.org/26867
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-06 09:54:38 +00:00
krishna keshav
50094d8f8e tdf#77667 Remove gcc3 workaround
where it could handle instantiated objects as parameters
Removed objects of 'Point' as 'Point()' can be instantiated as a parameter.

Change-Id: Iad2dceed6dfe8bd3cc555758c518620cd975a8fc
Reviewed-on: https://gerrit.libreoffice.org/26967
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-06 09:54:13 +00:00
Caolán McNamara
de4908eb4d Resolves: rhbz#1353069 don't clear XATTR_FILL* from stylesheet if...
the master page is not the sole owner. Which happens when copying
and pasting slides which bring along a duplicate master page to
an already existing one, and the attempt to remove the duplicate
strips the fill properties from the shared stylesheet in use by
the other

regression from...

commit b876bbe2cacce8af379b10d82da6c7e7d229b361
Author: David Tardon <dtardon@redhat.com>
Date:   Tue Apr 26 09:17:11 2016 +0200

    rbhz#1326602 avoid exp. bg bitmaps from deleted slides

Change-Id: I91fb8f622a0e35741ecc37cef14fc93199bb730b
2016-07-06 10:44:40 +01:00
Rishabh Kumar
50ba4a079e Redesign of Hatch tab
1. New Hatch Listbox for presets.
2. Context menu for rename and delete.
3. Rearrangement of controls.
4. Remove Save and Load Buttons.

Change-Id: Iad2479bc418f7a257a410df7f11c23ed8dd7734c
Reviewed-on: https://gerrit.libreoffice.org/26869
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-06 09:39:34 +00:00
Takeshi Abe
f3ca52306a starmath: Drop unused PE_UNEXPECTED_END_OF_INPUT
Change-Id: Ic5e6df6d332ef20dec22ac84544f53e0e79f5eb1
Reviewed-on: https://gerrit.libreoffice.org/26938
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-07-06 08:32:41 +00:00
Noel Grandin
724e6762a5 loplugin:vclwidgets
Change-Id: Id276128a249aeac98ac3374b975bf1cd946d5aa7
2016-07-06 09:38:36 +02:00
Noel Grandin
716844c6ab restore loplugin:vclwidget checking for calling clear() on VclPtr fields
Change-Id: I85eda1c33016c1461d897fc0a3b70457209a7405
Reviewed-on: https://gerrit.libreoffice.org/26806
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-06 06:38:30 +00:00
Christian Lohmaier
eff871de05 fix missing semicolon that breaks packaging windows installer
regression from 76585ae33f3ca75c05c0ccbf6a621b6e2d42bc00

Change-Id: Ia8e74034ee04a96cf1a502d28c9c6ed015653047
2016-07-06 01:22:14 +02:00
Noel Grandin
2a23d9cc4d when disposing popup menus, don't leave dangling pointers
Change-Id: Ia1b49937ba0693a567097367b99b75a3011666bf
Reviewed-on: https://gerrit.libreoffice.org/26960
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-07-05 21:04:15 +00:00
Michael Meeks
6f0e3d508d sc: re-factor perf-tests.
Reduce copy/paste coding.
Don't setup array (matrix) formulae - we don't accelerate those anyway.

Change-Id: I02f122ed03e90fe509c9764307aacf82ca7b4ba7
Reviewed-on: https://gerrit.libreoffice.org/26965
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-07-05 21:03:28 +00:00
Michael Meeks
adc3932dfc cui: add calculation mode to Help->About.
Change-Id: I4765436bed8a58c5097afcf7dce768d3ec325015
Reviewed-on: https://gerrit.libreoffice.org/26964
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-07-05 20:40:20 +00:00
Samuel Mehrbrodt
fd6655080e tdf#73742 Don't replace existing image when inserting one
If we want to replace an image, we have an entry in the context menu for that.

Change-Id: I7a5326fecb72896c0709c9272769b8d51e4a5ca2
Reviewed-on: https://gerrit.libreoffice.org/26947
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-05 19:58:48 +00:00
Stephan Bergmann
28a03248b1 Workaround to call /app/bin/xdg-open when run under flatpak
LibreOffice wants to open URLs by calling /usr/bin/xdg-open, which the flatpak
org.gnome.Platform runtime does not provide.  However,
<https://github.com/flatpak/xdg-desktop-portal> will provide a Desktop portal
through which an application can make an OpenURI request.  So the idea is to
include a fake xdg-open application in the LO flatpak, that will use gdbus to
call that portal.  However, I see no way to make the LO flatpak provide that as
/usr/bin/xdg-open, so instead provide it as /app/bin/xdg-open and hack LO to
use that path when run under flatpak (where the LIBO_FLATPAK environment
variable is already used for the OfficeIPCThread).

Change-Id: I63bc0bfb937ef767958ba4d34b0c3653e38ec868
2016-07-05 18:43:25 +02:00
Pranav Kant
9fee132c18 sd lok: Fix image insertion
OutputDevice::GetOutputSizePixel() returns invalid value for LOK
case which leads to incorrect image positioning when inserted.

Lets use page size for LOK, and place the image correctly to center
of the page.

Change-Id: Ie002d9a2d638cfab954c75a8cb545a003740f547
2016-07-05 20:24:52 +05:30
Caolán McNamara
04081b6907 a11y crash on deleting certain frame in certain document
I've an internal RH document which crashes in a11y when a paragraph with a
graphic and a drawing frame in it is deleted.

The SdrObject is removed and deleted, but when
SwAccessibleContext::DisposeChild is called the object does not pass IsShowing
so its not removed from the accessibility map. Leaving an entry in the map
pointing to a deleted SdrObject

So here take the route-one approach of always removing from the map
accessibility children which depend on a SdrObject which is getting deleted,
whether or not it is inside the visible area at the moment.

The real change here is to SwAccessibleContext::DisposeChild and to
SwFrame::RemoveDrawObj

Change-Id: I764cd54d6216d233756f52b5be66c80737b5e38d
Reviewed-on: https://gerrit.libreoffice.org/26824
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-07-05 14:37:26 +00:00
Eike Rathke
dd7a2c95b8 Resolves: tdf#90285 do not reuse the same StartListeningContext
... that after UpdateInsertTab and related may point into broadcasters'
ColumnBlockPosition that have been shifted to the next sheet.

Change-Id: I6f657021b6102cec427734a8ff3105f0c4309a7a
2016-07-05 15:19:20 +02:00
Samuel Mehrbrodt
0c0f1dc146 tdf#100052 Add insert before/after to sd table context menu
Change-Id: I75c840c5d43e4b6edb79f51f0942fb6fd063e73d
Reviewed-on: https://gerrit.libreoffice.org/26952
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-05 12:52:23 +00:00
Akshay Deep
98ab98b4be Template Manager: Merge local view and abstract view
Change-Id: I789ca15f04d27c1fe1422ff1a81746004b627977
Reviewed-on: https://gerrit.libreoffice.org/26890
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-05 12:46:56 +00:00
Samuel Mehrbrodt
a20b4e242b tdf#100052 Add insert before/after for draw tables also
Change-Id: Ifaf3b699e7415a1f784063616ac3fa4819d739c6
Reviewed-on: https://gerrit.libreoffice.org/26950
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-05 12:44:33 +00:00
Caolán McNamara
58d5be58d3 changes to floating windows shouldn't trigger re-layout on their parent
cause they are not inside them so don't affect the parents layout

Change-Id: I3c08b874ac450fb4c824b62a4e882df93c34fa68
2016-07-05 13:41:05 +01:00
Samuel Mehrbrodt
4c09bceca3 tdf#100052 Add insert before/after for sd tables
Change-Id: Ifb2152503a3da6cf811f303048efdbc00cc1c940
Reviewed-on: https://gerrit.libreoffice.org/26948
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-05 12:35:29 +00:00
Stephan Bergmann
52be16973d Fix link in comment
Change-Id: Iaa7bef1330e7bb1e3e5c3b01685540867af2bdb8
2016-07-05 14:28:49 +02:00
Stephan Bergmann
8f216e36f3 tdf#94378: Respond to OnStorageChanged
...as emitted from SfxObjectShell::SaveCompleted when toggling edit mode.

Change-Id: I4d99554c3587cf3fd67993ce94ccd77629b5e259
2016-07-05 14:26:45 +02:00
Winfried Donkers
696b515dcf tdf#100446 fix compatibilty issues with Excel.
Use cases added to the unit test showed various differences in results
between Calc and Excel. The code changes makes Calc now return the same
results as Excel, even if the result is somewhat unexpected.

Change-Id: I348f7f2cc2c39a30f4db68dbed98b03de48f1ff5
Reviewed-on: https://gerrit.libreoffice.org/26544
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-07-05 11:32:44 +00:00
Markus Mohrhard
f4c68d3ad8 use a dynamic library for minidump shared code
This has the disadvantage to make the minidump_upload executable depend on LibreOffice libraries but there seems to be no other way to make the 7.1 SDK happy.

Change-Id: I82c37f503ed29cb50711eae7db22063f49747a48
Reviewed-on: https://gerrit.libreoffice.org/26055
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
(cherry picked from commit 3498cd3e7b2c820fc3f3025eb4434666a444fda1)
Reviewed-on: https://gerrit.libreoffice.org/26915
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2016-07-05 11:02:50 +00:00
Noel Grandin
7001ca25ec merge LineProperties with chart::ErrorBar
Change-Id: Ic3490a15339ff981e90a86cb69c206c231db9161
Reviewed-on: https://gerrit.libreoffice.org/26932
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-05 10:51:09 +00:00