summaryrefslogtreecommitdiff
path: root/extensions/source/update
AgeCommit message (Collapse)Author
2015-07-03Fix typosAndrea Gelmini
Change-Id: Id884946cae0687d0b71c967e236e58df17567884 Reviewed-on: https://gerrit.libreoffice.org/16707 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-15cppcheck:redundantAssignmentNoel Grandin
Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7
2015-06-13use VclPtr<>::CreateDavid Tardon
Change-Id: I4b3abbd390e7b6cb449ccd7f0fb956266fd0b5c8
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-25convert SHOW constants to scoped enumNoel Grandin
Change-Id: I2712a0901049885502cade31f9757f712048bb33
2015-05-20convert TEXT_DRAW constants to scoped enumNoel Grandin
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
2015-05-08Clean up checks of sal_Bool valuesStephan Bergmann
Change-Id: Ia05565077823d6efaeaeb35d3d80b51dd9a10d4c
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-04-30Gradually typed LinkStephan Bergmann
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-29Also add RenderContext parameter to updatecheckuiTomaž Vajngerl
Change-Id: Idf648740f58c120fa08c9a278a511c6be205ce79
2015-04-28loplugin:vclwidgets (best guess)Stephan Bergmann
Change-Id: I9870b4ae7c8c11af34be1edb1ebcbab5e708f42e
2015-04-27More loplugin:simplifyboolStephan Bergmann
Change-Id: I5d904726bdfec1f2bfa5798e9fd82a5ac61f461a
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-02loplugin:staticmethodsNoel Grandin
Change-Id: I1f6c6d13697aa397067478d6b07429120106e6bd
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: I0e12e63846f7d06b4c2a4c00614c65b46aa64238
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: Ifd2e057ec440a072a342b307175d34cc6885b2e3
2015-03-12extensions: PVS-Studio V716 Suspicious type conversion: BOOL -> HRESULTMichael Stahl
Change-Id: I3ab73401b29be79ae5457c9f8905ad35e6f0c5fa
2015-03-10fix build of updatecheck extensionNoel Grandin
introduced in commit d22519f62bcd1325f1e7cc920a115b68fccd1922 "V801: Decreased performance" Change-Id: Ie8e1e00db91b0d1874abc6a3e6399ff30484f993
2015-03-09V801: Decreased performanceCaolán McNamara
Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
2015-03-09V801: Decreased performanceCaolán McNamara
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
2015-03-06Idle: Changed to new enum nameTobias Madl
Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
2015-03-06Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
2015-03-06Timer: Adapted all idle includes and enum usesTobias Madl
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
2015-02-05Remove uses of deprecated salhelper/refobj.hxxStephan Bergmann
Change-Id: Ibf4a2ed99024568b2d370b22919e3a25c43c6fbf
2015-01-31coverity#1267680 Dereference before null checkCaolán McNamara
Change-Id: I4a7e8751a5a6a93bd0cb8208a06a7c4fd30ef1b4
2015-01-30coverity#707772 Uninitialized scalar fieldCaolán McNamara
Change-Id: I00a5bc6256d9cbfc69ea6a71f2f2cd21e75cc594
2014-12-18extensions: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I4f117b3339753af254768724c38167f3595fbe69
2014-12-15fdo#39440 reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: I026999d6e995185c42df6770a1a700094540d08a Reviewed-on: https://gerrit.libreoffice.org/13454 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-12extensions: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I2476f409604d69e8e8ea1a132cd0a9169b5d435e
2014-12-09changed timers to idlesTobias Madl
Change-Id: I223026ce7676a3f8fcda7eb33326cd4ee949c6f0
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-10-31Removed duplicated includesAndrea Gelmini
Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6 Reviewed-on: https://gerrit.libreoffice.org/12160 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-09-30fdo#82577: Handle RegionNoel Grandin
Put the VCL Region class in the vcl namespace. Avoids clash with the X11 Region typedef. Change-Id: I6e008111df7cf37121fbc3eaabd44a8306338291
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-12extensions: sal_Bool -> boolStephan Bergmann
Change-Id: I026056e093661d3beb7f7a231d6cf0e8c72e5b50
2014-09-10fdo#55380 replaced use of obsolete interfacesDaniel Sikeler
Change-Id: I94fed6a9361f21457b3e631efffc0db833068aef Reviewed-on: https://gerrit.libreoffice.org/11256 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-08-25set names on a bunch more threads...Michael Stahl
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-08-20rename define tooThomas Arnhold
Change-Id: I33c9c867f058d69739d1389c76f76f89f1150b93
2014-08-20stray ErrorBox from ResIdThomas Arnhold
forgotten in c584f344b7f810c297da616befdc354b86fbf8b8 Change-Id: I2847b1853602c3a0ac1f9e55b496a34a408c790c
2014-07-10use SimpleReferenceObject in extensions/update moduleNoel Grandin
to replace hand-rolled version Change-Id: I4cd74b3e95a61c32d3aa52646d654ce306791fae
2014-07-01clang scan-build: various warningsCaolán McNamara
Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713
2014-06-30Allow CppunitTest_extensions_test_update direct access to UpdateCheck classStephan Bergmann
Change-Id: Ifa1dafe838e0e9c5bfa4525eaa744d4851551fc8
2014-06-26clang: Dead initializationCaolán McNamara
Change-Id: Ieae5303e55f21044ef8e91e63c4896696cfad51c
2014-06-13loplugin:staticcallStephan Bergmann
Change-Id: Ib8bbba8d6e3364f7474643ddb60a469497437616