summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2016-10-25Skip font formats not supported by CommonSalLayoutKhaled Hosny
Don’t list fonts we can’t handle, bad things would happen… Change-Id: Ic88486e34da69090deb3e8c394cb75a8e4e5cbd0
2016-10-25tdf#99723: target ratio must be reachedJulien Nabet
to be sure we can avoid decompressing/recompressing Regression from https://cgit.freedesktop.org/libreoffice/core/commit/?id=76ec54e8c9f3580450bca85236a4f5af0c328588 Change-Id: Iacd7b2419ea85756f936b17f04c4e495d15e5b81 Reviewed-on: https://gerrit.libreoffice.org/30163 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-10-25no Control loaded from .src nowCaolán McNamara
Change-Id: I25af1187f7888ad3f8d7078e3b59d3e4a09b8ab5
2016-10-25remove now unused ImplLoadRes methodsCaolán McNamara
Change-Id: I8ff86fa847a74d48ccd06e8945beac9cf5653ab9
2016-10-25no raw Window is loaded from .src anymoreCaolán McNamara
Change-Id: I81e4bb23f4a819f59115cdf58afe19097b4ce68f
2016-10-25no FixedText loaded from .src nowCaolán McNamara
Change-Id: Ic377c5238e1763a2defdce72bbe893e826aae5ac
2016-10-25no PushButton loaded from .src nowCaolán McNamara
Change-Id: Ib866107995ab0496cf4f37a5e780458031d2fc25
2016-10-25no Edit controls loaded from .src nowCaolán McNamara
Change-Id: I42c7377c101c642ea39028e05e4ffd58fc7435d7
2016-10-25no ListBox loaded from .src nowCaolán McNamara
Change-Id: I7d30c38777f6a36c991271a3617d3f75c83cd490
2016-10-25Resolves: tdf#103472 gtk3 dnd must clear listener after dragDropEnd dispatchCaolán McNamara
like the generic dnd impl does Change-Id: Ie860c43329ee2f9332d12a53cd691ac7fcbb5eac
2016-10-25loplugin:staticmethodsStephan Bergmann
Change-Id: Id1a6184c3d3efab2d0ad921ee44b9b96ddddf74e
2016-10-24no FixedImage is loaded from .src anymoreCaolán McNamara
Change-Id: I7c5acd18b14822d6344af3709c6d8cfb343104ef
2016-10-24no ImageButton loaded from .src nowCaolán McNamara
Change-Id: If6f6718e1e6d756b99a499deafa4310c76a75ad3
2016-10-24implement VclVPaned and decripple formula panelCaolán McNamara
Change-Id: If87e481a5cf0ef34b469ac0440643b0a0e8a296c
2016-10-24impl. missing functionDavid Tardon
This is copied from vcl/unx/generic/glyphs/gcach_layout.cxx . Change-Id: I778c1c862c80668a06db8e91c11773ecc9916078
2016-10-23Fix typosAndrea Gelmini
Change-Id: Ib7b17f85c7b6a1937c3f6e1617ceec58074643b4 Reviewed-on: https://gerrit.libreoffice.org/30040 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-10-22crashtesting: assert on converting ooo66538-1.ppt to pdfCaolán McNamara
Change-Id: I6bdb31715a4cb9e895fc169679a7465a8f18fc37
2016-10-22Typos in commentsJulien Nabet
Change-Id: I6450d3862a67c2a9275a569a8ee3c29262124409 Reviewed-on: https://gerrit.libreoffice.org/30162 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-10-22Simplify CommonSalLayout constructor on WindowsKhaled Hosny
We can use GDI to load the font tables after all, no need for all the complications to use DirectWrite to load them. Should also make it work on Windows XP (untested). Change-Id: Id49fc524e6da983d76669a078f8b7d624f955703 Reviewed-on: https://gerrit.libreoffice.org/30156 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-10-21tdf#103365: Try to fix Windows OpenGL renderingKhaled Hosny
Essentially an adapted copy of WinLayout::DrawText(). Avoiding code duplication would have been nicer, but it is going to be too complicated and the other copy is going away soonish anyway. Change-Id: I7db4008a0db3d01d71d106e06fe413658f9bf42d Reviewed-on: https://gerrit.libreoffice.org/30123 Reviewed-by: akash <akash96j@gmail.com> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2016-10-21Resolves: tdf#103320 pressed buttons appear as hover buttons in toolbarCaolán McNamara
since... commit 3498ed37527b7af795f00dc6a55c11e65a313186 Author: Caolán McNamara <caolanm@redhat.com> Date: Tue Oct 18 13:08:47 2016 +0100 Resolves: tdf#100251 gtk3 toolbar separators are white in Adwaita so remove setting the parent of the toolbar again, colors remain good cause we ended up using gtk_render_background+gtk_render_frame for the new-style code path anyway Change-Id: Idd01537acbd92d6b41e0ff7fa2306b8c49f23ad3
2016-10-21catch and rethrow later uno exceptions within glib signalsCaolán McNamara
after g_main_context_iteration when its safe to do so again otherwise if something happens inside the glib signal callback and the exception skips the code waiting for the callback to return, subsequent attempts to show the native gtk3 error dialog will fail Change-Id: I271c09f8f1f00c0eca76191fcb63ddf56c10060f
2016-10-21loplugin:expandablemethodds in include/vclNoel Grandin
Change-Id: I9ff378d9c7c9a221599c0a84df638b3acf8f069f Reviewed-on: https://gerrit.libreoffice.org/30121 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-21coverity#1374090 Unintentional integer overflowCaolán McNamara
and coverity#1374091 Unintentional integer overflow Change-Id: Ia36b1feafc44e6ea65c55c9ffc661256276d9b29
2016-10-21xmlsecurity: export description in PDF signatureMiklos Vajna
Extract appendUnicodeTextString() from the PDF writer impl, and reuse it in xmlsecurity, to share code. Change-Id: Icdc2f89132cd29e07280001e30bad97e0a644654 Reviewed-on: https://gerrit.libreoffice.org/30110 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-21Add vim modeline to new filesKhaled Hosny
Change-Id: I01cbd3b0698d458d8ba7267f2c70271db14f559f
2016-10-21vcl: remove redundant publicThorsten Behrens
Change-Id: I8c05e884719dd434ac7fd929186da2a0e9f44e6c
2016-10-20Incapsulate WinSalVirtualDevice betterMike Kaganski
Change-Id: I8de745e2318c69ccec2ffabb69df598a4bf60480 Reviewed-on: https://gerrit.libreoffice.org/30071 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-20Typo in commented-out codeKhaled Hosny
Change-Id: I9f276a6de54dd3542249b47986d2ca6b3f27413d
2016-10-20Vertical Mongolian and Phags-pa seem to work fineKhaled Hosny
The fonts are designed so that they are rotating 90° is all needed, so we don’t to rotate them back, unlike CJK. Change-Id: I0afa4b066257718a5a52eb2e93a18ce839aec2f0
2016-10-20Reuse the HarfBuzz buffer as much as possibleKhaled Hosny
Less allocations in case we have many sub runs. Change-Id: I50d4a57702c030c185fc7edef576c64d739a6194
2016-10-20Use HarfBuzz shape plan for a bit more controlKhaled Hosny
This way we control exactly what shapers we use in what order, and as an extra we can now tell which shaper HarfBuzz ends up using. Change-Id: Idd303b2a557e16ac86ada0c2006d3e2a052ac489
2016-10-20vcl: add PDFWriter::Sign() Android stubMiklos Vajna
Change-Id: Ib8bc5e700a54135317359a130ceb2c06ff7af103
2016-10-20Various loplugin warnings (clang-cl)Stephan Bergmann
Change-Id: I9e3720c86f96abc864a52c0469032132808080a4
2016-10-20Missing include (Windows --disble-pch)Stephan Bergmann
Change-Id: I4cd8bdcd93d1c92aa4983e36566ca8aa7ddec5e3
2016-10-20loplugin:staticmethodsStephan Bergmann
Change-Id: I439747c98fcdadb59e68756e8b3ae2e305c960cb
2016-10-20Handle link click directly in FixedHyperlinkSamuel Mehrbrodt
Change-Id: I5b5f0648b6e6432b0928351a17d285df8c9da811
2016-10-20Extract vcl::PDFWriter::Sign() from vcl and xmlsecurityMiklos Vajna
The use case is different in vcl and xmlsecurity: vcl creates a new PDF (possibly with a signature), while xmlsecurity signs an existing PDF, but this part can be shared between the two. So far in vcl only the nss part is moved, not touching mscrypto yet. Change-Id: Ie776f622c1a4a3a18e79e78f68722a2fa219a83b Reviewed-on: https://gerrit.libreoffice.org/30063 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-19loplugin:nullptr, loplugin:redundantcastStephan Bergmann
Change-Id: Ie7b713a63cec9b714135a2ba840656870596eaef
2016-10-19Help old GCC versionsStephan Bergmann
Change-Id: I17e05a0ca985241030c71e7d08b81c1290ef1bc9
2016-10-19make the 'Breeze_dark' name look less stupid in the icon theme dropdown listCaolán McNamara
Change-Id: I3e0be0f5f83e0191988c63c709c090ba4c936d61
2016-10-19Resolves: tdf#102778 by default use breeze_dark when dark themes are requestedCaolán McNamara
Under gtk3 if gtk-application-prefer-dark-theme is enabled or the requested icon-theme name ends in [-|_]dark Change-Id: Ia70ea3adc51ac0ec2b26d08fc960c1c7285c338b
2016-10-19vcl: assert solar mutex is held for various timer / scheduler ops.Michael Meeks
Bringing paranoia to some source-code near you. Change-Id: I92bc1e17480405a6388c2cbd1c7b559728539f67 Reviewed-on: https://gerrit.libreoffice.org/30024 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-10-19Add missing icu_headers dependencyKhaled Hosny
Apparently this was working before by accident since most people have ICU headers in the system include path on Linux. Should fix the failing tinderbox. Change-Id: I796453e66c53b3c64e546c661007a54fa5d866ec
2016-10-19tdf#103185 - Add VCL backend being used to About dialogAshod Nakashian
The VCL backend is now shown on the About dialog. Change-Id: Ib4e6b33e9c2b3ec2fca229fed8f4533227a67ac6 Reviewed-on: https://gerrit.libreoffice.org/29798 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-10-19opengl: blit offscreen framebuffer instead of drawingTomaž Vajngerl
Change-Id: I3ab0da9cf83e0e85b8442b34ecd6eb91dd3d1bd3 Reviewed-on: https://gerrit.libreoffice.org/27875 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-10-19Avoid AskConfig when setting font familyLuke Deller
Avoid calling the expensive ImplFont::AskConfig from Font::SetFamily as we are just going to overwrite the font family anyway. It looks like this crept in accidentally in the recent refactor commit e418d1a9c87ce01b75141f92dc249c7fb1a1bdcb Change-Id: I12a9bde77ffcc81f03c37ce400c59ea3a9acac31 Reviewed-on: https://gerrit.libreoffice.org/28901 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-10-18Fix debug build and few cleanupsKhaled Hosny
Change-Id: I805962667c3ef2dcaf07a0acebeacca74c74892a
2016-10-18Add feature support to CommonLayoutMartin Hosken
Change-Id: I19a0e26cefa5e4185df961ae0f6f2f37811ae5bb Reviewed-on: https://gerrit.libreoffice.org/29978 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2016-10-18Rewrite AquaSalGraphics::DrawSalLayout()Khaled Hosny
Slightly cleaner code and now handles glyph rotation for vertical text. Change-Id: I98cc8fd7df5e73068294e4d7dd6b38a71dcbdcc7