Commit Graph

401181 Commits

Author SHA1 Message Date
Maxim Monastirsky
90395eb694 Fix window height for the grip case
Change-Id: I1a4d2c498971a5bf73dc7f89a0987e6f998cf7a6
2016-12-21 11:42:32 +02:00
Maxim Monastirsky
8f594cd903 Fix the non-grip case
Change-Id: Ic5b2d96829e5fc97004b3bba9cbb6ded2e27f22f
2016-12-21 11:42:31 +02:00
Khaled Hosny
8960d05164 Recreate the reference files, again
After the rounding change in 9eb4b14ffa.

Change-Id: I0836ba34f23d256075611e9fae1658cf4d737a89
Reviewed-on: https://gerrit.libreoffice.org/32242
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-12-21 09:40:08 +00:00
Noel Grandin
b7b5c23e69 tdf#104814 Writer: accepting change tracking changes get stuck
Change-Id: Ie8e0919b53c0b21f480b62eec7c394554757a061
Reviewed-on: https://gerrit.libreoffice.org/32273
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-21 09:26:58 +00:00
Huzaifa Iftikhar
fe18f5d51f tdf#95416 Fix an include for 2 files in unopkg
Change-Id: Id1fa09b6db6c90cd727182133e5f9f39383aa5e5
Reviewed-on: https://gerrit.libreoffice.org/32255
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-12-21 08:53:21 +00:00
bansan85
a631e0fe94 Add move column right and move row up in DataTable
Change-Id: Ib224a99636dfbb4451aa26263573af2f3d31b84a
Reviewed-on: https://gerrit.libreoffice.org/32265
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-12-21 08:25:12 +00:00
Vitaliy Anderson
4a410dd147 tdf#104349 remove the difference between MSO and LO highlight chars
Change-Id: I5daadef359260ea74b828567197228633bb972ca
Reviewed-on: https://gerrit.libreoffice.org/31783
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-12-21 08:07:46 +00:00
Miklos Vajna
517994c640 xmlsecurity: instantiate SignatureCreatorImpl directly in XSecController
Going via UNO for a class in the same module is an overkill.

Change-Id: I3a24bc770e40be5b0a6fc34206e92f968de060ae
Reviewed-on: https://gerrit.libreoffice.org/32271
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-12-21 08:06:26 +00:00
Takeshi Abe
b55c205460 [API CHANGE] Retire SAL_ABS
which had served since d441fa1f8cc0a17a2bc166bf2f2a44f76b83a773;
we now have polymorhpic std::abs.

Change-Id: Ibe48ac51508f7d9f5a44d712550237db7f553df3
Reviewed-on: https://gerrit.libreoffice.org/32225
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-12-21 07:54:51 +00:00
Justin Luth
c829e01e97 related to tdf#97417: fix unit test's early para numbering
The unit test's first blank page already started the paragraph
numbering. Setting it so that a contentless, single paragraph
section will not display numbering.  In fact, no dummy paragraph
should have numbering, but that would get complicated.

This is in preparation for tdf#104710.

Change-Id: I98c9926cb3cd1e3fe3cd43bf46cab22bfbec7eba
Reviewed-on: https://gerrit.libreoffice.org/32235
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-12-21 07:13:49 +00:00
Noel Grandin
5ec1b04b9b convert EnumContext::Application to scoped enum
Change-Id: Ia289a7b63bf8797085315218785e2a2a4c45d232
Reviewed-on: https://gerrit.libreoffice.org/32230
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-21 07:10:54 +00:00
Khaled Hosny
72002992a3 tdf#104733: Don't ignore OpenType-CFF fons on Windows
This is a folloup for ef4b9032de, turns
out TRUTYPE_FONTTYPE does not cover CFF fonts like I thought (the
fonts that I was checking were actually TTF fonts).

Change-Id: I2d7b34b625aa03134421dc44a24e3c66be25df98
Reviewed-on: https://gerrit.libreoffice.org/32258
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-12-21 04:29:31 +00:00
Justin Luth
893698741a related to tdf#97417: fix unit test page count
The unit test should have been showing a blank page before the
content page.

Non-section paragraphs should not remove the first/last status.
Frames were already excluded, now this patch also
excludes header/footer paragraphs.

This is in preparation for tdf#104710.

Change-Id: I686944843302160d6f6bbbcb73f01c836179aa9f
Reviewed-on: https://gerrit.libreoffice.org/32234
Reviewed-by: Justin Luth <justin_luth@sil.org>
Tested-by: Justin Luth <justin_luth@sil.org>
2016-12-21 04:14:06 +00:00
Markus Mohrhard
df4b8ae22f tdf#103332, install the new calc default styles correctly
Change-Id: I7bfa0edc3bf286d304ae2648e563216ce850e4d1
Reviewed-on: https://gerrit.libreoffice.org/32262
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-21 03:01:11 +00:00
Tamás Zolnai
36750bc977 tdf#96218: MSO DOCX image incorrectly placed when using Alignment Position
layoutInCell attribute should be ignored when we are not
in a table.

Change-Id: Ieed29c690f8516f63d0956a4f0495500908a0d27
Reviewed-on: https://gerrit.libreoffice.org/32253
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2016-12-21 00:17:16 +00:00
kerem
9cfb2f2f03 tdf#97361: Changed naming in var_fields and load_save_test
Change-Id: I7b25166c474acaacc91936d877ed860c5361c0bd
Reviewed-on: https://gerrit.libreoffice.org/32120
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-12-20 23:35:35 +00:00
kerem
027a41959c tdf#97361: Changed naming in sfx2 python tests
Change-Id: Iabacaff8fd7f282a903885954a7d725ceb6f6c16
Reviewed-on: https://gerrit.libreoffice.org/32118
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-12-20 23:34:30 +00:00
Michael Stahl
654b86cf34 assert SwDrawContact unhandled attr. on exporting ooo67621-1.odt to DOCX
Check in SwModify::Remove() that unrelated clients aren't inserted into
an active SwClientIter.

Old value = (sw::WriterListener *) 0x0
New value = (SwDrawFrameFormat *) 0x72d83f0
SwModify::Remove (this=0x37fd850, pDepend=0x6ca85a8) at sw/source/core/attr/calbck.cxx:220
 0 in SwModify::Remove(SwClient*) (this=0x37fd850, pDepend=0x6ca85a8) at sw/source/core/attr/calbck.cxx:220
 1 in ClientModify(SwClient*, SfxPoolItem const*, SfxPoolItem const*) (pClient=0x6ca85a8, pOld=0x7ffe9d041bf0, pNew=0x7ffe9d041c10) at sw/source/core/unocore/unoobj2.cxx:326
 2 in SwXShape::Modify(SfxPoolItem const*, SfxPoolItem const*) (this=0x6ca8540, pOld=0x7ffe9d041bf0, pNew=0x7ffe9d041c10) at sw/source/core/unocore/unodraw.cxx:2037
 3 in SwClient::ModifyNotification(SfxPoolItem const*, SfxPoolItem const*) (this=0x6ca85a8, pOldValue=0x7ffe9d041bf0, pNewValue=0x7ffe9d041c10) at sw/inc/calbck.hxx:130
 4 in SwFormat::~SwFormat() (this=0x39e6320, __in_chrg=<optimized out>) at sw/source/core/attr/format.cxx:239
 5 in SwFrameFormat::~SwFrameFormat() (this=0x39e6320, __in_chrg=<optimized out>) at sw/source/core/layout/atrfrm.cxx:2519

So the SwXShape was a client of the SwFrameFormat that is deleted, then
is removed and added at the parent SwFrameFormat by ~SwFormat, then it
is removed *again* when its own Modify handles the SwFormatChg
notification, but this time it messes up the SwClientIter in ~SwFormat,
putting in a m_pPosition SwFrameFormat that is actually a client of the
parent SwFrameFormat, not the deleted one!

Thus the deleted SwFrameFormat is confused and sends a "sibling" of
itself the SwFormatChg notification and that then asserts with
dcontact.cxx:1468 "<SwDraw Contact::Modify(..)> - unhandled attribute?".

Change-Id: Ifba7fa8a1f41f09b1a3fcbb4cdf17f340e0fbe33
2016-12-20 23:11:58 +01:00
Gabor Kelemen
f65eb63fdf Updated core
Project: help  b87c7bf36032b0b3fe31c37e9a434ce2019b8bfe

Reconnect Shadow area tab page and UI

Change-Id: Ib862df7239258c3cea4c7d476cb0104924f293ce
Reviewed-on: https://gerrit.libreoffice.org/32259
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2016-12-20 21:49:52 +00:00
Zdeněk Crhonek
78dbf3cd53 add NEGBINOMDIST test case
Change-Id: I61f734427dfd6e93457e11bd15cdbdf4c2093ecc
Reviewed-on: https://gerrit.libreoffice.org/32248
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20 21:47:55 +00:00
Zdeněk Crhonek
6d9d4265cf add NORM.S.INV test case
Change-Id: I51263242ef9b228072f0820928986c0fcf20fc1f
Reviewed-on: https://gerrit.libreoffice.org/32238
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20 21:34:57 +00:00
Zdeněk Crhonek
9474d64c70 add NORMSINV test case
Change-Id: I4ef01af5538056e87cd2a0730fc946cdfce9bd32
Reviewed-on: https://gerrit.libreoffice.org/32239
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20 21:33:32 +00:00
Zdeněk Crhonek
8ae14c57bd add NORMDIST, NORMSDIST test case
Change-Id: I9916a3926e6b2174755e3d6ae63da4d8aa28e7c1
Reviewed-on: https://gerrit.libreoffice.org/32240
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20 21:30:59 +00:00
Zdeněk Crhonek
14968ea519 add NORM.S.DIST test case
Change-Id: Ie88ddb399f9db757b46ec4b70bbc8b75b244a6cd
Reviewed-on: https://gerrit.libreoffice.org/32241
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20 21:29:16 +00:00
Julien Nabet
6c77c2fdf6 Downgrade SAL_WARN -> SAL_INFO
Change-Id: I2f0957ee2ce7156e8ea9ce376787d2898e517fbf
Reviewed-on: https://gerrit.libreoffice.org/32252
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-12-20 21:22:08 +00:00
Caolán McNamara
f8513683bb rename ApplyImageList
Change-Id: I0af692fe338c487b6ade62c2f8558fb9fd97f558
2016-12-20 21:14:33 +00:00
Caolán McNamara
026ce88475 strange use of an ImageList
remove the middle man here

Change-Id: I76eab37b66205768fe2a1c6ffc317bfba9ef4fd9
2016-12-20 21:14:32 +00:00
Caolán McNamara
8d3dba1304 unused ImageList
Change-Id: I15b707749454ceae3d69692e1c08106ec470bf18
2016-12-20 21:14:30 +00:00
Caolán McNamara
778a178da5 drop SfxImageManager::GetImageManager use in sw
Change-Id: I02df63a37082ca8f0b9e15865dbd070a14f9eea0
2016-12-20 21:14:29 +00:00
Caolán McNamara
fdf57121ac unwind ILIST ImageList
Change-Id: I260f4263db35f708891e26fa943c1fd6af402366
2016-12-20 21:14:29 +00:00
Tibor Móger
86519381cd tdf#94576 handle esc keypress on templatemanagerdialog
SfxTemplateManagerDlg now overrides behaviour of ModalDialog on
EventNotify by checking if the pressed key was esc and
the searchFilter is not empty and it was focused. In this case
instead of letting ModalDialog close the modal
it clears the searchFilter

Change-Id: I90d91a3b152f68b6c8780963d1b95258d9ccf23a
Reviewed-on: https://gerrit.libreoffice.org/31736
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2016-12-20 20:22:39 +00:00
Khaled Hosny
574524604c Fix smoketest under right-to-left locales
The calc macro test tries to select a range of cells by moving selection
right, but this fails when the UI direction is right-to-left as the
first cell will be the right most and moving right will do nothing.

Fix this by forcing en-US locale like we do with JunitTest.

Change-Id: I08d0bc50013b0936af85af75bca82a44b044d48a
Reviewed-on: https://gerrit.libreoffice.org/32243
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-12-20 19:28:01 +00:00
Olivier
6f4575f89f Updated core
Project: help  84c9ad7e308a3fa3809529aac4557c0b4cde823e

Sort bookmarks alphabetically in HC3

Change-Id: Id26048f7ebfdccc2e5afd8a851a0f30c7a78fda0
Reviewed-on: https://gerrit.libreoffice.org/32249
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-12-20 18:26:05 +00:00
Wastack
ef1aee0f80 tdf#70506 implement getColumnLabel function
which is responsible for aliasnames defined with the SQL 'AS' keyword.

Change-Id: I6aaf1ba6969e2bd738941e41492338382168bc89
Reviewed-on: https://gerrit.libreoffice.org/32042
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-12-20 18:18:03 +00:00
Huzaifa Iftikhar
9abac96518 tdf#95416 Fix an include for desktop directory
Change-Id: I04a2181b05f2b15a55db306f49b47855db7753db
Reviewed-on: https://gerrit.libreoffice.org/32204
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Tested-by: Jan-Marek Glogowski <glogow@fbihome.de>
2016-12-20 16:59:22 +00:00
Caolán McNamara
01bf50c581 unroll IL_VALUES ImageList
Change-Id: Id03606deaf207f579ee3c56437b37f4981538d12
2016-12-20 16:38:42 +00:00
Stephan Bergmann
ffadee038f Don't malloc between for and exec
...at least macOS doesn't like that; change from OSL_TRACE (effectively doing
nothing unless running a debug build with SAL_LOG=+INFO) to SAL_INFO (calling
std::stringstream -> malloc in debug builds, regardless of SAL_LOG env var) in
a005fbeddc "OSL_TRACE->SAL in framework..sal" made
the mistake obvious.

Change-Id: I43d35524a0861998a1ef58c6f448085a2fb01cd5
2016-12-20 17:26:09 +01:00
Caolán McNamara
c4b7d96f39 keep salinit for non-DESKTOP but not for ANDROID/IOS
Change-Id: I6b97345c9d927d1ae1d89f85611c2b5de7b5f0d4
2016-12-20 16:05:57 +00:00
Caolán McNamara
f7f312304c just give different things different names
Change-Id: I7d9ca3812b1af35e6155ff269ee88cf4101de14b
2016-12-20 15:14:46 +00:00
Caolán McNamara
f24f0ba63a bodge linking for disable-dynamic-loading case
Change-Id: I5c1c6cae8d2f179a68e0c6e11e89c7c947e4b479
Reviewed-on: https://gerrit.libreoffice.org/32229
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20 14:21:58 +00:00
Caolán McNamara
8092d344fa use new ENABLE_NSS for code which needs nss
which isn't available on a static-only build (iOS and fuzzing) and
android

Change-Id: I99bb7c0b45d4499579ddf73f469a762ddcae99ab
Reviewed-on: https://gerrit.libreoffice.org/32182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20 14:20:47 +00:00
Caolán McNamara
862ae89a14 salinit for non-DESKTOP too
Change-Id: Icb368b676199038bf8588b42ef50a2796468d185
Reviewed-on: https://gerrit.libreoffice.org/32228
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20 14:19:40 +00:00
Caolán McNamara
3b7b4d07bc wmffuzzer as single static binary for oss-fuzz
Change-Id: I4d5ae63e46809341a7bb74a7c89b5a80c7a91e38
Reviewed-on: https://gerrit.libreoffice.org/32227
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20 14:17:38 +00:00
Caolán McNamara
1ad871ce0d link to our own static fontconfig and freetype when we build them
Change-Id: I143256ba37acf948931350443b2acf30c34f50a8
Reviewed-on: https://gerrit.libreoffice.org/32226
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20 13:54:35 +00:00
Jan-Marek Glogowski
35816ab0af Move ImplFrameData initialization into constructor
Change-Id: Id918ae46ed521fca5675845b2eb9cd26a8c7ebbb
2016-12-20 14:19:19 +01:00
Jan-Marek Glogowski
41bbcc5b50 Drop ListBox include from ComboBox header
ComboBox just uses ListBox internally

Change-Id: Ieed279160db1c9918bd9f3e37102b59ea62f0581
2016-12-20 14:19:18 +01:00
Jan-Marek Glogowski
4c4b80a49e KDE4 fix wrong fallthrough
Was found and marked in 03f440c379,
but is definitly wrong.

Change-Id: I6d04814fb8f25a92dfaf96d8face855315cc0208
2016-12-20 14:19:18 +01:00
Jan-Marek Glogowski
78906ae07a Assume pWin exists while drawing
Change-Id: Id392b7c42d6470230a4d9f627704286e532dce3e
2016-12-20 14:19:18 +01:00
Jan-Marek Glogowski
3f94cf15f9 Fix focus and rollover for vcl::ListBox
Change-Id: I4fffd086a38b54c673a199ea0603d25ca54aacd1
2016-12-20 14:19:18 +01:00
Jan-Marek Glogowski
7ab2350d55 KDE4 use correct ComboBox frame pixel metric
Change-Id: I03fa5489ffc5cd5bb386bb321519c61058db4fda
2016-12-20 14:19:17 +01:00