summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-14sw lok comments: implement mouse move and mouse upMiklos Vajna5-3/+54
As long as we don't tweak the map mode of the comment widgets permanently we also have to disable the selection engine's timer, as that would emit events without the correct map mode: so disable that for the LOK case for now. Change-Id: If377ff2f064c30feb473f153f9d5b29b8ace7113
2015-11-14undo cairo use in svp for nowCaolán McNamara7-24/+37
seeing as its unavailable for android at the moment Change-Id: Idc4dfd01224a2b90eacce0efd2d1b8a75001d085
2015-11-14presumably I need to put cairo external hereCaolán McNamara1-0/+2
Change-Id: Ic2cc5aa50be39c1337c9831303ae2e5238573ddc
2015-11-14coverity#1339306 Using invalid iteratorCaolán McNamara1-0/+3
Change-Id: I72d9b1a2729d455431583177208597c554945629
2015-11-14coverity#1339308 Uncaught exceptionCaolán McNamara3-10/+7
Change-Id: Id63bbdd11af66de6be8a3e9dfca1c7efbe74b08a
2015-11-14coverity#1339307 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I1d8b40843de8d9bb9e4113442bc083c21a7b278d
2015-11-14sw lok comments: fix cursor position of a newly created sidebar windowMiklos Vajna1-0/+17
With this, pressing ctrl-alt-c to create a new comment has the correct cursor position. Change-Id: Icb8d708dab015d8ffa9bcfe28de66238a75b50bc
2015-11-14sw lok comments: fix callback of newly created outliner viewsMiklos Vajna3-0/+21
SwPostItMgr::registerLibreOfficeKitCallback() already took care of informing existing outliners, this commit gives a callback to newly registered ones as well. Change-Id: I660dcb54231a9d404bf80b4284003d119dae6a5c
2015-11-14sw lok comments: implement setTextSelection() APIMiklos Vajna3-21/+51
So that it's possible to drag the text selection start/end handles in comment text when there is an existing selection. Change-Id: I3acc4770928d4f385f0ca09a2484a9e112409907
2015-11-14sw lok comments: emit invalidation events in SidebarTextControlMiklos Vajna2-0/+28
With this, newly typed characters show up instantly in comments, not only after changing the zoom level. Change-Id: I1470db1ec03cc415917375f1f95434cf0944e559
2015-11-14tdf#95775: Allow zero shape width/height; fix setting width/height relationMike Kaganski4-1/+12
Conflicts: sw/qa/extras/ooxmlimport/ooxmlimport.cxx Reviewed on: https://gerrit.libreoffice.org/19962 Change-Id: Ic91ebf4a18a77704dc1ccd1e1180b42d0bc84c74
2015-11-14sw: prefix members of SwLineLayoutMiklos Vajna2-71/+71
Change-Id: If6ced6d33dbb9c82c75aa05a9f7b018926c0ffb0
2015-11-14sw: prefix members of SwPrintDataMiklos Vajna8-212/+212
Change-Id: I3e6e18a0bc224ba6d201b476d77e82571ef2ee69
2015-11-14sw: prefix members of SwSectionFootnoteEndTabPageMiklos Vajna2-127/+127
Change-Id: I785b50d6f09db79d3184a19c01e71ef26c11b1d1
2015-11-14sw: prefix members of SwUndoDeleteMiklos Vajna2-163/+163
Change-Id: I9a31850ac3524b8f2fae6513f4d378f8616eb30d
2015-11-14Slideshow update loop; set scheduler priority to REPAINT.Michael Meeks1-0/+2
Change-Id: If7607c45c7645a6b32ea3cad0f9f7eca6635ace2
2015-11-14Fix selection of transition groups with just one variant.Michael Meeks1-17/+26
Change-Id: I3a49fd336961b860f4b19b37a8d18cef8e4a5557
2015-11-13Updated coreAndras Timar1-0/+0
Project: help 9b62f36c82b8f7b15a8ed5ec062d73bef9a820cc remove lastedited element from dtd and wiki converter Change-Id: I4eeee9b3a00a197ec915c9996ace0249546f2319
2015-11-13disentangle ENABLE_CAIRO_CANVAS from other cairo usageCaolán McNamara1-13/+0
Change-Id: I135c14c90d791959f36dde5dc50687cc09f2a151
2015-11-13silence Solar-Version warningsCaolán McNamara1-5/+0
Change-Id: I32bf78bcb44465bbe4c62e7ca144e801770ec53f
2015-11-13Related: #i126649# Fix wrong at tag namesTsutomu Uchino5-9/+7
(cherry picked from commit 902cd9fe198a4e24843b0e4432cbc2dd3c587056) Change-Id: I7cac635d9e7b6eae93466ced0349edc01caab0c2
2015-11-13sc: replace that boost::ptr_vector<Reference<T>*> abominationMichael Stahl2-15/+12
This looks like dead code anyway? Evidently it didnt' compile like that. Change-Id: Id6500c18d66c6932b24c15b653d992c449e260c4
2015-11-13sc: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl7-52/+64
Change-Id: I59831588fb7bc7e907fbffb24ddfe068552b6492
2015-11-13slideshow: improve rotation timing in glitter transitionTomaž Vajngerl1-20/+26
Change-Id: I8b0475a6dcde53202a489b9d3265add9fe068cbc
2015-11-13slideshow: simplify NByMTileFlip transitionTomaž Vajngerl1-23/+15
Change-Id: I0ec07eb25d538d82d740a33f05b0a4f002adf36a
2015-11-13Added Test for checking new Writer document modified stateVarun Dhall1-0/+13
Change-Id: I2dfc80c05a982038bf374eae975fac8294bf4dc8 Reviewed-on: https://gerrit.libreoffice.org/19879 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2015-11-13underscores are reservedTomaž Vajngerl3-5/+5
Change-Id: Iee60389ccc9e348db6ed00e48e32b1e86f17b530
2015-11-13OpenGL error codes are defined in hex, so show them as suchTor Lillqvist1-4/+3
Change-Id: I1f7fd98b243c49bfd90060b297bb2391cb102bb3
2015-11-13sw: solve the CheckBookmarks fails on WNT mysteryMichael Stahl2-8/+2
After many years of careful investigation, we finally managed to solve the mystery: it turns out that Windows has different line endings than UNIX, which results in different hash values starting at m_nLinebreakHash. Change-Id: Ib5fab7cd43ad10ea9a33c29857c5b53c84e623fb
2015-11-13sw lok comments: fix position of blinking cursor after mouse clickMiklos Vajna1-6/+18
LOK always works in absolute twips (origo being the top left corner of SwEditWin), so not only the callbacks have to translate relative twips to absolute ones, but the opposite have to be done for mouse event coordinates. With this, clicking at a random position inside a comment places the blinking cursor at a reasonable position, not always at 0,0. Change-Id: Ic8d20f177acd9e1908acf17698c53a1470bd4aec
2015-11-13sw lok: disable comment menu button for nowMiklos Vajna1-0/+4
Change-Id: Ic052544b2835181652732b8de9eaf79572a9db6e
2015-11-13editeng lok: respect origin of map mode for TEXT_SELECTIONMiklos Vajna1-0/+9
With this, selections of Writer comment text show up at the correct position, not at the top left corner of the window. Change-Id: If865503d9a02a27730e382d65c42c706dd533a93
2015-11-13Updated coreChristian Lohmaier1-0/+0
Project: help 7e12b71f3d846b392053bc0461767272e73c9e69 assorted typos reported via pootle * 113,3 → 113.3 (en_US uses dot as decimal separator) * typo: equivavlent → equivalent * typo: "The the …" → "The …" * typo: "The Expert Configuration dialog let you": let → lets * typo: "one of the displayed theme" → "one of the displayed themes" * typo: Sidear → Sidebar * spurious tag "<emph>.</emph>" → "." – dot is just punctuation here Change-Id: Iad058d285f2cdca6e32bc67281d3a4e9e1c18b65
2015-11-13tdf#86886 Shortcut keys missing in undo and redo tooltipsSamuel Mehrbrodt2-4/+4
Change-Id: I8df003bdad4430a174815ce51197b997717ef379
2015-11-13improve compile time SSE2 detection, fix broken android buildTomaž Vajngerl3-3/+17
Prereq. to enable runtime SSE2 detection is that the compiler supports it in the first place. MSVS and GCC use different compiler flags for this so use __LO_SSE2_AVAILABLE__ to make this build platform independent. emmintrin.h is unavailable on ARM Android so include this and compile the SSE2 specific code only when we are sure we can build SSE2 code (__LO_SSE2_AVAILABLE__ is defined). Change-Id: I212c4e0b99a314d087b9def822a81325b25f3469
2015-11-13do all the headless using platforms have cairo ?Caolán McNamara6-24/+22
Change-Id: I4c0250254480790f49ad45f3d42151aee4a441e8 Reviewed-on: https://gerrit.libreoffice.org/19953 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-13Bogus assertStephan Bergmann1-10/+12
implementation can indeed be empty when cppu::writeSharedLibComponentInfo calls getEnvironmentFromModule(mod, curEnv, "", ""), which in the final if-branch calls getEnvironment with implementation = "". Happens when adding desktop/qa's test-active.oxt. Regression introduced with ae3a0c8da50b36db395984637f5ad74d3b4887bc "Add .component <implementation constructor='...' feature." Change-Id: Ia70958e4aa18d378ff35063bdf6187f6e073b765
2015-11-13loplugin:nullptrStephan Bergmann1-1/+1
Change-Id: I22f1205396c502b6d3e937343e2ea9698b756f77
2015-11-13loplugin:nullptrStephan Bergmann2-6/+6
Change-Id: I001d3cefea8083e0f0d1a965b26ce867f384aea0
2015-11-13sw: prefix members of SwTextIterMiklos Vajna13-580/+580
Kendy says this helps his latest changes to the bin/rename-sw-abbreviations.sh script. Change-Id: I95d82c5e8d69360e82154fa0390a6b2d1b9bf5d4
2015-11-13slideshow: cleanup main-loop usage, post-yield listeners, etc.Michael Meeks7-181/+8
This removes several attempts at reducing jitter in slideshow animations. Now we have high-resolution (ie. not clamped to 10ms) timers on Windows and a cleaner and simpler main-loop, we should be able to use generic timer code-paths for all of this. This also allows us to further cleanup and simplify the main-loop removing the now redundent post-yield handler concept. If there is a short enough timeout, we will take just 1ms of delay before executing a short timer anyway. Also removed some lingering comments from an old attempt to boost priorities which broken audio playback. Tested: tdf#32861 - still works, audio still plays, no new jitter in animations that I tested. Change-Id: Iadc5e2a48828a18a599a86a8df14cb2b75dd425e Reviewed-on: https://gerrit.libreoffice.org/19947 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-13sc: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin2-14/+14
Change-Id: I81b3d69c0bcd7444325ed2037ac00108f9c43474
2015-11-13remove SSE detection code (but keep SSE2)Tomaž Vajngerl2-8/+0
For corner case CPUs out there that support SSE and not SSE2 it makes more sense to use the "fallback" code path instead of writing a SSE only version. For this reason detecting SSE is not relevant anymore - so removing it. Change-Id: I3f1425af2cb5cdf9fba699e2996014598a15b5c1
2015-11-13sc: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin1-16/+13
Change-Id: I9bcb6a55b568548e969e5528e5ce1399829e1222
2015-11-13sc: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin1-4/+6
Change-Id: I4360e3238407d9cc7d664c543868cdb66271dbe8
2015-11-13tdf#95795 vcl: fix KDE5 desktop detectionMiklos Vajna1-1/+1
Regression from commit 6c80a8fe89fadf9a2c7260a09c037a09462f53d1 (new loplugin: oncevar, 2015-11-06), KDE4 was detected as KDE5. Change-Id: If4a7a074052a31c7505f53c03a36a0975d71b3a7
2015-11-13tdf#95188: enable import of shapes in footnotes in .docxOliver Specht1-0/+2
substreams require a Model and a DrawPage Change-Id: I701cf6e2283f84f18b9a0c06a4ce0aa8be934bf3 Reviewed-on: https://gerrit.libreoffice.org/19951 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-11-13new loplugin ptrvector - find bad comparison of container<unique_ptr>Noel Grandin2-1/+83
Change-Id: Idb18ae1ca2f7c644680703dc3b7dd3cd6000e040
2015-11-13arraysumfunctor: fast sum a double array, use for SUM() in CalcTomaž Vajngerl2-11/+145
This adds an array sum functor which sums a double array in a as fast as possible way. There are 2 implementations: SSE2 and a simple unrolled implementation. SSE2 implementation is used if SSE2 is detected at runtime. Additional info: SSE implementation at first processes the array until the array is aligned by 16-bit boundary (should only process 1 element). Then the array is processed by summing 8 values in one pass (using 4 variables that are 128-bit wide) where SSE operation can process 2 double values in one call. Change-Id: I24494b08cae049aa3eabcb086867f1bdd4128374
2015-11-13tools: runtime SSE/SSE2 detectionTomaž Vajngerl3-0/+92
Change-Id: I29330061e2986ec2ae899c2f3a63d0eadd9cc194