summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2016-01-11tdf#96888 Kill internal vcl dog-tags ..Ras-al-Ghul
Made pBorderWin a VclPtr Change-Id: I1869371b410276df2e7504b32617c2d1e2b6725f Reviewed-on: https://gerrit.libreoffice.org/21281 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-11tdf#96655 - clear non-offscreen status bar controls before render.Michael Meeks
Change-Id: I02a85ae4572dc23df2157af1cf164a0f82701613 Reviewed-on: https://gerrit.libreoffice.org/21300 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-11tdf#96888 Kill internal vcl dog-tags ..Ras-al-Ghul
Added an assert statement and corrected a glaring error regarding clear() usage Change-Id: Icc8ce940a6f97570d37389530f9fd90890ae8055 Reviewed-on: https://gerrit.libreoffice.org/21280 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-11Remove BitmapFilterStackBlur, which is unused...Stephan Bergmann
...ever since it got introduced with 28c61871e876e6a2cac47439f768504b1a4c94a0 "vcl: stack blur implementation + basic test & performance test" Change-Id: I78672cf74c24930df92121baecb9886df4382036
2016-01-11vcl: fix Android buildMiklos Vajna
Change-Id: I05ce4ddb4c933eb1100e3a3410cea27520072933
2016-01-11loplugin:staticmethodsStephan Bergmann
Change-Id: I15d48d69dd05de34f1b85896c2b143d6f17eeecb
2016-01-11vcl: move vcl/generic/app/ files to vcl/unx/generic/appChris Sherlock
These source files as all specific to Unix environments (not, however, OS X) and are not "generic" (i.e. used across all platforms). Change-Id: Idba1e9bbe14d8a4bb8e5dd2c2ad1dc75458da53c Reviewed-on: https://gerrit.libreoffice.org/21335 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11vcl: move vcl/generic/print files to vcl/unx/generic/printChris Sherlock
These source files as all specific to Unix environments (not, however, OS X) and are not "generic" (i.e. used across all platforms). Change-Id: I6008a272c4b961a12702e2ef8727c56df9e80164 Reviewed-on: https://gerrit.libreoffice.org/21334 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11vcl: move vcl/generic/fontmanager files to vcl/unx/generic/fontmanagerChris Sherlock
These source files as all specific to Unix environments (not, however, OS X) and are not "generic" (i.e. used across all platforms). Change-Id: I23650c86a7b74c2ac150b981e4be88eaea07e936 Reviewed-on: https://gerrit.libreoffice.org/21314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11vcl: rename adobeenc.tab to adobe_encoding_table.hxxChris Sherlock
Change-Id: Id7dbcd97acaf6a7deb13de2582c7a3515cedfac1 Reviewed-on: https://gerrit.libreoffice.org/21313 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11PCH support on LinuxAshod Nakashian
Fixes and improvements to support Precompiled Headers on Linux. Change-Id: I8145c146b0dba56c7a4d0fdf9c330164b67ada53 Reviewed-on: https://gerrit.libreoffice.org/21307 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-11vcl: move all glyph files from generic to unxChris Sherlock
All the files in glyph are only used by Unix based systems, with the exception of OS X. Therefore, it's not really "generic" as in "used across all platforms" but is generic as in "used in all Unix-based systems". Change-Id: Id89c09df74f0ddafee5c88c55bac4c35f9b23ef8 Reviewed-on: https://gerrit.libreoffice.org/21312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11vcl: rename gcach_ftyp.{cxx|hxx} to freetype_glyphcache.{cxx|hxx}Chris Sherlock
Change-Id: If17c0c36108c2437accba105e11a93a009d2c91f Reviewed-on: https://gerrit.libreoffice.org/21311 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11vcl: move gcach_ftyp.cxx to vcl/unx/generic/glyphsChris Sherlock
Change-Id: Id12edc0660a2c22c6d04b820ad052bde4fa75143 Reviewed-on: https://gerrit.libreoffice.org/21310 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-10avoid crash on vcldemo bad indexCaolán McNamara
Change-Id: I3a778f41897da885ea039526e4701ebebfe57c4d
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-10Cleanup FontCharMapPtr variable prefixesChris Sherlock
Change-Id: Ib106b91ab71ee45d5ad469d0beaf4ebaef8b57e1 Reviewed-on: https://gerrit.libreoffice.org/21306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-10vcl: promote ImplFontAttributes to FontAttributesChris Sherlock
ImplFontAttributes is no longer merely a pImpl (or "compilation firewall", take your pick) but is a fully fledged class in its own right that is used by a number of classes, including FontSelectPattern, LogicalFontInstance and PhysicalFontFace. Thus I'm "promoting" the use of this class in the codebase. Change-Id: I26866080a64796978d1c25efbcd16e3e6f94aaa5 Reviewed-on: https://gerrit.libreoffice.org/21305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-10vcl: add missing mutator operations to ImplFontAttributesChris Sherlock
Change-Id: I631114978ed6f23711502dd1b5f16e9e982265eb Reviewed-on: https://gerrit.libreoffice.org/21303 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-10vcl: Renamed ImplPdfBuiltinFontData to PdfBuiltinFontFaceChris Sherlock
Base class's name is PhysicalFontFace, which is used to create a logical font instance. Each platform (including the PDF writer it appears!) implements it's own factory function - so it's more than just a "data" class. I am also aiming to keep naming in the class heirachy consistent, thus the reason for the name change. Change-Id: Idb8c5b6a3b23a39ca727d355dcf421307cacbb2f Reviewed-on: https://gerrit.libreoffice.org/21302 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-10vcl: (OS X only) Change CoreTextFontData to CoreTextFontFaceChris Sherlock
The base class is called PhysicalFontFace (I believe it was called something like ImplFontData or somesuch before it was changed), and it is really primarily used to provide a factory function to create the logical font instance that LibreOffice can use (i.e. we distinguish between "physical" and "logical" fonts - as physical font is the actual font installed on the system, and the logical font is the one we ask for and have mapped to the physical font face). I also want to provide naming consistency in the class heirachy to enhance code readability, so that's another reason I've changed this class name. Change-Id: Ib7f23da1e3a1db59f4d04f5bb096f490e2958a4b Reviewed-on: https://gerrit.libreoffice.org/21299 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-10vcl: (Windows only) Changed ImplWinFontData name to WinFontFaceChris Sherlock
The base class name for WinFontFace is PhysicalFontFace, which gives the actual font installed on Windows (this is eventually mapped and realized into a LogicalFontInstance). However, PhysicalFontFace is not just a data structure, it also holds the function CreateFontInstance which must be implemented by the subclasses for each platform to allow fonts to be used in LibreOffice. Therefore, to keep the naming consistent I am following the lead of the base class and renaming ImplWinFontData to WinFontFace (and removing the "Impl" business, as this is not necessary). Change-Id: I4debb3af3ab5067b7e12e3659f2c71aba91e848c Reviewed-on: https://gerrit.libreoffice.org/21298 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-10vcl: (Windows only) Changed ImplWinFontEntry name to WinFontInstanceChris Sherlock
The base class is no longer called ImplFontEntry, but is now LogicalFontInstance. I want to bring the names in the class hierachy into line for consistency, so this change is necessary. Change-Id: Ie24197c140bf152f78ed7faf46b7509b82bcbdee Reviewed-on: https://gerrit.libreoffice.org/21297 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-09tdf#96550 - vcl opengl - fix BGR/RGB swap for some 8-bit icons.Michael Meeks
Change-Id: Ic71b8a94cabc392e7b83df70c1691de8f4c12b43
2016-01-09cppcheck: truncLongCastAssignmentCaolán McNamara
Change-Id: I55f684c0afb8b0d4ab4b749084a3ab7b66201bda
2016-01-09tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
Did some changes to toolbox.cxx file. Patch No. 19 Change-Id: Ia66d208230c8ffeca095af60b311510a826321d8 Reviewed-on: https://gerrit.libreoffice.org/21236 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-09tdf#96888 Kill internal vcl dog-tags ..Ras-al-Ghul
Deleted a couple of clear statements Change-Id: I6ca2c565842e1b33b3e52724981f95b634e94263 Reviewed-on: https://gerrit.libreoffice.org/21275 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-09tdf#96657 - vcl opengl: implement invert: Track Frame.Michael Meeks
Change-Id: I422ea8cfb8a81cca36203d496b92e15ea5b449d2 Reviewed-on: https://gerrit.libreoffice.org/21291 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-09tdf#96657 - vcldemo - implement invert: Track Frame rendering test.Michael Meeks
Change-Id: I07f4622945cf5787102317cfa38875c67104f265 Reviewed-on: https://gerrit.libreoffice.org/21290 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-09try and fix android buildCaolán McNamara
post... commit 86d06c9102d6f59946d7fbfdee5bb40e9a6d0fc6 Author: Chris Sherlock <chris.sherlock79@gmail.com> Date: Sat Jan 9 14:41:15 2016 +1100 vcl: move some Freetype stuff away from the "generic" folder I'm not adverse to simply moving these files into the "headless" dir to further untangle this Change-Id: Ib0c697b3d829baa92195d29983d39406bb72fce8
2016-01-09WaE: C4702: unreachable codeCaolán McNamara
regression from... commit 31bc9a228ed02dfa082e3a59c20b0ce106d5c75c Date: Sat Jan 9 03:09:49 2016 +0530 tdf#96888 Kill internal vcl dog-tags ... Change-Id: I3fb375701cd1f8d8d0ea7f8a22b727881eaf90eb
2016-01-09tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
This is a cleanup to https://gerrit.libreoffice.org/#/c/21233/ Change-Id: I731b9cb8e64fb07e8d0a6d89e4f420e2e4570a8e Reviewed-on: https://gerrit.libreoffice.org/21279 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-09tdf#96888 Kill internal vcl dog-tags ...Ras-al-Ghul
This is a cleanup to https://gerrit.libreoffice.org/#/c/21230/ Change-Id: I3999c8af1b906105a448e61353a839237aec7098 Reviewed-on: https://gerrit.libreoffice.org/21276 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-09vcl: move some Freetype stuff away from the "generic" folderChris Sherlock
Freetype is definitely not "generic" code. It is only used for Unix platforms, but is not used for OS X which has it's own font/glyph/text system called CoreText and that is implemented elsewhere in our codebase. Change-Id: I30b2756d2cd9a81b6f746988685295d25ba1de44 Reviewed-on: https://gerrit.libreoffice.org/21286 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-09vcl: Rename class ImplFTSFontData to FreetypeFontFaceChris Sherlock
ImplFTSFontData derives from PhysicalFontFace, and implements the mechanisms specified therein. It's not actually a "data" class, but also implements a factory function that creates a LogicalFontInstance object via Freetype. I believe the "S" in "FTS" stands for "Server", which is a misnomer as Freetype is a font renderer, not a font server. Change-Id: Ibacc4bf3f850ddfb37016ea2e3e088279b1b1ba1 Reviewed-on: https://gerrit.libreoffice.org/21285 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-09vcl: Rename ImplServerFontEntry to ServerFontInstanceChris Sherlock
I want to keep this class in line with the naming of the base class. ImplServerFontEntry derives from LogicalFontInstance, so the name ServerFontInstance is a better fit. Change-Id: I2d2e3919634c2aaa8e5d6d63b0bf718dec18c336 Reviewed-on: https://gerrit.libreoffice.org/21284 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-09tdf#96919 - vcl opengl: implement missing XOR mode.Michael Meeks
Also revert "tdf#96257: Silly work-around to produce same result ..." from commit ec8bc265050d86a749140c353360a78cce4e3fce. XOR rendering (it turns out) behaves oddly, and not for all operations. Change-Id: Ie07d988bbf7fed10fb5625ac547a01a306b05319 Reviewed-on: https://gerrit.libreoffice.org/21282 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-09tdf#96919 - vcldemo - implement XOR rendering test.Michael Meeks
Change-Id: Iecd8d1d1fafc9d80b40ab2069248678697dddb6c Reviewed-on: https://gerrit.libreoffice.org/21274 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-09Revert part of commit 85ac3cdMike Kaganski
A ctor of FontSelectPatternAttributes was moved twice, so an error introduced under Windows Change-Id: Id7cc8d01d643b27987f31d6c181d81ac440b6b1e Reviewed-on: https://gerrit.libreoffice.org/21283 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-09vcl: rename m_pFontCache to mpFontCache in LogicalFontInstanceChris Sherlock
This is the only variable in LogicalFontInstance with m_ as the prefix, so changing to mpFontCache for consistency. Also small tab cleanup in fontmanager.hxx Change-Id: Id79392337795259568fbe71efb5200f1e31219a8
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