summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-27Show previews of style presets in sidebarTomaž Vajngerl
Change-Id: I0e3d6f00a79bc33e1db1329df217e7e867dfd511
2015-08-27Again add ability to change tint/shade of a color + unit testTomaž Vajngerl
Change-Id: I4c06290f09e5bfecd2c1de896e19cb5036a3a0e9
2015-08-27get rid of the macro hereTomaž Vajngerl
Change-Id: I1ba5583d9121b541b6b76588f1334980abe3836e
2015-08-26tdf#93530 - the VCL GDI flushing abstraction should glFlush too.Michael Meeks
Change-Id: I45cb0e62278d8c3154ae8ad54ca4c93b3e177969 Reviewed-on: https://gerrit.libreoffice.org/18030 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-08-26dbaccess: fix windows build breakageMichael Stahl
Change-Id: I69f45dd2d7426ecd99dca7e80e98e95c3e52d4a0
2015-08-26ODF import: workaround dubious draw:fill="solid" on frame stylesMichael Stahl
Since the gradient frame backgrounds were added in LO 4.1, we export this: fo:background-color="transparent" draw:fill="solid" Which doesn't make a whole lot of sense as this is really a "none" fill, and now with the backward compatibility stuff in the style import code we get the pool default color added when setting the BackTransparent property, and with the draw:fill="solid" it becomes visible and the background color is now Sky Blue 1. So try to detect draw:fill="solid" without draw:fill-color attribute and contradicting transparent legacy attribute and nerf it. This way we also export draw:fill="none" again, although still with a bogus draw:fill-color but that shouldn't cause any harm. Change-Id: I1c2bea46ba7d9a3f042b875df0ca12c7f6037909
2015-08-26related: tdf#92379: sw: backward compatible ODF export of overridingMichael Stahl
... frame/paragraph backgrounds. If a style is set to have draw:fill="solid" and a derived style to draw:fill="none" then the derived one must have fo:background-color="transparent" to override the parent for old consumers like LO <= 4.3/AOO <= 4.1 that don't understand draw:fill. Change-Id: I5b56c7ace927338239195c6bfcfef1950544c8d2
2015-08-26tdf#92379: sw: ODF import: fix fo:background-color="transparent"Michael Stahl
The problem is that if the FillStyle is NONE, setting only ParaBackTransparent but not ParaBackColor does absolutely nothing. This means that if a parent style sets a background color, then a derived style cannot override it to be transparent. Cause is that getSvxBrushItemFromSourceSet() defaults to setting a 0xFF transparency on the SvxBrushItem. There is still a problem that getSvxBrushItemFromSourceSet() sets the pool default item's color and that is also exported to ODF again as draw:fill-color, but together with draw:fill="none" it should not cause harm, at least for consumers that prefer draw:fill attributes like LO >= 4.4. (regression from 7d9bb549d498d6beed2c4050c402d09643febdfa) Change-Id: I5312901166a0e6f0cf02369b173dc8498e4113ed
2015-08-26tdf#92379: sw: unit test for frame style background colorMichael Stahl
Change-Id: I736964e0ae1419de212a7b608377804c764443e7
2015-08-26sw: Flat ODF import: set the InReading and InXMLImport flagsMichael Stahl
Flat ODF Import does not use SwReader but uses SwXMLImport::startDocument() and SwXMLImport::endDocument() to set up the document, so make sure those set the import relevant SwDoc flags. Change-Id: Ife3e58eeebd73ad895fe328662822b847cf9bfec
2015-08-26sw: adapt some badly named variables in uiwriter.cxx toMichael Stahl
coding conventions. Change-Id: I36c11a979f7f003bfdfff766940a7832fd19e906
2015-08-26Clean up aEmptyStrStephan Bergmann
Change-Id: I5befe9deac917a28e80ed193b67ff29b5ba35149
2015-08-26unit test that parsing range fragments should failEike Rathke
Change-Id: Iff5ef2a5b2315b19cf8f0e84a08c776c3c97e0ae
2015-08-26do not parse range fragments as valid rangesEike Rathke
For example, "B2:" or ":B2" were accepted as valid range, with the missing part set to A1, which resulted in a A1:B2 range. An omitted sheet specifier always results in a valid relative sheet, hence that flag is set, so testing flags for non-null before the final result is available isn't sufficient. Additionally this revealed a flaw in handling of external references when loading documents if the original file name differs from the resulting real file name due to relative paths. Actually now the displayed file name matches the real file name when such a document was loaded, where before the original file name was displayed. Probably such references didn't even work before if the reference spanned more than one sheet, which is a rather rare case for external references. Change-Id: I38035f2e4b3a11c0280457498cf62b02f882d2a1
2015-08-26KDE4: don't ignore write(2) return valueJan-Marek Glogowski
Silence the glibc compile warning and actually handle a wrong return value. Change-Id: Icdbc8e655d4b8ad20699dfd0abdbf3405a49f898
2015-08-26use unique_ptrDavid Tardon
Change-Id: I4c8e2e62943171a001036ea46fbfc83f92a2b1d8
2015-08-26Updated coreOlivier Hallot
Project: help 550b03030e494f8c0fd1161cbdeea3d8e5b954e5 Fix typo Change-Id: I1620c3507722d8aeef11d0480f07bc104b9a7f95 Reviewed-on: https://gerrit.libreoffice.org/18032 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2015-08-26Remove unused AddMenuBarButton parameterStephan Bergmann
...which had apparently been unused ever since the function's introduction in 86ef4422bc62f912f72c0bedda47ce0e6e2722e4 "INTEGRATION: CWS onlineupdate3," even though the function's code had always been careful to clip the value to m_aAddButtons.size() (which was now detected by clang-tidy's clang-analyzer-deadcode.DeadStores) Change-Id: Ic3542aaef04d059125d997cdc5e199d5edb1184a
2015-08-26Revert "do not parse range fragments as valid ranges"Stephan Bergmann
This reverts commit ed6209f572bad38bdb066be668163fe8acf52056, plus follow-up 18a2a642c4a8848e2a2cb0df29c6463db8428ef9 "unit test that parsing range fragments should fail." Breaks CppunitTest_sc_subsequent_filters_test Change-Id: Ic4663d79bf4bc017094bc37779f74f30630d79bd
2015-08-26add EDB-37924 test caseCaolán McNamara
Change-Id: If361620f18a6e8ff433feb8819eeb27b39652529
2015-08-26tdf#80512 KDE4: fix RTL scrollbar handlingJan-Marek Glogowski
Just invert the scrollbar the same way gtk+ does by checking the button positions and adjust the drawing style accordingly. Change-Id: I3475c33e074c1509a73da618a4efa44dc61a1a77
2015-08-26Add menubar to vcldemo --widgets test.Michael Meeks
Change-Id: I848b5a8834212fce1089fb3ef2186424a1e7a11e
2015-08-26-Werror,-Wnonconst-parameterStephan Bergmann
Change-Id: I14c7e2245e1333a7cc3c372b29f4a3b679169209
2015-08-26typo: Trnedline -> TrendlineAndras Timar
Change-Id: I89f27286386809059e193004bfa0acecf692b99d
2015-08-26tdf#90078: Improve the Area section of the properties tabRishabh Kumar
Addition of new controls to gradient mode and area tab reorganisation Change-Id: I5c122705c41e14cddc2eaaac2561c02df22574f2 Reviewed-on: https://gerrit.libreoffice.org/16965 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-08-26there might be no modelCaolán McNamara
Change-Id: I9c384587c127ca077803bf8aae63d0e54eda6aaf
2015-08-26various hangs, check seeks and record lengthsCaolán McNamara
Change-Id: Ided7f9376f41ee8cb1f6903e54a2d51e0e07e1a7
2015-08-26-Werror,-Wpessimizing-moveStephan Bergmann
Change-Id: Ifb2647b928446f720e93d2d4e4c5ffb1ee7a14c9
2015-08-26Log OpenCL errors symbolically here, tooTor Lillqvist
Change-Id: I96ef317e974a9db1713ad3005d0efcecb2bacda5
2015-08-26Revert "Enable out-of-order kernel execution"Tor Lillqvist
Is not a good idea after all, says mmeeks. Plus, we should check if the device actually supports it (with clGetDeviceInfo (CL_DEVICE_QUEUE_PROPERTIES) before attempting to use it. This reverts commit a4681be5347fe24867b4f603dc57942c3306227b. Change-Id: I11896ab2d40bd8abcb11a21ce5df4eb75816013a
2015-08-26convert Link to TypedNoel Grandin
and make it statically allocated, no point in dynamically allocating such a small object Change-Id: If476bf5dc1e0d535383d16bc49c8d567776f16cd
2015-08-26don't hang on unreachable record endsCaolán McNamara
Change-Id: I288f7ff0327831603eda6e827c8acbae678dfaff
2015-08-26Resolves: #i117989# Basic functions return wrong results for dates <1900-1-1Damjan Jovanovic
Also extended our spreadsheeet test to search through more columns, open spreadsheets with macros enabled, and added a test for the the Year(), Month(), Day(), Hour(), Minute(), and Second() functions comparing Calc's formulas vs StarBasic's runtime functions. Found-by: villeroy Patch-by: Damjan Jovanovic (cherry picked from commit a68493266e9212119f31e58c256f00fb9bcc8d20) Change-Id: I8f2115c623a1d35db5b7fc8184a9118c3eca6fcd
2015-08-26remove unused calculation for hyphenationLászló Németh
Introduced by the commit 968f4d72a23bb28d097a7694d66f0b866b3b33f0, problem found by Stephan Bergmann. Change-Id: If735185c34a0ba69a5cd753ef76032b1b6a4a0cf
2015-08-26unit test that parsing range fragments should failEike Rathke
Change-Id: Iff5ef2a5b2315b19cf8f0e84a08c776c3c97e0ae
2015-08-26do not parse range fragments as valid rangesEike Rathke
For example, "B2:" or ":B2" were accepted as valid range, with the missing part set to A1, which resulted in a A1:B2 range. An omitted sheet specifier always results in a valid relative sheet, hence that flag is set, so testing flags for non-null before the final result is available isn't sufficient. Change-Id: I57d1b7cf71a298e7ac108b0e13aab88208f0f00c
2015-08-26tdf#93620: show OpenGL status in Help->AboutLászló Németh
Build ID will show enabled OpenGL with an extra string "-GL" helping the fix of rendering issues. Change-Id: Id7bf2db2edb165542bf7a2a253c698c494278a03
2015-08-26fix crash on loading certain pptsCaolán McNamara
Change-Id: I544a67e3706c7d12414cc075118ef2f0f5ddd0f6
2015-08-26valgrind: uninitialized value in AvoidConfig pathCaolán McNamara
Change-Id: Iea0911d182b843c099cca0f2c5ec638034e7268d
2015-08-26add EDB-37909 testcaseCaolán McNamara
Change-Id: I74d55dde824b00e4de13134c5c4eed16b1b5c5df
2015-08-26add ppt to fftesterCaolán McNamara
Change-Id: I49162355ce5a58c6aaadfcfb9f45471e5c2a1424
2015-08-26tdf#92019 Use texture atlas for 16, 24, 32, 48, 64 px width imagesTomaž Vajngerl
Change-Id: Ie95c36fe3705e2645a59cac117d99d7b85388ce1
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
2015-08-26add CVE-2015-0065 testcaseCaolán McNamara
Change-Id: Ib6662c09feeab5f86ddbbccf5ce0705929194f43
2015-08-26Bin the fairly useless DbgDialog stuff and handle falloutTor Lillqvist
See (short) discussion on the mailing list, "How was it again, is the DbgDialog useful?". Change-Id: Ibde1eb13f16edf94f1f7aebd0befd1b0b171d5c4
2015-08-26add CVE-2015-0064 testcaseCaolán McNamara
Change-Id: I18bce66cc0068815a466291a1a72093704d9fdc7
2015-08-26reportdesign: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
with the variadic variants. Change-Id: Ib5335ab6e64ee407e3aa8f9558a24af40a308107 Reviewed-on: https://gerrit.libreoffice.org/17981 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-26package: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
with the variadic variants. Change-Id: If88e1d741075e86997c91dc2c59eeebe45f67c1f Reviewed-on: https://gerrit.libreoffice.org/17980 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-26replace boost::ptr_vector with std::vector<std::unique_ptr>Derrick
Change-Id: I21fbfe37f89fa404688cd1b287163801da9f7e0a Reviewed-on: https://gerrit.libreoffice.org/17974 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-26Revert "create a macro to tidy up the declaration sites of ↵Noel Grandin
o3tl::typed_flags_set" sberg did not like this macro, let's see if I can find a better solution. This reverts commit e51fa143587d018b75db08e60cf27ff932b1cf8d.