summaryrefslogtreecommitdiff
path: root/ucb/source
AgeCommit message (Collapse)AuthorFilesLines
2015-10-28ucb: GCC 4.6 also doesn't do "override"Jan-Marek Glogowski1-6/+6
But you can use SAL_OVERRIDE instead. Change-Id: Id593aa5f734b291043dee58f0e5ac6ff8ee421ea Reviewed-on: https://gerrit.libreoffice.org/19653 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-28ucb: GCC 4.6 doesn't do "final"Michael Stahl1-1/+1
Change-Id: Id7ee86412288e96fda016acaeb965a53963408e0
2015-10-28tdf#75637: Resolve help images via a vnd.libreoffice.image UCPStephan Bergmann2-0/+189
...which uses the logic already available in VCL's ImplImageTree to locate the image zip files and find fallbacks for incomplete themes and for localized images. (cherry picked from commit 6948c546fdc00dddec7d58e03150dcc87921d6b2, plus f5174c89cd037d35b975590083cf91b36633808d "...but do not erase localize attributes from image elements," which is needed to make localized image references work again) Conflicts: vcl/osx/vclnsapp.mm Change-Id: Ic1c15fcacb6596a27a2b051093232902202bf472 Reviewed-on: https://gerrit.libreoffice.org/19644 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-17Related rhbz#1259746: Buffer file content read from GIO UCPStephan Bergmann3-35/+13
...for one, this avoids sending seek requests down the GIO/GVFS stack, which can silently fail with corrupt data read from certain broken servers for current versions of the GIO/GVFS stack; for another, it should considerably speed up loading documents via the GIO UCP, as LO's document type detection is notorious for issuing lots of seek and (small-chunk and/or re-) read operations on a file. (This issue has become more relevant after 51e0d789c344547956764c3b5f0ef5a304f4e0aa "rhbz#1134285: Access dav, davs URLs via GVFS," where the old route via the WebDAV UCP was apparently not affected by those broken servers, so happened to start affecting opening certain remote files in LO via Nautilus.) Change-Id: I91f91128b2d1a16f976eafeacf216a91747f4df1 (cherry picked from commit 93a0696e74e96e5a5ca821f33cb791b87e876f49) Reviewed-on: https://gerrit.libreoffice.org/18612 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-08tdf#84190 : when auth fails, don't remember passwords for cmisSzymon Kłos2-3/+3
Change-Id: Ia1e0d553556693e0efa6de0bfc6f8b0ae9d40b5d Reviewed-on: https://gerrit.libreoffice.org/16688 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-06-19fix assert on loading kde98819-1.htmlCaolán McNamara1-1/+3
Change-Id: I3f8ccf2d0642657b3768a237c96f15cf7a7aff97 (cherry picked from commit 1cc396069b7170c12716dbfbbab149701dd2b540)
2015-05-18Remove include stdio (part2)Julien Nabet9-34/+6
Change-Id: Iae58d107d8df1c543a165086fb2b7c288e7121dd Reviewed-on: https://gerrit.libreoffice.org/15775 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-05-05loplugin:staticmethodsNoel Grandin1-1/+1
Change-Id: Iea68c4e466dd8e1cb7164959a680e5e52542166b
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist1-5/+0
Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9
2015-04-24loplugin:simplifyboolStephan Bergmann2-5/+3
Change-Id: I1890703bf1277ad83f578e1527db81a6e8f49fd3
2015-04-23Improved loplugin:literaltoboolconversion looking into cond. exprs.Stephan Bergmann1-2/+2
...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin35-111/+111
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-09loplugin:staticmethodsNoel Grandin13-94/+63
Change-Id: I2177e424d54dc2b5e26b7bbfe073b524e9cc5bab Reviewed-on: https://gerrit.libreoffice.org/15187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-07cppcheck: should be passed by referenceCaolán McNamara1-2/+2
Change-Id: I3d606615769f70ed29884e4c83164ccf15478132
2015-04-07loplugin:staticmethodsNoel Grandin2-11/+11
Change-Id: Id3d6b50e07ea0850af18ab9bdadfffe0e4602aab
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann2-19/+19
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann2-19/+19
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-01Add support for cppu::UnoType<void>Stephan Bergmann13-62/+62
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann25-339/+261
Change-Id: I8d1a4fda1cdd679f20de37271f7b832da4fb0c9a
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann13-16/+16
Change-Id: I4df86baf0106283c78942c40a4b5830dd9c91195
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann4-7/+7
Change-Id: Ibd269ae3147ce95f3f093e10ab736e8287e7098c
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann3-10/+10
Change-Id: I6a27fd990895ff36b35d2de6278ca0416e6c00f7
2015-03-24loplugin:constantfunction: variousNoel Grandin1-1/+1
Change-Id: I6eddda9f4b31c7ce413c328b6a857a81bd222eed
2015-03-17Fix various XServiceInfo implementationsStephan Bergmann1-2/+17
...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
2015-03-04V813: Decreased performanceCaolán McNamara2-8/+8
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-03-03Improve loplugin:passstuffbyrefStephan Bergmann1-1/+1
Change-Id: I88ab4c51ff59312127681d3087d22b9c79192b94
2015-02-23file UCP: Ensure myLocalTime is initializedStephan Bergmann1-1/+8
When a file's time is epoch (1970-01-01 00:00:00, i.e., TimeValue temp is all zero) and the TZ is UTC or westward, osl_getLocalTimeFromSystemTime returns false and leaves myLocalTime uninitialized. That e.g. confuses getModuleByUrl (scripting/source/pyprov/pythonscript.py), potentially re-loading a Python script with epoch time (as happens e.g. for the share/Scripts/python/ files in an xdg-app installation of LO) every time it is accessed, falsely assuming it has changed on disk since last load. Change-Id: I8d4228feb28e2697a7021e3488ae2c09e8439ed8
2015-02-21Typo: trough->throughJulien Nabet1-1/+1
Change-Id: I5af784709df88492695d1ac9c9a5b020e909f362
2015-02-10drop some unbuilt test codeCaolán McNamara8-748/+0
Change-Id: I7e0651ccb248034bafffb1c46e6266fa396eede1
2015-02-07loplugin:deletedspecialStephan Bergmann4-20/+11
Change-Id: I2f0cbeebce5d3bb087128bae32816a89f1f1d222
2015-02-05try to avoid overflows in some compare functionsMichael Stahl1-1/+1
Change-Id: I6144d7d6527dc401b7f1b577d1a227361e39e7bb
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin3-4/+4
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-20Some more loplugin:cstylecast: ucbStephan Bergmann2-3/+3
Change-Id: I07c4b9b4bd61611ac11de6c70a0ca1c89cd10b3d
2015-01-19fdo#39440 reduce scope of local variablesMichael Weghorn2-6/+4
This addresses some cppcheck warnings. Change-Id: I1cd8b118e2598b8b18fb445851a3bb41e554267b Reviewed-on: https://gerrit.libreoffice.org/13967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-15rhbz#1163106: tdoc_ucp: fix life cycle of OfficeDocumentsCloseListenerMichael Stahl2-6/+12
The tdoc_ucp::OfficeDocumentsManager lives until the service manager is disposed on shutdown, but if the database stuff isn't disposed in due time then a document may call the notifyClosing() on the listener after the OfficeDocumentsManager dies; probably something is leaking the ODatabaseContext... Change-Id: I59662b910589d7270697452b2f4ca6c960d22f22
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin6-7/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-04boost::unordered_map->std::unordered_mapCaolán McNamara12-76/+29
Change-Id: I5d458f43616edc395faa8c27edaddc7d515166db
2015-01-02Fix simple typos.Andrea Gelmini2-5/+5
Change-Id: I1fdbe47ed7a6e05d2cf20f4c296bffad4bbc6599 Reviewed-on: https://gerrit.libreoffice.org/13719 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-12-20onedrive: Improve fallback dialog and instructionsAdolfo Jayme Barrientos1-3/+3
Reviewed on: https://gerrit.libreoffice.org/13500 Change-Id: I95df1d1b5589f89bfaa48c0833d92e3225b497a6
2014-12-19ucb: Use appropriate OUString functions on string constantsStephan Bergmann2-3/+3
Change-Id: I29c99157e9698e4af1d42a5c708cf4ec4753cf34
2014-12-18ucb: Use appropriate OUString functions on string constantsStephan Bergmann25-55/+53
Change-Id: Ie889b3e74160e9ba121ba8351d9e12f6d273c573
2014-12-17Introduce rtl::OUStringLiteral1Stephan Bergmann2-2/+2
...to use single ASCII character literals "more directly" in the OUString API (instead of having to go via an intermediary OUString ctor call). Especially useful for character literals that are defined as const variables or via macros ("direct" uses of character literals in the OUString API can often simply be replaced with single-character string literals, for improved readability). (The functions overloaded for OUStringLiteral1 are those that are actually used by the existing LO code; more could potentially be added. The asymmetry in the operator ==/!= parameter types is by design, though---writing code like 'x' == s is an abomination that shall not be abetted.) Change-Id: Ic5264714be7439eed56b5dfca6ccaee277306f1f
2014-12-15OneDrive authfallback request is now issuedMihai Varga4-0/+67
Change-Id: I9ee1f087322d80cbdf8ca369fccb6b6b0336062e
2014-12-15OneDrive binding settingsMihai Varga2-0/+10
Change-Id: I72c97931098c1a029d39532e3433c0aeaba73e3f
2014-12-12ucb: Use appropriate OUString functions on string constantsStephan Bergmann7-54/+53
Change-Id: I6839e032c981fcff472f29c51c84503d6370fd1c
2014-11-18Need <cppuhelper/queryinterface.hxx> here, too, I assumeTor Lillqvist1-0/+1
Change-Id: Ic91023c0a5a70072fcffaaa5e16fc2e415c2e1ee
2014-11-18Need <cppuhelper/queryinterface.hxx> nowTor Lillqvist1-0/+3
Change-Id: Ib5683580273430a61e4daff84cd03b3b559fac0f
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl3-2/+7
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-18cppu: clean up public headers with include-what-you-useMichael Stahl2-0/+2
Unfortunately iwyu gets quite confused by the weird cyclic dependencies between various foo.h/foo.hxx and cppumaker generated headers, so it's not obvious if any improvement here is realistic... Change-Id: I0bc66f98b146712e28cabc18d56c11c08418c721
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl7-0/+8
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