summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-20KDE4 rely on style()->pixelMetric for frame widthJan-Marek Glogowski
Change-Id: I7a1e89c0c058bab0b6665e2b96b22251dcb51f4f
2016-12-20Update duplicated / outdated NWS documentationJan-Marek Glogowski
Removes the old, copied NWS documentation blocks from all native implementations and update the parent SalGraphics documentation. Change-Id: I0eff8ea0987c5c841e1b023340b1c3787c09e2ca
2016-12-20Fix metric spinbox tool item sizeJan-Marek Glogowski
Instead of guessing, use the CalcMinimumSize(), which also knows about theming. Change-Id: I747571b48c81166d11d03f99ab564b1a25165ef3
2016-12-20tdf#78924 KDE4 drop special Combobox codeJan-Marek Glogowski
At least not needed with breeze KDE4 theme. Change-Id: I71a05c395d04a6f19c3bcd681450318831b0c29f
2016-12-20KDE4 add frame to Spinbox and enable buttons...Jan-Marek Glogowski
... and don't claim to support all parts per default. Change-Id: I7a8e0774b4573bf755737bc1adebe19a774736c9
2016-12-20KDE4 fix edit box bordersJan-Marek Glogowski
When recalculating the native window frame borders, calculate using already existing window borders. Otherwise the KDE edit box results in an unlimited recursion for increasing the bounding rects, if the control doesn't fit. Change-Id: I45e51e4796b06097ca537c656f004133dfacd033
2016-12-20KDE4 set shadow colorsJan-Marek Glogowski
These are used to paint Writers ruler text and marks. Makes both readable with disabled and inactive text colors. Change-Id: I39766d623164230a7379623c16e0463cbaaf0af8
2016-12-20Fix variable scope and better code readabilityJan-Marek Glogowski
Change-Id: Icce8bc0c1031ad0d1b53fa7389e1a75f16e62972
2016-12-20KDE4 implement native drag handlersJan-Marek Glogowski
Change-Id: I3d6a1696b8278066b005c1983d226cc67381ba95
2016-12-20tdf#102477 Drop toolbar popup window backgroundJan-Marek Glogowski
Just rely on the default window backround. Change-Id: I8aa7a2b05ac2521b872290d508c0ce5fdaf83bae
2016-12-20Unify drag handles for toolboxesJan-Marek Glogowski
The custom shape popup toolbars used their own drawing code for the drag handle. This was dropped in favour of the default toolbox drag handle code. This also drops the drag highlighting in favour of a move mouse cursor as the drag indicator. The drag handle is currently always drawn on the top, like a window title. Change-Id: I08cbf715f1e240c2eb6d9a61fad2b705f9bd8014
2016-12-20rscpp: make previous FILE_LOCAL functions staticJan-Marek Glogowski
This just move the declaration from the shared header to the corresponding cpp files to make them static. Change-Id: I4aed6e23a90d42114d815205db2b741080739ac1
2016-12-20Don't use 'this' in ctorStephan Bergmann
Change-Id: I405160743609aae92a37b2359bea5aa42ee66519
2016-12-20lower the system epoxy requirementCaolán McNamara
Change-Id: I2fff46985502dafa3b860aaebe862853ebaccabb
2016-12-20tools: Kill empty enum LockTypeTakeshi Abe
It seems unused in the first place. Change-Id: I556ae97b86498c63315f1f1bbe8d55fdbb10c1aa Reviewed-on: https://gerrit.libreoffice.org/32218 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20tdf#104805 DOC import: fix non-0-starting LVL.xst with none-type prev levelMiklos Vajna
Interesting parts of the bugdoc: - it has a numbering definition with two levels - first level's type is none - second level has a numbering string: "\x01." Usually these placeholder bytes in the numbering string start from 0x00, but there it starts at 0x01, which means the layout has to replace it with the numbering from the second level. Mapping from the spec to the code: - nLevelB is an index into rgbxchNums - aOfsNumsXCH is rgbxchNums - sNumString is xst So when the rNotReallyThere added in commit 251ba90d863c2695c9f46ef922e49d72a65da9ea (INTEGRATION: CWS soberfilterteam06 (1.44.26); FILE MERGED, 2003-05-19) wants to clear out indexes from aOfsNumsXCH, it talks about numbering levels. The old code assumed that nLevelB is the same as nPosValue, which is true in many cases (when the levels are like 1, 1.1, 1.1.1), but not in this particular case, where nLevelB is 0, but nPosValue is 1. Change-Id: I590d9b2725a3330c26a04a526ce22d95970a974f Reviewed-on: https://gerrit.libreoffice.org/32220 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-12-20sanitze->sanitizeCaolán McNamara
Change-Id: I1b94438e43df6f1f8f7774d9e86f415785e60284
2016-12-20Related: tdf#104705 an effort to address crashCaolán McNamara
Change-Id: I43284c19d0f38fb8fbd7e908c5d255cdfd399015 Reviewed-on: https://gerrit.libreoffice.org/32222 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20builtin zlib with oss-fuzzingCaolán McNamara
Change-Id: I58c37a68c8695b68296f0eb652e3075ea1528108
2016-12-20builtin-libxml and libxslt with oss-fuzzingCaolán McNamara
Change-Id: Icbecfd287174e5d7be9bbf7dc235d1966a6858ff
2016-12-20enable building cairo statically with DISABLE_DYNLOADINGCaolán McNamara
Change-Id: I45cfb14be3a92754c698fd553605b3a252a53e53 Reviewed-on: https://gerrit.libreoffice.org/32221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20uitest: we need the workaround for the race condition also for file loadingMarkus Mohrhard
Change-Id: I6988cebc4c005b3e80c2b552fb66398cba036cd8
2016-12-20uitest: disable the one unreliable math test for nowMarkus Mohrhard
I still need to research what is going wrong there. It seem to happen when the starting instance has the startup problem with the active frame. Change-Id: I903f758dbf02072decf88d5d30c358eb742aeb8e
2016-12-20static icu tweakingCaolán McNamara
Change-Id: Ic882b4d1a5b5eaee9e8c38a0c8dbe7cd39590b9c Reviewed-on: https://gerrit.libreoffice.org/32219 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20gdb pretty printers: fix the SwXTextCursor::Impl one even moreMichael Stahl
Turns out that commit 30f3315d52df22716c086836c41465a6c4cb98b5 has removed the SwClient there a long time ago, and the SwUnoCrsr was also renamed... Change-Id: I92932130c5adbea530c39557932efce70c9f75e7
2016-12-20gdb pretty printers: fix BigPtrArray printer for member renameMichael Stahl
Change-Id: Ia9da0c0931a01b2c99c24420a9ba603b47a711c1
2016-12-20gdb pretty printers: fix SwXTextCursor::Impl printer for SwClient renameMichael Stahl
Change-Id: Ief136f57ce60bde1faa0603961aa775967621fbf
2016-12-20gdb pretty printers: fix SwPaM printer for Ring member renamingMichael Stahl
Change-Id: I605e4e972468165e7f5d21681b6e7eeb228dfdc9
2016-12-20try to avoid the annoying focus stealing on windowsMarkus Mohrhard
Change-Id: Ic6d3492a4707f24b616a7dee34a111ba0af4f281 Reviewed-on: https://gerrit.libreoffice.org/32207 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20Fix an annoying comma spliceAdolfo Jayme Barrientos
Change-Id: I9b93b981105339b1db176d6031ccf46149a6d27a
2016-12-20SfxFrameStatusListener::m_xFrame can apparently be constStephan Bergmann
Change-Id: I6c7b508eae23cf6046ba07fb00ae5e63d5efc57f
2016-12-20Result of css::ui::ContextChangeEventMultiplexer::get cannot be nullStephan Bergmann
Change-Id: I00fba6c2a79404c824feaa5bb302d37c4158f9a3
2016-12-20ODR violationStephan Bergmann
Change-Id: Ia56bd463c83c0aedcc7f4e9cf1b65c57104d78f2
2016-12-20Move DrawingML serializer setting out of DocxAttributeOutput::BulletDefinitionMike Kaganski
... for consistency, to avoid setting serializers in random places Change-Id: If4e438def86f5dd2cf285693628e876ba08ef05a Reviewed-on: https://gerrit.libreoffice.org/31940 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-12-20tdf#104121 Set default animation playback speed to match browsersMark Page
Change-Id: Id4814c4fa965ea5c4f73931be171294bed258909 Reviewed-on: https://gerrit.libreoffice.org/31416 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20writerfilter: various small cleanupsMiklos Vajna
Change-Id: I258a03909e2a166b8f1c077cf758974a06ad3403 Reviewed-on: https://gerrit.libreoffice.org/32215 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-12-20bootstrap building with --disable-dynloading on standard linuxCaolán McNamara
Change-Id: I5baf70f0053612cba8b74f54aff11ce25cdeb95a Reviewed-on: https://gerrit.libreoffice.org/32202 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20make IOS generic DISABLE_DYNLOADING and explicit link to icudataCaolán McNamara
Change-Id: I515fb2e772e63fef00711c87200512ea1bed024c Reviewed-on: https://gerrit.libreoffice.org/32206 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20some raptor tweaks for --disable-dynloadCaolán McNamara
Change-Id: I63229ea57acc36b377f430d2305530cfe5617a35 Reviewed-on: https://gerrit.libreoffice.org/32203 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20always have dbtoolsCaolán McNamara
Change-Id: I6a3658a275c520c95490df2bb4c99ad3e3a15cef Reviewed-on: https://gerrit.libreoffice.org/32208 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20vcl: fix Android buildJulien Nabet
lround() is missing in the std namespace on the broken Android toolchain, work it around. (same as https://cgit.freedesktop.org/libreoffice/core/commit/?id=0cb7d76bc5552245642ba423a87831cd9e0b2b92) Change-Id: I84c97e6d6bcbc193565c01db3011eb9d4edba6a1 Reviewed-on: https://gerrit.libreoffice.org/32216 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-12-20add an option to pipe log output to fileMarkus Mohrhard
The target file and the option are controlled by SAL_LOG_FILE. The variable should contain the target file in a system dependent notation. Change-Id: Ie1ce9c39740c8b7a989e5af222be21a3e3142084 Reviewed-on: https://gerrit.libreoffice.org/32176 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20convert SFX_EVENT constants to scoped enumNoel Grandin
SFX_EVENT_CLOSEAPP and SFX_EVENT_TOGGLEFULLSCREENMODE are never generated, so remove them and delete the code that receives them Change-Id: I2d003ba73fff0b02120ba29ff58e1d2399dedf00 Reviewed-on: https://gerrit.libreoffice.org/32168 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-20tdf#103765: Round positions instead of truncatingKhaled Hosny
Change-Id: Id0505163e10bb4c76970f2f96af568da453d3d05 Reviewed-on: https://gerrit.libreoffice.org/32211 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-12-20extensions: Drop empty fileTakeshi Abe
Change-Id: I4962d739af889595f026c250b8f10a917b1dfb17 Reviewed-on: https://gerrit.libreoffice.org/32130 Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp> Tested-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-12-19tdf#104767: Fix calculus of child index in commitTableEvent (accessibility)Julien Nabet
bt: 1 0x00002aaade2fea5b in accessibility::AccessibleGridControlTableBase::ensureIsValidIndex (this=0x5555586abdb0, nChildIndex=11) at /home/julien/lo/libreoffice/accessibility/source/extended/AccessibleGridControlTableBase.cxx:257 2 0x00002aaade2f97f2 in accessibility::AccessibleGridControlTable::getAccessibleChild (this=0x5555586abdb0, nChildIndex=11) at /home/julien/lo/libreoffice/accessibility/source/extended/AccessibleGridControlTable.cxx:60 3 0x00002aaade2ee054 in accessibility::AccessibleGridControl::commitTableEvent (this=0x555557e97500, _nEventId=5, _rNewValue=uno::Any(void), _rOldValue=uno::Any(void)) at /home/julien/lo/libreoffice/accessibility/source/extended/AccessibleGridControl.cxx:354 Seems a regression from https://cgit.freedesktop.org/libreoffice/core/commit/?id=0f32ba56a1e775e8ecd6c827ebd48f7f2fb51c81 Change-Id: Ia973eb381832da27ecc39fc5273f67a685d5a7bb Reviewed-on: https://gerrit.libreoffice.org/32205 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-12-19loplugin:sallogareasStephan Bergmann
Change-Id: I85e4c411548768a9a85686aab35e5795116f0308
2016-12-19Fix SolarMutex getting lost across call to g_main_context_iterationStephan Bergmann
At least with SAL_USE_VCLPLUGIN=gtk, sticking DBG_TESTSOLARMUTEX() before and after this while loop demonstrates that, without the explicit SolarMutexReleaser, the SolarMutex was acquired before the loop but isn't thereafter. Change-Id: I4a97063103193821cc5eb3469484dd3346a60822
2016-12-19uitest: warn if the command is not executedMarkus Mohrhard
Change-Id: I53bfa5ef7594eeb7446cdb9e4ba211839e255197
2016-12-19uitest: help on windows with the debug outputMarkus Mohrhard
Change-Id: Id22412389f3de2c9923887fd99a3e1c6860e1f33