summaryrefslogtreecommitdiff
path: root/ucb/source
AgeCommit message (Collapse)AuthorFilesLines
2012-04-17prevent getFileURL() & getLinkTargetURL() asserting for broken linksNoel Power1-37/+40
2012-04-16WaE: deprecated conversion from string constant to 'LPSTR'David Tardon1-1/+1
2012-04-15re-open output file on save to fsync to improve first-start performanceMichael Meeks1-4/+0
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi21-475/+201
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-1/+1
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 Dezsi1-9/+9
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 Dezsi5-18/+18
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 Dezsi7-63/+63
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 Lillqvist3-6/+11
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 Lillqvist16-35/+62
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-21this requires string literals nowDavid Tardon2-7/+4
2012-03-21fix after recent XSERVICEINFO_IMPL_1 changeLuboš Luňák1-4/+2
2012-03-21Initial experiments with static linking of (some) components / servicesTor Lillqvist16-62/+35
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-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann6-4/+19
...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 Meeks1-0/+4
2012-03-01WaE: initialization orderDavid Tardon1-3/+3
2012-02-29Drop comparison with empty rtl::OUStringTakeshi Abe1-1/+1
2012-02-27fix msvc2005 buildCaolán McNamara1-1/+1
2012-02-23remove all other deprecated header guardsThomas Arnhold2-7/+0
2012-02-23Adapted TickerThread to safer-to-use salhelper::ThreadStephan Bergmann2-14/+14
2012-02-21WaE: Same expression on both sides of '||'Thomas Arnhold1-1/+1
2012-02-19add configmgr, ucb1, ucpfile1, xcr to libmergedMatúš Kukan4-4/+4
2012-02-19Get rid of size() == 0Elton Chung5-5/+5
2012-02-18Fix typos in commentsElton Chung1-1/+1
2012-02-15WaE: /* within commentCaolán McNamara1-2/+2
2012-02-07In the current glib version only the main glib.h can be included directly.Daniel Mihalyi1-1/+1
2012-01-30Don't repeat a return !Julien Nabet1-2/+0
2012-01-26Code cleanup: ( () ) replaced by (())Alexander Bergmann2-2/+2
2012-01-23Replaced diagnore ENSURE_OR_CONTINUE with regular code.Marcel Metz1-1/+5
2012-01-23Replaced diagnore ENSURE_OR_BREAK with regular code.Marcel Metz1-3/+18
2012-01-18Fix for fdo43460 Part L getLength() to isEmpty()Olivier Hallot45-155/+155
Part L Modules ucb
2012-01-17Switch flag sequence of OpenCommandArg3 to NamedValue.Thorsten Behrens7-20/+20
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 Behrens9-15/+89
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 Nabet1-1/+1
2012-01-15ucb: convert to gbuildMatúš Kukan18-1423/+0
2012-01-07catch exception by constant referenceTakeshi Abe3-22/+22
2011-12-16Remove nonsense line (causing debug-mode glibc to report an error).Stephan Bergmann1-1/+0
2011-12-15fdo#43707: tweak workarounds for fdo#42865:Michael Stahl1-0/+4
Apparently on Windows the SAL_DLLPUBLIC_EXPORT does not work for unknown reasons, so use the old mapfiles on that platform. Should fix regressions from 1fb5eb21, 48dbaa51, a9da5a0b.
2011-12-11I don't see NO_BSYMBOLIC being used anywhereTor Lillqvist12-12/+0
2011-12-08childs -> childrenMichael T. Whiteley3-17/+17
2011-12-06normalize Red Hat, Inc. spellings, and bump to latest templateCaolán McNamara1-1/+2
2011-12-01typo fix: explicitely -> explicitlyLior Kaplan1-1/+1
2011-11-27remove include of pch header from ucbNorbert Thiebaud119-233/+0
2011-11-17Enforce a "lib" prefix for UNO components for AndroidTor Lillqvist3-3/+3
This commit for the old build system. (Don't bother for components not relevant for Android.) The Android package installer (as invoked through "adb install", from "ant debug install") silently ignores native libraries in app packages (.apk files) whose names don't start with "lib" and end with ".so". The package builder (as invoked through "ant debug") in the SDK gladly includes also thusly named native libraries in the .apk, though. Yay for consistency.
2011-11-15fdo#42865: libcmis,ucpcmis: no mapfileMichael Stahl1-1/+2
In order to not have the offending local _ZNSs4_Rep20_S_empty_rep_storageE symbol in ucpcmis1.uno.so, build it and statically linked libcmis with hidden visibility.
2011-11-11I don't need to hear about your every little titchy successCaolán McNamara6-27/+27
2011-11-04Silence down ne_lock gcc WaEEike Rathke4-3/+57
Wraps this /usr/include/neon/ne_locks.h:125:51: warning: 'int ne_lock(ne_session*, ne_lock*)' hides constructor for 'struct ne_lock' [-Wshadow] into a system header guard.
2011-10-18Reapply "CMIS: use another name to show than the one extracted from the base URLCédric Bosdonnat1-2/+6
This reverts commit 4901bdf4c4971e9b8235ab9bfbd0ee1088d51b45.
2011-10-17Revert "CMIS: use another name to show than the one extracted from the base URL"Luboš Luňák1-6/+2
The commit makes LO unusable, it fails during startup, smoketest fails as well. This reverts commit cd1a12dc552e9d34c7481c83b07a6f6af0e8762b.
2011-10-17CMIS: use another name to show than the one extracted from the base URLCédric Bosdonnat1-2/+6
In CMIS, the URL is only providing an easy access to the CMIS interface and doesn't reflect the public path on the server. A new property has been added in the SfxMedium items to hold the document name on the server and set it as the window title.