summaryrefslogtreecommitdiff
path: root/comphelper
AgeCommit message (Collapse)AuthorFilesLines
2012-11-22convert users of XDocumentInfo to XDocumentPropertiesMichael Stahl1-1/+1
Change-Id: I10f395f90d554d0ec26fe9f2654ae839e21c7ee5
2012-11-05fdo#46808, use service constructor for i18n::CharacterClassificationNoel Grandin1-6/+2
Change-Id: I0499ad7de27b1539e97f01ab8aa0ef2d6713ae76
2012-10-26Remove obsolete commentStephan Bergmann1-1/+0
Change-Id: I91ca29d9960e2f92c0f8bdec97695b58078fac6b
2012-10-26Turn SAL_INFO back to SAL_WARNStephan Bergmann1-1/+1
...the reason it started firing was a regression that has now been addressed with 402eaced7554aaeea75c10015857ea197191ba34 "Related fdo#46808: Fix UUIInteractionHandler::initialize argument handling." Change-Id: I2f36e1cb5ae1af293a7c07c366f1602e56e966ea
2012-10-26Simplify SAL_INFO usage even furtherStephan Bergmann1-9/+6
Change-Id: I452319aa627c8de17e87033597a151f186c4361c
2012-10-25comphelper: convert OSL_* to SAL_* in namedvaluecollectionMiklos Vajna1-2/+3
Mainly because it seems we hit this assert several times and right now it seems harmless. Change-Id: I9176741dd25f405c9eb49daef9c703cfde4386c4
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin2-11/+11
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory Change-Id: Id662d674c6d3c4ddfd35be5fc2e802b73bc6de90
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin2-15/+15
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
2012-10-23fdo#46808, use service constructor for i18n::BreakIteratorNoel Grandin2-9/+5
Note that I found a pre-existing bug in linguistic/source/gciterator.cxx but I was not able to fix it, because doing so appears to expose bugs elsewhere! Change-Id: I17fb9108d98a98d0ae13fe5a8e043d2db5b27a6a
2012-10-23fdo#46808, use service constructor for beans::IntrospectionNoel Grandin2-17/+6
Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
2012-10-23fdo#46808, use service constructor for uri::UriReferenceFactoryNoel Grandin1-5/+4
Change-Id: I4e72bf5880fa28cb96d93ede7730a63220af7fa6
2012-10-22fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin2-35/+28
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-18better to throw and report exact failureCaolán McNamara1-1/+1
2012-10-04sal_Bool -> bool in comphelperNoel Grandin1-5/+5
Change-Id: Ib7f2a10a4ff0227a5d5c137602c3c2f353334d24
2012-10-04sal_Bool -> bool in comphelperNoel Grandin2-8/+8
Change-Id: Id9f4aef6c7453cebd83dcaedf2ad7427e03cc960
2012-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin2-11/+11
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin2-4/+31
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-01fdo#51304: Remove the author of some java source filesAnurag Jain1-2/+0
This patch remove some '@author' for Java souce files, and removes some commented code founded when removing the '@author'. Change-Id: Ic4fcd028a9cdbd85c693d93bcd48e41f36386d22
2012-09-29Use comphelper::getComponentContextStephan Bergmann1-20/+3
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl2-4/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2-2/+4
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2-0/+2
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud7-16/+16
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-22missing package dependencyMatúš Kukan1-1/+4
Change-Id: I4171de4ad24ac1bb9956171f3256cbcd766dae29
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann6-32/+22
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-18Make getProcessComponentContext/ServiceFactory throw instead of returning nullStephan Bergmann2-48/+23
...with the same rationale as recent 543158edba6678d3d76eee983a9d4edd2a422fee "Require XComponentContext.getServiceManager to throw instead of returning null" (this helps find problems like 065a758d0c2b66c6683d648347b7a6cdef4a80f7 "Enable experimental gtk3 plugin only via SAL_USE_VCLPLUGIN"). Removed comphelper::createProcessComponent[WithAguments] and replaced its few uses with direct calls to createInstance[WithArguments]. Change-Id: Ia44b8656f74de88ef6eab3eb6bd597729b08e1c8
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud1-3/+0
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-15Simplify AutoOGuardArray + rename private attributeJulien Nabet1-7/+4
Change-Id: I9d651303fb80ef5c81d608e56a87cb9548c13f8f
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann2-4/+5
* 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-09-07First cut on integrating liborcus into libreoffice tree....Kohei Yoshida2-0/+7
It introduces the 'FilterProvider' property in the media descriptor to optionally bypass the normal loading process and let the external filter provider to handle the loading. For now I'm overwriting the csv import filter just to see how this could work just as an experiment. Orcus still needs a lot of work, and it crashes very often at the moment. Change-Id: I11b34572c71073144804a7d0dd5176c8067d8deb
2012-09-05fdo#46808, Adapt reflection::CoreReflection UNO service to new styleNoel Grandin1-10/+12
The XComponent part of the interface made no sense for a singleton, so it was removed. Explicitly document the 'theCoreReflection' singleton and move it into it's own file. Deprecated the now old CoreReflection service. Change-Id: Ib8befa87c7da7eb53a2f587948fd54a64c082472
2012-08-27fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin1-14/+13
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-27fdo#46808, Adapt script::Converter service code to new styleNoel Grandin1-6/+3
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-25Replace usage of rtl/memory.h in comphelper with equivalent from string.hArnaud Versini3-8/+10
Change-Id: I41d452aa4892606d127e9565cf83c21f78a67392
2012-08-23Some clean up after previous commitStephan Bergmann2-22/+17
Change-Id: Ie419c769c5d661d51c1b43b9808791dcf9e1725c
2012-08-23fdo#46808, Shiny UNO, Use factory to create XSimpleFileAccess instancesNoel Grandin1-3/+4
Change-Id: I86e2a8873e5646abd340015f500bf9e872e8e6c5 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-08-20SwXTextTable: add "TableBorder2" propertyMichael Stahl2-0/+3
This new property is necessary because the old TableBorder cannot be extended to contain the BorderLine2 structs without breaking compatibility. Change-Id: I5e22782256b29224225a9d74c818b2c47fee8526
2012-08-17gbuild: register all jarsMichael Stahl1-5/+5
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-16Revert "Cleanup comphelper::storagehelper"Matúš Kukan2-332/+356
This reverts commit 72777a66bb8d9e71c4786c282c7971d7ededa729. +using namespace com::sun::star::uno; in header is not a good idea Fails to compile and is hard to parse and figure out what was the point, so just reverting. Also +using rtl::OUString; is automatic nowadays whenever possible and RTL_CONSTASCII_USTRINGPARAM is obsoleted. Change-Id: I24cb24b7f1a6007734d26cbba41d46323cb55b18
2012-08-16Cleanup comphelper::storagehelperTomaž Vajngerl2-356/+332
Change-Id: I04313cf4235ce3db20ff340474691435e9b440b6
2012-08-14-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2-10/+4
Change-Id: I213bc96fd6c9049c0dba0a527e827ae5d8f0ace3
2012-08-08reduce ascii noise and useless commentsThomas Arnhold12-51/+0
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08remove include comments and boxesThomas Arnhold11-31/+0
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-07remove empty ascii boxes and stuff IIIThomas Arnhold2-48/+0
Change-Id: I8b54e8518c219a7edd7e29173a1099611a7e0dbb
2012-08-07Remove non-existing forward declarationsThomas Arnhold1-2/+0
Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-08-02Fix windows build where min and max are macrosFridrich Štrba1-2/+2
Change-Id: I59186db4003564b0b9c202456b7fdf91eaa67751
2012-07-30Typo ressource -> resourceStephan Bergmann1-1/+1
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-28Partially revert "Remove unused defines"Thomas Arnhold1-0/+1
This partially reverts 8ca21893e58dc9694e0e7a6c0fc52154b3ccb5f7 http://lists.freedesktop.org/archives/libreoffice/2012-July/035331.html Change-Id: Iae4347a26b1f388bc5e780d24ab7371ffac8b1f8
2012-07-25Make comphelper/configuration.hxx work for localized propertiesStephan Bergmann2-50/+61
See aebf5bf22304c73e121b16dc0b51f909c5f34c28 "fdo#52232 ConfigurationSet wrapper unusable for localized properties" for a discussion of the problems with the original design. 1 Redesigned configmgr's localized property access to understand ['*<locale>'] paths that select the best existing value match for the requested <locale>. Adapted ConfigurationWrapper::getLocalizedPropertyValue accordingly. 2 Redesigned ConfigurationChanges to fix the locale at instantiation time. That takes care of ConfigurationWrapper::setLocalizedPropertyValue, ConfigurationWrapper::getGroupReadWrite, and ConfigurationWrapper::getSetReadWrite. (This required an additional constructor parameter for the ReadWriteAccess service, to specify a locale at instantiation time.) 3 Redesigned ReadOnlyAccess to be a service that fixes the locale at instantiation time. That allows to take care of ConfigurationWrapper::getGroupReadOnly and ConfigurationWrapper::getSetReadOnly. Change-Id: I2ae7342b278b6f4222a0189a1deb2a53e204059f
2012-07-24mhu24: add comphelper::newArray_{null,ex} helpersMichael Stahl2-0/+52
Change-Id: I5cba60c8a14fc8d0adc0c4c5273aabbdd9830f91