403714 Commits

Author SHA1 Message Date
aleksandar-stefanovic
b46ed21a33 Moved "storage provider settings" to nav drawer
Moved "storage provider settings" to the navigation drawer, because
it makes more sense to put it below the storage options, than in a
overflow menu. Also, switched positions of "Settings" and "About",
because About is always the last item, by convention.

Change-Id: If6d621abfee7a3bdda28311a9cadf35ea674f852
Reviewed-on: https://gerrit.libreoffice.org/34073
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com>
2017-02-11 00:06:59 +00:00
Michael Stahl
43df9a93b6 sw: translate some german comments
Change-Id: I7aa703a5cb4091cf4b1df37f6ec022edaee76ef9
2017-02-10 23:45:13 +01:00
Michael Stahl
7f3a7f0566 io: warn if OConnector can't connect to pipe
Change-Id: I536177e7fbc2a8bb120db786722b71cc77c039a4
2017-02-10 23:45:13 +01:00
Eike Rathke
c21779746a Revert "LOK - Calc: Increase the row limit to 10.000 rows."
This reverts commit e530c7c4bcaaeb99cecd6f3c2c303db2a114b555.

It breaks the build, e.g.
http://tinderbox.libreoffice.org/cgi-bin/gunzip.cgi?tree=MASTER&brief-log=1486752747.29915
and is still in gerrit review anyway,
https://gerrit.libreoffice.org/33799
where it similary failed.
Might had been an accidental direct push.
2017-02-10 22:47:29 +01:00
brainbreaker
a68d001899 Default Value added to File Explorer View Preference
Change-Id: Ibbca76cae7fb189d94c37397ad49e9cff2755cd2
Reviewed-on: https://gerrit.libreoffice.org/34082
Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com>
Tested-by: Aleksandar Stefanović <theonewithideas@gmail.com>
2017-02-10 20:37:37 +00:00
Eike Rathke
e387b69967 Resolves: tdf#79250 add typed list to form control listbox
... so numeric and text data can be distinguished input.

Change-Id: I63280a93c272ccc6f5e7ca06a1a1fcbfb3db8455
2017-02-10 20:58:52 +01:00
Eike Rathke
bed701f31a indicate which indices mismatch
Change-Id: I45e66e10628aadbc2714b331ba4eaaf83085f025
2017-02-10 20:58:52 +01:00
Matúš Kukan
252ae4f540 python_zipcore package is no more
..since 8646ab97dc37c0606b19057686bf3d610f9c15ee

Change-Id: I14644a85023fe66e86d9eef50ebd9eddabe73f60
2017-02-10 20:46:42 +01:00
Miklos Vajna
8c6776f27c Related: tdf#105707 PPTX import: warn on empty SmartArt fallback
This second related situation is about when there is drawingML fallback
for the SmartArt, but it's ampty shape tree, which is never created with
MSO2010+ (those shape trees always have at least one element). This is
as bad as the missing drawingML fallback, so warn on it.

Change-Id: I539d05154a4d1fcd5871dfc29616f77eb9945454
Reviewed-on: https://gerrit.libreoffice.org/34131
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-02-10 19:07:06 +00:00
Marco Cecchetti
e530c7c4bc LOK - Calc: Increase the row limit to 10.000 rows.
Change-Id: I2702b1e654dff816c8d66e82464ea578473dba60
2017-02-10 19:19:41 +01:00
Stephan Bergmann
8646ab97dc Remove MinGW support
In OOo times, there'd originally been efforts to allow building on Windows with
MinGW.  Later, in LO times, this has been shifted to an attempt of cross-
compiling for Windows on Linux.  That attempt can be considered abandoned, and
the relevant code rotting.

Due to this heritage, there are now three kinds of MinGW-specific code in LO:

* Code from the original OOo native Windows effort that is no longer relevant
  for the LO cross-compilation effort, but has never been removed properly.

* Code from the original OOo native Windows effort that is re-purposed for the
  LO cross-compilation effort.

* Code that has been added specifially for the LO cross-compilation effort.

All three kinds of code are removed.

(An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing
--with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.)

Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568
Reviewed-on: https://gerrit.libreoffice.org/34127
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-10 18:01:27 +00:00
Justin Luth
09e9274fc0 Optimize Excel GetOrCreateRow: reduce loops
for ( size_t nFrom = maRowMap.size(); nFrom <= nXclRow; ++nFrom )

This previous code worked best under the assumption
that every row is added to the map. However, the size of the
map actually has no correlation to the row numbers contained in it
when many rows are identical to each other (think silly formatting
and empty rows - related to tdf#105840)
Thus row 1,000,000 could occupy slot 2, and every access of that row
would then trigger nearly 1 million redundant loops.

Optimize:
-check to see if the row already exists - if so do nothing.
-existance of higher rows indicates there are no missing rows.
-build missing rows from the previously-mapped row.

Change-Id: Ib02520a1bf0f77b5ca0ec5ad3165ff7ea879515f
Reviewed-on: https://gerrit.libreoffice.org/34038
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2017-02-10 17:13:53 +00:00
Stephan Bergmann
07bcdbaed1 loplugin:dynexcspec: Deallocation functions are implicitly non-throwing
...so a dynamic exception specification should be replaced with noexcept(false).
Doesn't look like this omission made any difference when running the rewriter
across the LO code base earlier, though.

Change-Id: Ib0e2b412b65cae7c1a68e875bbddf93f3656cebb
2017-02-10 17:52:15 +01:00
Stephan Bergmann
57a505e8e9 Remove unnecessary blacklists from loplugin:stringconstant
Change-Id: I866a421a2b3e8830aaa7096adaef945a2264195e
2017-02-10 17:49:45 +01:00
Miklos Vajna
2d732b498b Related: tdf#105707 PPTX import: warn on invalid SmartArt fallback relid
We already warn when the SmartArt doesn't have a drawingML fallback, but
having a reference to a fallback that is not a valid one (so resolves to
an empty fragment path) is also unusable. So warn in that case as well.

Change-Id: I03b2325003b4eb38b1347a88899799c6d5c33606
Reviewed-on: https://gerrit.libreoffice.org/34129
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-02-10 15:59:44 +00:00
Miklos Vajna
0939e079ab vcl: move out ImportPDF() from the global namespace
It's a public symbol and can live in the vcl namespace just fine.

Change-Id: I677f22e79f8ddc0c0756cc9bfeb498249354c516
2017-02-10 16:49:11 +01:00
Caolán McNamara
a65211ad92 unwind RID_POPUP_FILTER local resource
Change-Id: I7369b3eb0e0d937c135fe591beafe9ec96ea9c17
2017-02-10 14:03:44 +00:00
Caolán McNamara
a194597597 unwind RID_STATISTICS_DLGS local resource
Change-Id: Ib5e7692cce9e097250182ec1518e93848fdc9b86
2017-02-10 14:03:42 +00:00
Caolán McNamara
55e203a0c6 add --disable-pdfium
Change-Id: I9137dc0030c3c752ffc0931721bf6b0013309d39
2017-02-10 14:03:37 +00:00
Caolán McNamara
9960002118 coverity#1079165 Uninitialized scalar variable
Change-Id: I49284d409bbe678e1e018c9d9502d79db5553faa
2017-02-10 14:03:35 +00:00
Caolán McNamara
9050cc641a pUnicodesPerGlyph[i] is already 1 here
Change-Id: Ib47e850d8ade769cad11f53b7eb3d7cab0337feb
2017-02-10 14:03:32 +00:00
Caolán McNamara
775bf0c7d9 test coverity sanitizing in-source modelling
Change-Id: I31b1f021c414b26372c07a28c235bedb3e5a2b32
2017-02-10 14:03:32 +00:00
Miklos Vajna
f9b3257655 pdfverify preview: fix macOS color space
Unlike on Linux and Windows, we need to do an ARGB -> BGRA conversion
here.

Change-Id: Ifa539973de439de25125e544cfbbe941d08dee00
2017-02-10 14:08:23 +01:00
Mohammed Abdul Azeem
32c0ab80aa Further modifications to FastAttributeIter:
attempt to further reduce unnecessary allocation and
freeing of OUString.

Change-Id: I85169cfcd2311a5e6a96dc0292ce0686d1b0e43d
Reviewed-on: https://gerrit.libreoffice.org/34092
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-02-10 11:34:03 +00:00
Caolán McNamara
fc81a580dd coverity#736181 Out-of-bounds read
it should be fine, as we rely on there being at least one password
char, this is the same as,

commit 2d3ed7ebb592401de214eaeee68c656afbefbe05
Author: Michael Meeks <michael.meeks@collabora.com>
Date:   Tue Feb 25 22:48:48 2014 +0000

    cid#736173 - increase default fill chars buffer size.

which is another impl of this

Change-Id: I5e1e07af37bea0398153ede300beed67d37d5e12
2017-02-10 11:07:46 +00:00
Caolán McNamara
ae755d9024 coverity#1371289 Missing move assignment operator
Change-Id: Iabdebb02e91c630aef11e99f4677fd4187df78a5
2017-02-10 10:58:08 +00:00
Jan-Marek Glogowski
5f2e1eda45 tdf#105288 MM wait until all emails are send
Seems mail merge is now much faster then the sending of the merged
documents via email. This is why the attached workaround patch to
the tdf#103919 bug report, which simply sleeps after queuing a new
message, helped solving the problem. It slows down the mail merge
and gives time to the mail dispatcher thread.

But we actually want to wait until all mails are send, so we have
to add a listener and wait for the mail thread to become idle.

This listener also allows us to cancel further mail merge when an
SMTP error has occured.

Change-Id: I9d13bcd8f0d0ff084b20d72ab96f70afa3a764ba
Reviewed-on: https://gerrit.libreoffice.org/33989
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2017-02-10 10:44:17 +00:00
Caolán McNamara
805784cb85 ofz#579 wrong variable tested for 0
Change-Id: I721dc9d1c15296b2658421b4c4fe794578f3f1af
2017-02-10 09:28:01 +00:00
Stanislav Horacek
58e27fc728 mark numbers in floatingareastyle.ui as untranslatable
Change-Id: I2a95f50ed32486e47c4017c70ba6bc199317c9c7
Reviewed-on: https://gerrit.libreoffice.org/32817
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-02-10 09:03:22 +00:00
Mike Kaganski
d4036d3a89 tdf#105625 related: don't duplicate dummy character on copy
Change-Id: I5881887c7a0fd0c9ccd954a36482a3ada5103098
Reviewed-on: https://gerrit.libreoffice.org/34025
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-02-10 08:47:39 +00:00
Samuel Mehrbrodt
36bd85083d Remove unused installer properties
Change-Id: I8a2bbd05ccdf71a59a0c74d5595c37b2308988ea
Reviewed-on: https://gerrit.libreoffice.org/34091
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-02-10 08:03:51 +00:00
Stephan Bergmann
022da89fee -Werror=unused-parameter
Change-Id: I63e466f8a1e2fbbf1b1bd84f491b37026909b1eb
2017-02-10 08:59:52 +01:00
Miklos Vajna
efed9a7585 gbuild-to-ideNS: stop printing multi-target warning
gbuild-to-ide stopped doing so in commit
2a4b291d3bfb378776388f67670d877c658fce47 (gbuild-to-ide GbuildParser
cleaned, 2017-01-14), be consistent.

Change-Id: I307fb2919bf2ace57cd65f81d410d231d3636b80
2017-02-10 08:11:19 +01:00
Miklos Vajna
ea92b7cc2e xmlsecurity: use pdfium to generate a preview in pdfverify
This is just test code to check if the bundled pdfium is usable.

Change-Id: I1f1d808796fe77924518cd004d99affe70279e88
Reviewed-on: https://gerrit.libreoffice.org/34081
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-02-10 07:06:51 +00:00
Noel Grandin
3b536279ed convert SwXPrintSettingsType to scoped enum
and drop read-only PRINT_SETTINGS_WEB enumerator

Change-Id: I5260b92bca2d86082bbec37569e31be9525a300e
2017-02-10 08:08:45 +02:00
Noel Grandin
6e12729f71 remove unused enumerator from EncodedWordState
Change-Id: I793276d2b13bdb966e18acb8f13b4c7e77516898
2017-02-10 08:08:45 +02:00
Noel Grandin
486d636a4d remove unused enumerators from PolyClipOp
Change-Id: I0988ebbbc5fe394eaa6fead0d2f909d4a931856c
2017-02-10 08:08:45 +02:00
Noel Grandin
fe3c207911 remove unused enumerators from FTPErrors enum
Change-Id: I30a2cc41d246b5048f2514eb38ee8e3bef0ed41c
2017-02-10 08:08:45 +02:00
Noel Grandin
d198a8221d convert InsertOperation to scoped enum
and drop unused LINK enumerator

Change-Id: I6c42424ae5a7503b3e14e5f04fcf7a49b595b416
2017-02-10 08:08:45 +02:00
Noel Grandin
48d3f2505e convert LocationType to scoped enum
and drop unused ltAnyInstance enumerator

Change-Id: Ic471470973542ebcd3c9d0123870e70b3de6b8bb
2017-02-10 08:08:45 +02:00
Noel Grandin
f4a9ba4b48 convert ConfigNameFormat to scoped enum
and drop unused constants
    CONFIG_NAME_PLAINTEXT_NAME
    CONFIG_NAME_FULL_PATH

Change-Id: Ibf7e88da0ae54516cb863b8efa995201f2a95268
2017-02-10 08:08:45 +02:00
Noel Grandin
cc96c1fdc1 convert EItem to scoped enum
and drop read-only enumerators:
    enum EItem E_APEARCFG
    enum EItem E_FLTRCFG
    enum EItem E_FONTSUBSTCONFIG
    enum EItem E_LANGUAGEOPTIONS
    enum EItem E_SEARCHOPT

Change-Id: Ie3baaecec3d1c30404b4fb0d948e25d4bb2f3f93
2017-02-10 08:08:45 +02:00
Noel Grandin
aef704d807 convert SvtSaveOptions::EOption to scoped enum
and remove unused
E_SAVEUNPACKED, E_USESHA1INODF12, E_USEBLOWFISHINODF12
enumerators

Change-Id: I7c384e0c30af5091a22beeda1c77e4b71fdde55e
2017-02-10 08:08:45 +02:00
Noel Grandin
a4d0ec84da convert SvtSecurityOptions::EOption to scoped enum
and drop unused E_MACRO_DISABLE enumerator

Change-Id: I0bd706d4d4e1d8b9004e68c9e77c11410c62a64a
Reviewed-on: https://gerrit.libreoffice.org/34067
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-10 06:05:54 +00:00
Noel Grandin
29eb1ceeae convert SvtSysLocaleOptions::EOption to scoped enum
and drop unused E_UILOCALE enumerator

Change-Id: Ic9bdac91fab15af45e7dbd613e6e44b73b5cf9de
Reviewed-on: https://gerrit.libreoffice.org/34066
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-10 06:05:32 +00:00
Noel Grandin
7cf66202f2 convert SearchParam::SearchType to scoped enum
and drop unused SRCH_LEVDIST enumerator

Change-Id: Ic5118757060656562e04dd7da24a3f143abec3fb
Reviewed-on: https://gerrit.libreoffice.org/34065
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-10 06:05:09 +00:00
Noel Grandin
b3b2f2b950 convert Orientation to scoped enum
and drop unused enumerators

Change-Id: I2f42f0f441cf9ce96338d40382acb6d75ea1e1a0
Reviewed-on: https://gerrit.libreoffice.org/34061
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-10 06:04:53 +00:00
Takeshi Abe
765ba08d0b starmath: Kill redundant check
Change-Id: I45f873f3733800c43c36b38dcefb79eba46b9007
Reviewed-on: https://gerrit.libreoffice.org/34030
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2017-02-10 00:43:06 +00:00
Maxim Monastirsky
54d5b1828e tdf#105672 framework managed menu button
This adds a menu button that can use a popup menu controller
to manage its menu. It supports 2 cases:

- Use any controller that is registered in Controller.xcu,
  by specifing its .uno command.

- Manage an arbitrary popup menu with MenuBarManager
  (assuming its items have proper .uno commands in their
  MenuItemData::aCommandStr). It means that a menu that
  was defined in a .ui file, can be used inside that .ui
  file without any additional code.

This commit uses the new control to fix some currently
non-working buttons in Calc's Notebookbar (but there are
more that can be fixed the same way). It's not clear how
long we will continue to use buttons (instead of
toolboxes) for the Notebookbar, but hopefully this control
will be useful in other places too.

Change-Id: Ie00cde7cd7e39948948960ca2eff76e9db837109
Reviewed-on: https://gerrit.libreoffice.org/34103
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-02-09 22:49:51 +00:00
Yousuf Philips
8dc38dd9b1 tdf#105447 Move accelerator to first letters in Help menu
Change-Id: I14088435228a989cb388cb9e205dc7fcd3fbbfa9
Reviewed-on: https://gerrit.libreoffice.org/33646
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-02-09 22:40:37 +00:00