Commit Graph

399585 Commits

Author SHA1 Message Date
Wastack
41832d27c3 tdf#103373 create and connect with default user
For an embedded Firebird database resolve authentification with a
default username and password (hardcoded) instead of trusted
authentification.

Change-Id: I54ee04898a8b2bedc9a24001c64173400769f416
Reviewed-on: https://gerrit.libreoffice.org/30160
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2016-10-26 07:52:38 +00:00
andreas_k
c5d2a18ef7 add toggletabbarvisibility for breeze and breeze_dark
Change-Id: I28437193e5b8c0c61d606cbb462b9ca547ca9290
Reviewed-on: https://gerrit.libreoffice.org/30233
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-26 07:09:22 +00:00
Miklos Vajna
b1434b95d1 xmlsecurity PDF sign: use unique ID for a new signature
Otherwise Adobe Acrobat thinks they are different versions of the same
signature.

Change-Id: I454c7d87106e348fd70f18fad83f2c3aeda29dff
Reviewed-on: https://gerrit.libreoffice.org/30278
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-10-26 07:04:49 +00:00
Jochen Nitschke
20f2a6b3f7 untangle .cxx include in itemset.cxx
Change-Id: I0102ad82d82c8f0e9f8939512bae83424613c54e
Reviewed-on: https://gerrit.libreoffice.org/30281
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-26 06:59:32 +00:00
Noel Grandin
e5c1e15eda loplugin:expandablemethods in toolkit..tools
Change-Id: I7221bf131d28804ee93474b11973bbc066cc2764
Reviewed-on: https://gerrit.libreoffice.org/30268
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-26 06:50:03 +00:00
Noel Grandin
47317f0416 loplugin:expandablemethods in ucb..ucbhelper
Change-Id: I42d077d7ebcfb77447d011644f8d64e80eae69c2
Reviewed-on: https://gerrit.libreoffice.org/30266
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-26 06:49:46 +00:00
Noel Grandin
fe1f1247fa loplugin:expandablemethods in vcl
Change-Id: I1876e203d3a3a5fa36d83a9b282ba49429c1da2a
Reviewed-on: https://gerrit.libreoffice.org/30261
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-26 06:49:31 +00:00
Kohei Yoshida
9c34797cc9 Keep loplugin:staticmethods happy.
Change-Id: I45b576a4401d51d204007a8dde3b24617b5a17e9
2016-10-25 21:44:15 -04:00
Kohei Yoshida
dff4e51f5d Add configure option --enable-formula-logger to conditionalize it.
Change-Id: I1badbcfa259b22d742e5241bd817ea44769a771e
2016-10-25 18:07:27 -04:00
Kohei Yoshida
08086d76f8 Ensure that GroupScope can only be instantiated by FormulaLogger.
And also annotate the class a bit.

Change-Id: I7544e49991778be36a9214851f3d7add4bfef626
2016-10-25 18:07:27 -04:00
Kohei Yoshida
90b7f35ce3 LIBO_FORMULA_LOG_FILE env var to specify the log file location.
In theory you can either use file:///foo/bar or /foo/bar style of
file path.

And also make sure that we don't crash in case a file is not
specified or the file path is invalid.

Change-Id: Ia1fb11af84f91e678401bde11454522db9893f4c
2016-10-25 18:07:27 -04:00
Kohei Yoshida
12127e1eaf Write nest levels in case of nested group calculations.
Change-Id: Ie2a94bf76ab28f792ff5684879365fda81c10e2b
2016-10-25 18:07:27 -04:00
Kohei Yoshida
662652d864 Use a singleton pattern here.
Change-Id: I45e8bcdb4ee2717ac7e223e68e0c03da9473db5b
2016-10-25 18:07:27 -04:00
Kohei Yoshida
28a11eee99 Have the logger instantiate on first use.
Change-Id: Ia2e3c011a66030aafa479f3ea47dcc1fb0c5e8be
2016-10-25 18:07:27 -04:00
Kohei Yoshida
3ab685241a Initial take on group formula logging.
For now, this logger only logs group formula calculations.

Change-Id: Idab3cf58f8d9e5fd24fc9f7498d55e385ca93ca7
2016-10-25 18:07:27 -04:00
Stephan Bergmann
f08ef855b1 Revert "Revert "Resolves: #i86470# Wrong Java locale when using "nl" and "fr"""
This reverts commit 4c13c4da16, after
475e4b477c "Move i18nlangtag lib to URELIB".

Change-Id: I61eb0c786b1fac8eb51db7b54156c906398dfb48
Reviewed-on: https://gerrit.libreoffice.org/30279
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-25 21:55:16 +00:00
Khaled Hosny
48304cb5b4 Skip font formats not supported by CommonSalLayout
Don’t list fonts we can’t handle, bad things would happen…

Change-Id: Ic88486e34da69090deb3e8c394cb75a8e4e5cbd0
2016-10-25 23:37:48 +02:00
David Tardon
50cbc6fbe8 bail out on use of unknown install module
Change-Id: Ic6ba34e1ea6aff49f308f41e5692e08edc5b77c2
Reviewed-on: https://gerrit.libreoffice.org/30270
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2016-10-25 20:54:21 +00:00
Aron Budea
8175e30b73 tdf#79892: Pass resolved locale to transliterate calls in Calc
Instead of ScGlobal::eLnge, use
ScGlobal::pSysLocale->GetLanguageTag().getLanguageType().

Change-Id: Ie0aa90098860ac2b6cee195180dbc213eaf3b5f8
Reviewed-on: https://gerrit.libreoffice.org/30240
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-10-25 19:28:30 +00:00
Stephan Bergmann
475e4b477c Move i18nlangtag lib to URELIB
...as stoc/Library_javavm.mk depends on it since
9b09a217c7 "Resolves: #i86470# Wrong Java locale
when using 'nl' and 'fr'".  The i18nlangtag lib in turn depends on libs from
external/liblangtag and external/icu, so those needed to be moved to URELIB,
too.

On Windows, the external icu package was already split into icu and icu_ure
(because "libxml2 is in URE and depends on icuuc*.dll on Windows"), so use that
splitting on all platforms.  (However, the corresponding changes that were
necessary in RepositoryExternal.mk suggest that they had been missing for the
split Windows case until now, and things had happened to work by accident?)

On macOS, a library's install name reflects its (URELIB, OOO, ...) layer, and in
external/icu/icu4c-build.patch there is only a single place to set that for all
libs from external/icu.  This patch changes that from OOO to URELIB, but for the
icui18n lib that should stay at OOO.  The hack to make it URELIB nonetheless
works for now.  To clean this up again, either the whole of icu could go into
URE (dropping the icu vs. icu_ure package split completely), or the macOS layers
URELIB and OOO could be combined into one (as the libs end up in the same
directory anyway).

Change-Id: Idc262fa41481d06ba2cae86ad7629cdccb392c07
Reviewed-on: https://gerrit.libreoffice.org/30272
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-25 17:55:45 +00:00
Miklos Vajna
a3b3e336e5 xmlsecurity PDF sign: append reference to the Catalog's AcroForm key
Similar to the Page object's Annots key, but here we want to append our
reference to the nested AcroForm/Fields key, so that needs more
infrastructure.

This is also needed (but not enough) to be able to sign a PDF document
multiple times.

Change-Id: I4d5e2aa8f49d2181a15cbf7c4e27577fc98b547d
Reviewed-on: https://gerrit.libreoffice.org/30267
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-10-25 17:53:30 +00:00
Eike Rathke
8464ea6961 Resolves: tdf#79442 in OOXML import add external files to LinkManager
Now that we store formula results without recalculating, the implicit
logic that adds files of external references to the LinkManager is not
triggered, explicitly force it during import.

Change-Id: Id867d2fa2b39841fb4c8e90941814457c8db431d
2016-10-25 19:45:45 +02:00
Michael Stahl
36e390eaa5 tdf#101814 sw: MSWord export: don't override first-page with heuristics
Revert commit dcea8ba3b4, and do the
opposite.  The added "titlePage" check makes no sense, because in that
case there is already an explicit first-page style in the PageDesc, and
overriding that cannot be right.

The test added in that commit still succeeds, which suggests that the
root cause of that bug was elsewhere and was fixed in the meantime.

Change-Id: I9b21b6dc115be28cb0ee3360615c538d4cfee3cb
2016-10-25 17:50:25 +02:00
Olivier Hallot
5ab7d38c95 Updated core
Project: help  f0c69d271ed0811c3e2a6198669662f1e2f40d73

tdf#80439 add bookmark for WORKDAYS.INTL

Change-Id: Ie037f01f97d81bf194ad1b774dd3f13d6f9e86d9
Reviewed-on: https://gerrit.libreoffice.org/30275
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-10-25 15:20:58 +00:00
David Tardon
25a55eb169 fix path in README
Change-Id: I7f1252d38ed045d9c23d3369e42e107c3ba2bec9
2016-10-25 17:09:46 +02:00
David Tardon
01b5dfb418 fix path
Change-Id: I9eada2693b67d3ca0b0062b9f4dbc9f9bf34d090
2016-10-25 17:09:46 +02:00
Eike Rathke
4c13c4da16 Revert "Resolves: #i86470# Wrong Java locale when using "nl" and "fr""
This reverts commit 9b09a217c7.

Breaks MacOS build because "a URE lib cannot link against an OOO lib;
breaks on macOS".
2016-10-25 16:50:08 +02:00
Caolán McNamara
45a646f2fa split the creation of SfxStyleFamilies into a method
Change-Id: I2590180fc30d75c89e758c72246a8294b5c4b9a2
2016-10-25 15:39:47 +01:00
Caolán McNamara
a6ff21250b drop window related stuff from rsc
Change-Id: I7045a34bec2f55f06239fe77e61347da73c38534
Reviewed-on: https://gerrit.libreoffice.org/30263
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-25 14:37:07 +00:00
David Tardon
2e6c4948a9 clean up remnants of the removal of OxygenOffice bits
Change-Id: Ic01bb53b6a2d54a43e10ece04e6f1d9b7ff58fb9
2016-10-25 16:30:33 +02:00
David Tardon
9a02de1e82 fix build
Change-Id: I0ebad3c6ac5714514a5135d4006586d88c50e555
2016-10-25 16:11:39 +02:00
David Tardon
2dc528d85b make this cond. to avoid another removal
Change-Id: I33793a1c82d7a3a8679964470057f2c3011fb145
2016-10-25 16:11:39 +02:00
David Tardon
0c3642e8e8 restore removed function for umpteenth time
It is used by the tubes collaboration stuff.

Change-Id: I9e31f0588f6c400716fba29806c1dab462c32a43
2016-10-25 16:11:39 +02:00
David Tardon
093d7b1c68 rename dir to follow suit
Change-Id: I894e6a089e99ed6cec3a970ffa0cce9cbd9a9e1a
2016-10-25 16:11:13 +02:00
David Tardon
c5423234f3 remove unnecessary dir and name prefix
Change-Id: I57b8d8b187fe7b8a99f2f90d696cd8c97b8a07b6
2016-10-25 16:11:12 +02:00
David Tardon
d8ffe6c4d6 merge duplicate source file lists
Change-Id: I55c746c92a6803a67e7129c43d2acd94aa7cbf8e
2016-10-25 16:11:12 +02:00
Fabio Biocchetti
e11e715628 Updated core
Project: help  3e47e586ddf507ff5f987fc0ef10e95e90b625f5

Mozilla Public License added in edited files

Mozilla Public License added in headers

Change-Id: I803d84fbff43913198929a56b57c668d14b6a9eb
Reviewed-on: https://gerrit.libreoffice.org/30269
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-10-25 14:05:37 +00:00
Muhammet Kara
cd7b306e61 tdf#103160 Add 'Add Submenu' button in Customize dialog
And remove the 'Add Submenu' entry from Modify split button
in Customize dialog

Change-Id: I6ac940f5f1f41ac1f962f66f458c7e14d702b2be
Reviewed-on: https://gerrit.libreoffice.org/30230
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr>
2016-10-25 13:15:16 +00:00
Caolán McNamara
578e890e89 m_pStyleFamiliesId is now unused
Change-Id: Ibfd9810e8cfde596aee3189a3498d628d73fdc8b
2016-10-25 14:08:30 +01:00
Caolán McNamara
e83d0d9b3b we don't need to update the style icons anymore
once this was a dialog but now its a panel and the case of a the document under
the dialog changing type isn't an issue anymore

Change-Id: I4680cf238675161c533852d843508a19c74a9073
2016-10-25 14:06:12 +01:00
Caolán McNamara
f144d592fb separate two different uses of DLG_STYLE_DESIGNER
Change-Id: I1edbbb4e2f1326b189a80815b1c80bd0f9b52258
2016-10-25 13:57:41 +01:00
Miklos Vajna
d34a8993e3 xmlsecurity PDF sign: append reference to the Page's Annots key
Previously we assumed that the Page object's dictionary has no Annots
key. Now detect if that's not true, and in that case don't just copy of
the whole dictionary (as part of the incremental update), instead copy
it in two steps, so we can insert our reference in the middle.

This is needed (but not enough alone) to be able to sign a PDF document
multiple times.

Change-Id: Ia5bf993320428eef80551e7e9cc7bfb2b858db7f
Reviewed-on: https://gerrit.libreoffice.org/30257
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-10-25 12:03:58 +00:00
Eike Rathke
9b09a217c7 Resolves: #i86470# Wrong Java locale when using "nl" and "fr"
Languages don't always have a country; if there is no "-" separating
language and country in the ooLocale registry value, use the entire
value as the language.

Initial finding by Damjan Jovanovic.
However, LibreOffice knows BCP47 language tags so that needs a different
approach.

(cherry picked from commit d61ab2b5a0e35d55cb001e139be791420245bf35)

Change-Id: I69331951372bda1c1cec80cfd10d5839d8f4b823
Reviewed-on: https://gerrit.libreoffice.org/30154
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-25 11:30:12 +00:00
Julien Nabet
88fb9d8f0a tdf#99723: target ratio must be reached
to be sure we can avoid decompressing/recompressing

Regression from https://cgit.freedesktop.org/libreoffice/core/commit/?id=76ec54e8c9f3580450bca85236a4f5af0c328588

Change-Id: Iacd7b2419ea85756f936b17f04c4e495d15e5b81
Reviewed-on: https://gerrit.libreoffice.org/30163
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-10-25 11:29:12 +00:00
Takeshi Abe
799a3a7915 tdf#103209 Apply application color settings to Basic IDE
This makes the text and background colors in the editor window
follow the custom colors "Font color" and "Document background"
respectively in Options > LibreOffice > Applications Colors.

... for those who think BASIC looks cooler when written in green
text on black background.

Change-Id: I82647865f7c2915341249c2fd5ebc9bd8d617bd1
Reviewed-on: https://gerrit.libreoffice.org/29815
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-25 11:27:03 +00:00
Noel Grandin
c5498c310f loplugin:expandablemethods in UnoControls..vbahelper
Change-Id: I7e607df2a1f6d4eb207ee0d3eb30f41fac44a0c6
Reviewed-on: https://gerrit.libreoffice.org/30262
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-25 11:16:02 +00:00
Henry Castro
97f0fbe583 tdf#103409: No selection outline displayed when SUM button is clicked
Change-Id: I8a1bb22bd0be9717a56a90732b17c4ed8f230bf3
Reviewed-on: https://gerrit.libreoffice.org/30254
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-10-25 11:07:33 +00:00
Caolán McNamara
8a063e2f2a drop some unused declarations
Change-Id: I88a160767c22ed234777b69c9003cc3b1a065b94
2016-10-25 11:41:23 +01:00
Caolán McNamara
cdd3963a3a no RSWND anymore
Change-Id: I5547a0d19ae60ea06dd666c77deaf0de910975d0
2016-10-25 11:41:23 +01:00
Caolán McNamara
00c4595646 no WindowResHeader, no RscWindowFlags
Change-Id: Id41e9414237c849c211785151e9170c71a449238
2016-10-25 11:41:23 +01:00