summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2014-12-26Adjust the statusbar item widths according to HiDPI scaling factorTomaž Vajngerl
Change-Id: Id697b3b799c7437d937de6534edf88083e5c4dfd
2014-12-26Scale menu icons by a HiDPI scaling factorTomaž Vajngerl
Change-Id: I358794f86d541d2b49a8281a7224e5c6c29066d9
2014-12-23vcl: fdo#87510 regression in GetFontMetricChris Sherlock
Unfortunately when I refactored the code some time ago in commit 588bb542bebd I forgot to remove the original assignment to mnExtLeading. This fixes this issue. Change-Id: I9ef514c1a28ec72747fed865a47c41a1193ce1b9 Reviewed-on: https://gerrit.libreoffice.org/13627 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-12-22coverity#1260295 Wrong operator usedCaolán McNamara
Change-Id: I0addad51e880de333a455573f0e4c6a35f5dedd3
2014-12-22Resolves: fdo#85875 MultiLineEdit like Edit should not forward mouse-[down|up]Caolán McNamara
Change-Id: Ia2aa69461effe0099ca9208eb0eb8aec9548de08
2014-12-22callcatcher: update unused codeCaolán McNamara
Change-Id: I62e49fbf27364bd244099a9bb247452d5a691119
2014-12-22-Werror,-WshadowStephan Bergmann
Change-Id: I0e9ff9efd685f17e45ada29fc2bd6134229b28c7
2014-12-20TyposJulien Nabet
Change-Id: I3475be796cf2655d9b619b86c9686aeef4b97b82
2014-12-19provide a route to load ToolbarMenu things via .uiCaolán McNamara
Change-Id: Ic2175faf247d7c05717d397b8afdb9d90087f1d3
2014-12-19vcl: The <items> can come after pCurrentChild has been already created.Jan Holesovsky
So consolidate their filling-in at one place, after we are sure we have the pCurrentChild created (whatever way). Change-Id: Ia98a927e1158041836b173e1c2f9529d70295855
2014-12-19Resolves: fdo#86552 undo want to take ownership of nodes, but can'tCaolán McNamara
Revert "fdo#75757 remove inheritance from std::vector" This reverts commit 63d8977f9fb0618d36dc8e0ee2f8068b1af92fe6. Change-Id: Idc9902a77ee2c1cb21b9e3b477b2d960772a022e
2014-12-19java: static fields that should not be staticNoel Grandin
Found by FindBugs. Change-Id: I223841f7bb8c515c9612322abc0b13e134385abd
2014-12-18Fix MSVC buildStephan Bergmann
Change-Id: I14f9b8e7b7e2cdcbdc60de17471b1a3a381d83f0
2014-12-18Some cppcheck cleanings: Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: I899164412ad90653b4228423283f9fbd4cb5fccc
2014-12-18vcl: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I169624820cd7d25eab18a6b90482e075ebfebcc6
2014-12-18Resolves: rhbz#1175142 nStarts ends up as an invalid -1Caolán McNamara
Change-Id: Ic67c5562d0e9936cd6a524ecd4f798aaf885a6e8
2014-12-18Use the same names for these flag bits as the callers doTor Lillqvist
No need for redundancy. Change-Id: Ia68d2e57af33cdca90246de54cdff656ea6c3942
2014-12-18vcl: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I010146e9b7181d0cc704a26ae1d373794cf6facb
2014-12-18Better (?) fix for deadlock in a situation with an IME and a URP clientTor Lillqvist
This reverts commit 3e5371aba3eb29efb9574881212cba0975c168d7. Change-Id: I9e02a3d72f66a1eabb1f25d95417c855459556cc
2014-12-18draw also opengl polygon with AA edges if AA is wantedLuboš Luňák
Especially given that lines are sometimes actually drawn using polygons. Change-Id: I429a24faff94f8b9accc20bdee3ff66f47669bde
2014-12-18Small tweaks to printing UIAdolfo Jayme Barrientos
Change-Id: I600e7dd96bcf1e173398a51f63efd66300853fb0 Reviewed-on: https://gerrit.libreoffice.org/12492 Reviewed-by: Katarina Behrens <bubli@bubli.org> Tested-by: Katarina Behrens <bubli@bubli.org>
2014-12-18ifix the OpenGL UI config partMarkus Mohrhard
Change-Id: I931a4b618f35188e4e0cca07305ff15bbbacc20a
2014-12-17make use of the new ForceOpenGL config variableMarkus Mohrhard
Change-Id: Ifdfcbd9d3d62d2a55e3e050d4723700f8436e57a
2014-12-17try to get reasonable sizes for docking windowsCaolán McNamara
start docked, move to undocked start undocked, move to dock, back to undocked start undocked, with and without size saved in settings and restored Change-Id: I0bfdceb11aabdf9fdb855b97433b2af0532e4d03
2014-12-17silence parent-less warning for temp images from builderCaolán McNamara
Change-Id: I3efcac58f7a6629ae2615e29ea564e583414479c
2014-12-17map gtk-media-stop to SymbolType::STOPCaolán McNamara
Change-Id: Iffdc04464bd70ca70684f28e6d6e23a054bfc8a7
2014-12-17implement loading docking windows from .ui formatCaolán McNamara
Change-Id: I90375232aefbe40412614ca0f30ba467cf393f2e
2014-12-17Fix 32bit build.Jan Holesovsky
Change-Id: Idb4f91ffc89a3a7857ee36bfa977e37b37211c5f
2014-12-17vcl: Sidebar corner case.Jan Holesovsky
2014-12-16Remove useless overrides in vcl strhelperArnaud Versini
Change-Id: I85996380ea5b3a157ba573182da0bc380effa1e5 Reviewed-on: https://gerrit.libreoffice.org/13464 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-16ImplDockFloatWin2::setPosSizePixel just forwards to parent classCaolán McNamara
Change-Id: Ia90a4c371e66f4a5b9a37b4c4ac7d3118ad518a5
2014-12-15use AA for lines only when AA is activeLuboš Luňák
Change-Id: I9965f58b8f06f1cec2c419dcf16d8aebf9cd97b8
2014-12-15do not hardcode what specific "generic" bitmap scaling operations useLuboš Luňák
I.e. make it possible for the opengl backend to decide to use a different scaling algorithm. Change-Id: I36e76de071797129c7636b3048c93bc6e5d93aca
2014-12-15don't screw around with the system font selectionCaolán McNamara
Change-Id: I491a6410f70b063fd74834d5837be34e4b9552d7
2014-12-15drop newly unused Application::ValidateSystemFontCaolán McNamara
Change-Id: Iffe850d99f2dcd9e955a4ba1190e010be905434b
2014-12-15-Werror=unused-but-set-variableCaolán McNamara
Change-Id: Ia65754272ff5c1661241dd503cef23c7a89b660e
2014-12-15vcl: Fix crash when requesting coordonnates for empty textureLouis-Francis Ratté-Boulianne
Change-Id: I424ac73f23bed5b3782c148d9242ca8fc29d200d
2014-12-15draw lines anti-aliased (opengl vcl)Luboš Luňák
Change-Id: I3a67da89cedbb6a58b2556abf4553857125af5a6
2014-12-15allow using more than one opengl program during one draw "operation"Luboš Luňák
I.e. between one PreDraw()/PostDraw() pair. Change-Id: I358d603ff33fa7416a4033bf074fe390b1112fcc
2014-12-12Add plc4 for PL_strdupTor Lillqvist
Change-Id: I2a2f18d76b0deb5f6cfd68b36699d940703372b3
2014-12-12Tentative fix for fdo#83937Tor Lillqvist
One clear bug in the code, in my opinion, was that PDFSigningPKCS7PasswordCallback() returned its argument as such. However, a PK11PasswordFunc should return "a pointer to the password. This memory must have been allocated with PR_Malloc or PL_strdup", says https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/pkfnc.html . I could not test this fix fully before my hardware token decided to block itself, thanks to too many wrong PIN attempts. Possibly it would work to even just pass NULL for the password callback function and its argument to NSS_CMSEncoder_Start(). After all, at least with the hardware token and associated software that I tested with, the software itself pops up a dialog asking for the PIN (password). Change-Id: I85a8b2833cfdd1a1d7b7779016fefb71dd53ab80
2014-12-12vcl: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: Ie230115d71bffeb08fc13380648e8216c43f3a5d
2014-12-12osl_getCommandArg always returns osl_Process_E_NoneStephan Bergmann
Change-Id: I0ff1e44f17976fd3a3060d8ee7fe15d77c918b79
2014-12-11why pointersCaolán McNamara
Change-Id: I6b1b790bfcc94823f703679689bbd76312ee3e5b
2014-12-11coverity#1257738 Uncaught exceptionCaolán McNamara
Change-Id: I44648fb951d03090759d8afaa20cab7d945f684d
2014-12-11coverity#1257742 Uninitialized pointer fieldCaolán McNamara
Change-Id: Ie1431f24031265e6fe54c6f0523261da88d71b00
2014-12-11coverity#1257743 Uninitialized pointer fieldCaolán McNamara
Change-Id: Iaa0c47bcd53eaaf2577a5401762afaabe44e7514
2014-12-11Related: fdo#87242 init VirtualDevice with size of surfaceCaolán McNamara
otherwise vcl's clipping doesn't work quite right when the render text with vcl apis fallback is used. Manually forced in my case, but it should happen in practice with vertical text, so if there is a bug about vertical text not appearing in slideshows then this is part of the fix for that. Windows and Mac remain unchanged as initialized with 1, 1. If the same problem affects those platforms then they'll need to be adjusted to remember their height/widths from the ctor and those values plugged in here instead Change-Id: I2f82f0db0cf446d7db21f0a7ee4f8c15c7ebdb42
2014-12-11vcldemo: disable broken gradient stencil use.Michael Meeks
Change-Id: Ifce85b1a7fa8e8b6fc57802a5fb559d2db50ba2a
2014-12-11Remove resizable:False property from dialogs containing GtkEntry.Jan Holesovsky
As agreed with Adolfo (and others) at the Design hangout on 2014-12-10. Change-Id: Ibe0e8075566523e746866b9d2c15c348c345d2df