summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2015-10-06experimental afl driven ui testingCaolán McNamara
Change-Id: I1933951c52adc75ed36db2c083c232f29b6140d6
2015-10-06dead makefile.mkCaolán McNamara
Change-Id: I03b10f2cda6bf9305e724f2a547924d1c8ec316b
2015-10-06test tool is goneCaolán McNamara
Change-Id: I3d99a62c27b914cc6286ddf013f551111d677484
2015-10-06loplugin:unusedmethodsNoel Grandin
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht
replaced use of PTR_CAST, IS_TYPE, ISA in idl, editeng, sc, sd, sw, sfx2, sot, starmath Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653 Reviewed-on: https://gerrit.libreoffice.org/19132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-06loplugin:mergeclassesNoel Grandin
and move the boost-depending code inside the module, no need to expose that dependency and include that header in all client code. Change-Id: Ib991572d7a54a9ad16825d688e76f8e3a824803c
2015-10-05opengl: take row stride into account when reading to 1-bit bitmapTomaž Vajngerl
Change-Id: Iaa67b209d5b6ab0d9c567a71dee0684a85f53f6b
2015-10-05opengl: cache Spinbox native widget texturesTomaž Vajngerl
Change-Id: Ib3e99ce36f3f0c855d2932038776f62f2d47f50c
2015-10-05create "disabled" image (icon) only if the original changesTomaž Vajngerl
Currently we create a "disabled" version of bitmaps in "Image" class (used for toolbar icons for example) in every draw call. This is not really optimal. The solution is to calculate the checksum of the original and create a "disabled" version only if the checksum changes. Change-Id: I6ed2d08c64fee028b479fedb35e4384f112e98e2
2015-10-05Emscripten: First steps of porting to EmscriptenSamuel Mehrbrodt
See https://wiki.documentfoundation.org/Development/Emscripten for details Change-Id: I977a8b9e98b9be13c263fef48f567b92347d0492 Reviewed-on: https://gerrit.libreoffice.org/18643 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-05Fix SalFrameStyleFlags bitmaskStephan Bergmann
Change-Id: I2e161a3b9cc06180becf63a44018ff72cdd8449a
2015-10-05fix KDE4 buildNoel Grandin
Change-Id: I1be5448074bd763dd6a68d33dc2c6a1b1adc57d9
2015-10-05fix KDE4 buildNoel Grandin
Change-Id: Idb101b5b5d40b6a1a54acda81be5a5f2c09722bb
2015-10-05convert SAL_FRAME_STYLE to scoped enumNoel Grandin
Change-Id: Ic3f7fddcea36c18ffe43c4c633d415f596a58cbc Reviewed-on: https://gerrit.libreoffice.org/19094 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-03add QuattroPro support to fftesterCaolán McNamara
Change-Id: I832ab43e2fccf9b2c24e98ae443a9611012ea5a1
2015-10-02drop unneeded headerDouglas Mencken
Change-Id: I0f4e31af807ea3a7771db81f1514a7ebdd1f7f7e Reviewed-on: https://gerrit.libreoffice.org/19101 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-02Allow non ASCII chars as accelerator keysNiklas Johansson
Non ASCII characters like åäö can be used as accelerator keys (Alt+<x>). This already works however at the moment it is not exposed properly to accessibility tools such as screen readers. After this patch at least NVDA gets information about accelerator keys that are non ascii. On Linux we need to adapt code in vcl/unx/atk/a11y/atkaction.cxx. There is also vcl/source/window/dlgctrl.cxx#Window::GetActivationKey should probably have similar treatment and I guess that it is related to accelerator keys in dialogs but I need to confirm that. I'm a bit unsure how to best do that so I'll save it for later. Change-Id: I1f1509a26d781011d217670266bd10b2107811d5 Reviewed-on: https://gerrit.libreoffice.org/19078 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-02-Werror,-Wdeprecated-declarationsStephan Bergmann
Change-Id: I87922fb64dda54f245954d6c5eb3b244812ceaf0
2015-10-02Resolves: tdf#92993 access violation on particular .docx on glyph layoutCaolán McNamara
Change-Id: I69dfd6747e37ddb1727dd41b99d1b70eaed83425
2015-10-02vcl tiled rendering: avoid 'Pixel represents color values!' warningsMiklos Vajna
Which happens e.g. during rendering tiles: OutputDevice::BlendBitmapWithAlpha() produces an RGB alpha (255,255,255), then tries to set a pixel in the 8bit alpha channel using it, so when BitmapReadAccess::SetPixelFor_8BIT_PAL() tries to get the color index, we try to get it from a color that is not indexed. Let's assume that when the color is not indexed, it's always gray, so it doesn't matter what color we pick for the alpha mask needs. Change-Id: I325c1d70514fd176fdc9cc39683b444447adf07f
2015-10-02fix Android and KDE buildNoel Grandin
after commit 837f171810a95a1d87907dd08d67e969276f0559 "loplugin:unusedmethods in vcl" Change-Id: Idd4603f34891950940a77efa30b9ee70f35d7533
2015-10-02Fix --enable-kde4Stephan Bergmann
...after 837f171810a95a1d87907dd08d67e969276f0559 "loplugin:unusedmethods in vcl" Change-Id: I43ade93c47d7633a5b660ae25fe1137df161cec3
2015-10-02fix KDE buildNoel Grandin
after commit 837f171810a95a1d87907dd08d67e969276f0559 "loplugin:unusedmethods in vcl" Change-Id: Ic0ece310202ecd1663d8933b10a6aef8b462a02d
2015-10-02loplugin:unusedmethods in vclNoel Grandin
Change-Id: Ib404310761fd555b033ab6594ba8636d37f23463 Reviewed-on: https://gerrit.libreoffice.org/19074 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-01tdf#94428 - don't use OpenGL font rendering when we're printing.Michael Meeks
Change-Id: I212bb442bdffa38d77e7e7357199c39420fa7951
2015-10-01desktop, vcl: support transparency in VirtualDevices with user-provided memoryMiklos Vajna
Change-Id: I65c31995c02a644aa436aecd065255fab38045e4
2015-10-01Fix typosAndrea Gelmini
Change-Id: I4452d4a4a4a61f39cd9c2b5a441c6c2017f15ce8 Reviewed-on: https://gerrit.libreoffice.org/19073 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-01add 602 format to fftesterCaolán McNamara
Change-Id: I52055dc66ab2119dce6e3df3a34c25a822dea166
2015-10-01Fix typosAndrea Gelmini
Change-Id: I8fd769ca61d1ec1a915a012c0c2244056dc5bcb8 Reviewed-on: https://gerrit.libreoffice.org/18992 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-01tdf#39080 Interactive hide-whitespace modeAshod Nakashian
Support for enabling and disabling hide-whitespace by clicking between page frames. Disabled header and footer decorators when hide-whitepsace is enabled, and page size is trimmed to the contents of each page. Experimental/suggestive mouse pointers added but only tested on Windows. Change-Id: Ia2faeeda9e3e783ffaf5340aa69303a4218892a7 Reviewed-on: https://gerrit.libreoffice.org/18156 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-01Graphite edge case line endingsMartin Hosken
Change-Id: I3ac15b79d47a79167717acfb5549a353b7520d3e Reviewed-on: https://gerrit.libreoffice.org/18915 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2015-10-01vcl: Fix possible memory leak in OpenGLSalBitmapDaniel Robertson
Fix possible memory leak in OpenGLSalBitmap::CreateTexture Change-Id: Ic2d259569a5e89f60af7065b9d66ef03f82f90e7 Reviewed-on: https://gerrit.libreoffice.org/19049 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-01remove old standalone Sun bug numbersNoel Grandin
Sun bug numbers without any accompanying text are completely useless. Fixed with git grep -lP '//\s*#\d+#\s*$' | xargs perl -i -ne'/\/\/\s*#\d+#\s*$/d or print' And then hand-checking the result to restore places where it deleted code. And then some more grepping and hand-editing to kill the others. Change-Id: Ia96ce4466db8bb8da363ebf41f0ae7f45f28bf29 Reviewed-on: https://gerrit.libreoffice.org/19023 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30tdf#92702 Unable to select menu items that were initially off-screenLászló Németh
Revert "Last item of menu with title cannot be hilighted" This reverts commit 8ced97caa409d6dc8f69230145e9c9f281fb84fe.
2015-09-30add xls support to fftesterCaolán McNamara
Change-Id: I23e219cec1a8d98e02c3584041f67ff42dd29bd8
2015-09-30cppcheck: uninitMemberVarCaolán McNamara
Change-Id: I8409a6f00803e357a20b53fd59d77f155e057753
2015-09-30vcl: clean up before error returns in OpenGLContext::ImplInit()Michael Stahl
JunitTest_chart_unoapi fails here with "assert(!hasCurrent())" because the initialization apparently fails due to lack of a wglCreateContextAttribsARB in the VM, so ensure that the hTempRC is not active and also deleted in all cases. Change-Id: I7e03b95d1146af48a24e34692c3c2827298fccee
2015-09-30shared_array->unique_ptr<[]>Caolán McNamara
where we don't need to share the data Change-Id: I0edc9d62186d96095ee67e3c93f5cf186dffcb71
2015-09-30maSvgDataArray only populates a uno::Sequence, so use that insteadCaolán McNamara
Change-Id: I335d5ee70e95e1a3b204d34f6df4cb62f3fb3cad
2015-09-30Fix typosAndrea Gelmini
Change-Id: I2cf36eb80068adcf57238a286f09bdc96b4e01f8 Reviewed-on: https://gerrit.libreoffice.org/18994 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-30Fix typosAndrea Gelmini
Change-Id: I33385f1395f428c14bf86eff9891b288ddc590de Reviewed-on: https://gerrit.libreoffice.org/18993 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2015-09-30Fix typosAndrea Gelmini
Change-Id: Ia7394ab3c0aa28002a7022e73c2b7d9eb73dacb8 Reviewed-on: https://gerrit.libreoffice.org/18991 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-29Fix typosAndrea Gelmini
Change-Id: I4525b43fa823d743b86bf4136c56af35274085e6 Reviewed-on: https://gerrit.libreoffice.org/18995 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2015-09-29Renamed wrongly prefixed boolean variablesStefan Heinemann
Fixed tdf#94269 Change-Id: I63109cc4e095bad680d7637a065080ea368860ae Reviewed-on: https://gerrit.libreoffice.org/18851 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-29reorganize so arrays are allocated with same variables as access limitsCaolán McNamara
in an effort to unroll this for coverity, no logic change intended Change-Id: Ifbb0ec6d8c4d6f1dfe809f9fecdf3af4f87399e3
2015-09-29m_pData is always a ImplSVEventCaolán McNamara
Change-Id: I0207419ac1b2ecdf36f208169766d965ae48ad8c
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-29vcl: oops, fix windows buildMichael Stahl
Change-Id: I73135440321c7c9898f758cb7a921d62f2265bcb
2015-09-29vcl: Vista implies usp10.dll >= 1.600Michael Stahl
... claims https://en.wikipedia.org/wiki/Uniscribe - #ifdef this so it can be removed when dropping XP support. Change-Id: I9a51635cf9bb4876faf6dca011e6da9e1c2dc35d
2015-09-29vcl: replace alloca() with std::unique_ptrMichael Stahl
Change-Id: I82b982895ee422bcf5a23756df4d81c89bc47636