summaryrefslogtreecommitdiff
path: root/vcl/win
AgeCommit message (Collapse)Author
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
2013-07-31Revert "fdo#66246 fdo#66395 BOM for MSVC with UTF-8 unfriendly codepage"Fridrich Štrba
This breaks tinderbox builds. Better fix on the way. This reverts commit ded871e9c1a69f640d6283ae6f79820689f0d612.
2013-07-31fdo#66246 fdo#66395 BOM for MSVC with UTF-8 unfriendly codepageIsamu Mogi
MSVC misinterprets UTF-8 source code without BOM as ANSI/OEM codepage. For that reason if local codepage is unfriendly to UTF-8, it sometimes causes compilation error. Change-Id: I8acd5500e581e020fd60b5a2ec20629f92fdf87c
2013-07-30Fix MinGW32 and MinGW64 buildFridrich Štrba
SHARDAPPIDINFO is Windows 7+ only. MinGW32/64 headers don't have it. So, just declare a struct with the same members since the SHAddToRecentDocs expect LPVOID anyway. Change-Id: I27e2c8cd6cd7f033cdcf053cc60a1c71038b189a
2013-07-29cppcheck: Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: If1bd91f28a96bd0eb53e4057e51db900f8b2c52b
2013-07-29fix windows buildNoel Grandin
after my XubString->OUString changes Change-Id: If62db5a82a01d1883dcc2d4e6efea4668930447b
2013-07-29Use the Win7 semantics of SHAddToRecentDocs when possibleJesús Corrius
Change-Id: I7cf0dfaec408800f3c682b3ef56799818b805881
2013-07-28Make AddToRecentDocumentList aware of the DocumentServiceFridrich Štrba
This information helps to map a document with an application ID needed for Windows 7 shell integration. Change-Id: I1224f566037ab7597a29b16f310f93d9f5441cce
2013-07-28Few comment translations, commented-out code removal, comment spellcheckStefan Knorr
Change-Id: Icd27eb2d11bf6ddd9932a1d0c8c9aa3494962bc8
2013-07-26Fix MINGW64 buildFridrich Štrba
Change-Id: Ie933fd3853f0c195faaee15620b970e6cb5259d1
2013-07-22Shell32.dll is already loadedFridrich Štrba
Since the vcllo.dll links already the shell32.dll because of its symbol SHAddToRecentDocs, no need to increase reference of that library. Just get the module handle. Moreover, a mere presence of the symbol SHGetPropertyStoreForWindow in shell32.dll indicates that we are running at least on Windows 7 or Windows Server 2008 R2. There is thus no need to check for the library version. Change-Id: I9ddfb8407fd805faf588779ac5fa8c10a0ae8898 Reviewed-on: https://gerrit.libreoffice.org/5016 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-20fdo#35785 LibreOffice's support of recent documents in Windows 7 brokenJesús Corrius
Change-Id: I916ba1335b0a0420f568ab9340632f273e3c9516 Reviewed-on: https://gerrit.libreoffice.org/4997 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-19remove Application::GetWorkAreaPosSizePixelNoel Grandin
This internal API has always been problematic because we cannot support it under the Linux toolkits, where it has in fact always just returned the size of the screen. Change-Id: I406bcbca8a4161b4261ef46940823bb07c6ad18b Reviewed-on: https://gerrit.libreoffice.org/4976 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-07-15fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFOJelle van der Waa
Change-Id: I85a3cfeac16e2c8e20724e1f6a5dd16c2c143a49 Reviewed-on: https://gerrit.libreoffice.org/4882 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>