summaryrefslogtreecommitdiff
path: root/ucb
AgeCommit message (Collapse)Author
2012-05-14removed unused static rtl::OUStringTakeshi Abe
Change-Id: I5a097beaaeb30214ed6071bba1297e551291922b
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-02Handle cases where ExtensionDescription is called on nonexisting pathStephan Bergmann
...which happens when installing non-bundle extensions (like a plain .xcu file), where the path computed for the description.xml contains the path to the non-bundle extension file itself as a prefix, so access results in E_NOTDIR. Change-Id: Ic0f4a34b46d99d1817ceea599bb8b53dbd65bc49
2012-05-02Cleaned up CommandLineArgsStephan Bergmann
* Support for dead arguments has been removed. ** Especially, dead UCB_CONFIGURATION_KEY1/2_xxx values have also been removed, and code initializing UCB has been simplified accordingly. * For the sake of simplicity, behaviour has been changed slightly. For example, passing both --calc --writer now always lets --writer win (whereas in the past the one mentioned first, i.e., --calc in this example, would win). Change-Id: Id40a19b9ef96db0d439cadd96ba491bf640d28fb
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-17prevent getFileURL() & getLinkTargetURL() asserting for broken linksNoel Power
2012-04-16WaE: deprecated conversion from string constant to 'LPSTR'David Tardon
2012-04-15re-open output file on save to fsync to improve first-start performanceMichael Meeks
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl
2012-04-08gbuild: "use" vs. "add":Michael Stahl
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-03-29Follow-up to revert of "Initial experiments with static linking of (some) ..."Tor Lillqvist
Revert "this requires string literals now" and "fix after recent XSERVICEINFO_IMPL_1 change". This reverts commits f7d571d2eefea079be3d89f3253ed90cbd9fa07f and 186ab8e77bd7c7a42ffcca6fa7f8e1819ad04b7d.
2012-03-29Revert "Initial experiments with static linking of (some) ..."Tor Lillqvist
Thist idea caused too intrusive changes to the code of call sites, I think. Will do it another way that leaves call sites as is. This reverts commit 25d114eec4d451acdda1ddff4c8ed9d47ba6275f.
2012-03-21chmod -xTor Lillqvist
2012-03-21this requires string literals nowDavid Tardon
2012-03-21fix after recent XSERVICEINFO_IMPL_1 changeLuboš Luňák
2012-03-21Initial experiments with static linking of (some) components / servicesTor Lillqvist
Start with the first service needed when running sc's filters_test: the UniversalContentBroker. It might not be typical as ucb uses the deprecated XSingleServiceFactory. This commit is not at all a complete solution, far from it, just an initial hack. Naturally once I come up with some generic enough way to do the static linking the necessary macros etc will be added to some general header. The macro XSERVICEINFO_IMPL_1 (local to ucbhelper and ucb) is amended so that it in the disable-dynamic-linking case also emits a function whose assembler name equal contains the service name. This function returns the XSingleServiceFactory for the service. Where the service is instantiated we link directly to that function. But probably this will be reworked a couple of times... Maybe it would be better to simply have the service name specific entry point be a pointer to the component's component_getFactory() function? Those all have the same prototype.
2012-03-14fdo#47246: ucpodma: fix duplicate linked objectMichael Stahl
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann
...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
2012-03-09fdo#40607 - osl_syncFile having written, and avoid doing that on startMichael Meeks
2012-03-01WaE: initialization orderDavid Tardon
2012-02-29Drop comparison with empty rtl::OUStringTakeshi Abe
2012-02-27fix msvc2005 buildCaolán McNamara
2012-02-27drop UniString::CreateFromInt64Caolán McNamara
2012-02-23remove all other deprecated header guardsThomas Arnhold
2012-02-23Adapted TickerThread to safer-to-use salhelper::ThreadStephan Bergmann
2012-02-21WaE: Same expression on both sides of '||'Thomas Arnhold
2012-02-20gb_JunitTest_JunitTest takes only one argumentStephan Bergmann
2012-02-19add configmgr, ucb1, ucpfile1, xcr to libmergedMatúš Kukan
2012-02-19Get rid of size() == 0Elton Chung
2012-02-18Fix typos in commentsElton Chung
2012-02-15WaE: /* within commentCaolán McNamara
2012-02-08Added READMEs for modules which used to be in libs-coreJosh Heidenreich
2012-02-07In the current glib version only the main glib.h can be included directly.Daniel Mihalyi
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud
2012-01-30Don't repeat a return !Julien Nabet
2012-01-26Code cleanup: ( () ) replaced by (())Alexander Bergmann
2012-01-23Replaced diagnore ENSURE_OR_CONTINUE with regular code.Marcel Metz
2012-01-23Replaced diagnore ENSURE_OR_BREAK with regular code.Marcel Metz
2012-01-20ucbhelper::GetLocalFileURL does not use its arg.Stephan Bergmann
2012-01-18Fix for fdo43460 Part L getLength() to isEmpty()Olivier Hallot
Part L Modules ucb
2012-01-17Switch flag sequence of OpenCommandArg3 to NamedValue.Thorsten Behrens
Based on feedback for 09954fc863c8ee900f157cab4458e1dcf51493d3, using the less-bulky NamedValue type instead of PropertyValue.
2012-01-17Fix UpdateCheck clog up server by keeping connection aliveThorsten Behrens
The update check protocol uses the webdav ucp, which uses neon, which in turn defaults to keeping the connection alive. this is nice for webdav, but disastrous for millions of clients phoning home to the same server. Using neon directly in updatefeed.cxx is not an option, due to the thread safety problems around that (see e.g. rhbz#544619) - so we had to extend it to accept connection options, and reuse the existing webdav provider.
2012-01-16Fix "Same expression on both sides of '||'"Julien Nabet
2012-01-15ucb: add missing dependencyMatúš Kukan
2012-01-15ucb: convert to gbuildMatúš Kukan