Commit graph

416071 commits

Author SHA1 Message Date
Tomaž Vajngerl
66076a431e TSCP: Advanced dialog UI improvements
- Change the height of TextEdit to ~5 lines (100px)
- IPPart: single to double-click to add
- IPPartNumber: change to ListBox, same behavior as IPPart
- Markings: add on focus change
- Category: remove messagebox when the category changed

Change-Id: I9e695abc7caa702b2150a96ae15e6ce19fc2458a
Reviewed-on: https://gerrit.libreoffice.org/45149
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-24 08:00:17 +01:00
Noel Grandin
a1c0e999b2 consistently use sal_uInt32 for number formats in sc
instead of a mix of short/sal_uLong/sal_uInt32

Change-Id: Ie5bd26e1a6f716c0c4e174a6d560827084b3f421
Reviewed-on: https://gerrit.libreoffice.org/45159
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-24 07:59:16 +01:00
Noel Grandin
35f5274ece TypedWhichId for RES_CHRATR constants
Change-Id: Id6c45c237e9c8c55597d97b647b443eab9d1880a
Reviewed-on: https://gerrit.libreoffice.org/45147
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-24 07:58:51 +01:00
Szymon Kłos
50915babab tdf#65955 DOCX: bookmarks at the end of paragraph
End of line handling was incorrect and all bookmark
tags placed at the end were exported before last text.
I added additional collection to separate final marks
and export them after last piece of text.

Change-Id: Icc8f89164619c85405a846fda9871430c91dcbe1
Reviewed-on: https://gerrit.libreoffice.org/45168
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-11-24 07:34:53 +01:00
Julien Nabet
ad83b67128 Modernize pdfwriter_impl by using for-range loops (vcl)
Change-Id: I82354a03b94b126a7aed460d9cd46d37b8f38ada
Reviewed-on: https://gerrit.libreoffice.org/45173
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-24 05:14:53 +01:00
Michael Stahl
bb9413907c tdf#113787: gbuild: fix the version of cli_cppuhelper assembly
There is one usage of gb_Library_add_generated_cxxclrobjects in
the entire repo, and regrettably generated C++/CLR objects
weren't actually implemented in the new build system, so the
assembly.cxx with its generated version number was simply ignored.
2017-11-24 01:28:22 +01:00
Michael Stahl
9673dbf3a1 tdf#113787: always require version file with config for CLI assemblies
The CliUnoApi_oootypes does not use the same version file as everything
else, so pass that in as a parameter.
2017-11-24 01:27:37 +01:00
Michael Stahl
c850db6261 gbuild: CliAssembly: clean everything
Change-Id: Ieaef37a8af808c9b1b981b4363e4dabfb4816457
2017-11-24 01:27:37 +01:00
Tomaž Vajngerl
d47aa694d0 TSCP: remove character limitation of recently used pop-up
Change-Id: I886fe180e73aea9685e647aaa3283f707344f69f
Reviewed-on: https://gerrit.libreoffice.org/44947
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-24 00:09:50 +01:00
Michael Meeks
e4cd570780 Document, and simplify the two uses of ScMutationGuard.
Creates ScMutationDisable - used to ensure that no core data
structure is mutated below this guard in any thread. This can
also be used to disable access in the same thread now.

Change-Id: I7e4e98d8ff986490ccd5064b3b9af56acd877b49
Reviewed-on: https://gerrit.libreoffice.org/45119
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-11-23 23:15:38 +01:00
Korrawit Pruegsanusak
051130e25b get-bugzilla-attachments-by-mimetype: add some duplicated mimetypes ...
that are really used in our TDF bugzilla

Change-Id: I5945cbf10ad2698471a3a74be8773ee1b5d81656
Reviewed-on: https://gerrit.libreoffice.org/43722
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-11-23 22:37:51 +01:00
Serge Krot
4c5a19f9cf related tdf#108757 small enhancements for speed up
- no strings reallocation
- faster for-loops

Change-Id: I98a355eb3bcb48219afd6334615c9c092ed1a352
Reviewed-on: https://gerrit.libreoffice.org/45142
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-23 22:19:39 +01:00
Pranav Kant
723aae2d5b Remove redundant call
This call, which sets the DialogCancelMode to fatal is superceded by
another call which resets the DialogCancelMode back to Silent, as
follows.

0  0x00007fffc8c1ece3 in Application::SetDialogCancelMode(Application::DialogCancelMode) (mode=Application::DialogCancelMode::Silent)
1  0x00007fffc8c1f1fc in Application::EnableHeadlessMode(bool) (dialogsAreFatal=false)
2  0x00007fffdd3824af in desktop::Desktop::RegisterServices(com::sun::uno::Reference<com::sun::uno::XComponentContext> const&)
3  0x00007fffdd361eeb in desktop::Desktop::Main() (this=0x7fffde919950)
4  0x00007fffc8c261f3 in ImplSVMain()
5  0x00007fffc8c2635c in SVMain()

Change-Id: I30efe63932e98309f4d6ac609d09b08378076007
2017-11-24 02:30:48 +05:30
Damjan Jovanovic
dbb42ebced Fix an argument for SQLSetDescRec.
Remove a duplicated and commented T3SQLNativeSql definition.

Patch by: me

(cherry picked from commit 72c9a57b915e080b4bd27800f30232624172b1c3)

Change-Id: I2730ede794f750181075b253f62951d47ec82ddc
Reviewed-on: https://gerrit.libreoffice.org/45176
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-23 21:43:22 +01:00
Tor Lillqvist
6a8c781df0 Add debug output operator<< for ScRangeList
Change-Id: I55f16428bbadd45d302ac31df9c1a691730c4a49
Reviewed-on: https://gerrit.libreoffice.org/45158
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2017-11-23 21:38:34 +01:00
Caolán McNamara
07027b5b85 ofz#4335 verify sprmTDefTable length
Change-Id: I846099f98c24ef1b53f070962c7a218e3a7e35b9
Reviewed-on: https://gerrit.libreoffice.org/44959
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-23 21:29:36 +01:00
Caolán McNamara
462866cfdc various coverity warnings
Change-Id: I27f20c51f86aeaed8e932f7ca45cce8770bc34ec
Reviewed-on: https://gerrit.libreoffice.org/45140
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-23 21:28:47 +01:00
Caolán McNamara
6f394daa48 crashtesting: crash loading fdo41403-1.xlsm
regression since...

commit 3af8a4faf5
Date:   Wed Nov 15 13:10:40 2017 +0300

    tdf#113861: Less aggressive expansion of chart headers.

pre-change code had...

   FormulaToken* pToken = it2->second;
   if (pToken && nRow>=nHeaderRowCount)

check, so restore that check for presence of FormulaToken

Change-Id: Ia1b301e4f7fdf447b08de7fb22bd7fde8735bd52
Reviewed-on: https://gerrit.libreoffice.org/45155
Reviewed-by: Vasily Melenchuk <vasily.melenchuk@cib.de>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-23 21:27:51 +01:00
Caolán McNamara
8c9a319506 Resolves: tdf#113962 save detected filter outside file dialog
different file dialog impls work differently so store the
detected filter outside the file dialog

Change-Id: I144d8df06e5265fed8f11b284a2f40c17c3e09ef
Reviewed-on: https://gerrit.libreoffice.org/45166
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-23 21:27:25 +01:00
Thorsten Behrens
a27f26228c fix build: use same conditional as in configure
Change-Id: I2383baaafbb5f79e1469a6296f3d65f1eadfa5eb
2017-11-23 20:47:29 +01:00
G??bor Koruhely
788515f4ec tdf#111782: fix Wrong rendering of image radiobutton on Split Cells dialog
The radio button icon was too big and there weren't enough space to render the
bottom border, so I reduced the size of the radio button icon.

Change-Id: Ie93f21ca730329716d0d209726e4d41c5d235b88
Reviewed-on: https://gerrit.libreoffice.org/45097
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-11-23 20:38:59 +01:00
Michael Stahl
bb0fdccaac ofz#3301 add bugdoc
Change-Id: I9a6425f5c0ed519ef7cb90e66b0d4c8e0fe700d4
2017-11-23 20:16:02 +01:00
Michael Stahl
16687c57b5 svx: loplugin:staticmethods
Change-Id: I8786baa0a5142397c157e01d5b99aa2c482bb468
2017-11-23 20:14:33 +01:00
Stephan Bergmann
d48cf244b9 loplugin:useuniqueptr in connectivity/source/drivers/macab/
...which revealed that lcl_CFType.cf should rather be of type CFTypeID (i.e.,
unsigned long), and required some adaption of for loops to cope with the type
differences between old sal_Int32 length vars and new std::vector::size calls.

Change-Id: Ic87acbb8b4255627fa976d3615bb319237aa4deb
Reviewed-on: https://gerrit.libreoffice.org/45154
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-23 19:33:45 +01:00
David Tardon
ac5e8ce2fe Updated core
Project: help  8aff7a4747fbabc5d8db9c9c52c1e67684965fd4

create dir before resolving its path

Change-Id: I4724d2444b0bd9daa6a6f0f8c7165a594db08ad9
2017-11-23 19:26:43 +01:00
Eike Rathke
db080dad6c tdf#114011 limit/truncate date, not only year
Change-Id: I479040f411fb8b5975c0aa1aa24f95c957cf80cf
2017-11-23 18:44:48 +01:00
Caolán McNamara
e5e8181161 crashtesting: assert from liborcus
Change-Id: I3b148354745fa419b6299b6456d24925ea4fb980
Reviewed-on: https://gerrit.libreoffice.org/45160
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-23 18:02:21 +01:00
Katarina Behrens
d938e1ab00 gpg4libre: translatable strings for non-LibO filepickers
just strings, code using them is yet to be implemented

Change-Id: I03b2c44f574b3212b39bf4aabedf01c577f35de9
Reviewed-on: https://gerrit.libreoffice.org/45156
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-23 17:48:45 +01:00
Stephan Bergmann
474c6ba06e loplugin:unnecessaryparen
Change-Id: Id49d107e4f8ddbe7f49d7ddfefb7e13344c9ac4f
2017-11-23 17:29:55 +01:00
Jean-Pierre Ledure
008673c23d Access2Base - FIX OutputStringToHtml
Remove useless ConvertToUrl function
2017-11-23 16:42:40 +01:00
Katarina Behrens
9d06ffadbe gpg4libre: UI and config for adding GPG keys to user's identity
Change-Id: I1a176ca998f49b68c6ca8129fba4eb56445892a2
Reviewed-on: https://gerrit.libreoffice.org/45145
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-23 16:18:34 +01:00
heiko tietze
e27e6720ac tdf#90794 Position of progress bar on high res screens
Introduced two new consts

Change-Id: I15e01eabe9fd3225c36d06cbb59310a07a30f2c1
Reviewed-on: https://gerrit.libreoffice.org/45105
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
Tested-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-11-23 16:08:51 +01:00
Tor Lillqvist
2923cb0b5b Move the need for several ugly const_casts deeper down to just one place
Change-Id: I2cdd66b9819f070548c2a0af7388d9bfbd3689c1
Reviewed-on: https://gerrit.libreoffice.org/45144
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2017-11-23 15:29:04 +01:00
Julien Nabet
3f289fef2f tdf#113657: fix crash when trying to format empty paragraph
by creating a function to clean line feeds and returns if it's empty or not

Change-Id: I3a744c52bdb457c92f38595463099e1cbf17a37e
Reviewed-on: https://gerrit.libreoffice.org/44513
Tested-by: Jenkins <ci@libreoffice.org>
Tested-by: Xisco Faulí <xiscofauli@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-11-23 15:15:28 +01:00
Caolán McNamara
c46f0c9f6e Related: tdf#113160 set a temporary dialog parent during type detection
to get warning dialogs that don't block the existing windows but whose
lifecycle can be controlled to avoid crashes during exit

Change-Id: I57965301c3d8a031acb33e83bf7715fe132385d0
Reviewed-on: https://gerrit.libreoffice.org/45044
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-23 15:13:46 +01:00
Takeshi Abe
e0bd8f3696 xmloff: Drop non-existent XMLTextPropertyHandlerFactory_Impl
Change-Id: I9cef470e0592e1b90d2cc0f2830c60938daf873e
Reviewed-on: https://gerrit.libreoffice.org/45126
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-23 15:04:05 +01:00
Noel Grandin
94d76cef1f TypedWhichId create custom get methods in ScPatternAttr
Change-Id: Iaa326332f5806477dd81463e6b6004a962bac934
Reviewed-on: https://gerrit.libreoffice.org/45128
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-23 15:03:25 +01:00
Noel Grandin
e0846b7abe loplugin:simplifybool can't invert conditions involving float types
so revert some of the changes from

    commit 7a1c21e53f
    loplugin:simplifybool for negation of comparison operator

Change-Id: I937d575b86c1e418805d399b0dc16ae91876b4fe
Reviewed-on: https://gerrit.libreoffice.org/45130
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-23 14:11:24 +01:00
Stephan Bergmann
1db2cdd971 loplugin:unnecessaryparen
Change-Id: Iddf5ed0a611f6dec4d30d056729dfd6dcd1f37d9
2017-11-23 13:55:01 +01:00
Stephan Bergmann
9017fee657 loplugin:simplifybool
Change-Id: If6084771aaa9d2bdc7ffca7550749cbb3bf8e084
2017-11-23 13:54:29 +01:00
Timotej Lazar
6a97d9c4d9 tdf#112689 Replace chained O(U)StringBuffer::append with operator+
Change-Id: Iea9a6e2104966bd47f09a82df9b01f065f678d17
Reviewed-on: https://gerrit.libreoffice.org/45079
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-23 13:39:38 +01:00
Thorsten Behrens
db2111d207 gpg4libre: package gpgme spawn helper for Windows
Change-Id: If8dbe10b87d329fab3639392f6c352bce75c54c1
Reviewed-on: https://gerrit.libreoffice.org/45127
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-23 12:48:44 +01:00
Yousuf Philips
b2f79f363c tdf#50746 add paste unformatted to menu and context menu
also unified menus and context menus in writer and calc

Change-Id: I929df7a0fe2be7b8bf58cf048e53536ea89d5c9c
Reviewed-on: https://gerrit.libreoffice.org/45095
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-11-23 12:19:42 +01:00
Thorsten Behrens
43ac50dccc gpg4libre: conditional-compile gpgme code
Change-Id: I1d139a7b6df271d61bedd107c6b3a0535d233606
Reviewed-on: https://gerrit.libreoffice.org/45124
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-23 12:13:43 +01:00
Stephan Bergmann
eeb0ea67d2 loplugin:simplifybool
Change-Id: I2e340824db3e1e5197a23e567e4b88b64136562f
2017-11-23 11:23:39 +01:00
Julien Nabet
ad0fc224ac Disabled slot with Put leaks entry (tabvwsha/sc)
Same as https://cgit.freedesktop.org/libreoffice/core/commit/?id=21dde7a09e2cfe7b48d2fec1edc7a94fa94af5c3

Change-Id: Ie4e3fcf097a6aa7b9a019947a677701723f98bf3
Reviewed-on: https://gerrit.libreoffice.org/45052
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-23 11:08:20 +01:00
Samuel Mehrbrodt
a8e83ce1d8 Convert fprintf to SAL_WARN / SAL_INFO
Change-Id: Ibdc67eb7af83c9ffa29531a20f68efce578f3e47
Reviewed-on: https://gerrit.libreoffice.org/45082
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-11-23 10:44:52 +01:00
Miklos Vajna
f85859d214 vim-ide-integration: -I<dir> workaround is no longer needed
Since commit ecbaf98062 (-I$(dir $(3)) in
gb_CObject__command_pattern is no longer needed, 2017-11-01).

Change-Id: I9d6b7436f7b6e865d37e358adb9cf075e4e51bff
2017-11-23 10:27:41 +01:00
Stephan Bergmann
52dbe0c99b Make not warning about !! in loplugin:simplifybool consistent
...so that 640e03da11 "loplugin:simplifybool re-
activate the !! warning", which did not warn about

  !!( nAttribs & ucb::ContentInfoAttribute::KIND_FOLDER )

in ucb/source/core/ucbcmds.cxx (involving sal_Int32 and sal_Int16), would not
have warned about

  !!(nMode & nUpdateMode)

in sfx2/source/appl/workwin.cxx (ivolving o3tl::typed_flags<SfxVisibilityFlags>)
either.

Change-Id: Ibe955592951a04b1bd9a9b4e8cc502024bc1d460
Reviewed-on: https://gerrit.libreoffice.org/45083
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-23 10:03:16 +01:00
Stephan Bergmann
b26012ef15 Make loplugin:unnecessaryparen look through implicit
...similar to how <https://gerrit.libreoffice.org/#/c/45083/2> "Make not warning
about !! in loplugin:simplifybool consistent" does for loplugin:simplifybool

Change-Id: I23eef400af71c582d380c9bae6546ce06e8a1e18
Reviewed-on: https://gerrit.libreoffice.org/45122
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-23 10:00:44 +01:00