summaryrefslogtreecommitdiff
path: root/vcl/win
AgeCommit message (Collapse)Author
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>
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke
If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-12fdo#66811: vcl: fix broken OUString with length STRING_LENMichael Stahl
ImplSalGetUniString was wrongly converted and constructs OUString with invalid length in WinSalGraphics::CreateFontSubset; this is then implicitly converted to an empty UniString so the font names are missing in the PDF files generated on Windows. (regression from 9e310cc32923ceb4b18d97ce68d54a339b935f01) Change-Id: I1603e62cf18f353f3d7de322b9111a173dc6b225
2013-07-12use LanguageTagEike Rathke
Change-Id: Ie7e9aac9356a7a9e20945556960f807928e1fede
2013-06-30Clean String and sal_Bool in toolsNorbert Thiebaud
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-29Mark as constTakeshi Abe
Change-Id: Ia390987749be2d1d642d4add11efcc892a81722a
2013-06-19WaE: for higher debugging levelsCaolán McNamara
Change-Id: Ibcf081c0c64381e8c188764f036687a8bfc0ea0e
2013-06-19Translate some key names to Hungarian in Customize -> KeyboardGabor Kelemen
Change-Id: If11b5fbd96a107ed83e305127713630093ef00dc Reviewed-on: https://gerrit.libreoffice.org/4346 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-06-18Adapt the comment not to speak about things that are notFridrich Štrba
Change-Id: Id287e9fd82baed87be4b5f280e397287f4e1006d
2013-06-18The original code was doing exactly this, so let me mimic itFridrich Štrba
Change-Id: I04f4a783b0edb6a1f8701cd5da323e6a9ab5441d
2013-06-18Trying to fix salgdi_gdiplusFridrich Štrba
Change-Id: I0125523fa74077bf482988f24381c0c1250c571f
2013-06-17Resolves: #i121591# Corrected some transparent printing stuff for windowsArmin Le Grand
(cherry picked from commit d4b5b8bf22edc31f18232abd764edddb2ca19738) Conflicts: vcl/win/source/gdi/salgdi_gdiplus.cxx Change-Id: I8191f945de10786982fcd1e94afc4f8adbe653bc
2013-06-17Fixing the joy of MSVC preprocessorFridrich Štrba
Change-Id: I4e97f93de568b1704a58ab5e5c47e85e09327779
2013-06-17min -> std::min in order to unbreak windows buildFridrich Štrba
Change-Id: I4b7b2acf0f1c3173393841ae1047240e991fb837
2013-06-16Get rid of SalLayout::GetFallbackFontData()Khaled Hosny
This is only used in conjunction with SalLayout::GetNextGlyphs() in vcl/source/gdi/pdfwriter_impl.cxx to retrieve the fallback font, if any, used to layout the given glyph, but it is a very convoluted way to do a straight forward thing, and hard to adapt for new SalLayout implementations. So now I just pass a fallback fonts array, when requested, in GetNextGlyphs() itself. Change-Id: I24e7931f64867a4fb4e7b728c65faa6198e24aba Reviewed-on: https://gerrit.libreoffice.org/4285 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2013-06-15Related: #i122350# Corrected buffering when alpha changedArmin Le Grand
(cherry picked from commit 66710ce4a2fd0c4e0f1b376d7c5da35d0ab2056f) Change-Id: I8c39cb0610210f55218fc0bd9e40e8e2a595cc06
2013-06-14if we have to define min/max then use those againCaolán McNamara
Change-Id: I631f0c872b7ec7e6dada1488e03eae3f75987fc6
2013-06-14min/max foo for msvcCaolán McNamara
Change-Id: Icdb19eb9f8e3925f2da2d2ffe514f0da2bd14471
2013-06-14make vcl compiler under mingw againCaolán McNamara
Change-Id: Ie4d85ca344163807b9455f6305c35327df9fd877
2013-06-14Resolves: #i121534# Reintegrating changes for rotated bitmap supportArmin Le Grand
(cherry picked from commit b2cc0de3fc9adee90787ca760e86869f9255b380) Conflicts: canvas/source/vcl/spritecanvashelper.cxx drawinglayer/Library_drawinglayer.mk drawinglayer/source/processor2d/vclhelperbitmaprender.cxx drawinglayer/source/processor2d/vclhelperbitmaprender.hxx drawinglayer/source/processor2d/vclhelperbitmaptransform.cxx drawinglayer/source/processor2d/vclhelperbitmaptransform.hxx drawinglayer/source/processor2d/vclprocessor2d.cxx officecfg/registry/schema/org/openoffice/Office/Draw.xcs svx/source/svdraw/svdograf.cxx vcl/aqua/source/gdi/salgdi.cxx vcl/inc/aqua/salgdi.h vcl/inc/os2/salgdi.h vcl/inc/salgdi.hxx vcl/inc/unx/pspgraphics.h vcl/inc/vcl/bitmapex.hxx vcl/inc/vcl/outdev.hxx vcl/inc/vcl/salbtype.hxx vcl/os2/source/gdi/salgdi2.cxx vcl/source/gdi/bitmapex.cxx vcl/source/gdi/outdev2.cxx vcl/source/gdi/salgdilayout.cxx vcl/source/gdi/salmisc.cxx vcl/unx/generic/gdi/pspgraphics.cxx vcl/unx/generic/gdi/salgdi2.cxx vcl/unx/headless/svpgdi.cxx vcl/unx/headless/svpgdi.hxx vcl/unx/headless/svppspgraphics.cxx vcl/unx/headless/svppspgraphics.hxx vcl/win/source/gdi/salbmp.cxx vcl/win/source/gdi/salgdi.cxx vcl/win/source/gdi/salgdi3.cxx vcl/win/source/gdi/salgdi_gdiplus.cxx vcl/win/source/gdi/winlayout.cxx Change-Id: I871d1d107b019758f3913e5eb63bc9bc0ba403fd Do not name unused arguments to prevent compiler warnings. (cherry picked from commit f3118889a0cd941f193e9b6557c0792015d77a34) Change-Id: I482d1f96d695c7bf9912ec464bb39e7fdd14adef Related: #i121534# fix graphite-enabled windows build (cherry picked from commit c90a6ca92b1239d01a2892e15488e4a183a88b1a) Conflicts: vcl/win/source/gdi/winlayout.cxx Change-Id: I95fd41ad6f7187f34ba9474674a471fb4fc65314
2013-06-13cppcheck: fix all the others Prefer prefix ++/-- operatorsJulien Nabet
Change-Id: I7956510a5faf1d659f88268941f8afce44e83560
2013-06-12Resolves: #i121237# Rework/Cleanup of Region code...Armin Le Grand
due to missing complete support for B2DPolygon class (cherry picked from commit cab10eeb7878edf224a004fd7640bd4adf8d3c51) Conflicts: cppcanvas/source/mtfrenderer/implrenderer.cxx svx/source/sdr/overlay/overlaymanagerbuffered.cxx svx/source/svdraw/svdpntv.cxx vcl/aqua/source/gdi/salgdi.cxx vcl/inc/region.h vcl/inc/unx/gtk/gtkgdi.hxx vcl/inc/vcl/regband.hxx vcl/inc/vcl/region.hxx vcl/os2/source/gdi/salgdi.cxx vcl/source/gdi/bmpacc3.cxx vcl/source/gdi/outdev2.cxx vcl/source/gdi/outmap.cxx vcl/source/gdi/regband.cxx vcl/source/gdi/region.cxx vcl/source/window/window.cxx vcl/unx/generic/gdi/pspgraphics.cxx vcl/unx/headless/svpgdi.cxx vcl/unx/headless/svppspgraphics.cxx vcl/win/source/gdi/salgdi.cxx Change-Id: Iee9a66ff431c3cecb7603e445147b67715de0f7d Remove unused variable to prevent compiler warning (cherry picked from commit 0ac65ccf079e3e22ac23cbe7ae546504c863c31f) Change-Id: Icbcaa9d576a7e560d96debc7360bdbe9090b3fd3 Wrong comparison with bool corrected (cherry picked from commit 612cefdcf6176b6bb847ce899d89af40ef313a90) Change-Id: I1cf5de6734b588f78d8e870ba7b7860634b461ce
2013-06-10mingw64: Don't cast to pointers from narrower integersFridrich Štrba
Change-Id: Ica7bd2d6b395d42d575660991ec74ecb2b744473
2013-06-06Newer mingw-w64 has gdiplus headers, though a bit buggyFridrich Štrba
Change-Id: Ibc25c621c0a97c11b617e920494cd311449c04d3
2013-06-06Some more movement to mingw64 portFridrich Štrba
Change-Id: I6af3cb1ac205dae20feb5a35481071bc4232680b
2013-06-05Some more win64 "fixes"Fridrich Štrba
Change-Id: Id3de720a7ab28499644881e628a18f99121cb3c9