summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-14sw lok comments: fix callback of newly created outliner viewsMiklos Vajna
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 Vajna
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 Vajna
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 Kaganski
Conflicts: sw/qa/extras/ooxmlimport/ooxmlimport.cxx Reviewed on: https://gerrit.libreoffice.org/19962 Change-Id: Ic91ebf4a18a77704dc1ccd1e1180b42d0bc84c74
2015-11-14sw: prefix members of SwLineLayoutMiklos Vajna
Change-Id: If6ced6d33dbb9c82c75aa05a9f7b018926c0ffb0
2015-11-14sw: prefix members of SwPrintDataMiklos Vajna
Change-Id: I3e6e18a0bc224ba6d201b476d77e82571ef2ee69
2015-11-14sw: prefix members of SwSectionFootnoteEndTabPageMiklos Vajna
Change-Id: I785b50d6f09db79d3184a19c01e71ef26c11b1d1
2015-11-14sw: prefix members of SwUndoDeleteMiklos Vajna
Change-Id: I9a31850ac3524b8f2fae6513f4d378f8616eb30d
2015-11-14Slideshow update loop; set scheduler priority to REPAINT.Michael Meeks
Change-Id: If7607c45c7645a6b32ea3cad0f9f7eca6635ace2
2015-11-14Fix selection of transition groups with just one variant.Michael Meeks
Change-Id: I3a49fd336961b860f4b19b37a8d18cef8e4a5557
2015-11-13Updated coreAndras Timar
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 McNamara
Change-Id: I135c14c90d791959f36dde5dc50687cc09f2a151
2015-11-13silence Solar-Version warningsCaolán McNamara
Change-Id: I32bf78bcb44465bbe4c62e7ca144e801770ec53f
2015-11-13Related: #i126649# Fix wrong at tag namesTsutomu Uchino
(cherry picked from commit 902cd9fe198a4e24843b0e4432cbc2dd3c587056) Change-Id: I7cac635d9e7b6eae93466ced0349edc01caab0c2
2015-11-13sc: replace that boost::ptr_vector<Reference<T>*> abominationMichael Stahl
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 Stahl
Change-Id: I59831588fb7bc7e907fbffb24ddfe068552b6492
2015-11-13slideshow: improve rotation timing in glitter transitionTomaž Vajngerl
Change-Id: I8b0475a6dcde53202a489b9d3265add9fe068cbc
2015-11-13slideshow: simplify NByMTileFlip transitionTomaž Vajngerl
Change-Id: I0ec07eb25d538d82d740a33f05b0a4f002adf36a
2015-11-13Added Test for checking new Writer document modified stateVarun Dhall
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ž Vajngerl
Change-Id: Iee60389ccc9e348db6ed00e48e32b1e86f17b530
2015-11-13OpenGL error codes are defined in hex, so show them as suchTor Lillqvist
Change-Id: I1f7fd98b243c49bfd90060b297bb2391cb102bb3
2015-11-13sw: solve the CheckBookmarks fails on WNT mysteryMichael Stahl
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 Vajna
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 Vajna
Change-Id: Ic052544b2835181652732b8de9eaf79572a9db6e
2015-11-13editeng lok: respect origin of map mode for TEXT_SELECTIONMiklos Vajna
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 Lohmaier
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 Mehrbrodt
Change-Id: I8df003bdad4430a174815ce51197b997717ef379
2015-11-13improve compile time SSE2 detection, fix broken android buildTomaž Vajngerl
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 McNamara
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 Bergmann
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 Bergmann
Change-Id: I22f1205396c502b6d3e937343e2ea9698b756f77
2015-11-13loplugin:nullptrStephan Bergmann
Change-Id: I001d3cefea8083e0f0d1a965b26ce867f384aea0
2015-11-13sw: prefix members of SwTextIterMiklos Vajna
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 Meeks
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 Grandin
Change-Id: I81b3d69c0bcd7444325ed2037ac00108f9c43474
2015-11-13remove SSE detection code (but keep SSE2)Tomaž Vajngerl
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 Grandin
Change-Id: I9bcb6a55b568548e969e5528e5ce1399829e1222
2015-11-13sc: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin
Change-Id: I4360e3238407d9cc7d664c543868cdb66271dbe8
2015-11-13tdf#95795 vcl: fix KDE5 desktop detectionMiklos Vajna
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 Specht
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 Grandin
Change-Id: Idb18ae1ca2f7c644680703dc3b7dd3cd6000e040
2015-11-13arraysumfunctor: fast sum a double array, use for SUM() in CalcTomaž Vajngerl
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ž Vajngerl
Change-Id: I29330061e2986ec2ae899c2f3a63d0eadd9cc194
2015-11-13cui: loplugin:overrideMichael Stahl
Change-Id: I5a14762a64e88aae67d10d0a6ef80d38bb26320a
2015-11-13sw lok: fix blinking cursor position of commentsMiklos Vajna
With this, it is possible to click inside a comment (and get a blinking cursor inside a comment), and also possible to use the arrow keys to native around and still get correct blinking cursor position. Change-Id: I29eb1e60e4e571151f0b18bec8cf765ea09af09f
2015-11-13editeng lok: respect origin of map mode for INVALIDATE_VISIBLE_CURSORMiklos Vajna
Writer comments are separate widgets, but we want to have coordinates in absolutes twips, so give Writer a chance to inform us about the delta. For now only do this in case the map unit is twips, as Impress sets the origin already. Change-Id: Idf340944165e44b0888c00965d6be7798712ff76
2015-11-13clear VclPtr warningCaolán McNamara
Change-Id: I13f08989034a656bc6f0ae6b556272802f4b8fc2
2015-11-13Related: tdf#95682 set edit to modified after insert symbol/pasteCaolán McNamara
Change-Id: If5892931649bde3d1fc00c0e5817149d0623cb1e
2015-11-13sc: loplugin:badstatics: remove pActiveEdWnd global variableMichael Stahl
Just use a Link, or rather std::function to set a member in the tab page. Unfortunately loplugin:vclwidgets complains about the new member. Change-Id: Ie2f9cb73c38292d02057d43b12694c6609fa0db8
2015-11-13android: Fixes to AndroidManifestTomaž Vajngerl
Change-Id: I661b3de74066831f22757b587e8b367913030573