summaryrefslogtreecommitdiff
path: root/vcl/source/window
AgeCommit message (Collapse)Author
2015-11-26Cleanup last, partial include redux patch.Michael Meeks
Change-Id: I1f6f9d4a1b7fae33529ae386e8733b5063de53b0
2015-11-26vcl: fix buildMichael Stahl
Change-Id: I51d992e9befc78f6e429480e29bfb78e9be87ac2
2015-11-26vcl: reduce pointless timer / scheduler / idle includes.Michael Meeks
Change-Id: I8bf7f8d6ba1a54f2969e055956fadc52ff6c8673
2015-11-26test for IsMouseCaptured before releasing mouseCaolán McNamara
like the other call sites do Change-Id: I77250f172f9d9ce97e5982bafbc8f042e9343acc
2015-11-25loplugin:unusedfields in include/vclNoel Grandin
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-24Vcl Toolbox: Move Impl and local defines out of header filesSamuel Mehrbrodt
This reverts part of 1e82a3e6e3ea8b5cda520551faed81bc74c848c1 Change-Id: I683a855727c4a52d3ac6a7c5a1f104a6cf5b9ee2
2015-11-24loplugin:unusedfields in vcl/Noel Grandin
and remove the unused SALEVENT_MOUSEACTIVATE stuff Change-Id: Ieb85872eca68621c6a7be47ff5dbea12f7690507 Reviewed-on: https://gerrit.libreoffice.org/20140 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-24Vcl: Cleanup ToolboxSamuel Mehrbrodt
* Move defines to header file * Limit line length to 120 chars * Some other smaller cleanups (unused defines etc) Change-Id: I14b52579f9b5bae4ea0bc1df434cc3d29c223d4e Reviewed-on: https://gerrit.libreoffice.org/20133 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-23VirtualDevices either match another device depth, or are 1 bitCaolán McNamara
cairo can therefore always render to a svp virtual device with need for a fallback Change-Id: I5d03ae541820389e26f7448444444be009fb28a4
2015-11-23establish that Virtual Devices either match Physical Device depth or ...Caolán McNamara
are 1 or (rarely) 8 bit and lock that down. Change-Id: I3d946ebef34ffb71c5adea7aa420af50e9584e05
2015-11-20loplugin:defaultparamsNoel Grandin
Change-Id: Ia9dca11a7e38fcf2b7b4b0d2459c85a1348f8c43
2015-11-20Revert "vcl: Initial NotebookBar implementation."Samuel Mehrbrodt
Will use a different approach for NotebookBar. Also this should not be in 5.1. This reverts commit 8c1014021dbe9da2e18233d215b970f5359db67b. Change-Id: Ic699723818a890bf4c3be3a2c045527148bd118b Reviewed-on: https://gerrit.libreoffice.org/20075 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-20loplugin:sallogareasStephan Bergmann
Change-Id: Ib1f06cb5f925535858bc14aab6f59ad7fd2a3a8d
2015-11-20tdf#95938 Toolbar context menu has no commandsSamuel Mehrbrodt
because of an integer overflow Change-Id: I75103450d0af59fd6f3196f451984e0dce45c693 Reviewed-on: https://gerrit.libreoffice.org/20072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-19Toolbar: Add 'Save As' to 'Save' dropdownSamuel Mehrbrodt
Change-Id: I6597ae5569b29d09a8c44fc9a55b71166aa37b05
2015-11-18Revert "ToolBox: Remove unused methods"Maxim Monastirsky
The ImplLoadRes method *is* used in ToolBox::ToolBox( vcl::Window* pParent, const ResId& rResId ). This change breaks the navigator panel, and therefore the JunitTest_toolkit_unoapi_1 test. This reverts commit 99648095012187ef284d0a9399a8e12878b2a370.
2015-11-18ToolBox: Remove unused methodsSamuel Mehrbrodt
Change-Id: Ic56cf27c61a904278770f0617d827e574d1eae68
2015-11-18Indentation fixesSamuel Mehrbrodt
Change-Id: Ib508e6f3c89266660e6163bbef2c7f50f5d01806
2015-11-18com::sun::star->css in vcl/Noel Grandin
Change-Id: Ifad76177673cf93746ba221838be80ff76fed228 Reviewed-on: https://gerrit.libreoffice.org/20032 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-17loplugin:unnecessaryvirtualNoel Grandin
update the plugin with lessons learned from the mergeclasses plugin and re-run it Change-Id: I9d622eb3d05fceaf8fa764c533c8fa5dfb4c7711 Reviewed-on: https://gerrit.libreoffice.org/20015 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann
Change-Id: I7a741130689721c69fd2879be6bda27fc6ec3646
2015-11-16Move functionality to retrieve command image to CommandInfoProviderSamuel Mehrbrodt
Change-Id: I79c22e0507c5eba8b5e28721de3279131aececc9
2015-11-16Move CommandInfoProvider to vcl and use it from thereSamuel Mehrbrodt
Change-Id: If7e3ef81cad8974bc54f359096e3ecc700fa62d6 Reviewed-on: https://gerrit.libreoffice.org/19984 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
performed using: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I4da56c80fa09bfc1e8f868794001e9921431e09f Reviewed-on: https://gerrit.libreoffice.org/19968 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-14sw lok comments: implement mouse move and mouse upMiklos Vajna
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-13vcl: loplugin:passstuffbyrefMiklos Vajna
Change-Id: I4ad2b77112a2c9bfbf76f0b84275d88046ed3851
2015-11-13Vcl: Add TooltipLabel to vcl buttons alsoSamuel Mehrbrodt
Change-Id: I332041e2d1d53f56cd38c1cd1ca325252535a53c
2015-11-12Resolves: tdf#93317 Modified Document Dialog misses focus on Gtk3Caolán McNamara
Change-Id: I16ddac82a76a1e665797e4be192d3642f2660d9f
2015-11-10loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann
Change-Id: I90a955eb3e485723bb81e7164edcf60f7b0e94c7
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I05e89f9896170d4df3d1377549ea074f06b884a0
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: I7ac150458a72963f3336d30ef9d99d7c0d81c024
2015-11-04yyyyyNoel Grandin
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-03vcl: Mark it as constTakeshi Abe
Change-Id: I0ddaf1cf9d0a3f36f88bea3101b7059e04d755ff
2015-10-30tdf#93684 - Remove SalFrame::SyncRyan McCoskrie
Change-Id: Icae9cf0a17f9cdf9a671c7e7278019d6980602b1 Reviewed-on: https://gerrit.libreoffice.org/18453 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-10-22tdf#94138 fix printing of edit form fieldsTomaž Vajngerl
There are 2 bugs: - In Window::GetDrawPixelFont we asked for the font to the current window, which didn't work correctly when printing. The device itself should provide the font and not the window. - In paint method the font wasn't setup correctly which should happen before painting by calling ApplySettings. The effect of this is that print preview didn't show the correct font for the edit control and similar when you copy + paste the edit control. The work around for this is to call ApplySettings again. Change-Id: I74960355823c71c1d5a18a82bbc86561a3c4b760
2015-10-22vcl: add Window::SetClipboard()Miklos Vajna
Change-Id: I385f64b7d5015c9a34f34a436b0ee2ce6b3a83d3
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: I3e5ee77b51eb8e1207d3f95e6a1d9d8272532ba6
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: I8db42173f116372b1c849284540c111635c3582e
2015-10-19convert DBG_ASSERTWARNING to SAL_WARN_IFNoel Grandin
I know the comment in debug.hxx said to use SAL_INFO, but SAL_WARN makes much more sense. Change-Id: I3d81f9db89ef8cebe1e4f2983941d69b4c7e6b7d
2015-10-19convert remaing DBG_WARNING to SAL_INFONoel Grandin
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-16convert Link<> to typedNoel Grandin
Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6 Reviewed-on: https://gerrit.libreoffice.org/19405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-15calling IsSet() before Call() on Link<> is unnecessaryNoel Grandin
the Call() already does a check Found with: git grep -A 1 -w 'IsSet()' | grep -B 1 '.Call(' | grep ':' | cut -d ':' -f 1 Change-Id: Ia7248f5d62640b75f705e539c3d1183e39c0d847
2015-10-15loplugin:vclwidgetsStephan Bergmann
Change-Id: I2e73a85a3d8cab0a73c8c776d7406d99411d95d0
2015-10-15vcl: Initial NotebookBar implementation.Jan Holesovsky
See https://wiki.documentfoundation.org/Development/NotebookBar Change-Id: I91535c13d68261f7195989ec78bd305cf572c87c
2015-10-15cppcheck:variableScopeNoel Grandin
Change-Id: I9b671637fbe0f32e695d22b74bfb40a39a9fe884 Reviewed-on: https://gerrit.libreoffice.org/19364 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-14convert Link<> to typedNoel Grandin
Change-Id: I1876f327607e0e23292950741df348d4ec31fde1
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12convert Link<> to typedNoel Grandin
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12convert Link<> to typedNoel Grandin
Change-Id: Ib9a493af0f64c5f3eb50f392805c3278ed2164a0 Reviewed-on: https://gerrit.libreoffice.org/19304 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-09clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I11b99fca91b266bdf6c29dc142511bf01dbd4bed