Commit Graph

395021 Commits

Author SHA1 Message Date
Giuseppe Castagno
be47f60b51 tdf#101094 (9) OPTIONS: Add options check in Content::getProperties
Change-Id: I1937d51158f67055ed4bbeb60dafbf8ffee090ae
Reviewed-on: https://gerrit.libreoffice.org/27667
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-07-29 11:13:14 +00:00
Caolán McNamara
1d81d868d2 strangely misplaced modeline
Change-Id: I4c8dabbd2eeac2e3edb72a426687af8692c77497
2016-07-29 11:24:31 +01:00
Michael Stahl
a2095b1514 comphelper,vcl: let DeInitVCL() join some AsyncEventNotifier threads
comphelper::AsyncEventNotifier is an amazing class that dispatches
events in separate threads, no doubt implemented during times of
exuberant optimism about the tractability of shared-state
multi-threading.

Unfortunately the authors forgot to think about how all those awesome
threads will be joined, so if they are somehow blocked, then it may well
happen that the events are dispatched when the main thread is already in
DeInitVCL, and the objects required for the dispatching already smell
somewhat funny.

This happens quite reproducibly when changing dbaccess' ModelMethodGuard
to lock the SolarMutex too, then CppunitTest_dbaccess_RowSetClones
crashes in DeInitVCL() because one AsyncEventNotifier thread was blocked
until then by SolarMutexGuard, and this test never Yields once its
document is loaded.

Try to fix this by joining the "DocumentEventNotifier" threads from
DeInitVCL() itself.

Since there's no rtl::WeakReference to go with rtl::Reference, refactor
the AsyncEventNotifier and create a new AsyncEventNotifierAutoJoin
that has to be used with std::shared_ptr and std::weak_ptr.

Change-Id: I50a0749795acb04b0776e543f7125767b697ea35
Reviewed-on: https://gerrit.libreoffice.org/27581
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-07-29 10:05:47 +00:00
Caolán McNamara
b3b7669e7f Resolves: tdf#96677 effects page didn't link labels to what they labelled
Change-Id: I29503324f221c42208267f4f0d36922e89119fdd
2016-07-29 10:58:17 +01:00
Caolán McNamara
3a0aad2f5d Related: tdf#90450 don't overwrite text in size/pos statusbar item
there still isn't enough space for it in writer, but at least
what is there can be read.

I'd love to get this info out of the status bar and into some
overlay shown in the selection when moving the object.

Change-Id: I688690a57253d3774c06f5edcb0931503c6d2ac6
2016-07-29 10:49:30 +01:00
Caolán McNamara
4b73aff7d2 VclPtr: password prompts never dispose
Change-Id: I917e5457be6de152b39e91ad41b6ed196dfe3e45
2016-07-29 10:08:25 +01:00
Caolán McNamara
2a66c02553 Resolves: tdf#84121 wrong password passed to xpdfimport
regression from...

commit eb276d11a6
Author: Fridrich Štrba <fridrich.strba@bluewin.ch>
Date:   Mon Jul 8 14:01:17 2013 +0200

    fdo#38878: Upgrading internal xpdf -> poppler

before this the hashed _OOO_pdfi_Credentials_ was used
in the removed OOoImportSecurityhandler::authorize

but after this the hashed password continued to be
passed through stdin, while the unhashed password
was the required data.

Change-Id: Iadc8a372abcfab514f724dd95f05776e5153d007
2016-07-29 10:00:59 +01:00
Noel Grandin
9da4c9bc71 loplugin:staticmethods
Change-Id: If32319c1d93756d633f07a21c76e0107181704b0
2016-07-29 10:32:41 +02:00
Noel Grandin
8ff6ba3da8 loplugin:cstylecast
Change-Id: I3adb510be10b12953e2889d0d3b74402479194ee
2016-07-29 10:32:41 +02:00
Caolán McNamara
f9ae1b31f7 fftester: another null DestinationText
Change-Id: I84bf3788ac092c491d7c5a9f86421f1cf9f3e814
2016-07-29 09:20:32 +01:00
Caolán McNamara
0dd2216534 fftester: null DestinationText
Change-Id: Icdd71733c4e9f4b36e6e957e4dea772087890faa
2016-07-29 08:50:31 +01:00
Giuseppe Castagno
6ab2cabeae tdf#101094 (8) OPTIONS: Add options check in Content::resourceTypeForLocks
Change-Id: Ia1bcc1be9e61626da2d60ea679d4b6e7e114ac9f
Reviewed-on: https://gerrit.libreoffice.org/27661
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-07-29 07:10:23 +00:00
Miklos Vajna
73cd9c480c xmlsec: xmlsec1-keyinfo-revert.patch.1 is not needed on WNT
Change-Id: I1dbb6bf57dc78f321e6e6d69b7e573309aff8f48
Reviewed-on: https://gerrit.libreoffice.org/27658
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-07-29 07:09:26 +00:00
Miklos Vajna
73c8bc849c sw layout xml dump: mention SfxViewShell addresses
Change-Id: I2e5c8102684494fd3d7c1c70971a09d0c940a124
Reviewed-on: https://gerrit.libreoffice.org/27637
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-29 07:08:00 +00:00
Noel Grandin
27319418ed loplugin:countusersofdefaultparams in store..svtools
Change-Id: I15b4400bddc5a4d0e3de5dfffe18b7e493f97df6
Reviewed-on: https://gerrit.libreoffice.org/27580
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-29 07:07:13 +00:00
Giuseppe Castagno
fd586445a4 tdf#101094 (7) OPTIONS: Remove resourceTypeForLocks before unlock
Not needed, unlock() checks if a lock is present first.
If present, it means that LOCK is available, inferring the presence of
UNLOCK availability.

Change-Id: I007c4b02b27e8a40f15721c0308c894ad6f482fd
Reviewed-on: https://gerrit.libreoffice.org/27660
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-07-29 06:37:42 +00:00
Zdeněk Crhonek
f9a56767c6 add SUBTOTAL test case
Change-Id: I68a46cfad2cdc09c1963576275033ff40c678c04
Reviewed-on: https://gerrit.libreoffice.org/27655
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-29 06:26:09 +00:00
Zdeněk Crhonek
dc2cf46e61 add sQRTPI test cae
Change-Id: I77ffd10e94ecebb045e0a9e7c756180790645885
Reviewed-on: https://gerrit.libreoffice.org/27651
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-29 06:25:53 +00:00
Zdeněk Crhonek
a6de813d71 add SIGN test case
Change-Id: Ica56ab0821718c75c902f97cad3d278cd568f157
Reviewed-on: https://gerrit.libreoffice.org/27644
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-29 06:25:36 +00:00
Zdeněk Crhonek
eaa2dd78f6 add SUM test case
Change-Id: I0c322cb157b102faa8d5cfdeb696f7912d5aa720
Reviewed-on: https://gerrit.libreoffice.org/27656
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-29 06:25:13 +00:00
Zdeněk Crhonek
aea52b1cd3 add SIN test case
Change-Id: I439ded1581bcbe623abbcd2a1e51402689c56057
Reviewed-on: https://gerrit.libreoffice.org/27645
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-29 06:24:23 +00:00
Caolán McNamara
f5fd2c66f6 set antialias once when context is created
Change-Id: Id36e716253768321e1ddfb977a22470c6b694147
Reviewed-on: https://gerrit.libreoffice.org/27510
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2016-07-29 01:55:53 +00:00
Takeshi Abe
b4e3c29f8a Fix typo: completelly -> completely
Change-Id: I566c5554bf32ea18121c5a186365b97c91667c5d
2016-07-29 10:07:33 +09:00
Zdeněk Crhonek
4bd54da674 add SINH test case
Change-Id: Ic82520cc0ff41ce9630460ffe6320f8f278f2bf8
Reviewed-on: https://gerrit.libreoffice.org/27646
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-28 21:24:52 +00:00
Markus Mohrhard
776544f5e9 write the customWidth property also to XLS
Change-Id: I3d12e141e1cf6c70c3fbae7b6fb25a2fabeed77b
2016-07-28 23:23:49 +02:00
Bartosz Kosiorek
40d892a2db tdf#100946 Fix width calculation and add customWidth support (.xlsx)
On some MS Excel version (OS X), the column "width" is
not applied, if "customWidth" key (in "col") is not set to "true".
It means that in case of .xlsx files, exported by LibreOffice,
all columns have default width. To resolve that "customWidth"
key was added during export into .xlsx file format.
During development it appears that Default Column Width is wrongly
calculated, and it was done not according to MS documentation.
This issue was also fixed. After fix default column width is
properly set.
MS documentation:
https://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.column.aspx

Change-Id: I0d1944081a5ea445d1e4284db62e9b4d504bf1c0
2016-07-28 23:23:49 +02:00
Akshay Deep
72e6f08c69 GSoC Emoji Control
Tab Window
Add emoji.json to installation directory
Read the JSON data from code
Filter emojis according to categories
Insert Emoji at cursor position
Toolbar control

Change-Id: Ia5a577ce41398132872914ebfa499e4d4077d57e
Reviewed-on: https://gerrit.libreoffice.org/26700
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-28 20:54:44 +00:00
Giuseppe Castagno
6dcd231892 tdf#101094 (6) OPTIONS: Do not retry on HTTP error 501
HTTP error 501 the server tells us the used method is not
implemented, non need to retry.

Change-Id: I4529d2bc27a87e8f3463ded578c6c55e0701ae17
Reviewed-on: https://gerrit.libreoffice.org/27636
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-07-28 20:53:43 +00:00
Giuseppe Castagno
211cb2dec3 tdf#101094 (5) OPTIONS: Add options check in Content::getResourceType
Added some verbose SAL_INFO to detail server responses to PROPFIND.

Corrected a wrong comment and beautified a bit code I introduced
in commit 3b26a2a403.

Change-Id: Id59749fe60fe0b451d8e0f4093d7902fe94bbed0
Reviewed-on: https://gerrit.libreoffice.org/27635
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-07-28 20:51:53 +00:00
Caolán McNamara
171586cc4d Resolves: tdf#94940 don't load font history if option is disabled
Change-Id: I70348b4e4bb85850331044e901c03aabb0d22ef8
2016-07-28 21:31:23 +01:00
Zdeněk Crhonek
ba234a86b8 add SQRT test case
Change-Id: I04a85820914a9b50ded0545d5a685b6bda205e77
Reviewed-on: https://gerrit.libreoffice.org/27650
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-28 19:31:29 +00:00
Zdeněk Crhonek
2105c5c33d add SEC test case
Change-Id: Ic6eda2e0b5c398a0644d3274fa4f6169d6dc09d9
Reviewed-on: https://gerrit.libreoffice.org/27600
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-28 19:20:50 +00:00
Markus Mohrhard
4b3484b1fc use n prefix for numeric variable
Change-Id: I70a7b10d46cdafc4dd59f8fc046587a6219a2218
2016-07-28 21:19:47 +02:00
Bartosz Kosiorek
ad121df71a tdf#101135 FILESAVE .xlsx Save XML_outlineLevelRow, XML_outlineLevelCol keys
In .xlsx, the XML_outlineLevelRow and XML_outlineLevelCol keys
are required for Microsoft Office365 application
to properly displaying Outline values.

Change-Id: If4184ddc4fbfaa409732ddb0fb4ca85b4a27b024
2016-07-28 21:19:46 +02:00
Giuseppe Castagno
fed8226315 Add various uui dependency
Change-Id: I926a0df300aad01f531832f857373e9764c32b1a
Reviewed-on: https://gerrit.libreoffice.org/27653
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-28 18:50:01 +00:00
Zdeněk Crhonek
052082a458 add SECH test case
Change-Id: Ib0877d9ad871a24e49ee59aac70b43e969480236
Reviewed-on: https://gerrit.libreoffice.org/27601
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-28 17:15:55 +00:00
Zdeněk Crhonek
7f1c0e2caf add SERIESSUM test case
Change-Id: I662113d5c980ac3cf47d8f27450ffb7c0d3d6519
Reviewed-on: https://gerrit.libreoffice.org/27602
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-28 17:12:22 +00:00
Eike Rathke
fe46041a6b do not force the Paste command to enabled for Calc, tdf#60021 related
... so it actually gets disabled in menu or removed from context menu if we say
so. Used with disallowing Paste for Ctrl+A selection or protected cells.

Change-Id: I7d5f8bdc7b7adee65d08b93ddee015aef953d95d
2016-07-28 19:04:08 +02:00
Eike Rathke
984b0d1599 Resolves: tdf#60021 disallow Paste when entire sheet is selected
... which exhausts memory unless you have 100GB or more of free RAM.

Change-Id: Ie6f02c48457f80acad33d2286194765f8343f2fb
2016-07-28 19:04:08 +02:00
Caolán McNamara
4e85daeb78 add another uui dependency
Change-Id: Ib24b00d501b9c56d83a8cbd8bca4351109e07f54
2016-07-28 16:46:01 +01:00
Caolán McNamara
53423cb1f1 Resolves: tdf#98793 create a MailMergeConfigItem if toolbar is active...
and one hasn't been set yet via the mail merge wizard. This
should have the same effect as launching mail merge and cancelling
it, which is given as the workaround

Change-Id: I9deb8173d2e18ccde705a923a74ef8a1175e9393
2016-07-28 16:23:56 +01:00
Caolán McNamara
e3b8a1bb66 add another uui dependency
Change-Id: I4e9298fced82c6ef21611873a756f509b049c662
2016-07-28 16:00:38 +01:00
Caolán McNamara
e7da3b943c add some uui component dependencies
Change-Id: Iba980a6016ae7c604964ce1f12707818609fabdb
2016-07-28 15:12:33 +01:00
Caolán McNamara
7e3925057a add some uui component dependencies
Change-Id: Ie191d66d3902281ccf7962d025ecc60e48e20cba
2016-07-28 15:05:56 +01:00
Caolán McNamara
0c11de439c add some uui component dependencies
Change-Id: I4ea78c729bec2e8879426dae6116d747083c72b3
2016-07-28 14:42:05 +01:00
Caolán McNamara
2710211eb2 fftester: throw on empty stack access
rather than spend the rest of my life protecting each one

Change-Id: I181df33b052a0303f072ce0252d98562231569e2
2016-07-28 14:40:29 +01:00
Caolán McNamara
7a887df4db Related: tdf#75757 remove inheritance from std::deque
Change-Id: Ia50ea146052c2014ea16474186e2d15ce93581c1
2016-07-28 14:40:29 +01:00
Tomaž Vajngerl
262e1aca81 opengl: improve logging when no context is available
Change-Id: Ie747db5f46b0a83bda44d211b0ac69bc19092fbc
Reviewed-on: https://gerrit.libreoffice.org/27615
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-07-28 13:08:23 +00:00
Tomaž Vajngerl
39b50f0cad opengl: don't initialize MSAA when we create VCL context
Change-Id: Ic8060ebdabb86d8b724ee419fdfcc1f58e8a0316
Reviewed-on: https://gerrit.libreoffice.org/27614
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-07-28 13:07:21 +00:00
Tomaž Vajngerl
7480838db5 opengl: improve context creation, temp window creation on windows
If anything fails at context creation then don't forget to
deallocate resources.

Temp window creation is written C like, as it was copy/pasted from
an C example.

Change-Id: Ia9d704e42206b1d4c37db2954bba4f165e3c8389
Reviewed-on: https://gerrit.libreoffice.org/27613
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-07-28 13:06:30 +00:00