summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)AuthorFilesLines
2012-06-12Add a default dummy implementation of SalVirtualDevice::SetSizeUsingBuffer()Tor Lillqvist1-1/+5
Change-Id: Ib1d98173f2dd29a59ce49bbe93ff563d5bb913a0
2012-06-12Implement XToolkit2::createScreenCompatibleDeviceUsingBuffer for AndroidTor Lillqvist5-11/+42
Change-Id: I8dd16850a35cd2de7260dcbe9a8aa7afae2294be
2012-06-11Remove unused InterceptChildWindowKeyDown: further cleanupThomas Arnhold1-5/+0
Change-Id: Ie894c1a1989433e4faa14ca469defd5239584dbe
2012-06-11Remove unused InterceptChildWindowKeyDownThomas Arnhold17-104/+10
- InterceptChildWindowKeyDown never gets called - so mbInterceptChildWindowKeyDown doesn't get changed - at ImplInterceptChildWindowKeyDown a) ImplSendMessage() is never accessed b) always returns sal_False Change-Id: I2dc84c88644d19c238064ab1b7dff0a24f90dc5d
2012-06-11Remove non-functional Hide/ShowStatusTextThomas Arnhold2-15/+0
Change-Id: Ifad680ea6f2f3693fecc649a000e638052dcf080
2012-06-11Make DO_TEST_PDF code work againGökçen Eraslan1-2/+20
Change-Id: I3b3e5ab68421e25e6bf153f11ca5e538aa482874
2012-06-11Adapt gcach_layout.cxx to SAL_INFOStephan Bergmann3-21/+11
* ServerFont::GetFontFileName definition seems to inadvertently got lost with 8e64e571f23f969590efbf7246c464c352d8b9ec "Merge FreetypeServerFont and ServerFont now its split out into unx" * Likewise, ServerFont::GetFontFaceNumber is unused, so remove declaration (that also has no corresponding definition) Change-Id: Ia8919d4248243c434c5cdbda548f5303a468f2d3
2012-06-11FixedBorder is no longer usedCaolán McNamara5-274/+0
Change-Id: Ic4b1ab81d414963e7cb40c348737504c8021a7fb
2012-06-112008-12-16 FIXME: remove before integrationCaolán McNamara1-1/+0
Change-Id: I0c891c260c71b38aef09b3f4d5385e6ac8bf9cf6
2012-06-10Bin pointless <vcl/sv.h> headerTor Lillqvist100-135/+98
It only included <tools/solar.h>, so include that directly instead. Change-Id: Ic5db474c16ca33dcdcaabb5b5f00535b4b27dc8f
2012-06-10Remove bogus headerThomas Arnhold1-2/+0
Thanks to Rene Engelhard for pointing this out. Change-Id: I6a6c91f6675ec8034c0af85dcb89bcbfaa7a18d8
2012-06-10separator will be invisible if there is no visible buttonsIvan Timofeev1-2/+1
Change-Id: Ife88aa5059630b7d71f567a2c8368cec55050eef
2012-06-09Do what the TODO said: Remove unused member and inclusion of vcl/virdev.hxxTor Lillqvist3-4/+1
Add header back in a few C++ files elsewhere. Change-Id: I041ed39ff9bb26d1f42f3614ca50dbc085f13861
2012-06-09oops, hide the first separator as wellIvan Timofeev1-1/+1
Change-Id: I90354696b96870b6d828e8f53e8b72a3716133bc
2012-06-09fdo#42379: hide separators before calculating line breaksIvan Timofeev1-28/+35
it is nesessary since commit 1703501a100cd6d52578baeb4e8097218b285ffb, ImplCalcBreaks looks for the last visible item. Change-Id: Ifb103d264116930339d8f5cfb267601f0e760fd2
2012-06-09fdo#46390 Move VERBOSE to OSL_DEBUG_LEVEL leftoversThomas Arnhold1-1/+1
Change-Id: Iebc7d58ad50777476d1ae69958ad90a8b86ed5d8
2012-06-09Remove superfluous empty lines on topThomas Arnhold5-12/+0
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-07Use the new THIRTYTWO_BIT_TC_MASK_RGBA format for Android and iOSTor Lillqvist5-8/+44
Change-Id: I7cc8c5943454edea7fdef50b125d0baa95fc3f8b
2012-06-07Implement native FixedLine render, add GTK support for itRuslan Kabatsayev3-0/+41
Change-Id: I142cc8c48331aaed0d157b4b0f81e7c021005624
2012-06-07Render bg correctly for widgets without theme-visible positionRuslan Kabatsayev1-4/+32
Change-Id: I8c9d2a86ee545788d40a27538e583a8dac21095f
2012-06-07Fix new Bitmap creation in Lanczos resampling.Tomaž Vajngerl1-3/+2
Bitmaps in Lanczos resampling were not created correctly. This problem was visible in Impress when the background of a slide was set to "tile". Change-Id: Ic77ae1f20a872176eacb1f28175d53b4a0934008
2012-06-06calc input line: Fix crash on MacOSX.Jan Holesovsky1-1/+1
Change-Id: Iff50dfc1b4730ff584e3015486da4acf8fd5cb47
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin1-8/+4
Update code to use factory method URLTransformer::create Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-05Intercept the window close event and end the preview when clicking 'x'.Kohei Yoshida3-10/+36
This is to prevent the preview window from closing the whole document when pressing the window frame's 'x' button. Instead, pressing the 'x' will end the preview mode and bring it back to the normal Calc window. Change-Id: If4d42928784e3e05bc6357d811a1954efb221f01
2012-06-05remove unused headersThomas Arnhold1-6/+0
Change-Id: I72fefdcd8aaf6d1f1677b4cae21cb915e96ed503
2012-06-05fdo#50415 and fdo#34638 Fix Shortcut names are not localized on LinuxThomas Arnhold4-7/+396
This partially reverts commit 2233aa52da14ec85331aee1163b885fe9a9fb507 Before the keyboard name was used to determine the target language for translation of UI shortcuts. With this patch the UI locale is used to determine the language. Related to: - 8d9e2d9a211f710e91ac7c607fea25895282d245 - 04b9c2f633f0be1b676933943bdd0b1dc58b5471 Change-Id: I14c6759dc405db490d210a78ce19e1416efb7ac7
2012-06-05Use 32bpp bitmaps on Android (and iOS)Tor Lillqvist4-2/+12
Modify DocumentLoader correspondingly. Take Android bug 32588 into account. Ideal would be to extend the XDevice stuff, or something, so that one could hand it a pre-allocated RGBA buffer into which the drawing/rendering would go. Then one could get rid of the silly convert-to-BMP phase, which prefixes the bitmap data with BMP and DIB headers (and thus, I guess, has to copy and allocate another copy). Will see. Change-Id: I4597cd933db8faa8105dc8f19638d712d5d2238a
2012-06-05GTK theming: implement frame renderingRuslan Kabatsayev2-1/+114
Change-Id: I7efa167cee05f84c56f554b5c20029999e825809
2012-06-05Let's be bold, and default to the nice method when scaling.Jan Holesovsky2-4/+4
[ie. use BMP_SCALE_FAST only where explicitly asked for.] Change-Id: Ia5eccc786262216a803b989b073ffd9c1ed78377
2012-06-05Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.Jan Holesovsky3-3/+3
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of BMP_SCALE_INTERPOLATE. Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
2012-06-05Lanczos resampling - mirror image on edges and fix image upscalingTomaž Vajngerl1-18/+42
When upscaling the bitmap at edges use the mirror of the image to calculate contributions. Fix calculation of contributions when upscaling a bitmap. Change-Id: I9d3aedaed95aaab60ee5ea9cdd65e4dd8624428f
2012-06-05assume for all menus we reserve space for checkboxesCaolán McNamara2-40/+17
so menus have consistent whitespace at left regardless of containing checkboxes/radiobutton entries. Its nasty to have menus "suddenly" appear without whitespace as submenus of ones with whitespace. This is a logical consequence of MENU_FLAG_SHOWCHECKIMAGES always set (in the absence of SetMenuFlags where usage has generally dropped MENU_FLAG_SHOWCHECKIMAGES accidentally) Change-Id: I9501381b91415131eff5143a0c88142221530fb6
2012-06-05at one stage we had checkmarks *and* icons in menus side by sideCaolán McNamara1-6/+7
later on we ended up with toggleable icons instead, change comment to reflect the current situation Change-Id: Ia39f6bffe8e5942442482b1f845d2964138ec032
2012-06-05nCheckPos and nImagePos are always the same value, merge togetherCaolán McNamara2-8/+5
Change-Id: I41bf6eada1fbeaa9548f81b3bf4fd9d4f4f6871a
2012-06-05fix mangled indentCaolán McNamara1-5/+5
Change-Id: I57d0a16ed698b406cb7362a3382698fcd5bf21b2
2012-06-05make ImplGetNativeCheckAndRadioSize return max sizeCaolán McNamara2-18/+19
rather than just max height with max width smuggled out as a confusing extra third argument Change-Id: Id37ec4f679e5668715d5db0bc8875a27c8b2fb3c
2012-06-05nMax here is a height valueCaolán McNamara1-6/+6
Change-Id: Ia1c12f29840dcb2f3f5a5d654a368ddc11554ab2
2012-06-04Change return PrintFontManager::countFontconfigFontsJulien Nabet2-4/+6
PrintFontManager::countFontconfigFonts returns an int but it's never used so let's drop the int returned Change-Id: Iab00916aec36b899a04555743d698a3fc1d45085
2012-06-04fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin3-53/+44
Update calls to factories to use new ::create methods Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-04fdo#50631: Fix the bounding box of rotated glyphs on MacOSX.Norbert Thiebaud1-5/+21
Similarly to Ifb04d4a8e485182c5ef2771025b06832bfd75ae0 (commit ac25f124858b79e302adcc533d6a658d5c529394), we need to rotate the bounding box of glyphs on MacOSX too. Additionally, round the position up, and convert the size more straight-forward way. Change-Id: Idf7a077836e65072795c6d98d61925ce62ee35b7
2012-06-04fdo#50169: skip the rest of the loop in case of wrong indexMichael Stahl1-4/+5
Presumably that is what Martin wanted to do in the previous patch. Change-Id: I64f1da88c1802a27cf974aa6abc15b014b56126d
2012-06-04fdo#50169: add another index checkMartin Hosken1-0/+1
Change-Id: I974ac27ee17219ce3f8a7e5641dbb0098da18f8e
2012-06-04nuke unused definesTakeshi Abe1-2/+0
Change-Id: I7924da4bff73ca8f82c76eb8cb211401530acdeb
2012-06-04fdo#46378: Lanczos3 resampling of images added to Bitmap.Tomaz Vajngerl2-0/+250
Current resampling methods for images are FAST and INTERPOLATE. FAST is used where speed of resampling is required, on the other hand INTERPOLATE resampling is used when we need quality. For example INTERPOLATE resampling method is used at PDF export. INTERPOLATE resampling uses bilinear interpolation which is known to be lower quality as other modern (and slower) resampling algorithms such as Lanczos, Mitchell or BiCubic resampling. This change adds Lanczos resampling to the Bitmap class and enables Lanczos resampling in PDF export. Lanczos3 resampling is implmented using separable convolution with which it is also possible to easily add other resampling methods like BiCubic just by changing the kernel function. Change-Id: I8dff5b65753b09dffd5bc34f2343d9818efb3e58
2012-06-04sal_uInt32 -> cmsUInt32NumberFridrich Štrba1-1/+1
Change-Id: I2d16ab0c75221cd7ce3e602d9f830b597433411b
2012-06-04Find the internal lcms2 headerFridrich Štrba1-0/+1
Change-Id: I9ee6b40f28ffb5cc557cdcfff49287bd2e4b0fe2
2012-06-04Replace the module icc functionality by a use of lcms2Fridrich Štrba3-3/+12
Change-Id: I989af1147711f0175bf889bc55043b2d84a49b38
2012-06-02vcl: add dependency on basebmp's headers not implied by linkingMatúš Kukan1-0/+5
Change-Id: Ic35a980f7ddc45ce319fe6d78c93be33126380a6
2012-06-02targeted string re-workNorbert Thiebaud9-189/+187
Change-Id: Ic1fb9f4ec0f37d4efcf43c58b903388478d52173
2012-06-02targeted string re-workNorbert Thiebaud21-134/+123
Change-Id: I0ca912c8b7e485f5ec78422150aedc72ca6df32f