summaryrefslogtreecommitdiff
path: root/vcl/win
AgeCommit message (Collapse)Author
2013-12-11Use static for this getenv call too.Matúš Kukan
Change-Id: Ieb8dd13763c6d5e6d30ce641683de79d89d135df
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
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-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-03vcl: d'oh /me still to dumb to typeMichael Stahl
Change-Id: Ie8a5b7493c08a0a63f2791d3cfb00b490609eb7c
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-02vcl: check if AT is running before loading the libraryMichael Stahl
... which should result in faster startup if it's disabled. Change-Id: I39774b0a56f186d08270c2f17b2b20a823f21dc2
2013-12-02vcl: fix crashes when retrieving objects for MSAAMichael Stahl
The ImplHandleGetObject() function modifies the Application Settings and must take the SolarMutex for this; otherwise we get crashes when another thread calls StyleSettings::GetPersonaHeader() during some unoapi test. Also fix another HWND to long cast; use LRESULT which is Win32 for intptr_t. Change-Id: I5580f88ed0a8e9955697655ace94584e2307982d
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-20Windows: Require at least Windows XP SP2Thomas Arnhold
* Windows XP SP2 is 0x0502, see http://msdn.microsoft.com/en-us/library/aa383745.aspx * If a module changes the Windows SDK version setting, this is done module wide now. So the overall behavior is as before. This seems to be the best compromise for now. * We need at least SP2 because of the bluetooth stuff used in sd/source/ui/remotecontrol. * Now, we require at least Internet Explorer 7.0. IE6 has been outdated for a long time. * Leave StdAfx.h file definitions, as those are Microsoft project specific precompiled header files. * All local definitions of WINVER are removed, because the global WINVER setting makes them obsolete now. To the relation of the three macros: Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION automatically to the same value as _WIN32_WINNT. WINVER and NTDDI_VERSION can be set idenpendently each for itself. Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb Reviewed-on: https://gerrit.libreoffice.org/6496 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-19uia: merge VCL pieces of IAccessible2 work.Michael Meeks
Original code from: Author: Steve Yin <steve_y@apache.org> Date: Sat Nov 16 23:58:19 2013 +0100 Integrate branch of IAccessible2 With these improvements: Make IAccessible2 an experimental feature, with fallback to Java a11y. Move initial setup of windows into the bridge and clean, remove conditionals Check for presence of AT in the bridge as well to clean. Merge VCL events extensions and their handling. Clean and split WB_GETOBJECT handling out to it's own method. Add component prefix namespacing. Cleanup msaa service info, and implement XComponent to share mxAccessBridge. Add suitable debugging output, remove VCL dependency from UAccCOM causing registration issues. Change-Id: Ib19e38ddca71182018df438df27dcdb555d91402
2013-11-14remove unnecessary sal_Unicode casts in VCL moduleNoel Grandin
Change-Id: I79da72097e8bc86891075d1484a59b5599a063d0
2013-11-10clean up #ifdef ICC codeMichael Stahl
According to the dmake documentation, ICC refers to Visual Age C++ for OS/2, which is not a supported compiler (or platform). Change-Id: Ic9e23bc7c44de110a3a312bd007beda3b660927d
2013-11-06convert xub_StrLen to sal_Int32Noel Grandin
convert for loops using xub_StrLen to use sal_Int32 Change-Id: I5f635ca078966fefe938dbc7e8dea7c8d0d0b554
2013-11-05convert xub_StrLen to sal_Int32Noel Grandin
Convert code like: xub_StrLen nLen = aStr.getLength(); into sal_Int32 nLen = aStr.getLength(); Change-Id: Ib0af6b747068257478918fd1cc93e4925f32ac47
2013-11-05Revert "Windows: SHARDAPPIDINFO since 0x0600"Thomas Arnhold
This reverts commit 9a4a84df5406cdcde1f4d23a1cea2b109998f35b This was false, because WINVER is currently set to 0x0500 in solenv/gbuild/platform/windows.mk. We need a runtime check like it's realised already and have to define the missing struct if necessary. Change-Id: I267dff1c8137657e47bdc4ad5ae81d511d7b9d5f
2013-11-04remove redundant calls to OUString constructorNoel Grandin
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-10-31vcl: fix braceThomas Arnhold
Change-Id: Ib41c9521a8b8e5b8ebc170f9b7e45379a51f1bd5
2013-10-31Windows: SHARDAPPIDINFO since 0x0600Thomas Arnhold
This requires at least Windows 7 / Windows Server 2008. Otherwise it won't compile under WinXP. http://msdn.microsoft.com/en-us/library/windows/desktop/dd391556 Change-Id: I984e8bc1e9dc80a9c8bf236be9af3cffabcabd05
2013-10-30Windows: Drop obsolete stuffThomas Arnhold
This is pre Windows 2000. Drop it. Change-Id: I3599a0d2ff7cb967c534eaa0cd4f070817fe3240
2013-10-30windows: remove WINVER checkThomas Arnhold
This check is no longer necessary as we require at least Windows XP, which is 0x0501. It was implemented for ImmGetProperty(). Came in with 011bcd1ea1e8ce10f6b9946d8d44d05a59387b8c Change-Id: If94d6e99e7f474d931546326bd6c96f2cfa4cfcd
2013-10-24fixed build breaker MongolianEike Rathke
Change-Id: I5100d44ceea79c4b47d2dd5bda5066c5003313a1
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-22bah, Len->!isEmptyCaolán McNamara
Change-Id: Icc09ef129d39575e02de4eaf1e371e3de8758eb3
2013-10-22some sneaky strings in vcl/winCaolán McNamara
Change-Id: I489b0088302016fb403fed090be9de9d6c213350
2013-10-21some windows only StringsCaolán McNamara
Change-Id: I264bdfc3453e2b6a17397ffb27154a29394c8c1b
2013-10-21Resolves: #i123478# Secure mem freeing for BitmapBuffer classArmin Le Grand
(cherry picked from commit dd1cb9aa9ea24b6c89de05e6c5deae7951b78feb) Change-Id: I7a63835d1e93f4cebc0f908d01873ea3ff91fe66
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-21String::GetBuffer()->OUString::getStr()Caolán McNamara
Change-Id: I427bb7b8e32d8a0040dbca1d0d0c765f526ba62f
2013-10-20flush out some windows-only String::AssignsCaolán McNamara
Change-Id: Ic971825bbe7d10849718f0ad0413305dbd5547a0
2013-10-14Related: fdo#38838 remove UniString::AppendAsciiCaolán McNamara
Change-Id: I0f929843d73eb445c8b1aa56d59cbbce844b9008
2013-09-13vcl: unbreak WNT buildMichael Stahl
Change-Id: I000824e86f40ce20af2d254dc848b51321602760
2013-09-13String to OUStringThomas Arnhold
This removes nearly all ToLowerAscii() calls. Conflicts: linguistic/source/convdic.cxx linguistic/source/convdiclist.cxx linguistic/source/dlistimp.cxx sc/source/filter/html/htmlexp.cxx Change-Id: Iddcaacfb7383e1df3d2f13751a3c788eba953fdd Reviewed-on: https://gerrit.libreoffice.org/5895 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-09-07s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-09-04XubString to OUStringThomas Arnhold
Change-Id: Ia7514abaa494a367d51db9d9990cd94cff6ed503 Reviewed-on: https://gerrit.libreoffice.org/5802 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2013-09-03fdo#68731: vcl: fix path for bundled fonts on WindowsMichael Stahl
WinSalGraphics::GetDevFontList(): remove the obsolete "Basis" from the search path to find the bundled fonts. Change-Id: I7d7d650243592944e3339dd75caf29f2b2fe6670
2013-08-31fdo#39468: Translate German commentsPhilipp Riemer
Change-Id: I9ccb6453fbebf03d44d3f5b385fa5a49579da873
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer
Change-Id: I7409f7a58796c9bf7542b6a7904ad40581637eeb
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-31cppcheck: Array index is used before limits checkJulien Nabet
Change-Id: I531430ce4bc0937a023d3e2849ae07d8f94e3e70
2013-08-28Related: #i122923# win only: improved bitmap handling for renderingArmin Le Grand
(cherry picked from commit 07302c14ad5e5983720a1d4514ff355b9930e5be) Change-Id: Iba5303085bf4d6fcc79c0d04197429c436666e15
2013-08-20Re-work 8bit characters in source code, or remove them.Michael Meeks
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-14Resolves: #i122149# Corrected stuff around polygon-based clip regionsArmin Le Grand
do not use them where not needed (cherry picked from commit 4ccb1eb7d58005ab3b501b7c6ff128fadbcd5066) Conflicts: basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx basegfx/inc/basegfx/polygon/b2dpolygontools.hxx basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx basegfx/inc/basegfx/tuple/b2dtuple.hxx basegfx/inc/basegfx/tuple/b3dtuple.hxx sc/source/ui/inc/output.hxx sc/source/ui/view/gridwin.cxx sc/source/ui/view/output.cxx vcl/win/source/gdi/salgdi.cxx Change-Id: Ie265814a51180bffe3c821a3f2148cb3bb54ecad
2013-08-06Resolves: #i122948# fill gaps in glyphs->chars mapping for usp10-layoutsHerbert Dürr
using a heuristic that assumes a glyph with unknown char mapping is the continuation of the preceding glyph. If there is no known preceding mapping use the run bounds. (cherry picked from commit 576e4ea626e1c1ffcf9d025e692db62fed8c3cab) Change-Id: I70e58a02d814e14e9592ff8efc0ae630346ae5df
2013-07-31Update cautionary commentTor Lillqvist
Change-Id: Idafce559e6499e240c90dc0baa7359f63476ff7d
2013-07-31Argh, the \xNN syntax uses as many hex chars there happens to be...Tor Lillqvist
So use string splicing after a sequence of \xNN. (For consistency even if it isn't a valid hex character that follows.) Change-Id: I269788fa5d5fbc4eda5b9edcaaabfcbce59e4885
2013-07-31Convert utf-8 bytes to \xNN hex representationTor Lillqvist
Change-Id: I5d1cc0331278f09a6e32345980c660d877d606fa