summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
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
2014-12-11fix windows buildMarkus Mohrhard
Change-Id: I0b6fd63f796598e56b2d8abe67df939240019217
2014-12-11vcl: Don't keep a reference to the texture in the FBO objectLouis-Francis Ratté-Boulianne
Change-Id: I240d2b44e77d28af3cd5952b6d666a1709c4c54a
2014-12-11vcl: Re-use a framebuffer of the same size when possibleLouis-Francis Ratté-Boulianne
Conflicts: include/vcl/opengl/OpenGLContext.hxx Change-Id: Id9c7932976ce9d9282776c20d93d9cca4d290056
2014-12-11vcl: Keep the same context for VirtualDevice to avoid FBO switchesLouis-Francis Ratté-Boulianne
Change-Id: I66496fae902db9df5b8301b00bb779f42adaa7a7
2014-12-11vcl: Reset context when the backend window is destroyedLouis-Francis Ratté-Boulianne
Conflicts: vcl/source/opengl/OpenGLContext.cxx Change-Id: Ie2b93de8efe5ea56b0420adf23639c0153103385
2014-12-11vcl: Limit Cairo surface size to the clipping region to improve performanceLouis-Francis Ratté-Boulianne
Conflicts: vcl/unx/generic/gdi/openglx11cairotextrender.cxx Change-Id: I469b34c9f1047a274550229391d3dfb578291df6
2014-12-11vcl: Reset data buffer after resizing bitmap on GPULouis-Francis Ratté-Boulianne
Change-Id: I516cdbc466f3d6427e36fea8c5cdbe718ce7d0ea
2014-12-11vcl: Use right size to draw native GTK window backgroundLouis-Francis Ratté-Boulianne
Change-Id: Id446d20599f072f657c6106d6c6457fce08830e6
2014-12-11vcl: Add BitmapInfoAccess for bitmaps' metadata accessLouis-Francis Ratté-Boulianne
Change-Id: Iec9f8c7d8f7cded0aef9e017373e44387dc0b05c
2014-12-11java: reduce visibility of fields and methodsNoel Grandin
found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-11fdo#87030: Generate a proper PKCS#7 signatureTor Lillqvist
The signature should be in DER-encoded PKCS#7 format and what CryptSignHash() produces is nothing like that. Luckily CryptSignMessage() is actually almost easier to use and is capable of doing what we need. This also means that we won't need any HCRYPTPROV or HCRYPTHASH after all so all the code related to that can be removed. CryptSignMessage() handles both calculating the hash and signing it. One less than ideal issue with CryptSignMessage() is that it needs all the data to be hashed and signed at the same time, so we need to keep both buffers around for signing. It also turns out that we don't need to look up the certificate anew from the user's certificate store after all. Now Adobe Reader doesn't complain any longer about the signature's format and contents. Change-Id: I25cfb93b516ffa723c6228d068d9ffa8e7cc4790