summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2015-01-26there's no bigger or smaller halfLuboš Luňák
Change-Id: Ida0e92abd806d017d17365fa2ac53b4f7cb2ebad
2015-01-26coverity#1266484 rework to scrutinze mnLenCaolán McNamara
Change-Id: I8fb6d555a7f7afe02b4c0297d3fe4e456ba41dd0
2015-01-26coverity#1266485 Untrusted value as argumentCaolán McNamara
Change-Id: I7708ecaf5412535055584ed6c71beaa9cd71c10c
2015-01-26coverity#1242859 Untrusted loop boundCaolán McNamara
Change-Id: I60d68ef1e0f4035a650248047816cb8328fcfce0
2015-01-26coverity#1244944 Untrusted loop boundCaolán McNamara
Change-Id: I8687e4ac621470f8f5f870c079d5740369bb4555
2015-01-26coverity#1266491 Untrusted loop boundCaolán McNamara
Change-Id: Iecca52277a2aea438c277da24afffcaeaf1119f1
2015-01-26coverity#1266465 Improper use of negative valueCaolán McNamara
Change-Id: I21ca714a701f58aa413bc508eb1ad128ebb39e58
2015-01-26Fix --enable-kde4Stephan Bergmann
Change-Id: Ia4211a3f3a2e8e84051388a3b48725a6f722f0d5
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-25coverity#1266475 Dereference null return valueCaolán McNamara
Change-Id: Ife68d6e6d837d1e4e1e1de3a82998866e5ef7e83
2015-01-25coverity#982431 Division or modulo by float zeroCaolán McNamara
and coverity#982432 Division or modulo by float zero Change-Id: I1b9036d85c4b31b8136a96d330d95d7b024530aa
2015-01-25coverity#1266437 Unintended comparison to logical negationCaolán McNamara
Change-Id: Ia4fc4ccbdfe3586afc78a16378ef0b3859308d64
2015-01-25fdo#84592 Improve SvTreeListBox class with alternating rows.Palenik Mihály
It is possible to set alternating rows. Expert Configuration dialog use it. This bug was fixed earlier, but after this feature didn't work. Change-Id: I3602a6b03db32d6f43ec163de2427f4a018c7779 Reviewed-on: https://gerrit.libreoffice.org/14164 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-01-25coverity#1266483 String not null terminatedCaolán McNamara
Change-Id: I4d22e5a621d36fa2e914891e82ce7e8e06f60b4c
2015-01-25coverity#1266499 Uninitialized scalar fieldCaolán McNamara
Change-Id: I788f0b34abd80feab247c3f2bba8ac5d49fc5c08
2015-01-24Typo: syncro->synchroJulien Nabet
Change-Id: I0a377f3686e0f8d8f576aacbee49a392b039d3a5
2015-01-24coverity#1264390 try and help coverity out wrt Bad bit shift operationCaolán McNamara
nBitCount can only be <=8 if aHeader.nBitCount <= 8, hopefully using aHeader.nBitCount here will make it clear to coverity that aHeader.nBitCount cannot be more than 31 and thus silence that warning Change-Id: Ie195ab55cafb9a967c1face8070089e040b242fa
2015-01-24Revert "vcl: Reduce OpenGLX11CairoTextRender surface area to size of text ↵Chris Sherlock
bounds" This reverts commit 35131df0ff833423809ea38621002322cf2d75b2.
2015-01-24vcl: OpenGLHelper::isVCLOpenGLEnabled() returns false when console onlyChris Sherlock
Change-Id: I7bcda46c73b958637073f8ec95d093385a81df3f
2015-01-24vcl: Reduce OpenGLX11CairoTextRender surface area to size of text boundsChris Sherlock
With this patch I get the text boundary and use it to reduce the size of the surface to this area. However, this is mainly needed for OpenGLX11CairoTextRender, which creates a surface image and uses this for OpenGL rendering. Change-Id: Icffc19bed89aaa2ff84ae845d274258a6fca27da
2015-01-23-Werror=unused-functionStephan Bergmann
Change-Id: Ib4c059876ac8b66ef75a6a00f3eb8ccbfc4d5eb7
2015-01-23Win SDK 8.1: apparently VersionHelpers.h needs to be included explicitlyMichael Stahl
http://ci.libreoffice.org/job/lo_gerrit_master/495/Gerrit=Gerrit,Platform=Windows/console Change-Id: I0104d448906bd17857b3716856c544e632c1662c
2015-01-23calling alloca() requires #include <sal/alloca.h>Michael Stahl
Change-Id: I59e5ede0c0cfb10f4196d79ae762132ae4ecb9bb
2015-01-22Why is Objective C such an ill-specified mess?Stephan Bergmann
Change-Id: I2a6b4ba10d303a6a4ce5bc4582e68a73c2ae331e
2015-01-22loplugin:cstylecast (MACOSX)Stephan Bergmann
Change-Id: Ia4c8920ce2ce44286c5042d4b5dbeaa41fe355cc
2015-01-22Resolves: fdo#87639 Image-filter Smooth crashesCaolán McNamara
regression from commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Author: Thorsten Behrens <thb@documentfoundation.org> Date: Sun Nov 2 22:37:32 2014 +0100 coverity#1242508: swapped arguments rename the variables to indicate which are source and which are dest indexes and that the aNewBitmap argument is always, and assert that it must be, of equivalent rotated source to the Bitmap which has ImplConvolutionPass called on it. Change-Id: If9715b9f29655da66c6981c0f7cab3d89c528ed7
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