395194 Commits

Author SHA1 Message Date
Caolán McNamara
f6d0d92a5e Related: tdf#92516 make menu accelerators always work even if...
keyboard not used yet.

The gtk2/3 menus appear to work this way. (And when not in gtk2/3
it shouldn't disable the accelerators for other platforms anyway)

Change-Id: Ib7a99bd9039cd07120b3b77380f810b5b028fd57
2016-08-02 13:17:05 +01:00
Miklos Vajna
0762a119fc editeng: make SfxUndoAction::GetViewShellId() interface available
Extend the existing OutlinerViewCallable interface to be able to obtain
the view shell ID of a view shell, even from editeng.

Change-Id: I13708b0e4f58ee86643b913c7d21de022a685223
Reviewed-on: https://gerrit.libreoffice.org/27788
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-02 11:13:48 +00:00
Szymon Kłos
9162c483bc GSoC notebookbar: Calc, Impress placeholder icons
Change-Id: I2a18c4d610ab1dac2627284c008207a3dbaab406
2016-08-02 13:03:40 +02:00
Tor Lillqvist
78cdd1b224 Remove some presumably unnecessary leftovers from ancient times
I could not find that SHORTSTDC3 or SHORTSTDCPP3 would have any
meaning. They only occur here (and in our history).

Change-Id: I45141e60c144207fbf3fc0c5e59340b80951b212
2016-08-02 13:22:06 +03:00
Caolán McNamara
772191616a Resolves: tdf#101241 Revert "fix paint table border in DOUBLE_THIN style"
because of the never-ending invalidate and paint of tdf#101241

there was no bug or route to reproduce the original problem so can't
try to solve it a different way.

This reverts commit 9a95520948de1d92c55252aa5f90606b01d6ac9e.
2016-08-02 11:18:25 +01:00
Caolán McNamara
0321dbb9be Resolves: tdf#99324 let sidebar toggle auto-mnemonics on/off with alt
this returns things to passing the alt to the thing with the focus
and depends on ::Command handlers passing the alt-press/release back
up through the Command hierarchy to get to the default top-level
handler eventually

Change-Id: I869120f43810adfa2fac4670c2db143b790a1f9b
2016-08-02 10:22:33 +01:00
Miklos Vajna
6d40c515fd libxmlsec: drop xmlsec1-keyinfo-revert.patch.1 completely
And instead attempt to set up the test environment correctly.

Change-Id: I06c10b96749c0464da8d2dd9a59b48f16baeead5
Reviewed-on: https://gerrit.libreoffice.org/27785
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-02 08:40:05 +00:00
Jan Holesovsky
010a2a8ed3 Don't use spaces in the product names when packaging.
Change-Id: I55f332117cc7530eb6d562846db379d95e628a22
2016-08-02 10:20:51 +02:00
Noel Grandin
cc252e1641 loplugin:simplifybool
Change-Id: I2e1f288bf71cd5598bccf12322f74c096386b3c9
2016-08-02 08:59:49 +02:00
Noel Grandin
d961af95cd loplugin:countusersofdefaultparams in sfx2
Change-Id: I0a21e2f8069bc698700e97e7c5e4ae508240ff98
Reviewed-on: https://gerrit.libreoffice.org/27761
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-02 06:58:37 +00:00
Muhammet Kara
52f377c259 tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in AnimationNode

Change-Id: I2612286632dddbf96cbf918ffbeb09ac0c99d398
Reviewed-on: https://gerrit.libreoffice.org/27774
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-02 05:44:57 +00:00
Noel Grandin
6c87b02840 loplugin:countusersofdefaultparams in sd
Change-Id: I848d9b555a26e9d343efdfaaaec44a2c7d8be5b5
Reviewed-on: https://gerrit.libreoffice.org/27765
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-02 05:34:49 +00:00
Takeshi Abe
389b081900 starmath: SmVerticalBraceNode always has a triple of nodes
Moreover the middle ("Brace") node is a SmMathSymbolNode.

Change-Id: Ia0e4f798b69a9a205269bbd3f6c63d2059e8c766
Reviewed-on: https://gerrit.libreoffice.org/27769
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-08-02 01:44:12 +00:00
Eike Rathke
a859c37ee0 introduce mxSymbolsAPI and InitSymbolsAPI()
Change-Id: I1c4673a25bb0f686e0705f87318a04166e6688bb
2016-08-02 00:25:35 +02:00
Eike Rathke
fc5342fb30 InitSymbolsPODF() from RID_STRLIST_FUNCTION_NAMES_ENGLISH_PODF
Change-Id: I03f8d183303b869a4cfaa76ea4170da95574e5d5
2016-08-02 00:25:35 +02:00
Eike Rathke
e128d2afa3 prepare to disentangle RID_STRLIST_FUNCTION_NAMES_ENGLISH
RID_STRLIST_FUNCTION_NAMES_ENGLISH grew to a conglomerate of English UI names,
names used in PODF (ODF 1.0/1.1) and XFunctionAccess API names. Copy it to
independent resources so we can start to correct names in English UI, keep PODF
oddnesses and cater for API compatibility needs.

Change-Id: I7c2053d7627c4da220d8fc991158e8e7a81f0b37
2016-08-02 00:25:34 +02:00
Szymon Kłos
5e66842503 GSoC notebookbar: writer ui improvements
Change-Id: Ib8d8dcaa1b6a1d22eaba5fad7e90719dfe6044b9
2016-08-01 22:45:52 +02:00
Eike Rathke
28a63715f4 keep a broken expression as originally broken
The invalid expression ISOWEEKNUM(A1,0+) lead to a replacement with
ISOWEEKNUM(A1+) which of course is also wrong but loses the original
context. Just exchange the call and convert to WEEKNUM_OOO(A1,0+)
without fiddling with the parameters.

Change-Id: Id1c42d3ba084382e09c164b6c35db996f2b0197a
2016-08-01 20:31:39 +02:00
Adolfo Jayme Barrientos
04e7304fc1 Small icon updates
Change-Id: I567e3afc5c0293fa6de0efb012f5d4cddce86345
2016-08-01 13:14:11 -05:00
Tor Lillqvist
1acd165eae Look also for "RDPDD Chained DD"
Apparently in some remote desktop situations the device string uses
"RDPDD" and not "RDPUDD". No idea what the semantic difference is.

Change-Id: I85532b90d759d02fffb73d0f3d22166aefd4edab
2016-08-01 20:38:57 +03:00
Michael Meeks
af2eed716f lok: re-load UNO bootstrap pieces and set UserInstallation on second init.
Ideally should check whether the path is different. Changing the user-install
path is useful for valgrinding online outside of a chroot jail.

Change-Id: I6ad76af1245491acdcb6664896be89073406b742
Reviewed-on: https://gerrit.libreoffice.org/27782
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-08-01 17:08:33 +00:00
Miklos Vajna
4cbaa49c0e svl: implement SfxUndoAction::GetViewShellId() interface in SfxListUndoAction
Client code in sw, sd, sc and svx is adapted, the rest is just a
placeholder for now.

With this, e.g. the undo item for Writer's insert comment properly
tracks which window was used for the insertion.

Change-Id: Idad587e6ca07ba69bf59aa7013b251af8bf95bab
Reviewed-on: https://gerrit.libreoffice.org/27781
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-01 17:04:45 +00:00
Eike Rathke
2e3bc9fcee refine ISOWEEKNUM vs WEEKNUM_OOO detection
Change-Id: I7cf5d51946235ea1bc6a4d0999fa98e1a3f8a095
2016-08-01 18:12:29 +02:00
David Tardon
b7b951a90b tdf#100969 ensure proper update after model change
Change-Id: I62836056aeda7497552d60d33fedd9490a6fe545
2016-08-01 17:30:15 +02:00
David Tardon
f977b4c87e fix copypasta
Change-Id: I069b3bb80fbe095335fb350f984116bfc8a0f01d
2016-08-01 17:30:15 +02:00
Jakub Trzebiatowski
e7ea91f283 GSoC Writer Table Styles; Table Styles Panel
Table styles panel:
+ Added simple table style panel tab icon.
    icon-themes/galaxy/sw/imglst/sf06.png
+ Listing table styles (hierarchical, same order as in container)
+ Listing all table styles (sorted by name).
+ Listing applied table styles.
+ Listing custom styles.
+ Listing hidden styles.
+ Hide/show style.
+ Applying style by double clicking.
+ Highlight current table style.
Everything else yet to be done.

Table styles (SwTableAutoFormat):
+ "hidden" property.
+ "userDefined" property. "Default style" is not user defined. Styles loaded
from tblauto.fmt are also not user defined. Styles loaded from .odt are user
defined. Styles created manually (before binary load/save roundtrip) are user
defined.

Change-Id: I739a48ae1d7ae66f4f8c08076871437ca491bd4e
Reviewed-on: https://gerrit.libreoffice.org/27638
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-08-01 14:03:07 +00:00
Jochen Nitschke
d1ffaf5315 sc: replace NAN macro with rtl::math::setNan
Change-Id: I38f52faf974a3481adbf20a3b2484324d322f5bc
Reviewed-on: https://gerrit.libreoffice.org/27747
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2016-08-01 13:29:35 +00:00
Susobhan Ghosh
0380a64080 tdf#93845: Style Preview Checkbox for Styles & Formatting sidebar
Change-Id: Id5862339bbe0c80002dfd99cbf19d981d1d42682
Reviewed-on: https://gerrit.libreoffice.org/27706
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-08-01 13:29:04 +00:00
Miklos Vajna
f63a85d8f9 sw, writerfilter: fix indentation
These files had a consistent style before, keep it that way.

Change-Id: I325e13e402abb01c347d1185b85468f23a18bba3
Reviewed-on: https://gerrit.libreoffice.org/27773
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-01 12:25:15 +00:00
Giuseppe Castagno
06cc80bb95 Put the initialization out of 'if' scope
A better change than the one I did in
97353e5c43815b45a6f365ccaea474899683d38e.

The "DAV:lockdiscovery" property may not be returned, so the
initialization should be done before getting said property.

Change-Id: Iae87df798439fc582a66dd3c0fe353ebb859b7b6
Reviewed-on: https://gerrit.libreoffice.org/27767
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-08-01 12:10:32 +00:00
Eike Rathke
8e495518c3 Resolves: tdf#101246 errors are not strings
Change-Id: I5a63dcc0452f0254e66e0ad743ae0d0926dfc14a
2016-08-01 12:37:20 +02:00
Miklos Vajna
6850f4e845 svl: avoid defaulted parameter in SfxUndoManager::EnterListAction()
It's a virtual function, and defaulted parameters there are problematic.

Change-Id: I3f110c7ac36dfda90811b033620286ad9fce1af1
Reviewed-on: https://gerrit.libreoffice.org/27772
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-01 10:32:27 +00:00
Rishabh Kumar
55859becb8 [GSoC] Add functionality to disable buttons in SvxMessDialog
Change-Id: Ib25b65a6d1fd760d2a8535c1a97cfbb889d7a824
Reviewed-on: https://gerrit.libreoffice.org/27715
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-08-01 09:26:37 +00:00
Michael Stahl
4b2cabedaa curl: drop curl-android.patch
fixed in new upstream autoconf

Change-Id: I8c88330b2ed522a160fedac6abd962f92b32d2f0
2016-08-01 11:13:35 +02:00
Michael Stahl
d76e3abe13 framework: stop adding silly empty accelerator/current.xml files
... to ODF packages.  Somehow this is even skipped sometimes, but it's
much easier to just turn off the silliness than find out why.

Change-Id: Iff509dfd8325fd517e6434bcb56edbd06a3c27f1
2016-08-01 11:13:34 +02:00
Laurent Balland-Poirier
aa6bca0dfa tdf#101147 Improve (again) minute/month detection
For format like HH:MM:SS MM/DD
second MM is detected as minute: see tdf#95339

New rules:
- first M following each H is minute
- first M following first S is minute

Detection Month/minute now fully compatible with Excel even with unwanted detection:
SS:MM:HH DD/MM/YY
second MM is minute even if user would expect month

Change-Id: Ia789fbc2dbd6d2dcbe9b9c34d3f288674966dd10
Reviewed-on: https://gerrit.libreoffice.org/27560
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-08-01 08:57:54 +00:00
Miklos Vajna
0db0fda5a1 sw: prefix members of SwMasterUsrPref
Change-Id: I4988e6f58cfdabc0abcab56e912d46074b0946fe
Reviewed-on: https://gerrit.libreoffice.org/27764
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-01 08:15:42 +00:00
Noel Grandin
192365319d remove dead ASYNC code
introduced in
   commit 0b21b8b146fc4b982c7c9bbb866b9ff18a29332a
   Author: Noel Power <noel.power@novell.com>
   Date:   Wed Oct 6 10:16:27 2010 +0100
   initial commit for vba blob

and never activated or touched since then

Change-Id: I34f9a5f702dd8f2254aa1efb94de61569220b90c
2016-08-01 09:59:30 +02:00
Jan Holesovsky
c3081a93de Simplify dynamic_cast followed by a static_cast.
Change-Id: I3eab142e0df07371c1a5657d9304e556542a513a
2016-08-01 09:48:50 +02:00
lbenes
a4a71214d6 comphelper: fix MSVC 2015 build by removing pointless catch
In C++11 the destructors are implicitly noexcept.

Change-Id: I37e78e39bcc19dfbc81a781a5b353e49f09ae942
Reviewed-on: https://gerrit.libreoffice.org/27708
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-01 06:30:12 +00:00
nadith
b38a2d5716 tdf#101185 OString concatanations for efficiently coding
example of bug fixed

Change-Id: Id9f911fa1ec43425018b00af5172e23be1274638
Reviewed-on: https://gerrit.libreoffice.org/27705
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-01 06:25:43 +00:00
Susobhan Ghosh
4244236d1b Padding adjustment to Custom Animations Panel
Change-Id: Ib09d138d2f8e82d08ce1f2082a25690ce01ac7cc
Reviewed-on: https://gerrit.libreoffice.org/27752
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2016-08-01 06:23:00 +00:00
Muhammet Kara
3e79c2f8c2 tdf#91665 l10n: replace string lists - by separate strings
Convert the stingarray to resource strings.

Change-Id: Iae9c52c21fd004c052fa78d959dfa92ad1d16a7d
Reviewed-on: https://gerrit.libreoffice.org/27641
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-01 06:22:14 +00:00
Muhammet Kara
be53870adb tdf#91665 l10n: Replace string list by separate strings in SmPrintUIOptions
String lists are sometimes (mis)used to group unrelated items;
the advantage(?) being that only one identifier needs to be defined for
the whole group. The items are then referenced by index, which is
rather fragile when they are used in different parts of UI.

String lists like this one should be replaced by separate strings.

Change-Id: I58c927790287b36c0cb204c815a2788bd7cf1e02
Reviewed-on: https://gerrit.libreoffice.org/27665
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-01 06:21:33 +00:00
Susobhan Ghosh
82111a5f82 Add border padding to Slide Background Panel
Change-Id: I6b0ae2e65cba6768f566dfffb3e54181987d5757
Reviewed-on: https://gerrit.libreoffice.org/27749
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2016-08-01 06:20:22 +00:00
nadith
efef273e2c tdf#100726: Improve readability of OUString concatenation
this bug fixed in the modules between canvas - cppu

Change-Id: I2022b022897dafde20251352376e3facdb9b8d75
Reviewed-on: https://gerrit.libreoffice.org/27663
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-01 06:12:30 +00:00
Jochen Nitschke
dadb28a2fb sc: replace IsAssciiDigit and IsAsciiAlpha with rtl equivalents
Change-Id: I81537e2c3c9b7f3828c080fcc1a7ebc98ef2fde9
Reviewed-on: https://gerrit.libreoffice.org/27748
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-01 06:09:03 +00:00
Noel Grandin
069d71b725 loplugin:countusersofdefaultparams in shell..starmath
Change-Id: I553d1b031b8d261a1caa8b77a8d687af21a6f8d6
Reviewed-on: https://gerrit.libreoffice.org/27672
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-01 06:05:58 +00:00
Giuseppe Castagno
4475c191de Related: tdf#96410 eXo Platform WebDAV: where lock fails...
...because apparently eXo Platform WebDAV does not support or supports
poorly this section <http://tools.ietf.org/html/rfc4918#section-7.3>
of RFC4918.
It returns HTTP error 404 instead.

Change-Id: I74cc99b29afa62110470e9ca785fce36e3d04bb2
Reviewed-on: https://gerrit.libreoffice.org/27755
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-08-01 06:03:50 +00:00
Caolán McNamara
e02e103e3e Resolves: tdf#101221 VclPtr: funkiness with PopupMenu dtor before dispose
Change-Id: I6f8d980cc14b7f8c7b7ed5ee66a54dfce9d6e09a
2016-07-31 21:32:39 +01:00