summaryrefslogtreecommitdiff
path: root/comphelper
AgeCommit message (Collapse)Author
2012-10-04sal_Bool -> bool in comphelperNoel Grandin
Change-Id: Ib7f2a10a4ff0227a5d5c137602c3c2f353334d24
2012-10-04sal_Bool -> bool in comphelperNoel Grandin
Change-Id: Id9f4aef6c7453cebd83dcaedf2ad7427e03cc960
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-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin
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 Jain
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 Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
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 Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud
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úš Kukan
Change-Id: I4171de4ad24ac1bb9956171f3256cbcd766dae29
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-18Make getProcessComponentContext/ServiceFactory throw instead of returning nullStephan Bergmann
...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 Thiebaud
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 Nabet
Change-Id: I9d651303fb80ef5c81d608e56a87cb9548c13f8f
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-09-07First cut on integrating liborcus into libreoffice tree....Kohei Yoshida
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 Grandin
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 Grandin
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-27fdo#46808, Adapt script::Converter service code to new styleNoel Grandin
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-25Replace usage of rtl/memory.h in comphelper with equivalent from string.hArnaud Versini
Change-Id: I41d452aa4892606d127e9565cf83c21f78a67392
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-20SwXTextTable: add "TableBorder2" propertyMichael Stahl
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 Stahl
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-16Revert "Cleanup comphelper::storagehelper"Matúš Kukan
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ž Vajngerl
Change-Id: I04313cf4235ce3db20ff340474691435e9b440b6
2012-08-14-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann
Change-Id: I213bc96fd6c9049c0dba0a527e827ae5d8f0ace3
2012-08-08reduce ascii noise and useless commentsThomas Arnhold
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08remove include comments and boxesThomas Arnhold
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-07remove empty ascii boxes and stuff IIIThomas Arnhold
Change-Id: I8b54e8518c219a7edd7e29173a1099611a7e0dbb
2012-08-07Remove non-existing forward declarationsThomas Arnhold
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 Štrba
Change-Id: I59186db4003564b0b9c202456b7fdf91eaa67751
2012-07-30Typo ressource -> resourceStephan Bergmann
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-28Partially revert "Remove unused defines"Thomas Arnhold
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 Bergmann
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 Stahl
Change-Id: I5cba60c8a14fc8d0adc0c4c5273aabbdd9830f91
2012-07-18Fix sense of SAL_WARN_IF conditionsStephan Bergmann
Change-Id: Idd3dea4e42eb7f63447e1f804d90e991c801cdd3
2012-07-16unusedcode: drop CellBlock and one small methodMatúš Kukan
Change-Id: I7cad80ea59b4527193a35ea1b7cfdd56e07a0efe
2012-07-14simplify include guardsThomas Arnhold
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks
2012-07-01Remove unused definesThomas Arnhold
Change-Id: I45e1618dcff920b63b7e21ba9e842eed684114d7
2012-06-29Java5 update - use generics in code, and general cleanupNoel Grandin
Change-Id: I6f2490c48a9d6dbb7de4917c07d5c1fb36c58777
2012-06-29re-base on ALv2 code.Michael Meeks
2012-06-29gridfixes: #i117265# implement less-predicate for Date/Time structsFrank Schoenheit [fs]
2012-06-29Remove some more include guardsThomas Arnhold
Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
2012-06-29Remove UNO includes commentsThomas Arnhold
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-27targetted re-work of cppunit pieces.Michael Meeks
2012-06-25reduce static_initialization_and_destruction chainCaolán McNamara
Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
2012-06-23Fix prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: Ibb55fcedecaf66f0817d24d8f408ef69d273ffa2