summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07Avoid hang on make subsequentcheck on LinuxTor Lillqvist
Acquire the yield mutex in the VirtualDevice destructor only in a dbgutil build on OS X. (I added that acquire yesterday to fix an assertion when exiting on OS X.) Seems to fix a hang in "make subsequentcheck" on Linux. No idea what is going on exactly, sigh. Change-Id: Ifcb1897720998d0725a8db0d5f8c75848c6a30f7
2013-04-07Drop workarounds for Mac OS X SDKs 10.4 and 10.5Tor Lillqvist
Change-Id: Ifa07f9b5613b4a75c5b72178cb276b9c0b495a62
2013-04-07Need more headers to make sure we have CGRectTor Lillqvist
Change-Id: I8766ba5258f923d47474fa77e14eb7fbff530ffc
2013-04-07Bin some not longer interesting NSLoggingTor Lillqvist
Change-Id: I1afd93fc9a56e85a30991bce9ca2350764cf1ec2
2013-04-07We need to acquire the yield mutex hereTor Lillqvist
Otherwise we get an assertion failure in a dbgutil build from the DBG_TESTSOLARMUTEX() in OutputDevice::ImplReleaseGraphics() when quitting, at least in 64-bit LO on OS X. Change-Id: Ieb54e6b58033279f807fe91f4f6139018f643903
2013-04-07Create a justified line if asked toTor Lillqvist
The end result is still not satisfactory but it is getting closer. Oh how nice it would have been to have some clean useful documentation for how the text layout machinery works. The number of entry points in the low-level "backends" (like CoreTextLayout) is quite small, so I doubt it would have required lots of text to document the "protocol" used between the upper layers and the layout machinery. Now one just have to use educated guessing aided by lots of debugging printout. But this is true for most of the codebase, of course. Change-Id: I791f190819a187418865279f6a5b4aa598e01d3c
2013-04-07We have just one element in these tablesTor Lillqvist
Change-Id: I184c8c69f4a9afdb0019193b09f61c65e47d36ae
2013-04-07Don't return in a (rare?) case without restoring the CGContext state stackTor Lillqvist
Change-Id: I89040b62c0961be160fcfaa793e48326fa7a584c
2013-04-07Use CGContextShowGlyphsWithAdvances()Tor Lillqvist
Change-Id: I9373647e5d710acb26c9818e6d06d4bfb862a7df
2013-04-07Take trailing whitesapce into considerationTor Lillqvist
CTLineGetImageBounds() does not include space taken by trailing whitespace in the line. Change-Id: I403906daed952bac58fa11634beb6c7faa39b9b3
2013-04-07Try calling RefreshRect() in DrawText() like in the ATSUI codeTor Lillqvist
But like there, I don't know if it actually is needed or not. Change-Id: I25bf5d8cf160b56ee4deb47ab9774313eb9590c8
2013-04-07Bin some #if 0 codeTor Lillqvist
Change-Id: I6f185b4f55418e44956f9dd51e1e300f553ac355
2013-04-07mpChars2Glyphs is unusedTor Lillqvist
Change-Id: Ie98d242777cec92db6512f53fe102ecc65dc469c
2013-04-07Add comments to some questionable codeTor Lillqvist
Change-Id: I06121b065f360ecfeddb25c9e1487f4849e453a2
2013-04-07Log the ImplLayoutArgs parameter in AdjustLayout().Tor Lillqvist
Change-Id: Ib875973d31f71bab75973f683621118eb9cb927b
2013-04-07Add operator<< for CGRect for SAL_INFO goodnessTor Lillqvist
Change-Id: I144c93d0bdd8758dcdf490f29051c8dcaea500d8
2013-04-06Actually no need to have it inline in the headerTor Lillqvist
Change-Id: I3891441fee41dd56ff183c833b17d926722b8f91
2013-04-06Move the SAL_INFO operator<< for ImplLayoutArgs to sallayout.hxx for re-useTor Lillqvist
Change-Id: I6497550e8f55f9ba08b0c4f20de0ea04be45d617
2013-04-05new module i18nlangtagEike Rathke
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05Resolves: fdo#61940 unable to change shape fill colorsCaolán McNamara
The tab area page has a magic bit which is set when the page is activated that enables its properties to be applied on ok. If another page is activated that also affects area fill using an alternative set of properties, then the bit is unset. For layout we have to activate all pages that don't exist yet to get their optimal size. So we need to re-activate the original/current page after forcing the other pages to exist in order to make this trickery work. Change-Id: I90cac4624a12e6c29f6b226ce831f71c7cc49117
2013-04-05Drop jvmaccess and jvmfwk when no SOLAR_JAVATor Lillqvist
Just sprinkle #ifdef SOLAR_JAVA into the code instead. In the source for jvmaccess and jvmfwk such ifdefs can be removed as it isn't compiled unless SOLAR_JAVA. Change-Id: Ia8614f8bd6d833582d3b79b5fb75f9153fa79606
2013-04-04make border property of multiline edit optionalCaolán McNamara
Change-Id: Ideeda46baf3d96dd52a77b5d225df3c00153183e
2013-04-04map justification property to alignment bitsCaolán McNamara
Change-Id: I7d1494430cbc75cfb831dfe5500a0c3e6c9147fa
2013-04-04use existing hook for replacing %FOO variablesCaolán McNamara
Change-Id: Ib10545d964e96ae6f92583bbad8479951385247c
2013-04-04Reduce scope.Jan Holesovsky
Change-Id: I32160cff67494cde2ad21cb6d6fe48091d600b8d
2013-04-04fdo#60542 Persona setting: change color of the text menu.Cao Cuong Ngo
Change-Id: I1d0ed94d41b3b8bcf0504e1528f4f505f817ad86 Reviewed-on: https://gerrit.libreoffice.org/3127 Reviewed-by: Jan Holesovsky <kendy@suse.cz> Tested-by: Jan Holesovsky <kendy@suse.cz>
2013-04-04unwind tangled mess around spinner buttonsMichael Meeks
Restore removed spinner artwork, cleanup the code: hicontrast - is now a function of icon theme, not a global boolean. uwith thanks to Ariel Constenla-Haile) Change-Id: I68d4c7293a6faa130274cf45f53509ce140fa8c0
2013-04-04need to replace %OOOVENDOR in .ui stringsCaolán McNamara
Change-Id: If44cc1750b8555eab6e3dc2659e60a8fff10b24c
2013-04-04Related: fdo#61688 get strict ordering rightCaolán McNamara
Change-Id: Ibb3e74e98762358614713688d64e50db21025f1d
2013-04-04WaE: variable is uninitialized when used within its own initializationTor Lillqvist
Presumably aStr is intended here, not aTmpStr itself. Change-Id: I9a887c33f89d519c17ee0156ba9cea55b465fe97
2013-04-03Use OUString in ImplGetEllipsisString()Chr. Rossmanith
Change-Id: I02ae342857d2944c3d1a20b8d24bd6fcf3ac1f4a Reviewed-on: https://gerrit.libreoffice.org/3159 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-04-03Bypass fields that are unused for iOSTor Lillqvist
Change-Id: I378228808ef8f974e574714f48a2faf23123714b
2013-04-03Ensure we have a CGContext in a couple of more placesTor Lillqvist
Change-Id: I1d0963f51472328a1a5b212ab277c6e72fafd7b9
2013-04-03It's the font *style* we are looking at hereTor Lillqvist
So no point in checking font *family* names like "arial" or "times". Actually, I doubt this whole block of heuristics is necessary. Change-Id: I6965c27a7c4bed53db0e7ddaa40b1d09ccc4ad43
2013-04-03Add missing breakTor Lillqvist
Change-Id: I938b512dc3a32af9f2529a92ea3e4291abf64ad2
2013-04-03Fix heap corruptionTor Lillqvist
As its name says, CFDictionaryGetValue() follows "The Get Rule", i.e. you don't have ownership of the object returned, so it shouldn't be released. Change-Id: Ie605ac21754ed479911d8f4ceb00744a6df600aa
2013-04-03fdo#58807 bring Beep() for basic backThomas Arnhold
The functionality was removed by fdo#48549. This partially reverts 0f6101cfef4c2e45d9f1f1b3a61ef94799e4526b 0bdf6fc7c71c4c49e6d6f83d56ac953272ad16d5 85cb9084533605657aca0394afe4516058a8e4ef I changed the behavior to always beep, because only the basic macro function is using Beep(). Looks like the Beep macro function didn't even work correctly before the removal, because the default was to not beep for most platforms. So I set the volume from disable (0) to 50% for XBell(). Change-Id: I663ffb7af75d2fd6d2c1f94073e4412d9744de4a Reviewed-on: https://gerrit.libreoffice.org/3124 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-04-03Resolves: fdo#61688 SIGABRT with debug build in sortIntoBestTabTraversalOrderTerrence Enger
Change-Id: I28b125405eda3362d0c71a1e1052ef4d3afbcf34
2013-04-03Asserting rtl::O[U]StringBuffer::operator [] preconditionsStephan Bergmann
...and fixing two call-sites. Change-Id: I8ed8cb189bd5034130b49b2f57156568e6b24716
2013-04-03fdo#39468 Translate German in DBG_ASSERT and OSL_ENSURE in texteng.cxxChristian M. Heller
Change-Id: I9aac6a1f6e4a36fb95a518b752aef2066b45094c Reviewed-on: https://gerrit.libreoffice.org/3163 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-02Some cppcheck cleaningJulien Nabet
Change-Id: I993bd95b31f1090c747f01a899650e8873dcaada
2013-04-02Jpeg filter: destroy cinfo at setjmp + minor code clenupsTomaž Vajngerl
Change-Id: Iceaaf6cf98a4c64a17e88e4d3191cd7649940e82
2013-04-02Use OUString and sal_Int32 in GetTextWidth() (2)Chr. Rossmanith
Change-Id: I85ea6cc60add141954c8b75f78a8024c872d7174 Reviewed-on: https://gerrit.libreoffice.org/3158 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-04-02vcl: don't try to dlopen kde plugins when kde support is disabledMiklos Vajna
Change-Id: I01e19a9c7345e4a3489377ccb38c0465f8c88292
2013-04-02vcl: convert some fprintf to SAL_INFOThomas Arnhold
Change-Id: I4b9a20e62e8e137a1bfaa1c654307f15c33e3d3c Reviewed-on: https://gerrit.libreoffice.org/3143 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-02Fix typo: addtional => additional in the comment.Golnaz Irannejad
Change-Id: I7e9e71c721266a0cbc4412024ec49cb689672876 Reviewed-on: https://gerrit.libreoffice.org/3165 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-04-02update pch filesThomas Arnhold
Change-Id: Ic33dd20a469d1905d2bdaf1ce3633e6ac6db8a4c
2013-04-01Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: If5950affaff1537362b1e5c2e3791d04c5371306
2013-04-01vcl: unused includesMiklos Vajna
Change-Id: I43d83b916bf1741cea7c94a77dcc57b69544801c