summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2013-04-08Use SAL_FINAL hereTor Lillqvist
Sure, not that useful in this case (where it is quite obvious anyway that the class is not derived from), but just to verify that the SAL_FINAL thing works. Change-Id: Icef6eb64e278354694145bf98f02b9ffe5db7da7
2013-04-08fix fdo#60534 : use DefaultCharMapper::mapChar() to map RTL string unicodes.navin patidar
Use DefaultCharMapper::mapChar() to map RTL string unicodes to their mirror compatible unicodes. Change-Id: I5bd2fd18bf96c49bbdf2be521a9cf28c311c7a09 Reviewed-on: https://gerrit.libreoffice.org/3221 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-04-08GetGlyphOutlines is unusedTor Lillqvist
Change-Id: I9c5b60b52030110f4b308a9a75010fade2b8d575
2013-04-08Use SAL_OVERRIDE and drop an unused member functionTor Lillqvist
Drop GetGlyphOutlines() which is not used, does not override any base class function, and was even declared virtual even if there are no derived classes. Drop the dummy InitFont(), the equally dummy one in the base class is good enough. Also, put the overridden base class functions in the same order as in the base class. Improves code readability and understandability. Change-Id: Ia041ebaafae6c30cff18e00ee56f221e2f49b3e7
2013-04-08Add a commment with guesses about the layout engine "API"Tor Lillqvist
If anybody knnows more, or can point to actual useful documentation, please amend. Change-Id: I59910d9e5da71d67f6e5917f933c5a03f8d55a50
2013-04-08Refactoring, no change in end resultTor Lillqvist
Change-Id: I18cb4e00b86e25f299b897a1a71c1d7d68d8309d
2013-04-08More hacking, still not working properlyTor Lillqvist
There are still problems related to the handling of trailing spaces in CTLines for instance. Change-Id: If02fa5d711c2cde2d8aaf8f061f5d9f077d421f4
2013-04-08Bin some pointless SAL_INFOsTor Lillqvist
Change-Id: I5ef28eaac8eacd24f209617d68dfa23e0388bb1a
2013-04-08Bin unused fields and an unimplemented methodTor Lillqvist
Change-Id: Icf98fe5a41a53423f6e086e64e8e57f848b7e482
2013-04-08Add SAL_INFO output operator for CoreTextStyleInfoTor Lillqvist
Change-Id: I83ffefff08fbda920d7394df336671861fcb18f7
2013-04-08Add SAL_INFO output operator for CTFontRefTor Lillqvist
Change-Id: If878ae08131ab425ea958f54fc0bd5a07fc76881
2013-04-08Add SAL_INFO output operator for CGColorRefTor Lillqvist
Change-Id: Ie14e6ab19e43961559de21e6e82bd13f647f4e1f
2013-04-08Add logging output operators for CGPoint and CGSizeTor Lillqvist
Change-Id: I04ce457f002cfc0fdf3ab741a389082614035b17
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
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