summaryrefslogtreecommitdiff
path: root/package/source
AgeCommit message (Collapse)Author
2013-04-17fdo#62096 - replace some O(U)String compareTo with ==Artur Dryomov
Change-Id: I98d04d7da4c2b7ea0b769df9c2bfa8c1ad86bf2d Reviewed-on: https://gerrit.libreoffice.org/3422 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-09Missing #includesStephan Bergmann
...once cppumaker would no longer needlessly emit #includes for optional interface bases to .hdl/.hpp files. Change-Id: Icbcfbf64c33be50652c5611a4962111fa8d13c05
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-04-04Simplify a bitJulien Nabet
Change-Id: I77cb2b08b1d92f3c8ad406bb1ebd2d080cdbfa1a Reviewed-on: https://gerrit.libreoffice.org/3123 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-23coverity#704243 Logically dead codeJulien Nabet
Change-Id: Ie1140a90a6c9723582fa5e18ca0cf1dc1f918742 Reviewed-on: https://gerrit.libreoffice.org/2942 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-15Improve debug messagesStephan Bergmann
Some of those SAL_WARNs might actually better be SAL_INFOs; please change if they hit too often. Change-Id: I2a3b9bd485586b7878194f84bc734b54ce69bc06
2013-03-15compareToAscii(RTL_CONSTASCII_STRINGPARAM(s)) != compareToAscii(s)Stephan Bergmann
...broken with 2cbdaf677c0a1e88aa582c6a17b496dff61a78b0 "package: no more RTL_CONSTASCII_USTRINGPARAM in zippackage" Change-Id: I867b9be723d1fde374ade68355e6b66df3c19332
2013-03-11use startsWith() instead of compareToAscii()Thomas Arnhold
brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-02-20typo: allways -> alwaysAndras Timar
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-11fdo#46808, Convert package module to XComponentContextNoel Grandin
Change-Id: I1b322e57d27e16d177ffa87d3cd42a7d06f3dfab
2013-02-11fdo#46808, use service constructor for document::DocumentIOLogRingNoel Grandin
Change-Id: I39f6d9f671dcb03779d594df5af60c9a0e3ca451
2012-12-03WaE: BaseReference::_pInterface may be used uninitialized in this functionTor Lillqvist
Change-Id: Ia127816f994f7ce6fc7230a0a7dacaa7396ba825
2012-11-26API CHANGE: com.sun.star.lang.IllegalArgumentExceptionMichael Stahl
... derives from com.sun.star.uno.RuntimeException instead of com.sun.star.uno.Exception. Only test that breaks with this change is jurt_uno/AnyConverter_Test, which for mysterious reasons effectively tests that IllegalArgumentException is a subclass of Exception and not RuntimeException. Presumably this is just a generic exception test that happens to use IllegalArgumentException. Some further testing indicates there are no problems expected at runtime: Running "make subsequentcheck" with all Java test code compiled against a ridl.jar that does not contain the change, running against a soffice that uses ridl.jar and rdbs with the change + ridl.jar with the change on the test side yields exactly the same AnyConverter_Test failure, with no other failures. Change-Id: Iad183de76ec7e0d56648084e97cdcc160b5b033d
2012-11-15fdo#46808, use service constructor for ucb::SimpleFileAccessNoel Grandin
I upgraded the service to return XSimpleFileAccess3, since it already implemented that interface, and it's backwards compatible. Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
2012-11-05fdo#46808, Adapt xml::crypto::SEInitializer UNO service to new styleNoel Grandin
Also create an NSSInitializer service IDL and split it's interfaces out from SEInitializer. It looks like this was the intention all along, but someone took a shortcut. Change-Id: I53ac1cb5d38b78b6718fe22c9666eae1f194a3b7
2012-10-26uncommpressed stream size is now 64bit, fdo#56291Markus Mohrhard
Change-Id: I13de2ea8cdd63cd2ba365a0ee02c224092d3f65f
2012-10-24package: kill remaining RTL_CONSTASCII.*PARAMMiklos Vajna
Change-Id: Ia53ddbfcf68524b7714fe6df447a9dbb1a68bcb7
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory Change-Id: Id662d674c6d3c4ddfd35be5fc2e802b73bc6de90
2012-10-23fdo#46808, Adapt packages::manifest::ManifestWriter UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file Change-Id: I04c617a97262e9cc96af17fcae9cc084245c0149
2012-10-23fdo#46808, Adapt packages::manifest::ManifestReader UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file. Change-Id: Idad85ab23f6650c89ba3095d10568a302503613b
2012-10-23package: kill RTL_CONSTASCII_USTRINGPARAM in owriteablestreamMiklos Vajna
Change-Id: I3204e7998c493585486f75bba80f648b0180b24b
2012-10-22fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin
Create a merged XWriter interface for the service. The xml.sax.Writer service already existed, it just did not have an IDL file. Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
2012-10-22package: kill RTL_CONSTASCII_USTRINGPARAM in xstorageMiklos Vajna
Change-Id: I85d3d863f2ee873834ced526fd3efb76738b110e
2012-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-24fdo#49819, fdo#54609: Do not consider timestamp differences as corruptionFridrich Štrba
MSO 2010 can produce a files with different timestamps in the central directory entry and local file header Change-Id: Ic6fc0b2fad96eb30babdd7e6ef4a0175936da4c5
2012-09-21package: convert internal ZIP handling data-types to 64bitMichael Meeks
Prepare for a ZIP64 implementation. Audit all "Size" property fetches through Anys. Audit all uses of nSize, nCompressedSize, nOffset through the code. Add FIXME64: comments to all points requiring future work.
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-08-31package: kill RTL_CONSTASCII_USTRINGPARAM in zipapiMiklos Vajna
Change-Id: Ic53f613cfaa5bd4affd0c27b5ed4ed20536ee055
2012-08-28throw earlier on broken zip streamsCaolán McNamara
Change-Id: I0de705b4c6a9176e98baed21b2cd960d4d091563
2012-08-27fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-23Some clean up after previous commitStephan Bergmann
Change-Id: Ie419c769c5d661d51c1b43b9808791dcf9e1725c
2012-08-23fdo#46808, Shiny UNO, Use factory to create XSimpleFileAccess instancesNoel Grandin
Change-Id: I86e2a8873e5646abd340015f500bf9e872e8e6c5 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-08-17package: no more RTL_CONSTASCII_USTRINGPARAM in zippackageMiklos Vajna
Change-Id: Ibd1fd59ed87ffc70f6b66290c48f95f6c3615102
2012-08-06There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET
a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-07-29Use memcpy & memcmp insteadof rtl_copyMemory & rtl_compareMemory in packageArnaud Versini
Change-Id: Ia24406ff31949e00725db74bbe5b016894a22f50
2012-07-18Various Clang 3.1 -Wunsued-variable, -Wconstant-conversionStephan Bergmann
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-07-16There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET
a literal within a OUString. Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
2012-07-07removed unnecessary forward declarations of classTakeshi Abe
except moving 'class SfxStringItem' to cui/source/inc/acccfg.hxx Change-Id: I11d3803ebcfa02658d376bacf28b3d6030ee9d1b
2012-06-23Fix prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: Ibb55fcedecaf66f0817d24d8f408ef69d273ffa2
2012-06-22re-base on ALv2 code.Michael Meeks
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-09Remove superfluous empty lines on topThomas Arnhold
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-07nuke dead codeTakeshi Abe
Change-Id: Id9920ea7b82ea178e904f78bbd41ffc434813e0b
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update calls to factories to use new SimpleFileAccess::create method Change-Id: Ie5b0696fe2228a9033b19969245a53c21a61aa14 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-02count and order of receipt of properties doesn't matterCaolán McNamara
so stick imported properties into assigned slots and throw out empty ones when finished. Reuse existing ids for this between import and export. Shuffle FULLPATH to 0 as per import comment Change-Id: I516116c5327498ad043f6e2fb9bd257599ade2a2
2012-06-01unwind manifest xml parser and follow tag hierarchy modelCaolán McNamara
so we validate that each tag is inside the right parent Change-Id: Ibc82aeaf6b409ef2fed7de0cd8f15c164da65e53