summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)AuthorFilesLines
2016-07-18lok: Skip saving unmodified doc if DontSaveIfUnmodified=truePranav Kant1-2/+48
Reviewed-on: https://gerrit.libreoffice.org/27212 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk> (cherry picked from commit b91bb2f2702a82255969ae1da298159ee109d14a) Change-Id: Ia2687bd4bef61df1ff101cab2a19394859b7df58
2016-07-14sc lok: add more toolbar itemsHenry Castro1-1/+3
.uno:SortAscending .uno:SortDescending Change-Id: I3d307b43fb18ffce75b00a0b919b63320bf6db05 Reviewed-on: https://gerrit.libreoffice.org/27223 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-13include/jvmfwk/*.h -> .hxx (only ever included from C++ code)Stephan Bergmann1-1/+1
Change-Id: Ia912e937d5a48afb6f8f5345b20bb7bd517fc4f1 (cherry picked from commit 220d9c24d0e81668862010ed3e68e4f46fe9924b)
2016-07-13tdf#100883 - opencl impls. that use SEH are still bad.Michael Meeks1-0/+12
Amazingly we fell-back to the old calculation path for crashes in older LibreOffices. Change-Id: Ia182f7a25c5560b68494d5cdd68e02925bfd5845 Reviewed-on: https://gerrit.libreoffice.org/27164 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit 2b1f1030bf642d1b9c8af91aa78683a9fb95e6f4)
2016-07-13desktop: validate OpenCL drivers before use.Michael Meeks4-0/+182
OpenCL validation needs to happen before drivers are used in anger. This should isolate any crashes, and/or mis-behavior to We use app version, CL driver version and file time-stamp to trigger re-testing the device. If anything fails: hard disable OpenCL. We use an opencl validation sheet (cl-test.ods) and install it. It is a minimal CL set - it requires a very short formula group length, and combines several CL functions into few formulae to test more. The sheet structure, in particular the manual squaring / SQRT is necessary to stick within the default CL subset, and ensure that formulae are CL enabled from the root of the dependency tree up. Reviewed-on: https://gerrit.libreoffice.org/27131 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit c44726c48228d9c6a5960e302b1c0bd16b0099c4) + opencl: bail out early in missing OpenCL case. (cherry picked from commit 605a5dc088385ad21c33028d8107125c0316ddb1) + Remove bogus dependency from opencl to configmgr Since f41eb66302208f384a475fb20c98b6d1b0676cb6 "opencl: OpenCLZone, detect CL device change and disable CL on crash" vcl links against opencl (so indirectly linked against configmgr), which caused CppunitTest_configmgr_unit to include the configmgr object files both statically (through gb_CppunitTest_use_library_objects) and through the linked-in configmgr dynamic library, which in turn caused ASan builds to report an ODR violation for a doubly defined 'typeinfo name for configmgr::Access'. (cherry picked from commit 9c711f05fa10dc70e4257a1f48d43f539353541a) Reviewed-on: https://gerrit.libreoffice.org/27146 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 9befbe1f81a7930e167e0a711666b0779898c12e) Change-Id: I18682dbdf9a8ba9c16d52bad4447e9acce97f0a3
2016-07-13Resolves: tdf#100713 on cancel curData points to deleted parents vector entryCaolán McNamara1-6/+8
Change-Id: Ic2f313c357ce9526eb045791e2d27451e52a7572 (cherry picked from commit 17cb84338d6921d012af1e1245f434f90bc25142) Reviewed-on: https://gerrit.libreoffice.org/27041 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> (cherry picked from commit bfbb5906bf85f7e4134d19fbe80216c549185e69)
2016-07-12sw lok: move filtering of callbacks during paint to desktopMiklos Vajna3-89/+96
This will be important when in the per-view case SwViewShell::libreOfficeKitCallback() won't be called anymore; as pointed out by online.git's TileCacheTests::testSimpleCombine() test. Reviewed-on: https://gerrit.libreoffice.org/26372 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit a93217908d12ab9e34052a52dfd59d87fca75e52) Change-Id: Ie68f8c51facdba127763df660e9220f820805ecc
2016-07-12In lok_init_2, allow vnd.sun.star.pathname user_profile_urlStephan Bergmann1-3/+18
...which takes a raw filesystem pathname that is internally converted to a file URL (similarly to what is supported for the INIFILENAME and URE_BOOTSTRAP bootstrap variables in rtl::Bootstrap). That way, the gtktiledviewer executable doesn't need to try convert a pathname into a URL. Also adapted various parameter names to make it obvious that URLs get passed, not pathnames. Reviewed-on: https://gerrit.libreoffice.org/24241 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 024d2fde2aae13b07cf5c7b4d85fc3c6abce6913) Change-Id: I33ab31fe142d94ee47885033ef48278ef5ff55a2
2016-07-12lok: Add a new sheet selection testPranav Kant2-1/+113
This is a test for commit ab199e4748b45384602479c735dbac538e714d34. (cherry picked from commit f6c96946911db267bc79b4bdb4ced7d7414d3cac) Change-Id: I38905cfab8fe1c5721e5fa628ea564f08e0c2ad3
2016-07-12loplugin:unusedfieldsNoel Grandin2-3/+0
Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864 (cherry picked from commit ec3f72415850bd865eb030cf2b7edb55b99d4756)
2016-07-12Remove excess newlinesChris Sherlock42-116/+0
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> (cherry picked from commit a238b1f8d304bf1e2ffb357937f3ec888ee8ac89) Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
2016-07-12lok: Subcribe to more uno commands for state changePranav Kant1-6/+6
(cherry picked from commit 5c7ab8259c7016441df45e04fd3be242e6205c1d) Change-Id: Id2870b176de4163fbe01e4ac380b4981d3187d90
2016-07-12update unusedmethods plugin to deal with constructorsNoel Grandin1-2/+0
and fix the operator< implementations in some of the other plugins too. Reviewed-on: https://gerrit.libreoffice.org/25057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> (cherry picked from commit 2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae) Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035
2016-07-12desktop lok: implement per-view CallbackFlushHandlerMiklos Vajna3-12/+20
With this, per-view cursor callbacks work again, as they did after commit 32f419fee5f9df4facb7a9b3ec910471d2a20247 (sw: implement per-view LOK_CALLBACK_CURSOR_VISIBLE, 2015-09-18). Change-Id: Ic589276f99164a1a8d46f7a029d1a59ab6e971f3 Reviewed-on: https://gerrit.libreoffice.org/26102 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit d368560882e8a4567f3328ce877b6e5242d18620)
2016-07-12desktop lok: move CallbackFlushHandler impl details out of headerMiklos Vajna2-194/+209
To reduce the amount of rebuilt code when changing something there. Reviewed-on: https://gerrit.libreoffice.org/26088 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit de455afe5151d6e0bf89f3e4349f18cb42e752cf) Change-Id: I8f3c18c29d5c08d70910ee2b204cafb99d6b4011
2016-07-12add way to add additional information to the crash reportMarkus Mohrhard8-29/+41
We can add several additional key value pairs during the execution of the program that will be used on the server to show more information. Reviewed-on: https://gerrit.libreoffice.org/22553 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit 98a8eafa915b8d57b8bdccab9981e537d77f6f4a) Change-Id: I4102adc15fc821415fa0b997ca7fe0dc4f7abcec
2016-07-10lok: disable unused UNO commandsHenry Castro1-4/+0
Change-Id: I9804c1c8528747e719971f51b59d0a01a9fba878 Reviewed-on: https://gerrit.libreoffice.org/27091 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-07sc lok: add number format toolbar itemsHenry Castro1-1/+4
Change-Id: I420750d99d5998cb589d0d6ec0fb6555c41a85cf Reviewed-on: https://gerrit.libreoffice.org/27015 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-06sc lok: add toolbar item wrap text and merge cellsHenry Castro1-1/+3
Change-Id: I266b7171ee0a8a324ee8f71680f76c132b5c5fbd Reviewed-on: https://gerrit.libreoffice.org/26985 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-03sd: add status bar UNO commandsHenry Castro1-1/+4
Change-Id: I7da065edf76ccdbf9e410756c4d1fe81462975ed Reviewed-on: https://gerrit.libreoffice.org/26881 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-03sw lok: add status bar UNO commandsHenry Castro1-1/+5
Change-Id: I4ffa3a3e07d00cfac48e67a0c32e85de0eda803d Reviewed-on: https://gerrit.libreoffice.org/26876 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-02sc lok: add status bar UNO commandsHenry Castro1-1/+11
Change-Id: I2dbed808a23609773baf9154820a7121c7919c70 Reviewed-on: https://gerrit.libreoffice.org/26809 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-01LOK: fix desktop unittestsAshod Nakashian1-1/+4
Change-Id: Ief62f2fa68173102cd517930d8ed020446197884
2016-06-22lok: Change version string to JSON formatPranav Kant1-1/+9
(cherry-picked from d7b45c97b30f109aff0be6602a8fc8103af71e7f) Change-Id: Ie1264fed9964b09006980df2e151e170b48b4082
2016-06-22lok: Expose LO version informationPranav Kant1-0/+12
(cherry-picked from 90c75f775b6d1ca68389782a3768ee554b528e5d) Change-Id: Ided924e928c04385457c7a2e231fdf57e7e38970
2016-06-20bccu#1781: Impress/Comments - selection not updated on deleteAshod Nakashian1-1/+3
Change-Id: I694d76785fcf6ec9c158c34cbe07f4d1f2c7a41d Reviewed-on: https://gerrit.libreoffice.org/25219 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit b95e4e8681c9cefb4e1d4177192164e041baf9d9)
2016-06-20LOK: don't filter cursor visibility during paintingAshod Nakashian1-1/+2
Change-Id: Ia44ffe08dc8f46e0d10a73db374a283eb032f771 Reviewed-on: https://gerrit.libreoffice.org/25120 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit f805637353e4463d5b64f1b010bb580e191bd3aa)
2016-06-20LOK: 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> (cherry picked from commit b5c2a3fdbbf4161b0699ba515f63f98d7607ddf2)
2016-06-20Revert "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> (cherry picked from commit a67deda358bc760504e66b3375cd5982b9f4fa27)
2016-06-20LOK: 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> (cherry picked from commit cd4fd1b556da7b76928ff0577220333941fda25d)
2016-06-19lok: add uno command AssignLayoutHenry Castro1-1/+2
Change-Id: I959d1a57945a3b5aa3f2c273c4b885ed5f628f6e (cherry picked from commit b0c0d4eff911a1d2619c0cac5a0e86220d9747ab)
2016-06-19lok: Subcribe to more uno commands for state changePranav Kant1-1/+18
Change-Id: Id2870b176de4163fbe01e4ac380b4981d3187d90 (cherry picked from commit ddcbda3c48acab14928b91756836ca44543720c3)
2016-06-19LOK: drop identical invalidation notificationsAshod Nakashian1-8/+17
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> (cherry picked from commit 7cdfe080432f69c2247cc7ff28316b653bd654ff)
2016-06-19fix/merge desktop unit testsAndras Timar1-32/+216
Change-Id: Ic46b8fb79cd66e2f004fe826cbc036db37e48bbd
2016-06-19LOK: 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> (cherry picked from commit a6dfeca2bcfae4e935009699678f956132a9bd4f)
2016-06-19sw: add AnchorType parameter to .uno:PasteMiklos Vajna2-1/+17
Which allows not hardcoding as-char for LOK. (cherry picked from commit 552361aaad740e55fcfa7993b4111aba354f863f) Change-Id: I3b2987abbaf1f259c614b7b2a8709f15048d362d
2016-06-19CppunitTest_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> (cherry picked from commit 2c0e7371e5c353d803d87b96328ea92f2c6a3216)
2016-06-19Test desktop notification compressionAshod Nakashian1-0/+54
Reviewed-on: https://gerrit.libreoffice.org/24314 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit bb52a54aa49cbb75820f8ddbfc8e9e94b63281cd) Change-Id: Ibb9a62bb5e1500a068c24346d6d433012a1bc7dd
2016-06-19lok: 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> (cherry picked from commit 6afeaee7055bdadf22e2935203cfc99b63172215)
2016-06-19CppunitTest_desktop_lib: add ModifiedStatus callback testcaseMiklos Vajna1-2/+42
(cherry picked from commit cdf08b3aa74bb32ea18b583a9c0c41b91d7819ac) Reviewed-on: https://gerrit.libreoffice.org/24725 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit e32607559b48523215a8524504fc6faa893c342a) Change-Id: Ieb7e808ebc7619c3a4a013cad776eeefd6163e22
2016-06-19Let LIBO_INTERNAL_ONLY imply LOK_USE_UNSTABLE_APIMiklos Vajna2-3/+0
(cherry picked from commit 958b9a7fbdd58fdce762021917155c58fbb90d18) Reviewed-on: https://gerrit.libreoffice.org/24722 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit dfc2c194cf28c364328c9fcb484d56c51dba3e76) Change-Id: Ifbed5e534ba79d32b7188bb7fb7108338b6e124d
2016-06-19Don'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> (cherry picked from commit aadab5f4a72e38ccc8bbe9b7811d2cdcaa00124c)
2016-06-19Allow painting for arbitrary partAshod Nakashian2-1/+59
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> (cherry picked from commit 7f6a0f656ddb2312c3d78091fce663a36ef6e1db)
2016-06-19Some LOK notifications are dropped if they are superseeded by later onesAshod Nakashian1-0/+51
Reviewed-on: https://gerrit.libreoffice.org/24567 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit cf98799fff7ae999bd62cec6486c986bf44000cc) Change-Id: I323e46a2a6c60b200b182b89199945f99a7f384a
2016-06-16std::tuple -> std::pairAshod Nakashian1-3/+3
Change-Id: I2f11436a5c9691c2a0aac3655bc2c543d1c3d684 Reviewed-on: https://gerrit.libreoffice.org/24566 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 8a6dab5da851f38a8ecef633e06e3cb2ac5e7849) (cherry picked from commit fda7a716a782f95f89d8b2b980e0b67058d7fec8)
2016-06-16More LOK callback notification compressionAshod Nakashian1-0/+4
SET_PART, CELL_CURSOR, CELL_FORMULA, and CURSOR_VISIBLE are now deduplicated. Reviewed-on: https://gerrit.libreoffice.org/24565 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit a9771e1f4d0d2602713983ab1f3e743784e9ae72) (cherry picked from commit 840e979757d7d9d7104f54269271c617b9b8d473) Change-Id: I4c17307c6f8b7c68bdfe55b4e90da4d34c55d085
2016-06-16Desktop compresses text selection start/end notificationsAshod Nakashian1-0/+9
Reviewed-on: https://gerrit.libreoffice.org/24320 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 45037438d84485356a5ceb820ecc3e0bae4b112e) Reviewed-on: https://gerrit.libreoffice.org/24380 Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 3d27afd26f7b85c46a7c7d08498000b9dbcea1c8) Change-Id: Ia85ded04d0eaf9d9b846fab6d86a44a758fccb69
2016-06-16Desktop compresses mouse pointer notificationsAshod Nakashian1-0/+1
Reviewed-on: https://gerrit.libreoffice.org/24319 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 7c01cf652850a8b8d3fd5ef6eb0a12ca6e725943) Reviewed-on: https://gerrit.libreoffice.org/24379 Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit dc464bdb08cf6a3a3b118245b6eecbda5e94fb42) Change-Id: Id76f4e2952c4c551b626d094c11eb3339d76e50c
2016-06-16lok: getPartHash should be at the end, it is a new API call.Jan Holesovsky1-1/+21
Also add it to the init.cxx so that it is actually used. (cherry picked from commit b74163742ff1288ad9ea1ec8e83ac08faf686893) Change-Id: I255411158d0822718116ac05aad1ee925a9a7a9a
2016-06-16New LOKDocument callback queue to flush events lazily on idleAshod Nakashian4-27/+128
Since desktop now queues up callback notifications and flushes them to the client on idle, the unit-tests must yield and process all tasks before they validate post-conditions. (cherry picked from commit e6a429770bde5da75239961ae88c06c78cfa5686) (cherry picked from commit 1f278848117080cd6e819f04ba428be52416af7c) (cherry picked from commit 6ca6f22777eb3651109cbf403577d0022a735c9b) (cherry picked from commit 548faf728cf097d93c3f6478ceea5f8747e789c6) Reviewed-on: https://gerrit.libreoffice.org/24377 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit c327bb5c88573c96f22e9a8cfc4b8a733ae6b671) Change-Id: I78307db29a9ce647ffaed3539f953227c605968e