summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-25Revert part of 1f86864e97bea causing Windows build trouble.Michael Meeks1-0/+1
Change-Id: I835f8e33565d20d9fe371cafeededdd32f157f98
2015-11-25sc: force vba events ordering.Michael Meeks1-0/+5
Otherwise we get workbook load events (eg.) happening at idle, which occurs at (more or less) random places as the StarBasic interpreter Yields every few instructions executed. Change-Id: I51ea57f4ad45e30e04fe84a9dc051ed1c5537536
2015-11-25vcl: move private impl. detail of Scheduler out of global header.Michael Meeks4-13/+20
Change-Id: Iee56131a15f9554c263406356456f65694515719
2015-11-25tdf#96059 Replace imageproducer with CommandInfoProviderSamuel Mehrbrodt5-8/+6
Change-Id: I9508a947e5ae6720516d9f926a59d4287cb15317 Reviewed-on: https://gerrit.libreoffice.org/20166 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-25Cleanup toolbarmanagerSamuel Mehrbrodt2-26/+10
* Remove unused fields/methods/includes * Formatting Change-Id: Ia4a2fba258ddf00e8fe507338f7f8c7388631f0b Reviewed-on: https://gerrit.libreoffice.org/20164 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-25bump product version to 5.2.0.0.alpha0+Robinson Tryon1-1/+1
Change-Id: Ibc95574848752111d36cc9b3ff13709921b67e6c
2015-11-25tdf#76825 Add padding between style render and context buttonYousuf Philips1-1/+2
Change-Id: I2d1185d433be0fbb57a59e0609ab0f505248a348 Reviewed-on: https://gerrit.libreoffice.org/19210 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-25-Werror=type-limitsNoel Grandin1-1/+3
comparison is always true due to limited range of data type Change-Id: If4bcf1f3123cbbd9261e48d2c786a610fc7c0cbc
2015-11-25loplugin:unusedfields variousNoel Grandin45-244/+66
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
2015-11-25loplugin:unusedfields in include/xmloffNoel Grandin4-21/+1
Change-Id: I979743671e9a2e868d815f917427588b7b0320ba
2015-11-25loplugin:unusedfields in include/vclNoel Grandin15-42/+9
and fixed bug in sepia filter, where it was using the wrong member of the union to get the percentage Change-Id: I56b76496a3ac711adec12dd8c08b28d69644d66f
2015-11-25tdf#95783: Don't calculate width of text with glyph fallback as way too wideTor Lillqvist1-3/+6
The old code in MultiSalLayout::GetTextBreak() only makes sense if the base level character width is zero where a fallback level has a non-zero character width, and vice versa. But this is not the case for Windows, at least not any more now when using UniscribeLayout and not SimpleWinLayout. This simple change fixes that: Only use the width from a fallback level if the width at the base level is zero. Hopefully it does not cause regressions for other documents or on other platforms. (But, I repeat, I find it hard to believe that the intent of the code could really have been to ever add two or more non-zero widths for the same character from different levels of fallback and use that.) Change-Id: Ic66c55db4b7463f9e04fcedec76f1c44f5e62e03
2015-11-25bin/rename-sw-abbreviations.shlibreoffice-5-1-branch-pointRobinson Tryon651-27946/+27946
This commit renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I77e5134f42f25e3786afa36b7a505c7e3237a9e8
2015-11-25XRegion has to match the "real" XRegion structure, even if we don't useCaolán McNamara1-0/+1
some of the fields regression from commit dd351dd728687cffe432ce0ec9367ceb80e097fb Author: Noel Grandin <noel@peralex.com> Date: Tue Nov 24 08:50:39 2015 +0200 loplugin:unusedfields in vcl/ Change-Id: If68bf1e0ce90ee3c513f5461d5acd7a32e238d7b
2015-11-25Remove code that has been commented out since 2003Tor Lillqvist1-2/+0
Change-Id: I5975af2801560c61ca72ab25f5d1222cf847c4e3
2015-11-25store custom icon set info into ODFMarkus Mohrhard3-0/+23
Change-Id: I1581b28237d2b9f9c22d3f3b0436dc281508aafa Reviewed-on: https://gerrit.libreoffice.org/20118 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-25write a log file about OpenGL driverMarkus Mohrhard1-0/+36
Change-Id: Id960540977eb7d0d5f3bdc1c5737137a0d3694b8 Reviewed-on: https://gerrit.libreoffice.org/20117 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-25update emoji autocorrect files from po-filesRobinson Tryon32-48/+206
Change-Id: I1c58da68525ccfe8726a07e40dd8c7db89616580
2015-11-25Indentation fixesMiklos Vajna2-2/+2
Change-Id: I82678b037aff5409e54bc50744b1b4b2c8d4d83b
2015-11-25Updated coreRobinson Tryon1-0/+0
Project: translations 9b7a6f9619c88ddee34c8cd1623eccdd7d4a4769 Update translations for master and force-fix errors using pocheck Change-Id: Ia185c1d9ef3b66189ec6b1ab08795fa5f4aaca49
2015-11-25loplugin:unusedfields in include/toolkit,include/toolsNoel Grandin5-33/+2
Change-Id: I22966b66b1b8e4dff2e565de456f21a668f33f28
2015-11-25loplugin:unusedfields in include/svxNoel Grandin30-108/+23
Change-Id: I946c64d103f3666e5bbff16d95a5c8e65a3750dc
2015-11-25loplugin:unusedfields in include/sot,include/svl,include/svtoolsNoel Grandin7-19/+13
Change-Id: Ia2dd13c2c48b127ab85311a668fa1f37608d360a
2015-11-25loplugin:unusedfields in include/sfx2/Noel Grandin27-146/+74
Change-Id: I3eb27ed10e82ee56b33866ac576c1b1f8c9756b9
2015-11-25loplugin:unusedfields in include/package,include/registryNoel Grandin4-99/+0
Change-Id: Iadba30885ba3bab7aaee58e298a9dc6b22c8b977
2015-11-25com::sun::star->css in xmlhelpNoel Grandin16-472/+462
Change-Id: Iaa57a071f8f0e6945d24f019cb4c06e02d066e0a Reviewed-on: https://gerrit.libreoffice.org/20147 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-25com::sun::star->css in writerperfect/Noel Grandin28-308/+308
Change-Id: I3b1f51d3a02b999476d12e680f2f76a11ac6b3b9 Reviewed-on: https://gerrit.libreoffice.org/20146 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-25tdf#61228: formatting and commentingMike Kaganski1-8/+10
Change-Id: Ic5d1090722945dce338973e9e3091546ed792057 Reviewed-on: https://gerrit.libreoffice.org/20160 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mikekaganski@hotmail.com>
2015-11-25Revert "Resolves: tdf#95629 import also 0x0D as rich EditCell, not only 0x0A"Eike Rathke1-1/+1
This reverts commit 22ebafe8897239696f46df6f093054d16285004a. It seems to break various sc.subsequentcheck targets.
2015-11-24tdf#61228: Wrong function names in Formula Writer are considered as SUMJulien Nabet1-9/+14
Unknown names make the formula fail PythonTest_sw_python, especially set_expression is ok Variables are taken into account Thanks to Mike Kaganski for his help on this patch. Change-Id: Ia6f9c54d90ce88138fd9c9df9422b34ce8223ca2 Reviewed-on: https://gerrit.libreoffice.org/20122 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mikekaganski@hotmail.com>
2015-11-24loplugin:unreffunStephan Bergmann1-23/+0
Change-Id: Ib53eb3da4810202ad60349566cdef74be89418c8
2015-11-24Resolves: tdf#95629 import also 0x0D as rich EditCell, not only 0x0AEike Rathke1-1/+1
Change-Id: I58d9d7dcbcd1e6cf5ae51532982d7d3525038984
2015-11-24vcl: re-introduce idle handling.Michael Meeks4-20/+27
The idea here is that we should process 'idle' events - like re-paint after we have processed any OS messages - such as key/mouse input, window re-size events etc. The previous approach wasn't achieving this - it was processing a single idle event each time around the main-loop iteration; urk. Lubos implemented something -like- this, the vestiges of it need cleaning up and removing in: 06d731428ef6cf93c7333e8228bfb6088853b52f but it was disabled (most likely because it broke gtk in tdf#91727, which was itself broken by using silly values for timeouts in the scheduler (now fixed)) Tested on Windows, gtk, kde4, unx-generic. Change-Id: I7756bca874779c00f72b372cacb7745d0f189f66 Reviewed-on: https://gerrit.libreoffice.org/20158 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-24Resolves: tdf#95962 incorrect scanline strideCaolán McNamara17-122/+66
we were reusing the stride of the surface we were cloning, but the new surface has a different underlying size. remove the custom stride argument and just change our stride calculation to use the same scheme that cairo and GDI uses, which remove another platform/drawing-system variable Change-Id: I257dac9757b121642e9ccfde7db0911edc9f3fb1 Reviewed-on: https://gerrit.libreoffice.org/20149 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-24never push an error instead of the ScJumpMatrixTokenEike Rathke1-1/+1
Change-Id: I52854241a9ab87153635b27cb6a66ef4269b2e76
2015-11-24nitpick, use 'b' prefixEike Rathke1-3/+3
Change-Id: I9a0d92dee7cebecfb7b204628738f716b901771a
2015-11-24nitpick, reduce to one string insertionEike Rathke1-3/+2
Change-Id: I546ae14d49bb64fb069a4a5d7dc7685e823ea3c3
2015-11-24Pad this control a bitAdolfo Jayme Barrientos1-2/+2
Change-Id: Id05a77b83783c0e12a77bd5e91e595fa0ae29629
2015-11-24sc: -Werror=unused-parameterMiklos Vajna1-60/+60
Change-Id: I1d3ad22b3dd304ff7384de1e07af88cd63bd28cd
2015-11-24vcl: reduce maximum timeout to some sensible range.Michael Meeks2-1/+6
This fixes a bug with glib, where prepare of a source with such a large (max uint64) causes precision & wrap-around problems. Add assert to avoid recurrence. Also add a helpful user-visible source name in debug mode. Change-Id: I9e1eb41af9cc49f8bff88e07f04d4bc4d1877376 Reviewed-on: https://gerrit.libreoffice.org/20152 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-24sc: Implement Software Interpreter subsetting, similarly to openCL one.Jan Holesovsky3-0/+28
And add only the minimum amount of operations we are sure about. Change-Id: I0dd35968206161e31fcd8bfd0b647329c703e0da
2015-11-24sc: Implement ScVectorRefMatrix.Jan Holesovsky4-53/+696
This is a ScMatrix implementation that operates directly on formula::DoubleVectorRefToken, saving tremendous amount of copying data back and forth. Change-Id: I027e6cb668ef40eb474773a0ce8d0eeefc1ab71c
2015-11-24sc: Introduce Abstract Base Class for ScMatrix, for a future rework.Jan Holesovsky20-260/+488
We want to introduce another type of ScMatrix that will directly contain DoubleVectorRefToken and operate on that. The idea is that it is pointless to construct a ScMatrix via lots of copying around, when we already have a nice array of doubles. Change-Id: I3e5d7b9e2e0f9b9bf350336a8582cfd852586b3f
2015-11-24'#pragma setlocale("C")' is probably no longer necessaryStephan Bergmann2-10/+0
...as in both files the direct use of non-ASCII characters in ordinary string literals has since been changed to use \xXX escapes instead Change-Id: Ic3e17a9849288a02dc69d7702782fefccb7026ee Reviewed-on: https://gerrit.libreoffice.org/20148 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-24crashtesting: ooo72999-1.ods NaNs found in light directionCaolán McNamara2-1/+15
and NaN != NaN so busted logic propogates, drop invalid directions on initial read Change-Id: Ic76c714666df14d37a4c68f43b817327675bd0e0
2015-11-24filter: fix DrMemory/valgrind warnings in PPT paragraph importMichael Stahl1-27/+124
various uninitialized variables in CppunitTest_sd_filters_test hang-8.ppt Change-Id: Id0b9f146a7ab8b5bb2b36a5c2a39d65ee52e122d
2015-11-24sw lok comments: fix map mode state after changing zoom levelsMiklos Vajna1-0/+2
Zoom level of SwEditWin is kept in sync with the client, so that the pixel-based comment widgets can be positioned correctly. But that does not mean in general the SwEditWin map mode should not be disabled: so that we don't have to tweak the map mode for each and every postMouseEvent() call and still be able to send them using logic coordinates. Change-Id: I6f686b93d2509d52fdd34e84a502cf04e1ce6e59
2015-11-24sw lok comments: avoid crash an exit after clicking the scrollbarMiklos Vajna2-0/+6
Without this, vcl::Window::ImplTrackTimerHdl() will be called on a deleted vcl::Window. Can be reproduced with a comment having a scrollbar in a LOK client, then clicking on the down button of the scrollbar a number of times -> crash on exit. Change-Id: I5d67f96e8baa199f65ec5cf39cb5d39c8162ff33
2015-11-24sw lok comments: implement drag of the scrollbarMiklos Vajna3-5/+11
With this, if a comment has a vertical scrollbar, then not only the buttons of the scrollbar can be clicked on, but also the slider of the scrollbar can be dragged. Change-Id: I2e39e18bf60c42a878bb8bfd808f1d47be27eecb
2015-11-24vcl lok: handle tracking coordinates which are in twipsMiklos Vajna1-1/+13
This is similar to the mouse button down handling. When the map mode is disabled and the map mode is in twips, then in general it's possible to send mouse coordinates in twips. The scrollbar is usually in pixels, so add extra code to still make this possible. Change-Id: I0c7e404ecd7ac839e000266e396683bb7d15c505