summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-05-15LOK: invalidate annotation window upon showingAshod Nakashian1-0/+6
Change-Id: Ib2624c55759c8ac81986bf3b516fd17cbde19ec9 Reviewed-on: https://gerrit.libreoffice.org/25014 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-15LOK: improved event handling and fixesAshod Nakashian1-11/+28
During painting, when notifications are disabled, we could still receive notifications that are imporatant and cannot be suppressed. So certain events are let through during painting. A comment describes this better in the code. Some widgets (notably postit/comment control) emits events in relative (local) coordinates instead of absolute. This is patched in many cases but some cases still exist that are rather hard to patch due to the complex interaction with other parts of the code. These supurious local coordinate updates (notably cursor invalidation) are supressed to avoid the bad side-effects they cause in LOOL. Change-Id: Ie22a316d54ea163c6976ed04314d6ced8247824c Reviewed-on: https://gerrit.libreoffice.org/25013 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-15Revert "LOK: simplify notification compression to minimize error"Ashod Nakashian2-23/+30
Restoring back Some of the notification compression. This reverts commit 4bdff9b94b545aa966c44b54c21c23dd724382c0. Change-Id: I229911c63386b3668e8bd9541b48c80479cc2771 Reviewed-on: https://gerrit.libreoffice.org/25012 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-13framework: register DispatchDisabler serviceMiklos Vajna1-0/+3
Change-Id: I72d9f8b00ba8b2e4e5dc70d7fd77e13ccf9d3bcc Reviewed-on: https://gerrit.libreoffice.org/24940 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 1f041bf31e071611a15ffa1559d2f5df05a685f0)
2016-05-13framework: initial implementation of a dispatch disabler.Michael Meeks6-3/+295
This should allow remote, eg. URE dispatchers to trivially disable lots of the UI without requiring a large volume of round-trip IPC. Reviewed-on: https://gerrit.libreoffice.org/24938 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 02833c03ee856a62d7185829b7c47bc088e086cc) Conflicts: framework/inc/services.h Change-Id: Ibd0681ac993196f826b4ed411da5ffedb7f85786
2016-05-12sc lok: Invalidate the new extended areacp-5.0-35Pranav Kant1-1/+27
Change-Id: I1fa58ca935860ed3c5983f4e6b15c9f7c8feda9b Reviewed-on: https://gerrit.libreoffice.org/24930 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2016-05-11sc: Add new param, DontTerminateEdit, to .uno:SavePranav Kant3-3/+11
... which determines if current editing mode before save should be terminated with save or not. Change-Id: I49318013f1244eb8681a19ed3da50fbecd336a3d (cherry picked from commit a5a71cea62ac3041006c5e9815ae2317999639ac) Reviewed-on: https://gerrit.libreoffice.org/24895 Reviewed-by: pranavk <pranavk@collabora.com> Tested-by: pranavk <pranavk@collabora.com>
2016-05-11Bump version to 5.0-35Andras Timar1-1/+1
Change-Id: I0d56da9b5c6695b79796e5e6764edbead7490d29
2016-05-10sc lok: Extend the spreadsheet area when we are "close enough" to the end.Jan Holesovsky1-5/+6
We can tweak later what the "close enough" means - for the moment it is 10 columns and 25 rows. Change-Id: I92127a71aa6683c03692e96b9e0da7827942c94b
2016-05-10sc lok: Move the handling of the area back to GetTiledRenderingArea().Jan Holesovsky5-13/+32
Change-Id: I4dbfc090ab43065c719f83b5355cd9832ee4d1e3
2016-05-10sc lok: set a limit for tiled column and rowHenry Castro9-15/+86
In the tiled rendering case, not all column and row are rendered, so it was set a limit for tiled column and row. However, when a client request to move the cursor beyond the limit, the tiled column and row is updated and they are rendered later. Change-Id: Id0de533ebf7b3c6e0343f9dc15336150729299fa
2016-05-10tdf#84323: Make osl::Condition::wait more readableStephan Bergmann1-0/+4
[Stripped down version of the commit from master.] Change-Id: Icd66ae1d390100549f903d45b2896cdcdca449be
2016-05-10LOK: fire SET_PART event when Calc page is changedAshod Nakashian1-0/+5
Change-Id: I9a2ed653bcb6afe803b781fc686c02f817d84e75 Reviewed-on: https://gerrit.libreoffice.org/24818 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-10LOK: fire SET_PART event when Impress page is changedAshod Nakashian1-0/+5
Change-Id: Iebddffbdc66397b1f2937ed7320f7800c8bab4cc Reviewed-on: https://gerrit.libreoffice.org/24817 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-10LOK: simplify notification compression to minimize errorAshod Nakashian2-31/+23
Change-Id: I4de2d652e08586b38294ebf903fedc9935711a13 Reviewed-on: https://gerrit.libreoffice.org/24816 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-08LOK: drop identical invalidation notificationsAshod Nakashian2-13/+19
And drop duplicate GRAPHIC_SELECTION notifications. Change-Id: I0c372efa9a58620e24cea219d82479cdc9dff359 Reviewed-on: https://gerrit.libreoffice.org/24771 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-08-Werror=missing-field-initializers.Tor Lillqvist1-1/+1
Add missing initializer for member ‘comphelper::PropertyInfo::mnMemberId’. Change-Id: Id8c1adb24c68432ddbf6b491c419f359d228286a
2016-05-07lok context menu: unit testPranav Kant7-20/+317
Reviewed-on: https://gerrit.libreoffice.org/23985 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.com> (cherry picked from commit d76b1b5b06c064938986c0b921b8d537fdf8bf4c) Change-Id: I244fbf4b98368c7c0d66cdd865e1243639727026 Reviewed-on: https://gerrit.libreoffice.org/24732 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-07LOK: process idle events when testing event processingAshod Nakashian1-0/+3
Change-Id: Id340f69ab6b9d539d92163acc7a1468b98e02779 Reviewed-on: https://gerrit.libreoffice.org/24731 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-07LOK: SAL_WARN for each removed event is unnecessaryAshod Nakashian1-2/+2
Change-Id: If5e4c7b8751ae4eeb278475fb00118e32c6bb565 Reviewed-on: https://gerrit.libreoffice.org/24730 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-07flushTimers() -> Scheduler::ProcessEventsToIdle()Ashod Nakashian1-15/+6
Change-Id: If8f67e61338d78852bc153805ad874095457a365 Reviewed-on: https://gerrit.libreoffice.org/24729 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-07CppunitTest_desktop_lib: avoid #include "../..." style includeMiklos Vajna2-1/+6
Change-Id: Ib5ce0dee00c9306f89ad4b43af4b34e604147a1c (cherry picked from commit 04216006ee038232067bcf74d67b14e8918063f2) Reviewed-on: https://gerrit.libreoffice.org/24728 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-07sw: add AnchorType parameter to .uno:PasteMiklos Vajna8-21/+41
Which allows not hardcoding as-char for LOK. (cherry picked from commit 552361aaad740e55fcfa7993b4111aba354f863f) Change-Id: I3b2987abbaf1f259c614b7b2a8709f15048d362d Reviewed-on: https://gerrit.libreoffice.org/24727 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-07lok: Extend the StatusModified unit test with Save As.Jan Holesovsky1-3/+38
(cherry picked from commit cfa9404319ac5310dc772b3b4a9a3d05721e6940) (cherry picked from commit c0dfafab6459ef06ada37ea7ed5c7ebd59388057) Change-Id: Ie9bbce6892fe1dcf55e23028e68037f996d7c71f ad6bb5ba62d114ca760c4215aa8eec872c5d181b Reviewed-on: https://gerrit.libreoffice.org/24726 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-07CppunitTest_desktop_lib: add ModifiedStatus callback testcaseMiklos Vajna2-4/+46
(cherry picked from commit cdf08b3aa74bb32ea18b583a9c0c41b91d7819ac) Change-Id: Ieb7e808ebc7619c3a4a013cad776eeefd6163e22 Reviewed-on: https://gerrit.libreoffice.org/24725 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-07sc lok: Add initial test for .uno:CellCursorAndrzej Hunt2-5/+22
This should be extended with checking that we receive "EMPTY" when there is no cursor shown - that would require e.g. simulating keyboard input to hide the cell cursor. Reviewed-on: https://gerrit.libreoffice.org/19828 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andrzej Hunt <andrzej@ahunt.org> Tested-by: Andrzej Hunt <andrzej@ahunt.org> (cherry picked from commit 2f13f051c3c39f77d5f65ff0e3f4a476ccb95f1a) Change-Id: Ia7be5ec3e158f21967b4c307ac10abb2b5e2a56a Reviewed-on: https://gerrit.libreoffice.org/24724 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-07vcl: fix event processing to idle - for JUnit tests.Michael Meeks3-5/+24
Reviewed-on: https://gerrit.libreoffice.org/20197 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit fbdeef6b7f74a3602792d178b1e750020b2cac89) Change-Id: Ibeb1f6627815fc34c6e166357c88e076b75f6abb Reviewed-on: https://gerrit.libreoffice.org/24723 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-07Let LIBO_INTERNAL_ONLY imply LOK_USE_UNSTABLE_APIMiklos Vajna29-40/+13
(cherry picked from commit 958b9a7fbdd58fdce762021917155c58fbb90d18) Change-Id: Ifbed5e534ba79d32b7188bb7fb7108338b6e124d Reviewed-on: https://gerrit.libreoffice.org/24722 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-06Don't change part on text documents to paint tilesAshod Nakashian1-4/+10
Change-Id: Icb5fb46cbc9d2f72c814cf9f1f166382493d403f Reviewed-on: https://gerrit.libreoffice.org/24702 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-06Allow painting for arbitrary partAshod Nakashian4-1/+93
Painting should not cause any state changes, but to paint a tile on a different part than the current has to change the document, which sends notifications to all clients. A new API, paintPartTile, allows for painting tiles on any part without sending change of part notifications. Furthermore, because we block notifications during this operation, no tile invalidation is issued due to changing of the part. One issue remains in the cases when the LO Core resets the cursor position internally and we resume editing after painting, the cursor might be at the top of the page. This needs fixing separately. Change-Id: If19bd1c90ecad4d5ed5e8d09513741b7994fa6e5 Reviewed-on: https://gerrit.libreoffice.org/24698 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-04filter: svg: avoid undefined variablesHenry Castro1-3/+5
Change-Id: Ibc3b678decfb36f5ac5779edb43aef1657507df2 Reviewed-on: https://gerrit.libreoffice.org/24627 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit c950792fd97894ae08304a7ded83b3d405f9a7d0)
2016-05-04update creditscp-5.0-34Christian Lohmaier1-1263/+1316
Change-Id: Icb4a443dba8eb22e49fe622ed5ef7c84fabc901b (cherry picked from commit fe81d707b5b4e832b249ae879a75f336cd06a81f)
2016-05-04Bump version to 5.0-34Andras Timar1-1/+1
Change-Id: I3cb58f7bae793dbd30700a31889919695290f3cd
2016-05-04bump openssl to 1.0.2hChristian Lohmaier1-2/+2
Reviewed-on: https://gerrit.libreoffice.org/24617 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> (cherry picked from commit 7ecaf61287606001eac9b3d76df95a0a900e11c0) Change-Id: I1e7c090ff58dc296641a1ce00a2ca4189e9e4156
2016-05-04this unit test fails on MACOSX, reason unknown, disableAndras Timar1-1/+1
Change-Id: I938c71f1cbbb4d062be8ed423c3386e65d75e7e6
2016-05-03Bump version to 5.0-33cp-5.0-33Andras Timar1-1/+1
Change-Id: Ibe8b84379f048548def6a700aebd686b8f936bce
2016-05-02tdf#93868: PPTX import: Incorrect inheritance of shape fill propertiesMatus Uzak6-12/+22
DrawingML: The useBgFill attribute specifies that the shape fill should be set to that of the slide background. Reviewed-on: https://gerrit.libreoffice.org/23039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> (cherry picked from commit f3d1ac75c4b7fa63022e54a9cbff46ba99535076) Change-Id: I8b568e730f00326d51e7b604579f4ff990b26f8a
2016-05-02tdf#94760 Better default values for graphics cacheAkshay Deep1-2/+2
Changed Total Graphic Cache Size to 64 Mb. Changed Object Cache Size to 12 Mb. Change-Id: I772b92f9412ccbf40c1df4e4182dcff6d634b7de Reviewed-on: https://gerrit.libreoffice.org/22967 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit 75c272c146045235783e1dfe26a162a8f4dee493)
2016-05-02don't allocate and destroy a LocaleDataItem for each cell, tdf#97989Markus Mohrhard3-3/+39
Reviewed-on: https://gerrit.libreoffice.org/23480 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit 7da3a53958695bfb1405fa513f71beddc6c0ecb7) Change-Id: I8bcdc7a42c87d17fde1dc9c79bc361bb625f992b
2016-05-02don't sanitize value to an insane value, tdf#97863Markus Mohrhard1-1/+4
Change-Id: I0e4de6b676fb61536dadefc96a719cf50be128ed (cherry picked from commit 6aa836329d17bf0aca4aead6bb9c35a6783ec215)
2016-05-02tdf#99074 DOCX import: handle <w:view w:val="web"/>Miklos Vajna4-0/+28
Instead of always using the Normal view, use the Web view when the DOCX file contains Web Layout. For this to work, expose sw's DocumentSettingId::BROWSE_MODE via css.document.Settings. Reviewed-on: https://gerrit.libreoffice.org/23806 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit e0f9bb795251d950b5dd960fcd030170c8eb67aa) Change-Id: I7787ca058d8cb8a346b2001a2bd70c3df86d8673
2016-05-02we need the position in the formula converter, tdf#99093Markus Mohrhard1-23/+37
Reviewed-on: https://gerrit.libreoffice.org/23884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit e214df32fb3637bd7810a299fb8b38810b1a3874) Change-Id: Ic3dd13aa4d4b8190b78f3e6f1cdda844e39cc719
2016-05-02import all formatting properties for column style, tdf#96549Markus Mohrhard2-17/+4
Reviewed-on: https://gerrit.libreoffice.org/23932 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit e8322dffb4dfc7015ee0842f133b79080eb2b0d8) Change-Id: I782f3ea7cfa9af335bd117b9f4ad6ac9c719115b
2016-05-02tdf#99135 VML import: handle image cropMiklos Vajna5-0/+49
The spec says in theory a % suffix could be also supported, but let's wait till that is seen in a real-world document. Change-Id: Ie026915e38dcb03c99085a1740075364b00e1c8d (cherry picked from commit bb646c1472d3b77066b01128baf1c9cafdb40233)
2016-05-02use the ScRefCellValue already available, tdf#97989Markus Mohrhard1-4/+4
Change-Id: Iccfff23f72d33ee012f91a230f2598b8fe3131cf Reviewed-on: https://gerrit.libreoffice.org/23514 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit 007b317fef91aa809deff8380a9e62c350eaf511)
2016-05-02Related: tdf#65642 RTF filter: import \pgnucrmMiklos Vajna4-1/+39
This as a side effect also implements support for DOCX <w:pgNumType w:fmt="upperRoman" .../>. Reviewed-on: https://gerrit.libreoffice.org/24073 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 235dcc11e7e5291188e134f37a03849d741c4f6e) Change-Id: Ibf3bedca03c6c2a2b96eecb36ff6c4cf6e2281b4
2016-05-02Related: tdf#65642 RTF filter: import \pgnlcrmMiklos Vajna4-1/+39
This as a side effect also implements support for DOCX <w:pgNumType w:fmt="lowerRoman" .../>. Reviewed-on: https://gerrit.libreoffice.org/24273 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 91b18cee97b110fe60391faa945a6fd166f1d8aa) Change-Id: Ifb524b25236a8bc774690266a4fa205154204109
2016-05-02tdf#90097 RTF import: handle fRelFlipV property for line shapesMiklos Vajna4-0/+213
Can be extended later in every direction: fFlipV, fRelFlipH, non-line shapes. See oox::drawingml::Shape::createAndInsert() on why the convertMm100ToTwip() conversion is necessary. Change-Id: Ifee401dd8dd392c2c9ff85cc871ca0169fcf930b Reviewed-on: https://gerrit.libreoffice.org/24385 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 6046062719f30849cd97161c6a89d27a0b0d2a20)
2016-05-02Related: tdf#65642 RTF filter: import \pgndecMiklos Vajna4-1/+39
This as a side effect also implements support for DOCX <w:pgNumType w:fmt="decimal" .../>. Reviewed-on: https://gerrit.libreoffice.org/24457 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit b94d753ac9e3894da055d31bbb7bb20e11b97b5a) Change-Id: I747c3f610dc13f614b6f962c2a498c987765ebb6
2016-05-02Updated coreChristian Lohmaier1-0/+0
Project: translations c954c6b1bb84863119addd93e31780bfb9fbc8c0 update translations for 5.0.6 rc2 and force-fix errors using pocheck Change-Id: I02d4482ea918a8986b6e04983a7c7e629145d791