395194 Commits

Author SHA1 Message Date
Tor Lillqvist
e13aead8a1 Reduce ENABLE_OPENGL / ENABLE_HEADLESS confusion
ENABLE_OPENGL means whether to enable the OpenGL slideshow transition
code. It does not mean whether to enable use of OpenGL in general. So
rename it to ENABLE_OPENGL_TRANSITIONS while at it.

ENABLE_HEADLESS means whether to disable use of X11 and OpenGL on X11
(and Wayland) platforms, I think, meaning Linux and maybe Solaris and
the BSDs. Maybe it should be renamed to DISABLE_X11_AND_OPENGL.

Change-Id: Ibb30f51646b1bcc477fe691a3fa38c7a1e3944ae
2016-08-03 22:36:36 +03:00
Johannes Berg
1520d30268 translate German comments in svdotext.hxx
Change-Id: Ia1d30a74abfbe0a3dcfc6e0038b9f805a787ad02
Reviewed-on: https://gerrit.libreoffice.org/27830
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-03 18:40:35 +00:00
Johannes Berg
33d031502d translate German in fmtatr2.cxx
Change-Id: Ifa10003b7bbae6404690ec9046107b533d6c67b1
Reviewed-on: https://gerrit.libreoffice.org/27833
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-03 18:38:47 +00:00
Johannes Berg
c2ffa4cb5f partially translate German comments in ww8graf.cxx
Change-Id: Iad9ce00869ac2dc989ee95e97ac3ef53de77c007
Reviewed-on: https://gerrit.libreoffice.org/27832
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-03 18:38:03 +00:00
Tor Lillqvist
66a117c847 ENABLE_OPENGL does not mean whether to enable OpenGL use in general
It refers to only the (old) OpenGL slideshow transition code. So no
reason to have glew conditional on it.

Change-Id: I13bc3e3c25fd7a33e05b39b405af0c85ab6a8e96
2016-08-03 21:33:52 +03:00
Tor Lillqvist
e782dc3044 ENABLE_OPENGL does not mean whether to enable OpenGL use in general
It refers to only the OpenGL slideshow transitions. So no reason for
avmediaogl to depend on it.

Change-Id: If85ad6bcd077d9e753c259aa8dc6ad5629105136
2016-08-03 21:33:52 +03:00
Giuseppe Castagno
d14977d33b tdf#101094 (20) OPTIONS: Check for Class1 DAV before unlock
Change-Id: I890a44bb98577de006355d8394d46baeeaadb13f
Reviewed-on: https://gerrit.libreoffice.org/27837
Tested-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-08-03 18:29:59 +00:00
Miklos Vajna
9460d24883 svl: handle nullptr pWriter in SfxUndoManager::dumpAsXml()
This is useful when it's called from gdb for Calc.

Change-Id: I22b3e5bbfc5627bff27899a288f7c25179f750ec
Reviewed-on: https://gerrit.libreoffice.org/27836
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-03 18:02:37 +00:00
Szymon Kłos
b7cb6546d1 GSoC notebookbar: updated ui files
Change-Id: Ie087e0bf8bbce2770c6576817d32747607f38105
2016-08-03 19:08:20 +02:00
Eike Rathke
ced79363cc Resolves: tdf#69539 UI rename CONVERT to CONVERT_OOO, CONVERT_ADD to CONVERT
... with same syntax but different semantics that was even more confusing.

Change-Id: Ibe1efcd5c4e82c9ce8d9fe8ed0f85e86dac327f7
2016-08-03 18:57:37 +02:00
Eike Rathke
fa2fdb6607 rename ocConvert to ocConvertOOo and related
... to clarify that this is not the "real" CONVERT function.

Change-Id: Ia71949ffabd2c983be0dbf9fa36bb8c52f0077ee
2016-08-03 18:57:37 +02:00
Miklos Vajna
f6283cf6b4 sd: track view shell id in SdUndoAction
This helps in case of e.g. setting the page size of an Impress slide
from the sidebar.

Change-Id: I6247d6efcc59f2c6311dcd33d0f989a39fd7b3f9
Reviewed-on: https://gerrit.libreoffice.org/27827
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-03 16:30:00 +00:00
Caolán McNamara
7ec4a49529 Resolves: tdf#97193 restore pre 5-1 values for INS_INSROWS and INS_INSCOLS
i.e. INS_INSCOLS_BEFORE and INS_INSROWS_BEFORE have the same
meaning as the old INS_INSROWS and INS_INSCOWS, so reorder the enum
so they are at the positions of their corresponding originals.

This makes macros recorded before 5-1 work like they did prior to 5-1-0.
This unfortunately will have the same effect to macros recorded during
the 5-1 period that the original change did.

regression since...

commit f97beeef352fdd9fd4f157a7a4c4f6af8341cbe6
Date:   Wed May 20 16:54:27 2015 +0200

    Calc: Insert row/col before/after [1/2]

    This part renames all INSROW / INSCOL to
    INSROWS_BEFORE / INSCOLS_BEFORE which is
    the current (default) behaviour.

Change-Id: Ide90b8cfebe4af1a3718d93c34657663c20ccc62
2016-08-03 16:44:36 +01:00
Eike Rathke
dbbab7b1b0 UI rename DURATION to PDURATION, DURATION_ADD to DURATION, tdf#50488 related
Change-Id: I7ba783b59a711fc9c9d6bbe68dcf8c3c1a0d409d
2016-08-03 17:08:36 +02:00
Eike Rathke
3bc16f4a47 rename ocDuration to ocPDuration and related
... to clarify that these belong to PDURATION (currently DURATION in UI)
instead of DURATION (currently DURATION_ADD in UI). The confusing UI name
situation will be resolved separately.

Change-Id: I09a7bc8437be1c4c9e72f94e61c877111fb48806
2016-08-03 16:39:41 +02:00
Rishabh Kumar
571866eaba [GSoC] Rework of color tab
New Features -

1. Multiple Palettes in color tab.
2. Remember the selected palette.
3. Recent colors.
4. Custom colors.

Change-Id: I36a438a0c282059ddcbda35f934fcd90337fd451
Reviewed-on: https://gerrit.libreoffice.org/26868
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-08-03 14:19:51 +00:00
Eike Rathke
569825ea2b comment about using GRAM_ENGLISH_XL_R1C1
... found when looking for GRAM_PODF_A1.

Change-Id: I175f92f297c8720c2d0736d3a30815217e334276
2016-08-03 15:16:51 +02:00
Eike Rathke
4afd35f691 use GRAM_API instead of GRAM_PODF_A1 in API context
... which right now is identical but may get corrections in future.

Change-Id: Id4e1707afb32a3d8e073705072e5e65105f2a14a
2016-08-03 15:16:50 +02:00
Eike Rathke
f21a73bc5b InitSymbolsAPI() for FormulaLanguage::API
Change-Id: I203557ed50d0d54fe9977e3d51e7f979551b472b
2016-08-03 15:16:50 +02:00
Eike Rathke
41eb7eef76 introduce formula::FormulaGrammar::Grammar::GRAM_API
Change-Id: Iceaf114847129f0b014ffd61d547e131baf1f07b
2016-08-03 15:16:50 +02:00
Eike Rathke
f85991efc2 introduce css::sheet::FormulaLanguage::API
Change-Id: I70624ded4060f50ad820a9590cb461fe58abceb9
2016-08-03 15:16:49 +02:00
Jochen Nitschke
fcd222d8cc remove dead code in drawinglayer
static bools were probably used for debugging proposes
and should not be in master
introduced in commits:
 9f6018ec1472d7e4f2f26b300d8c00b09fda1fe8
 ddcf9b9ff2caaffcc59d250b2d7f50ca3ab20330
 d45ddb6d03846b0c576eeee062342962aa131bc0
 7a652a2b2ab5e0d37e32185c8c5fac3af482bb76 and
 70e3eb2c1762fb1ca097cf671e3c7ce3d0dfd1b7

Change-Id: Ided2bf923696cd9fc537f1cb4fedd1a7d4b7c5cd
Reviewed-on: https://gerrit.libreoffice.org/26880
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-08-03 12:17:58 +00:00
Jochen Nitschke
700bcdbd46 sc: replace REGISTER_..._EVENT macros with lambdas
Change-Id: Ie4aef0c2e5cb89626e3549599b055a1d3ce4054b
Reviewed-on: https://gerrit.libreoffice.org/27506
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-08-03 12:15:04 +00:00
Jochen Nitschke
219a4707ee sc: remove unused code
which was used for import of old BIFF formats

commit e73c4d5013d7a0bf7d72db1773d7125ab91cf269
removed use of readUniString which lead to a cascade
-> readUniStringBody
  -> readUniStringHeader
    -> readUniStringChars
      -> jumpToNextStringContinue

skipRecordBlock got unused with commit
45e4f9e99b75ef8a125228bc42df7fb98af9d7bc

LinkSheetRange getSheetRange(sal_Int32, sal_Int16, sal_Int16 ) const;
is obsolete since commit
c4cb83504faa1d241a116001fd27f7148de300ba

Change-Id: I14c49280ca6f5087852d4c5a26e23a4a12fd9338
Reviewed-on: https://gerrit.libreoffice.org/27254
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-08-03 12:14:19 +00:00
Caolán McNamara
61062608a2 Resolves: tdf#96873 include template image to make it available in help
alternatively move it into the helpimg dir and change the usage
in helpcontent2, but do it this way to keep it together with the others

Change-Id: I84c6b10aed948a5fea835dc86bade5a4390c716b
2016-08-03 12:59:57 +01:00
Michael Stahl
403eefe81b tdf#101136 dbaccess: use SolarMutex in ModelMethodGuard
There is a deadlock here when storing a ODatabaseDocument on a
non-main-thread while the main thread dispatches some event that calls
into ODatabaseDocument, while holding SolarMutex.

The storing of the document also stores BASIC libraries, and since
commit fca62934f492125ea6728fd6d09f0c66c9e4fa69 the SfxLibraryContainer
uses SolarMutex for locking.

Now we could re-investigate that problem, but it seems unrealistic to
expect ODatabaseDocument's implementation will never call anything
that acquires SolarMutex.

Resistance is futile.  Your locking scheme will be assimilated.

Change-Id: I337d286f3e96c6b2e0dde8682b31faab3f508d20
Reviewed-on: https://gerrit.libreoffice.org/27590
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-08-03 11:27:44 +00:00
Miklos Vajna
4acac00df5 svx: track view shell id in SdrUndoAction
This is used in Impress e.g. when resizing a picture.

Change-Id: I2e0a9228ed0ff9ecfd72696ef84e56f88e4c0f70
Reviewed-on: https://gerrit.libreoffice.org/27822
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-03 11:06:42 +00:00
Caolán McNamara
405db7afbd Resolves: tdf#100123 prefer notation priority in detecting range/address
i.e. try and parse whether something is a range or an address in order of
document address convention, Calc A1, Excel A1 and Excel R1C1, rather than
check if something is a range in any of those conventions before checking if it
might be an address in any of those conventions.

Change-Id: Ibb744c3eda78a80f33bdbfa5f5ddf0aa5b6361af
Reviewed-on: https://gerrit.libreoffice.org/27821
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-08-03 10:05:27 +00:00
Jakub Trzebiatowski
8c80a56ea9 GSoC Writer Table Styles; Table styles panel; Delete table style
+ Enabled delete from context menu of Table style tab in Styles and Formatting panel

Change-Id: I23523169e0427eb14571102e30fa693b5777af76
Reviewed-on: https://gerrit.libreoffice.org/27797
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-08-03 08:43:29 +00:00
Miklos Vajna
e5359520dd sw: use std::move() in RtfAttributeOutput
Change-Id: Ie410d6d34a663fd438d4e4e966578acc74865c55
Reviewed-on: https://gerrit.libreoffice.org/27819
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-03 08:20:30 +00:00
Caolán McNamara
6968be5e27 unused slot argument
Change-Id: Ifdc94afa1af8b573ad9652b7f62ca9beee5df340
2016-08-03 09:15:32 +01:00
Szymon Kłos
89df751d47 GSoC notebookbar: avoid crash while opening menu
Change-Id: I9fb4d329e13d8bfc429adc40c7663645b811a8b8
Reviewed-on: https://gerrit.libreoffice.org/27790
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2016-08-03 08:09:58 +00:00
Takeshi Abe
9f8f6e032a starmath: SmRootSymbolNode must have type NROOTSYMBOL
Change-Id: I1ce875fba10e0e84fc015cecdb5a36e48ee8ea0e
2016-08-03 16:57:34 +09:00
Zdeněk Crhonek
1b52171752 add YIELD test case
Change-Id: I88bcd9433da6edb5aa59ff01f2590ca74c39219c
Reviewed-on: https://gerrit.libreoffice.org/27805
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-02 22:58:23 +00:00
Zdeněk Crhonek
4ff14e446d add MDETERM test case
Change-Id: Id69ce2d5c19d0b55921dc21143aac7d7bdd0fef1
Reviewed-on: https://gerrit.libreoffice.org/27810
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-02 22:52:15 +00:00
Zdeněk Crhonek
e08e906afa add YIELDDISC testcase
Change-Id: Ie39e922fcf4b56c0aa4c659472683653ceda4482
Reviewed-on: https://gerrit.libreoffice.org/27806
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-02 22:51:48 +00:00
Eike Rathke
88134dcba6 break the Excel rule for YMD and DMY, tdf#101147 follow-up
Clearly in {HH YYYY-MM-DD} the MM should not be minute. Also not in
{HH DD.MM.YY}. Don't follow every bullshit. Period.

It is debatable how to treat MDY, {HH:MM DD/YY} should be different from
{HH MM/DD/YY}, Excel ironically takes both as minute, even in an en-US locale.

Change-Id: I13d39a36294e3c40cc0e9bf72026804b299bb264
2016-08-02 23:52:18 +02:00
Caolán McNamara
4e8bc5462a Related: tdf#101196 prompt to restart after OpenGL config changes
Change-Id: If0ade12ed4cf360bdac8cfbec7bb09c9a640fc6d
2016-08-02 21:04:44 +01:00
Caolán McNamara
40c889105f Related: tdf#101196 shorten description, move info into tooltip
Change-Id: Id3e083dc45135c8af724c64530b6eb4e36c7f6d2
2016-08-02 20:53:57 +01:00
Caolán McNamara
1c33b3f5f6 Resolves: tdf#101196 line wrap very long checkbox content
Change-Id: Ie451b88240f755a0d64dd3db14d7981b8ed2a2a2
2016-08-02 20:49:49 +01:00
Miklos Vajna
c86e89c5bb editeng: track view shells in SfxListUndoActions
This is needed for e.g. tracking deletions by backspace in Writer shape
text.

Change-Id: I6f873872566313096c2c57f4a13ac2f1db67e77d
Reviewed-on: https://gerrit.libreoffice.org/27807
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-02 18:57:57 +00:00
Eike Rathke
c82a81bbda Resolves: tdf#100582 SetMatColsRows() when constructing matrix ScFormulaCell
... from an ScFormulaCellGroup token array, because ScFormulaResult that holds
the matrix dimensions is not cloned in that case as we don't clone from an
ScFormulaCell.

Change-Id: I13ab1b29db71ae1618580de995fe12ec423d4dc7
2016-08-02 20:05:28 +02:00
Miklos Vajna
b567278c4a editeng: implement SfxUndoAction::GetViewShellId() interface in EditUndo
With this, e.g. inserting a character in a Writer shape text remembers
its view shell.

Change-Id: Ic82a3f45a66cf622496e3131390d365440dffb3b
Reviewed-on: https://gerrit.libreoffice.org/27796
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-02 17:33:17 +00:00
Caolán McNamara
db686815b4 fftester: guard against no drawing object property set
Change-Id: I51736459f9f098d9d793bff3b9a1a403962e099d
2016-08-02 16:08:46 +01:00
Markus Mohrhard
dadd4abdad add missing nullptr check
See
http://crashreport.libreoffice.org/stats/crash_details/173c2c82-7241-44b4-8394-2b5635f7f938

Change-Id: I2a03c6d6a77e3c872b8507c72b47a05db20fd564
Reviewed-on: https://gerrit.libreoffice.org/27791
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-02 15:04:47 +00:00
Caolán McNamara
bb9c9fdd3d gtk2: toggle menubar mnemonics on if any keyinput on it or submenus
this is closer to how I seem to see the gtk menubars work

(gtk3 is native now so this doesn't affect that)

Change-Id: Ie5225d2ccda698946f26408aae95d2a50cbb928b
2016-08-02 14:56:42 +01:00
Zdeněk Crhonek
4e9bd1bc07 add SUMIF (wildcards) test case
Change-Id: Ic07f45043bd3536fe00d3f6440165cd69792a33d
Reviewed-on: https://gerrit.libreoffice.org/27783
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-02 12:41:10 +00:00
Zdeněk Crhonek
b796090525 add SUMIF test case
Change-Id: I836acc35137a3edd0d73c2c5372230c7968a536d
Reviewed-on: https://gerrit.libreoffice.org/27718
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-02 12:40:22 +00:00
Zdeněk Crhonek
6ae6016a6a add XIRR test xase
Change-Id: I5df06aa71c0b23fa07009f46aa3d1555951f3245
Reviewed-on: https://gerrit.libreoffice.org/27780
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-02 12:33:36 +00:00
Zdeněk Crhonek
e601533855 add GROWTH test case
Change-Id: Ic874210a621923f053725a652f2a67d2ef242dae
Reviewed-on: https://gerrit.libreoffice.org/27741
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-02 12:33:01 +00:00