summaryrefslogtreecommitdiff
path: root/extensions/source/update
AgeCommit message (Collapse)Author
2014-01-28bool improvementsStephan Bergmann
Change-Id: If3402725c9cbff5df45043bd2ecd22dd6241c052
2014-01-27bool improvementsStephan Bergmann
Change-Id: I757e19313576d2c3d13af1cb720f182f0de91613
2014-01-23Let C++ inline functions return bool instead of sal_BoolStephan Bergmann
...to improve diagnosing misuses of boolean expressions in client code (cf. compilerplugins/clang/implicitboolconversion.cxx). This change should be transparent to client code. Missing overloads of insert() for bool have been added to OStringBuffer and OUStringBuffer (which required dropping one !VALID_CONVERSION check that would now pick that overload, but would be flagged by compilerplugins/clang/pointertobool.cxx). Change-Id: I2d64cd923b8f47bfaa31e753def6515c29a3f8c9
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-20misuse of OUString::boolean on sal_uInt8 valuesCaolán McNamara
regression since 64b993e046f23baaacaff1572b7d2a816588b5ef Change-Id: Ifc907a34430c36a64318fc42342e630e2b84ad13
2014-01-16Introduce com.sun.star.frame.theGlobalEventBroadcaster singletonStephan Bergmann
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance service. Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-09fix equalsAscii conversion. Noticed in fdo#72391Noel Grandin
In commit 363cc397172f2b0a94d9c4dc44fc8d95072795a3 "convert equalsAsciiL calls to startWith calls where possible" I incorrectly converted equalsAsciiL calls to startsWith calls. This commit fixes those places to use the == OUString operator. Change-Id: If76993baf73e3d8fb3bbcf6e8314e59fdc1207b6
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString constructorNoel Grandin
Convert code like: OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OString aKeyName("NDX"); which compiles down to the same code Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin
Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-19convert equalsAsciiL calls to startWith calls where possibleNoel Grandin
Simplify code like: aStr.equalsAsciiL( "%", 1 ) to aStr.startsWith( "%" ) Change-Id: Iee0e4e60b0ae6d567fa8f72db5d616fffbec3c00
2013-11-14SAL_WARN_UNUSED com::sun::star::uno::AnyStephan Bergmann
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann
Change-Id: Ie738ad2c055b0e380a67c4d199e006fb99155e7c
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-11remove unnecessary use of OUString constructor in EXTENSIONS moduleNoel Grandin
Change-Id: Idf73eb831f52d4d74e6fbb6ea27f59ebbfd13a8c
2013-10-15Some string clean-upStephan Bergmann
Change-Id: Ic046150605c599746ed3235c04bcbc981e18e589
2013-10-15Use OUString::replaceAllStephan Bergmann
Change-Id: Ide87f07a97a51d924947f7959016164b98ab43f9
2013-10-07fdo#54938: Adapt supportsService implementations to cppu::supportsServiceMarcos Paulo de Souza
Change-Id: I683c0d30c3286ed5d725d4eefe8b3977b82ee316 Reviewed-on: https://gerrit.libreoffice.org/6035 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I57cb3540cb94dcf39252a87b56cba3856cba9c01
2013-08-21valueOf() -> number()Luboš Luňák
Change-Id: I2832229b01de0cc5a725fd5fe1574a775d0bf12a
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-15i121946 - Use enums to identify WebDAV/HTTP methodsAriel Constenla-Haile
(cherry picked from commit 122e10cfd23b379b97e2d8ec002e7f0562ebd6f7) Conflicts: extensions/source/update/feed/updatefeed.cxx offapi/com/sun/star/ucb/makefile.mk offapi/type_reference/typelibrary_history.txt offapi/type_reference/types.rdb ucb/source/ucp/webdav/DAVResourceAccess.cxx ucb/source/ucp/webdav/DAVResourceAccess.hxx plus headerize.pl (Would be an incompatible API CHANGE if we had not unpublished XWebDAVCommandEnvironment with 78cca63070ae6cf82b45ec3bc75fafa2db31a7f2 "Revert publishing of lots of UNO types.") Change-Id: I153e394a194d0fcad29d3e3b27d5b24f7c259fc4
2013-08-15i121945 - WebDAV ucp: return StringPair instead of NamedValueAriel Constenla-Haile
Make css::ucb::XWebDAVCommandEnvironment::getUserRequestHeaders() return a sequence of css::beans::StringPair; this avoids all the any overhead, and is much more simple and intuitive. (cherry picked from commit 80199136d0d84b51b3d0529fb313b8f20f5cf851) Conflicts: extensions/source/update/feed/updatefeed.cxx offapi/type_reference/typelibrary_history.txt offapi/type_reference/types.rdb ucb/source/ucp/webdav/DAVResourceAccess.cxx (Would be an incompatible API CHANGE if we had not unpublished XWebDAVCommandEnvironment with 78cca63070ae6cf82b45ec3bc75fafa2db31a7f2 "Revert publishing of lots of UNO types.") Change-Id: I1c5d0a0b225fe86aca6ba6d6c8903985005387c2
2013-08-15i121944 - Implement inheritance in css::ucb::XWebDAVCommandEnvironmentAriel Constenla-Haile
It should be derived from css::ucb::XCommandEnvironment (cherry picked from commit 817e11dccbfe3431f9cc0466051f4d154ce33e5e) Conflicts: extensions/source/update/feed/updatefeed.cxx offapi/com/sun/star/ucb/XWebDAVCommandEnvironment.idl offapi/type_reference/typelibrary_history.txt offapi/type_reference/types.rdb (Would be an incompatible API CHANGE if we had not unpublished XWebDAVCommandEnvironment with 78cca63070ae6cf82b45ec3bc75fafa2db31a7f2 "Revert publishing of lots of UNO types.") Change-Id: Ie44bed44cce09c2423adab33c3790bdcb9be452d
2013-08-14make extensions XubString freeCaolán McNamara
Change-Id: I0216d11ade872af889fc805e4c2a9241f7f230c5
2013-06-15loplugin:literalalternativeStephan Bergmann
Change-Id: Ie2af2b013f95e8cdf7aab82498ce686dfa965cc8
2013-06-15loplugin:unusedvariablecheckStephan Bergmann
Change-Id: I2202b5fcca4bf4c0a552d25c5c363209fcb6bd84
2013-06-05fdo#64962 - ignore exceptions from checking with the update service.Michael Meeks
Change-Id: If627b303f8710b915dcbdcb899454631f607e217
2013-06-03fdo#46808, Convert office::Quickstart service to new styleNoel Grandin
Service already existed, just needed an IDL file. Change-Id: Ief5563e53c7331b65dd429079180c4eed2f2c071
2013-05-28fdo#46808, Convert awt::UnoControlDialog to new styleNoel Grandin
Change-Id: I9a5256c8dbacda60167403b4e26900588943a9b2
2013-05-25Revert "fdo#46808, Convert awt::UnoControlDialogModel to new style"Stephan Bergmann
This reverts commit 6c61b20a8d4a6dcac28801cde82a211fb7e30654. As discussed at <http://lists.freedesktop.org/archives/libreoffice/2013-May/052449.html> "Re: fdo#46808, Convert awt::UnoControlDialogModel to new style problem" why the odd change in 2e2a4827ce6708f0e8677dba9cc92e1479a44086 "scripting: get CreateUnoDialog() work again" appears to fix things again: The problem is that the implementation of the css.awt.UnoControlDialogModel involves UNO aggregation (IMPL_CREATE_INSTANCE_WITH_GEOMETRY(UnoControlDialogModel) in toolkit/soruce/helper/registerservices.cxx creating a OGeometryControlModel<UnoControlDialogModel> instance that aggregates a UnoControlDialogModel instance). That means that queryInterface can return a reference to something that is technically a different object, and that's what's happening here, and explains why calling setPropertyValue in two different ways on what logically appears to be a single object can end up calling two different implementations (of two different physical objects). (UNO aggregation is known to be broken and should not be used. Nevertheless, there's still code that does---code that is a horrible mess and hard to clean up.) That all this worked as intended in the past is just sheer luck, but any way of substantially touching it is asking for trouble. I'm going to revert 6c61b20a8d4a6dcac28801cde82a211fb7e30654 again. I wasn't able to revert without also reverting be50ad28f5bbdaeff527f646481ce263843c2401 "fdo#46808, Convert awt::XUnoControlDialog to new style," as the two were tightly dependant. Also reverts all the follow-up fixes cb4b6dde8fda2a5848e11063028bf44d72f85431 "-Werror,-Wuninitialized" (sans the const-ness fix in UpdateHandler::insertControlModel), 697a007c61b9cabceb9767fad87cd5822b300452 "Fix exception specifications," 2ce6828bbbf6ba181bb2276adeec279e74151ef6 "fix awt::UnoControlModelDialog crash," and 2e2a4827ce6708f0e8677dba9cc92e1479a44086 "scripting: get CreateUnoDialog() work again." Conflicts: basctl/source/dlged/dlged.cxx filter/source/t602/t602filter.cxx xmlscript/test/imexp.cxx Change-Id: I5d133468062f3ca36300db52fbd699be1ac72998
2013-05-21-Werror,-WuninitializedStephan Bergmann
Bogus uno::Reference< awt::XControlModel > xControlModel = xControlModel; introduced with 6c61b20a8d4a6dcac28801cde82a211fb7e30654 "fdo#46808, Convert awt::UnoControlDialogModel to new style." Correct fix involves adding missing "const" in declaration of UpdateHandler::insertControlModel, so implicit Reference up-cast works. Change-Id: I8f6d679a38d99188eb893366e9b552974b3c1bf2
2013-05-21fdo#46808, Convert awt::XUnoControlDialog to new styleNoel Grandin
Change-Id: I40d2e2ddd92186a2ba22ebfbdda8367391e8d355
2013-05-21fdo#46808, Convert awt::UnoControlDialogModel to new styleNoel Grandin
Change-Id: I4b912034ef3f4855b87d6d6f18ff13bd1ecc8f72
2013-05-11Related: #i120413# document helpful precalculated CheckInterval valsAriel Constenla-Haile
(cherry picked from commit 1045898eb4be2f19d8435e86ff600f4d9541abf9) Conflicts: extensions/source/update/check/Jobs.xcu Change-Id: Iddf1ba34bd6a48ae64c3b7b104d2e942f39df244
2013-04-29Remove residue of undocumented "edition" featureStephan Bergmann
...whereby some branding could be orverridden with information from a program/edition/ directory. Change-Id: I7f9324678b09bc8069775dfcbda97be8e0618a91
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-27-Werror,-Wunused-macrosStephan Bergmann
Change-Id: I4df79952596b267a0e744a2b9a11a1e128624e74
2013-03-27-Werror,-Wunused-macrosStephan Bergmann
Change-Id: I083b936a6b20f070748c281d5814d5e57dedf864
2013-03-20Assume that this shall check full string equalityStephan Bergmann
...instead of prefix match as the use of compareToAscii(RTL_CONSTASCII_STRINGPARAM(...)) would imply. Change-Id: I266b68073ba01b9c1e91e24816b8a61f09bd60ac
2013-03-20Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Thomas Arnhold
Now all should be gone. Change-Id: Iaaaebfbb85535d95eab6a2043e7d5e2e845d9782
2013-03-18extensions: remove RTL_CONSTASCII_STRINGPARAM in macrosMiklos Vajna
Change-Id: I24cc59f4e9410e9a67a87950e7452de55122c0ce
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-02-19fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan
- replaced osl_trace with sal_info - added new log areas to log-area.dox Change-Id: Ib47c4b4c9604bca1f8a635dd01bb89702b47b591 Reviewed-on: https://gerrit.libreoffice.org/2010 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-02-18avoid space in the version of the update information providerPetr Mladek
LO-4.0.0.3 sends "4.0 .0.3" to the server. Change-Id: I2cda062778ac3632f89eb5c0d1cc85e57d8d1870
2013-02-15Fix conversionJulien Nabet
to avoid error messages like: error: could not convert ‘(const char*)"LocalFile"’ from ‘const char*’ to ‘const rtl::OUString’ Change-Id: I8b55049bd29c63b837f80b1562b9e8cd8324c603
2013-02-14Fix compilation error with older GCCTor Lillqvist
The GCC 4.0 we still use for the "official" Mac OS X build says: "error: conversion from ‘const char*’ to non-scalar type ‘rtl::OUString’ requested." Sigh, I guess there might be lots more of these elsewhere in the code. Change-Id: Ifad5722bbadd465ebfca1ac3f0b55f07a6895e12