summaryrefslogtreecommitdiff
path: root/vcl/inc
AgeCommit message (Collapse)Author
2013-12-11displayconnectiondispatch.hxx is private to vclTor Lillqvist
Change-Id: I86fab011150be6f151e4fd6a51246f41e86e5833
2013-12-06Re-organize OS X and iOS code in vcl a bitTor Lillqvist
Now with the ATSUI code gone is a good time for some re-organisation. Get rid of "aqua" in file names and the separate "coretext" folders. CoreText is all we use now for OS X (and has always been so for iOS), so no need for a "coretext" folder, we can keep the CoreText-using code under "quartz". Keep OS X -specific code in "osx". Ditto for headers. Keep "Aqua" as part of class names for now, though. This is also preparation for planned further unification between OS X and iOS code. Change-Id: Ic60bd73fea4ab98183e7c8a09c7d3f66b9a34223
2013-12-06Bin unused VER_TIGER and VER_LEOPARDTor Lillqvist
Change-Id: Ie5427d776c726c3725465e06bf4d14e93a2bbb32
2013-12-05fdo#39956 Delete JABDavid Ostrovsky
JAB has been discontinued in favor of the native IA2 bridge. Change-Id: I88461f73c620507d3e97b077ea2abdd2229322e1 Reviewed-on: https://gerrit.libreoffice.org/6819 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-12-05Resolves: #i123795# variable names should not confuse vcl...Herbert Dürr
Window and cocoa NSWindow types VCL's Window type and Cocoa's NSWindow type are quite different. Naming variables as if they were the same introduces gratuitous complexity especially when debugging stacks where both types are used. The names of NSView type variables have been adjusted too. (cherry picked from commit 5e6120c21a979c05bc6b9297035e31a47b98b785) Conflicts: vcl/aqua/source/app/vclnsapp.mm vcl/aqua/source/gdi/salgdi.cxx vcl/aqua/source/gdi/salgdiutils.cxx vcl/aqua/source/window/salframe.cxx vcl/aqua/source/window/salobj.cxx vcl/inc/vcl/sysdata.hxx vcl/source/window/syschild.cxx vcl/source/window/window.cxx Change-Id: Ic4143dfddfa9502a529c871ac4ce0bea413b6ce9
2013-12-05Typo fixTor Lillqvist
Change-Id: I994ebbad19873236ad6d8dc99f721908722d302a
2013-12-05Increase consistencyTor Lillqvist
Change-Id: I5469b00a533ef9bf731698d7906a470699e29ba6
2013-12-04Rename coretext/salgdi2.* to coretext/salgdi.*Khaled Hosny
The "2" part was a temporary measure so an older version of the file, that is long gone, can coexist. Change-Id: I3a22b287bfb1351bb73e9dabbfa67100fe17bb97
2013-12-04Bin ATSUI codeTor Lillqvist
TDF has been shipping a CoreText-using LO since 4.1 and the sky hasn't fallen. Getting rid of the ATSUI code will make other needed refactoring easier. Change-Id: I494096c3988ea26fa2b336621857d32b64b040f0
2013-12-04WaE: private field 'mbPrinter' is not usedTor Lillqvist
Change-Id: I78b364394b3bedafe66b2b72b3191a8ae778432b
2013-12-04Device-specific font substitution is not usedKhaled Hosny
This was only used for printer built in fonts, which was dropped in the previous commit. Change-Id: Iff62786284470ff3873c8d4b0aae0614bf69c7f3 Reviewed-on: https://gerrit.libreoffice.org/6859 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04Don't perform printer font substitutionKhaled Hosny
The so called printer resident fonts is a relic of a bygone era, when life was simple and there was only ASCII and Type1 fonts. It is just broken by design these days, offers nothing useful and can go wrong in many ways. Since 1f3a91cf2ace315fb332c0149808a2433eb9ae71 this "feature" is disabled by default anyway, so scrap this code to make room for some long due cleanup. Change-Id: Id124b2cad1a484099701a885c4d96e6a12af8d9a Reviewed-on: https://gerrit.libreoffice.org/6858 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-03vcl: fix sal_Int32 GetTextBreak harderMichael Stahl
Change-Id: I75181d12ca8b883055e5314504633af38b5e49c7
2013-12-03vcl: try to fix some sal_Int32 GetTextBreak()sMichael Stahl
Change-Id: If4aee2b42f0d2e15ca228863754959b7486437ee
2013-12-03longparas: convert GetTextBreak to sal_Int32Caolán McNamara
Change-Id: I693e4c9916e1968c33ebd922829662f6efc27bfb
2013-12-02fix buildCaolán McNamara
Change-Id: I24e5ad4f27584aa982fa8a4d7ee80e7167bbcacf
2013-12-02Make include guards sane in vclTor Lillqvist
We have a convention. Use it. Kill copypasta. Change-Id: I512e1c8e75b5da20b6756ffc88209a27674ad7c7
2013-12-02Clear up some copypastaTor Lillqvist
Change-Id: I453bd42e24b059e86e71dc2a64a0d6f524f7a197
2013-11-29Surely ATSLayout is no friend of the CoreText AquaSalGraphicsTor Lillqvist
Change-Id: I81725b388311ad9aade52906b4c5a6263b6bc104
2013-11-29Avoid pointless class derivation for the CoreText SystemFontListTor Lillqvist
Change-Id: Ib3e6705d166dec9d7db8787496947faf73e3cfb3
2013-11-28Re-factoring: Avoid pointless class derivationTor Lillqvist
Rename the CoreText-specific ImplMacFontData class to CoreTextFontData and unify it with its sole derived class CTFontData. Change-Id: Id3540432996ca55b2e4a20fd8798c94cb7bc84b6
2013-11-28Re-factoring: Avoid pointless class derivationTor Lillqvist
No need to hide stuff from ourselves at multiple levels. Rename the CoreText-specific ImplMacTextStyle class to CoreTextStyle and unify it with its sole derived class CTTextStyle. This is all internal to vcl anyway. Change-Id: Ib9e632ccba5c273200d4e3fce79a97db305c6662
2013-11-28Surely we want CGFloat and CGRect from the appropriate SDK headerTor Lillqvist
Especially as the CGFloat typedef depends on whether compiling 32- or 64-bit code. Change-Id: I2426aa6fb91a9a76367eb965d08b985ce69e4997
2013-11-27Unwind occurrences of deprecated sal_sChar, sal_uCharStephan Bergmann
Change-Id: I76be464200d486efef9c8a7e957c310c9adae3b8
2013-11-25Integrate branch of IAccessible2Steve Yin
Change-Id: I8c2fea0367ebfa53ce5e109ef48fd661cbfb78b3
2013-11-18want to be able to support non homogeneous buttons in buttonboxesCaolán McNamara
Change-Id: I7ea4c093d6318a24106542f851cfd58230bc3ea3
2013-11-15add a stock connect button stringCaolán McNamara
Change-Id: Ib90364afebea4ff1b926f3c8b9fd949b155fa81f
2013-11-10fdo#71321: We should not actually use the delta-is-pixels concept on OS XTor Lillqvist
Despite the comment in salwtype.hxx, and despite it being set, before 4e7495ac2cb6b015ad492def45fd24f4ba0f54f8 the mbDeltaIsPixel flag had not been used for anything on OS X (or other desktop OSes). So when the code was modified for the sake of touch devices to do take mbDeltaIsPixel into consideration, that code path was incorrectly taken also on OS X leading to incorrect scrolling. Change-Id: I7cbca4656037eefce963e976f6acf8fbb32d5269
2013-11-05update pchThomas Arnhold
Change-Id: I10f3dbd9513052b3bbe30ddc6523cd231f26ded3
2013-11-03fdo#70885: disable app menu under UnityIvan Timofeev
Change-Id: I90ca2f5dd8d2678dff74ae5599e640c9a69aee33
2013-11-01remove nonsense FOLD commentsThomas Arnhold
Conflicts: vcl/inc/sft.hxx Change-Id: I1b744f14b6524e4d5913775427280e68c4ee07fc Reviewed-on: https://gerrit.libreoffice.org/6491 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-01Cosmetics and style cleanupsTor Lillqvist
Change-Id: I45b072e5d6a216f0b82f7a0b3a4554ef4cc3570f
2013-11-01The "source size" of a VCL bitmap is not used for anythingTor Lillqvist
Thorsten thought it might have been used for to the handling of the "Original Size" functionality originally. That seems slightly broken currently in some use cases, and this change doesn't make it any worse. (To see the brokenness, play with resizing an image, reloading the document, and using "Original Size". With the right sequence of actions, LO seems to think that the "original size" is very small (1x1 pixel perhaps).) Change-Id: I4e0852d2b367def5bc40baf95aac273d59731eec
2013-10-30Windows: Drop obsolete stuffThomas Arnhold
This is pre Windows 2000. Drop it. Change-Id: I3599a0d2ff7cb967c534eaa0cd4f070817fe3240
2013-10-28fixincludeguards.sh: vclThomas Arnhold
Change-Id: I3858c2152267474afab8e5a72b9f5da0ac623012
2013-10-26Seems that <vcl/cvtsvm.hxx> is private to VCL, so move it thereTor Lillqvist
Change-Id: I3fd1ac8aaea2e79efcd9e2d4b12347a387d0d28b
2013-10-25Remove unused fileTor Lillqvist
Change-Id: I78023074a31cf1cc3703a8fbeeb7f6a44a5c70d3
2013-10-24Bin unused #definesTor Lillqvist
Change-Id: I5a6eb741c0669d2f1e5bfbe302066be863ec0249
2013-10-23More work on selection handling in iOSTor Lillqvist
Got the selection start and end handle dragging working... The trick was not to call SwWrtShell::SetCursor(), but SwCrsrShell::SetCrsr(). Sounds easy but took a lot of guessing and experimentation to figure out. Anyway, now it does what I had expected it to do a few das ago already. There are glitches, especially in corner cases like if you move the start handle past the end handle or vice versa. more Change-Id: Id6c1d99a4052531789bccf0d48165cfb41b89cfe 9b94c0dd55b04a7b6b3c40654562a9c51fa9b450
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22Try to handle selection resizing in a more "correct" wayTor Lillqvist
Faking mouse clicks is a stupid way to do it of course. Try to do it "right". For now just worked on moving the end handle, but once that works, similar code should be used for the start handle, too. Does not work yet. It is hard to extract out from SwEditWin::MouseButtonDown() exactly what all is relevant, and what isn't, for this use case. Change-Id: I76a226f787facbac645aaff8b4852d693bcf4ccb
2013-10-21Simplify further after the kerning pair changesTor Lillqvist
The ImplKernPairData struct was used now only by the VCL Windows code, and was apparently supposed to be identical to the Win32 KERNINGPAIR struct anyway. GetKernPairs() was called just once with zero and NULL parameters anyway, so it can be simplified. Change-Id: Iaa288868d1e590e0385377abc5b9d9d331d39d97
2013-10-21GetKernPairs() can even be private nowTor Lillqvist
Change-Id: I721266ee242704eb9bfef0d4ef0bbde255ab2020
2013-10-21No need for this to be virtual thenTor Lillqvist
Change-Id: I70ed11c576b75bc21ca1c9a021f0d3bf33073679
2013-10-21Remove GetKernPairs() with no implementationKhaled Hosny
I left only the Windows one because it being called (as GetKernPairs(0, NULL), but may be it does something, who knows). Change-Id: Iec05d61c8f0cd311a1158bb1cb07e4ee977f32fe Reviewed-on: https://gerrit.libreoffice.org/6260 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-21Removed unused kerning stuffKhaled Hosny
Kerning is just another font feature and is already handled by the layout engine, there is nothing special about it. Non of this seems to be used anywhere, anyway. Change-Id: Ia40c66ec186d11ab46d5d5256b09307a319318c0 Reviewed-on: https://gerrit.libreoffice.org/6259 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-21Drop support for non-Unicode fontsKhaled Hosny
They fell out of use before I had my first computer. This has no relation to the input text encoding being used. Change-Id: Ie1fde3c3578c80d77ebd63531e74c13931d46bbc Reviewed-on: https://gerrit.libreoffice.org/6258 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-18Related: rhbz#919070 display -1 means span all displaysCaolán McNamara
So try to set size to full "screen" size. most window managers will ignore this however unless _NET_WM_FULLSCREEN_MONITORS is set, Under gtk3 we can use gdk_window_set_fullscreen_mode to do that. Its effectively impractical for LibreOffice to itself calculate the right parameters for _NET_WM_FULLSCREEN_MONITORS as far as I can see Change-Id: Ia725f21048bfcec3dbf1478b4303ccd9cfec0b36
2013-10-16cleanupThomas Arnhold
Change-Id: I7bfd221f89718ba8634417c93a26b3a199178694
2013-10-15update pchThomas Arnhold
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d