summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2016-01-09vcl: move FontSelectPatternAttributes constructor to fontselect.cxxChris Sherlock
Change-Id: I49041e086c1da6d9cc23781e10b00997f227da8e
2016-01-09vcl: FindFontFamilyByFont is not the best name after allChris Sherlock
On second thoughts, FindFontFamilyByName is not a good name at all. I'm changing it back to FindFontFamily. The parameter tells you how it's being found. Change-Id: Ie8278e1727075a49331135a149361a484aba91e5
2016-01-08vcl: change ImplFontEntry to LogicalFontInstanceChris Sherlock
There is a TODO in the code that suggests to do this, when I looked at the collaboration diagram on Doxygen things made a LOT more sense. Change-Id: If335498bb70872ffa5738cc5c17660faec84c35e Reviewed-on: https://gerrit.libreoffice.org/21257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-08tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did a small change to ImplSVEvent * Window::PostUserEvent( const Link<void*,void>& rLink, ... ) in event.cxx file. Patch No. 5 Change-Id: I9e7fd099aec6d5d2060bdf4761f4cff4fbe31544 Reviewed-on: https://gerrit.libreoffice.org/21219 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: If1ddb112c85f127295eb55566360b066e7173ba2 Reviewed-on: https://gerrit.libreoffice.org/21245 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-01-08tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did a small change to to void Window::RemoveUserEvent( ImplSVEvent * nUserEvent ) and to void Window::ImplNotifyKeyMouseCommandEventListeners( NotifyEvent& rNEvt ) in event.cxx file. Patch No. 6 Change-Id: I75bc321d2a257df00f51d7e71aed2bc26500e58e Reviewed-on: https://gerrit.libreoffice.org/21220 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did some changes to syswin.cxx file. Patch No. 18 Change-Id: I79d3ea2110ae72762681ae494ee44ba7fc61e112 Reviewed-on: https://gerrit.libreoffice.org/21235 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did a small change in winproc.cxx file. Patch No. 9 Change-Id: I71e3876c0512e2696d61962f2427384354130bb3 Reviewed-on: https://gerrit.libreoffice.org/21224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did a small change to void Window::CallEventListeners( sal_uLong nEvent, void* pData ) in event.cxx file. Patch No. 4 Change-Id: I6dff8f0611833d1514552afad163cdb55f693980 Reviewed-on: https://gerrit.libreoffice.org/21216 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08Don't use the "marketing" version number for the Intel driverTor Lillqvist
The 15.x.y.z.d number is not the real version number that our code sees. Change-Id: I8e434c0c3e3c4ff6ea8a6810f0b09f9b2befc438
2016-01-08tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did a small change to dndevis.cxx file. Patch No. 1 Change-Id: I9240d97a9b0dd76a2df43e01f0d1e71de9015c48 Reviewed-on: https://gerrit.libreoffice.org/21211 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did a small change to bool Dialog::Close() in dialog.cxx file. Patch No. 2 Change-Id: I5268e77bef2225308e9d01831c7b09de19c3ded9 Reviewed-on: https://gerrit.libreoffice.org/21212 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08Revert "vcl: move filter headers to vcl/inc/filter"Chris Sherlock
Discussed on IRC - overwhelming consensus is to keep the headers where they were before. The main reason to keep them in the same directory is to keep headers as local as possible to the source files, unless something else needs to access it. The only thing that uses the headers is vc/workben/fftester.cxx I will work out how to get Doxygen to pick up these headers another way. This reverts commit 5d7772fc0464c867c5ad2f1e10ccabd7331f7efa. Change-Id: I45ee970722e27748ab8af8909ac49579dc47ef56 Reviewed-on: https://gerrit.libreoffice.org/21250 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-08vcl: ImpBitmap optimize GetBitCountDaniel Robertson
Use binary search to find ImpBitmap BitCount in constant time. Change-Id: Ica13d41d1473e01c9198c985d34206267d7910d1 Reviewed-on: https://gerrit.libreoffice.org/19759 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-08Missing semicolonStephan Bergmann
Change-Id: I160163a377fc374174ca48814494b849d1d32c3f
2016-01-08tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did some changes to lstbox.cxx file. Patch No. 14 Change-Id: I8e559c55345fa8c72f49c94f1a94906bf03683c7 Reviewed-on: https://gerrit.libreoffice.org/21231 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did some changes to menufloatingwindow.cxx file. Patch No. 17 Change-Id: I3b7c9beb5f3e55930f66c463d4341b5a78d51bc1 Reviewed-on: https://gerrit.libreoffice.org/21234 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did some changes to dockwin.cxx file. Patch No. 15 Change-Id: Iec42df460be350ffbb5aa11a801c7dea2df7c9cd Reviewed-on: https://gerrit.libreoffice.org/21232 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did some changes to winproc.cxx file. Patch No. 12 Change-Id: I32551d527a2d45b694418bfee19be5e8704ce60e Reviewed-on: https://gerrit.libreoffice.org/21228 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did a small change to static bool ImplCallCommand( vcl::Window* pChild, ...) in winproc.cxx file. Patch No. 7 Change-Id: Ib2929ff2fe98487461f2d8ec768fab8d4cd45c22 Reviewed-on: https://gerrit.libreoffice.org/21221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did a small change to short Dialog::Execute() in dialog.cxx file. Patch No. 3 Change-Id: I0ce2f62caea2d0aad4ced48df30d924f87de3c40 Reviewed-on: https://gerrit.libreoffice.org/21215 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08vcl: document parameter in vertical font functionsChris Sherlock
Change-Id: I07b543c74570de6d1424aef5d9b3a932bdffb92a
2016-01-08vcl: this function is already documented in the base classChris Sherlock
Change-Id: I6efa86e797012b214257e745f7c7bbab0ac38461
2016-01-08vcl: fix WaE messagesChris Sherlock
Change-Id: Ib861efdaa9e18a22fb967bcef251792c9b9f5768 Reviewed-on: https://gerrit.libreoffice.org/21240 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-08vcl: this function is already documented in the base classChris Sherlock
Change-Id: I0d3b8c9026a423f95a9a0acbcd89afbc23aaff82
2016-01-08vcl: update documentation of drawAlphaRectChris Sherlock
Change-Id: Ib70e01f4047a4af8ab152541c4234737ec6e5816
2016-01-08vcl: document parameters in vcl/inc/sft.hxxChris Sherlock
Change-Id: I191ff94acf201714cb96d4e2ea6a9b0cd0632372
2016-01-08vcl: silence doxygen warningChris Sherlock
Change-Id: I132672582136abfcec0eeafd2400757def824dbf
2016-01-08vcl: StartPresentationMode should be using a sal_uInt32 as function paramChris Sherlock
Change-Id: I78a484a25be660f754d116263a203ae1a926ac18
2016-01-08vcl: cleanup namespaces is vcl/source/window/toolbox2.cxxChris Sherlock
Change-Id: I84675f577adade78d49a2897aed2b790dae864f4
2016-01-08vcl: cleanup namespaces is vcl/source/window/menu.cxxChris Sherlock
Change-Id: Ia27b7c7aea0882ce62471f484971452cbb9ff374
2016-01-08vcl: cleanup namespaces is vcl/source/window/builder.cxxChris Sherlock
Change-Id: Ie7abebb4fad50e55793b9c1e99c4108c335a928b
2016-01-08vcl: cleanup namespaces in vcl/source/image/ImageList.cxxChris Sherlock
Change-Id: Iec667d4a9a650f4bc2f3a30e46b75d27643f8d00
2016-01-08vcl: cleanup namespaces in vcl/source/image/Image.cxxChris Sherlock
Change-Id: Idc1989a8a59eb65e40e0e97e3688100c23175fa5
2016-01-08vcl: cosmetic, tabify print3.cxxChris Sherlock
Change-Id: Iacef3026ef2ee907a4a3d8fbfe8a3d346fd6df05
2016-01-08vcl: cleanup namespaces in vcl/source/gdi/print3.cxxChris Sherlock
Change-Id: I030f8a212482be0b5738435e9f7133bb8ade8876
2016-01-08vcl: cleanup vcl/source/gdi/print3.cxx headersChris Sherlock
Change-Id: I7c35bb4453e03912f7aa95dad71c23413de10f73
2016-01-08vcl: silence Doxygen warning about mismatched param var names in print3.cxxChris Sherlock
Change-Id: Iebc06047a7b10b81c2b5b8be7e9a54da3a1dfac6
2016-01-08vcl: move filter headers to vcl/inc/filterChris Sherlock
Change-Id: I0b2b12d3f5cc6e35b2d87adb39ad44ba287c9a01
2016-01-08vcl: cleanup namespaces in vcl/source/filter/graphicfilter.cxxChris Sherlock
Change-Id: I00cb940d20dd2ce712ab206f088789ae73792c70
2016-01-08vcl: cleanup namespace in vcl/source/edit/textview.cxxChris Sherlock
Change-Id: If33d4e30d39f9382eab2deb4f4ceb6f65211b912
2016-01-08vcl: ComboBox::ImplUserDrawHandler was in the void namespace...Chris Sherlock
I'm amazed that C++ allows you to do this, but I checked the draft standard and there appears to be no restrictions around using a C++ keyword as a namespace identifier! This hasn't been an issue it appears because we don't have any user-defined draw signals for combobox's currently. This was picked up by Doxygen, which spat out the following error: /home/chris/repos/libreoffice/vcl/source/control/combobox.cxx:1322 warning: no uniquely matching class member found for void::ComboBox::Impl::ImplUserDrawHandler(UserDrawEvent *pEvent) Issue introduced in commit d6a83d3f913, I checked it and it was the only place this occured in the patch. Change-Id: Ie4272e5c4e3dba13ed82457bba8579971a5345d0
2016-01-07vcl: migrate font functions from outdev/font.cxx to own filesChris Sherlock
I have moved all ImplFontAttributes and ImplFontCache functions from vcl/source/outdev/font.cxx to vcl/source/font/fontattributes.cxx and vcl/source/font/fontcache.cxx accordingly. Change-Id: I12ca80799828a772482424da171cc76bffaac43d
2016-01-07vcl: reorganize ImplFontEntry functionsChris Sherlock
I have moved all ImplFontEntry functions into vcl/source/font/fontentry.cxx and also created a new hash function that hashes std::pair<sal_UCS4,FontWeight> types by specializing std::hash. Change-Id: Ibbe07c38b98e3c976836a895dbfdcaecd5daff8d
2016-01-07The OpenGL Windows driver blacklist file should be in share, not user configTor Lillqvist
We don't want a potentially outdated copy to be used. Besides, when it was in the user profile, it did not exist the first time after an installation, or a user profile removal, when we attempted to read it. Change-Id: I21290090a3bbb44864730dff84c81e80add89fb3
2016-01-07vcl: tabify fontattributes.hxxChris Sherlock
Change-Id: I1318acdcd9fbf1d0b363248266e913954cc97e9b
2016-01-07vcl: move FontSelectPattern[Attributes] to fontselect.cxxChris Sherlock
Change-Id: I41361d8dd4619a27bba5cc9ad2c627b37f1b2013 Reviewed-on: https://gerrit.libreoffice.org/21190 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-07vcl: rename outfont.hxx to fontentry.hxxChris Sherlock
Change-Id: I174a7a87d68958d0a5dd7c3e0f35294f0d020eb1 Reviewed-on: https://gerrit.libreoffice.org/21189 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-07vcl: FtFont{Info|File} renamed to FreetypeFont{Info|Type}Chris Sherlock
Change-Id: I91621a177f27200c9d3413dd4953d5292a2ac15b
2016-01-07vcl: cleanup headers - remove unnecessary includes and fwd declsChris Sherlock
Change-Id: Ib3cb2d905242d2a15935c074cb6d0634102de4e5