summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2015-06-02add testcase for CVE-2015-0848Caolán McNamara
Change-Id: Id49cbc139a39a18cd3965413fc06cc14961747e7
2015-06-02loplugin:loopvartoosmallNoel Grandin
Change-Id: Ib4def3435eab4625645c5afe3b151f9f430564ac
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann
Change-Id: I1a9aa868d3724a7d14c181e45d956cdf2423e40c
2015-06-02cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I8ae8623252546ca94f65fc04b331dd9cafa4fc92
2015-06-02Fix CheckMemoryUsage java classNoel Grandin
looks like I accidentally broke this with commit a405184aa972ca375f04205fd22f83d54952648d "java: inline CheckMemoryUsage test properties" Change-Id: I321ce16bcd7da0f74525cd5041e3ce36cdd12d23
2015-06-01coverity#1302690 Uninitialized pointer fieldCaolán McNamara
Change-Id: Idea6c8a988cdff9fd7c99fb0d37935f391ba0da2
2015-06-01coverity#1302689 Uninitialized scalar fieldCaolán McNamara
Change-Id: I1515ab21370e70564f266cbaa21769d28716d85c
2015-06-01masses of coverity FORWARD_NULL warnings from copied assertCaolán McNamara
Change-Id: I8f698bbcf4d53a4477cc0ee0c3f2c7f08e521f8a
2015-06-01coverity#1302608 gtk3 Logically dead codeCaolán McNamara
Change-Id: I7e727bc71a5fb02d89eb6b4fb35cda26bcfa617a
2015-06-01coverity#1302691 gtk3 Unused valueCaolán McNamara
Change-Id: Iabd10ef2c77dc389c6afdba1d38064e54bf3198d
2015-06-01getCaretPosition() returns a signed int, not an unsigned oneJustin Luth
Making all references to getCaretPosition() consistent in this file, since I had to change it elsewhere. Change-Id: I2046370e9ca7a89e3dc4fa446311bc1575292422 Reviewed-on: https://gerrit.libreoffice.org/15991 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-01Allow unsetting underline attributeAndrzej Hunt
Change-Id: Ib11f6e76a52c0b8c943d46b9f14b3b00642879d1 Reviewed-on: https://gerrit.libreoffice.org/16004 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-05-30ScrollFlags conversion "typo" - fixes scrolling repaint problemsTomaž Vajngerl
beer++; Change-Id: Id89f4206ad7a21d793ae633f53055eb38bba5285
2015-05-29fix base wizard sizeCaolán McNamara
if we are forced to fetch the theme early before the MiscSettings in svtools sets it then don't cache the value so that when the MiscSettings kicks in that the SettingsChanged signal is sent out and we get the right fontsize (or something like that) Change-Id: I0447c934ec184232591183c6c099a4d7217183fb
2015-05-29tdf#91720 -after MailMerge print, plain std print is not possibleJuergen Funk
Reset the batchmode variable, after the batch print job Related: 138d29aa09417eba4d15ade4c9f4dab2620b6326 Change-Id: I6d8861e53ba6245019213d88d83603bfe932f010
2015-05-29loplugin:redundantcast: const_cast to same typeStephan Bergmann
Change-Id: I610fd4cf9339fd5c18eb77e7c94ffd0f99e9b125
2015-05-29menu: call ApplySettings on places that InitSettings was calledTomaž Vajngerl
Change-Id: I5519cf6a8e77a7da27fa883f2f7695ae4371af88
2015-05-29convert PRESENTATION constants to scoped enumNoel Grandin
Change-Id: Ic7b0b1d433456f1a27a76314a5890b9ae7f70a69
2015-05-28vcl: Do nothing when we don't have mpWindowImpl.Jan Holesovsky
Avoids a crash in Impress search. Change-Id: I07106e0185a1fe4cfa09a6783396c0d48b028f10
2015-05-28tdf#91652 - store PDF FilterConfigItem options in dispose.Michael Meeks
Change-Id: I808aeab8fdac35330de24970b873f49e22c52c6a Reviewed-on: https://gerrit.libreoffice.org/15946 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-28GetFocusFlags::Cursor->GetFocusFlags::CURSORNoel Grandin
to avoid name-clash with X11 headers Change-Id: I727c523f6d9bd7d4db28fe7427e053903626be00
2015-05-28new clang plugin: loopvartoosmallNoel Grandin
Idea from bubli - look for loops where the index variable is of such size that it cannot cover the range revealed by examining the length part of the condition. So far, I have only run the plugin up till the VCL module. Also the plugin deliberately excludes anything more complicated than a straightforward incrementing for loop. Change-Id: Ifced18b01c03ea537c64168465ce0b8287a42015
2015-05-28convert PARENTCLIPMODE constants to scoped enumNoel Grandin
Change-Id: I36a53112e75fca9208b2f91e224a7c671695509b
2015-05-28convert INVERT flags to scoped enumNoel Grandin
Change-Id: Iad8faee927de1ad646975157e36c3027c0ba8149
2015-05-28convert STARTTRACK constants to scoped enumNoel Grandin
Change-Id: I9b441688eb59ffd3540b014716a9abe7969c9be4
2015-05-28convert AUTOSCROLL constants to scoped enumNoel Grandin
Change-Id: Id1d2b5c13ad6af05314cba60ba5b9a62e0683f5e
2015-05-28convert GETFOCUS constants to scoped enumNoel Grandin
Change-Id: I7c324bb6358be28c119592850eb7607479279f09
2015-05-28fix calls to RenderContextTomaž Vajngerl
Change-Id: I5ef4b740a9c62d5cc7a2126686df4fd86a4b3492
2015-05-28tdf#91649 call ApplySettings at a more correct placeTomaž Vajngerl
Change-Id: I84a620a845b9338cd830c8929346204e3d88003f
2015-05-28Rewrite all calls like Dialog(params).Execute()Philippe Jung
Replace all calls looking like ADialog(some params).Execute() by ScopedVclPtrInstance<ADialog>::Create(some parms)->Execute() Change-Id: I0b6f0a9ea5ef0a749ffa30ce131e9dc989604639 Reviewed-on: https://gerrit.libreoffice.org/15915 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-27loplugin:unreffunStephan Bergmann
Change-Id: Ic0c4bd61aad4354f58cc60e8b584b9d63e397a3b
2015-05-27tdf#91544: fix freezing of Data source windowLászló Németh
Change-Id: Ia445bedd57d99c534c9664a42fcb9cd766fcdc39
2015-05-27tdf#88675 Fix display names for hicontrast and tango_testingTobias Lippert
The special cases for the icon themes with the filenames "images_hicontrast.zip" and "images_tango_testing.zip" are now handled. They will be displayed as "High Contrast" and "Tango Testing" respectively. Change-Id: Ia3c2b8b57809db9c5ed132c42a412157e91b2599 Reviewed-on: https://gerrit.libreoffice.org/14574 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-05-27EndExtTextInput::Complete->EndExtTextInputFlags::CompleteCaolán McNamara
Change-Id: I5039d68aad2849664a42b1a8c04f3703c98d4d8b
2015-05-27convert WINDOW_DRAW flags to scoped enumNoel Grandin
Change-Id: I9400a286fab18d683b4c109007961685f01b6da3
2015-05-27convert WINDOW_DLGCTRL flags to scoped enumNoel Grandin
Change-Id: I6c3a95cdcb15e5b1d4adb13908a751b06a302e20
2015-05-27simplify GetWindowClipRegionPixelNoel Grandin
since it has only one call-site Change-Id: I80344faf4beab9aa9427ba8d448b0cf3fd30c7b6
2015-05-27convert EXTTEXTINPUT constants to scoped enumNoel Grandin
Change-Id: I1bb4ff2c13eaa2a9da3e32963ac0802e947e18d9
2015-05-27convert DLGWINDOW constants to scoped enumNoel Grandin
Change-Id: Ieda6c5d638c608dd9e7b5d760dfbbfbcc37cc35a
2015-05-27tdf#91450 fix infinite invalidation loopTomaž Vajngerl
Change-Id: I86f4e881011b2e3f50a0186fc301b142a65ccdf6
2015-05-26tdf#91416 - fix some incorrectly allocated VirtualDevices.Michael Meeks
Change-Id: I9ebed313827986473c60e77b7e218b4c1b2487fe
2015-05-26if foo delete foo -> delete fooCaolán McNamara
Change-Id: I62c02f8ad69ddbb1cca5b8f0e4c5673d792cb08b
2015-05-26Resolves: tdf#89231 if no font has 0x202F fallback to a normal spaceCaolán McNamara
Change-Id: I2325c0b09ccf66ee15597251ad027b295de5502f
2015-05-26Revert "rendercontext: Fix borderwindow rendering when called from class Edit."Jan Holesovsky
This is not necessary for double-buffering anyway (since 891304bb0ad3af9d8d73f947f25477abf57485a4), and breaks the non-double-buffered case. This reverts commit 1926cfb9386269b81b6ca62bdc64591f2c403d03.
2015-05-26convert SCROLL constants to scoped enumNoel Grandin
Change-Id: I5696fa39b2d032735cea7abe039349d4f83cf68d
2015-05-26convert VALIDATE constants to scoped enumNoel Grandin
Change-Id: Ib3456116ab4c2e2f4b567bc195be2ad159b4fc82
2015-05-26convert INVALIDATE constants to scoped enumNoel Grandin
fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the IDL docs for XWindowPeer Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d
2015-05-25Audit all PostUserEvent calls and instrument for VclPtr.Michael Meeks
Hold a reference on the VclPtr while we're waiting for the UserEvent. Change-Id: I55c2671ca12eb14761c6a7dffd551af71547ecbd
2015-05-25cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I62076450ab77472bfd09b3fb9824f54b6ea1e0f7
2015-05-25tdf#90127: Read icon theme from the config when called too early.Jan Holesovsky
Change-Id: I9999150cafde6b103cf1a80232113b7a3d11cfdb