Commit Graph

395378 Commits

Author SHA1 Message Date
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
97353e5c43.

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 0b21b8b146
   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
Caolán McNamara
df0baf4b00 Related: tdf#99324 let panels assign auto mnemonics
Change-Id: I9882dc3611f4ba04d02b210eceee362514fd699c
2016-07-31 21:32:39 +01:00
Caolán McNamara
76be678e74 rename ImplWindowAutoMnemonic and expose
Change-Id: Iddb0d84b6dbfeb263a68ddc3b8b5c39bbdcf46f6
2016-07-31 21:32:39 +01:00
Takeshi Abe
ff4217e9e4 tdf#101022 Export Greek symbol to MathML with correct mathvariant
In StarMath notation "{ital %GAMMA}" is recognized as italic, and
"{nitalic %iGAMMA}" is non-italic. That is, the ital/nitalic directive
takes priority over special characters' flavor.
On the other hand, in MathML a mathvariant attribute given in <mi>
overwrites inherited value.

This does not handle "bold-italic" case etc. yet.

Change-Id: I9c72dc4472f8cec553417d516d9d82aebd43d15c
Reviewed-on: https://gerrit.libreoffice.org/27604
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-31 20:20:25 +00:00
Stanislav Horacek
d1d1109fd7 Updated core
Project: help  5eafdadc8a35ac5340f256c7ce44e1d2802988c8

tdf#99161 tdf#101024 rename strings in index/table of contents dialog

Change-Id: If92620aef1914605e2d35681db59c9cfa1ff4e0d
Reviewed-on: https://gerrit.libreoffice.org/27433
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-31 20:18:05 +00:00
Muhammet Kara
3a7aa4cb86 Remove unnecessary label tdf#99341
Remove unnecessary label, update the explanation
of the buttons, and reduce the width of the
document recovery dialog.

Change-Id: I74081d8fd479de419c3be4456228e3415ccc0483
Reviewed-on: https://gerrit.libreoffice.org/27511
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-31 20:17:34 +00:00
Stanislav Horacek
190e19d391 Updated core
Project: help  53110e73fd9ec70de24ad8e0100862efd8797cff

update labels in Slide Show Settings dialog

Change-Id: I8c1c22357997311f35693693a33a4557330fdebc
Reviewed-on: https://gerrit.libreoffice.org/27757
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-31 19:46:23 +00:00
Stanislav Horacek
f83c27e6ef Updated core
Project: help  0eb754e971171c3a0fe76419a9830462d2958066

update description of the View options page

Change-Id: Ib0f22c5bb4795cea83ff5ad76ba289808ef936cd
Reviewed-on: https://gerrit.libreoffice.org/27754
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-31 19:45:44 +00:00
Stanislav Horacek
c4be96b1ec Updated core
Project: help  0790746cf3a5be85c3164ee54ca939264ca6525d

update description of Java Start Parameteres dialog

Change-Id: Ie2d508504a414e27435f95e7748f072fc7919dad
Reviewed-on: https://gerrit.libreoffice.org/27745
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-31 19:45:12 +00:00
Stanislav Horacek
85bf1ba438 Updated core
Project: help  c2a24f0eefe7529b73c511dbad12425ef350bbe3

mark see also link as translatable

Change-Id: I0ca1ff39e46fceb8b86d1551cf02540b471d3e49
Reviewed-on: https://gerrit.libreoffice.org/27743
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-31 19:44:18 +00:00
Stanislav Horacek
0becce59e2 Updated core
Project: help  141d22f10418520b549f99939a6c060ef24584fe

add missing commas

Change-Id: I694c61ec62ebac77a4499a82da9a15b8bc1c5aeb
Reviewed-on: https://gerrit.libreoffice.org/27742
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-31 19:43:25 +00:00
Arnaud Versini
8b03ea6555 BASIC: Remove completly useless osl/thread include
Change-Id: I60c0b5d273344cb23c1226d7f2da81b6ee55892b
Reviewed-on: https://gerrit.libreoffice.org/27753
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-31 19:42:16 +00:00
Caolán McNamara
8a6b2fb5b9 fftester: another table manager stack checks
and a m_xTextFactory check too

Change-Id: I9352410c42048b4dd7d6dbc3514351ab8f16790b
2016-07-31 20:13:51 +01:00
Giuseppe Castagno
d5f4bcb2c1 Revert "tdf#101094 (20) OPTIONS: Add mechanism to manage not found Web URL: HEAD"
This reverts commit 0acd13ec38.

Because it introduces a bug in saving a new file on a WebDAV
server.
Need to find a better solution.

Change-Id: Ie353fac7203d599989ca67cf89c81c1a95f5b47e
Reviewed-on: https://gerrit.libreoffice.org/27744
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
Tested-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-07-31 13:20:26 +00:00
Jan-Marek Glogowski
3e24139947 Use "dot" for "source"ing shell files
Quote from stackoverflow: "source" is non-standard and specifically
not supported in ash, dash or pdksh... it's a Bashism.

Change-Id: I4b47385c1e44c5e56bd84f23ff3645712015dcf4
Reviewed-on: https://gerrit.libreoffice.org/27746
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Tested-by: Jan-Marek Glogowski <glogow@fbihome.de>
2016-07-31 12:48:42 +00:00
Mike Kaganski
4311e8fb88 tdf#100837: honor LibreOffice command line arguments for Office URIs
This patch allows modifying open mode set in Office URI by using
LibreOffice usual command line arguments. For instance, if there is
-p "ofe:...", then the file won't be open for editing, but instead
will be printed.

Change-Id: I4bde9b6e1c0e92b63ee3834ee1fd8f6e1bd321f2
Reviewed-on: https://gerrit.libreoffice.org/27629
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2016-07-31 09:34:59 +00:00
Zdeněk Crhonek
59f5436f60 add TAN, TANH test case
Change-Id: I380150406dc40b09e6ae6cbcdf0f98b6d1887681
Reviewed-on: https://gerrit.libreoffice.org/27726
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-31 00:39:37 +00:00