summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2015-01-22Apply GLSL patch for areaScaleFragmentShaderChris Sherlock
Thanks to Lubos Lunak Change-Id: I9bb72e1a5b11102963481dac7c11ab4a9fe90b0b Signed-off-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/14095
2015-01-22vcl: cleanup of OpenGLX11CairoTextRender::drawSurfaceChris Sherlock
Change-Id: I8288d330f17e08314ccff378c8c00ef5ed82cb64 Reviewed-on: https://gerrit.libreoffice.org/14064 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-01-21add has-focus .ui supportCaolán McNamara
Change-Id: Ifd95d9fa74f6cbba989c05aae2a225a85b78c9f1
2015-01-21slot:5500 -> .uno:NewDoc(FromTemplate)Caolán McNamara
try and strip out the slot:5500 magic/lunacy Change-Id: I7236c83fba6cb8264f76aca90242775a3de58645
2015-01-21callcatcher: update unused codeCaolán McNamara
Change-Id: I225cbb3a4a66a8f20bec91c4770ad78e72b663b1
2015-01-21Resolves: #i46871# Add French translation for Space keyAriel Constenla-Haile
(cherry picked from commit 58c7172ef98515e482bc87e219e58e1e126785d8) Conflicts: vcl/unx/generic/app/keysymnames.cxx Change-Id: Id8b9aa912cd3de9d69bddb0316c73d19ffcc4769
2015-01-20vcl: remove dependency of SalShlData on GetVersionEx()Michael Stahl
4500afcc1be7774b3c35ab69a20e36165ca5445a was incomplete in that the result of GetVersionEx() is actually stored and other functions do manual checks on it. Change-Id: I1f66a13e98e6bfc40bc35fa5382c2f6257f905d6
2015-01-20accidentally ran make with VALGRIND set and walked away...Caolán McNamara
and found this bug triggered by CppunitTest_filter_eps_test when I got back Change-Id: I20943e5bd0fbf8aed923699dd5f1e88fada43e81
2015-01-20move OutputDevice:: Clear/Refresh inside AddTempDevFontCaolán McNamara
and drop now redundant ImplClearFontData(true); mpFontCache->Invalidate(); which is done on entry Change-Id: I217c203980e5fd6a54b85f1b1376ecc2b92181db
2015-01-20font cache gets broken on adding an embedded fontCaolán McNamara
Change-Id: I665cde5d4c89443238efb283c86277dedf621197
2015-01-20bail out early if there is no DisplayMarkus Mohrhard
Change-Id: I1d724ae9346a4df7207e737cf98bf0cd7293bc2b
2015-01-20lets do that before we delete our objectMarkus Mohrhard
Change-Id: I8c7166ba66f74f5c548bb6fb30dfc3d28880e9a2
2015-01-20some debug code for finding leaked OpenGLContextsMarkus Mohrhard
Change-Id: I10e8c344ae6aa2e0a4ef562154f57e2070c70e2f
2015-01-20I was just missing the code for the ARB versionMarkus Mohrhard
Change-Id: Id1a7eef76967a9fdc5279d3c5e7694e6c6b2b907
2015-01-20only enable these error handlers in dbgutil buildsMarkus Mohrhard
They might become expensive with our repeated calls to makeCurrent Change-Id: I1d30460f2cad34c6ab676754682651422e545c90
2015-01-20fix the life cycle of my RAII objectMarkus Mohrhard
Change-Id: Ifcd4ab79192be965b57439062354e27af80136b3
2015-01-20Revert "vcl: increment ref in OpenGLSalGraphicsImpl::AcquireContext"Chris Sherlock
This reverts commit 3d580990643119cccb73f4f15d549863a6660aa6. Change-Id: Ib16fea0df909d41b2d51d5f3efe44dd4b3419352 Reviewed-on: https://gerrit.libreoffice.org/14033 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-01-20vcl: increment ref in OpenGLSalGraphicsImpl::AcquireContextChris Sherlock
Change-Id: Id8167dfe55eb6f7a83454f5eb7a3b5a96e252980
2015-01-20Some more loplugin:cstylecast: vclStephan Bergmann
Change-Id: I74d35630b9fcdaa97af0b1f1e6d1e5c72488964d
2015-01-19use a special X error handler for more GLX callsMarkus Mohrhard
Change-Id: I8cafc7e106bbf9ddc790d72b9399efcf76df633e
2015-01-19draw polypolygon outline properly (if wanted)Luboš Luňák
Again, polygons can apparently have curved edges. Change-Id: I6519da7bb7f0dde7f1550fe6b03c09be127f77d6
2015-01-19do not draw with SALCOLOR_NONELuboš Luňák
Change-Id: I882a42f58ac298d333985068b2fe6ef9ac198c8b
2015-01-19remove needless loopLuboš Luňák
Change-Id: Iaec5aa5bd353c888a3b35a277a3618c29d9cbd67
2015-01-19try to fix GetVersionEx deprecation warnings from Windows SDK 8.1Michael Stahl
Apparently GetVersionEx() is deprecated now, but the replacement header "versionhelpers.h" does not exist in older SDKs (at least not in 8.0), so try to determine the used SDK version by checking if the Windows 8.1 version constant _WIN32_WINNT_WINBLUE (0x0602) exists. http://msdn.microsoft.com/en-us/library/windows/desktop/dn424972%28v=vs.85%29.aspx Change-Id: Ia9224a8c76823ada7cb294a600046c6a0fc843ad Reviewed-on: https://gerrit.libreoffice.org/14020 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-01-19Resolves: fdo#88417 Dropdown for ruler settings should show radio buttonsCaolán McNamara
This reverts commit 9995222d1141b326197a387cc7897b3971ce9e9a and additionally converts the ruler settings to radio buttons and not checkboxes Conflicts: vcl/source/control/tabctrl.cxx Change-Id: Ie0eac5f07729447942065b7f415398165fbf067c
2015-01-19vcl: fix glsl int casts of floats.Michael Meeks
Change-Id: Ifa22e2914a1e34f6e2fd635973eca4101914bb88
2015-01-19fdo#75757 Remove inheritance from std::vectorMichaël Lefèvre
Take care not reproducing fdo#86552 again. Change-Id: I4a5967e76afcb5467addc81bc9eca61bb65865e7 Reviewed-on: https://gerrit.libreoffice.org/13992 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-19try to handle properly fillcolor != linecolor in opengl polypolygons drawingLuboš Luňák
Change-Id: I962416f48fdb348d8a3d95edf747cfe2f1c929c9
2015-01-19draw polypolygons properly in opengl backendLuboš Luňák
The polygons that make the polypolygon cannot be simply drawn one onto another, because if they overlap, it's actually xor (as used e.g. for drawing the border when editing a text box Impress, which without this fix just made it a full rectangle instead of a frame). Change-Id: I67c7f6448fb3ee0f9742a2299c612515abff68d8
2015-01-19fix opengl hairline special casingLuboš Luňák
Apparently polygons can consist of curves too. Change-Id: Ie35861e6d182e4bd4ac0523e78a90618c96f09a6
2015-01-19use AA for convex polygons when needed tooLuboš Luňák
Change-Id: I8e66d369956a9bcf9c63c6eccad47d4b7a7eb67d
2015-01-19use supersampling in Impress if fast opengl scaling is availableLuboš Luňák
So far it's been always disabled, with the exception of the slide preview extension. Change-Id: Iaee6fe2d5267c9dfdc31cbf4fb90a9ac0e08e781
2015-01-19"area" scaling for opengl that has good results for downscalingLuboš Luňák
Change-Id: I0e4ad776cbf31f9a130aedf0f9741927560b5ac1
2015-01-19Don't allow a negative sample range. Fixes test breakage.Tomaž Vajngerl
Change-Id: I3cf79b590b7d4c5aab92ccaebf6fd9c7eda529f7
2015-01-19fdo#39440 vcl: reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: Ib6b9651b828287665f7248052855f0da2779806e Reviewed-on: https://gerrit.libreoffice.org/13968 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-19fdo#39440 vcl: reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: Ia3910e7f1b33d16866b7e606fd648f152f9fe67a Reviewed-on: https://gerrit.libreoffice.org/13971 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-19fdo#39440 vcl: reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: Ibebfe89ad1874f5fa9e20fb76a534d9c2da01e3f Reviewed-on: https://gerrit.libreoffice.org/13969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-19fdo#74124 bilinear scaling with blending for some formatsTomaž Vajngerl
The DrawDeviceAlphaBitmapSlowPath used fast/ugly scaling with blending. With this a bilinear scaling is used which should improve quality for downscaling (less than 50% should start to degrade in quality as only 2 samples are always used) and upscaling. Change-Id: I56cdf2b5761687be891387343a773b6fefac03e2
2015-01-19Extract slow path of DrawDeviceAlphaBitmap into its own methodTomaž Vajngerl
Additioanlly cleanup and use ScopedReadAccess Change-Id: Ia3365f4dc968368bdd90d4398188bffe2d56e89b
2015-01-17forgot the Win and OSX backendMarkus Mohrhard
Change-Id: I1aa12c89cbddd83febac733f68904cda6b91f0a9
2015-01-17no need to do that for all contextsMarkus Mohrhard
This fixes a crash as we would need to make each context current before calling ReleaseFramebuffers. However this is totally unnecessary as only the current context can have bound framebuffers. Change-Id: I8b1496bb890982742b3d2ebf60fdce47db642d70
2015-01-16remove unnecessary parenthesesNoel Grandin
left over from "SVStream operator>> to Write method" conversion Change-Id: I619eb743d7890d5c70d0a94e51ce263567fa6f3b
2015-01-15coverity#1264396 Uninitialized scalar fieldCaolán McNamara
Change-Id: I085f2d0e15c88b995bea3f99945c9ab2e2bcc909
2015-01-15Fix warning about ignoring write() return valLuke Deller
glibc declares write() with the warn_unused_result attribute, so we need to check the return value to avoid a compiler warning. (This warning only seems to occur when gcc optimizations are enabled) Change-Id: I31962aae63d0a12eecfe44bb7920a68b29c05d8a Reviewed-on: https://gerrit.libreoffice.org/13927 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-15Resolves: fdo#32664 pass keyboard media keys through to the OSCaolán McNamara
if we didn't make use of them. Change-Id: Iee1c2fef5966a614b068c832bf8c6b51973b4c8a
2015-01-15vcl: make glyph iterator variable names more clear in GenericSalLayoutChris Sherlock
Change-Id: I4af8963ab7a9a53b457ea6054a603257b35a0e6e
2015-01-14do TODO: replace ImplCallEventListeners() by CallEventListeners() in vclCaolán McNamara
Change-Id: If47baad0ec31f18fcb55c7db86fb2a316dd0807f
2015-01-14GetData is a hopelessly generic nameCaolán McNamara
when you want to find the uses of it Change-Id: I580c194f0fd200505d3df99089afc0872921a67b
2015-01-14-Werror,-Wunused-variableStephan Bergmann
Change-Id: I4044722f59aec3ed06cc77f9a29b01f5f1ab7d68
2015-01-14Resoles: fdo#38829 Implemented fractional inches for Bug #38829.Foo Lai Choo
Hijacked ImplNumericGetValue() to parse fractional strings. It now searches for '/' and build 3 string segments for mixed fractions: whole number, numerator and denominator. It then follows the previous conversions and checks for decimal formats. The output string remains as a decimal formatted string for simplicity and standardization. Change-Id: Iad842e0ef2b1f637025b09401b10fe93f90e0fba Reviewed-on: https://gerrit.libreoffice.org/13225 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>