webdav: lang::XMultiServiceFactory -> uno::XComponentContext

(cherry picked from commit 317b5bdadebc5560d38da4c9dd6d68c64a93b9a8)

Conflicts:
	ucb/source/ucp/webdav/SerfSession.cxx
	ucb/source/ucp/webdav/webdavprovider.cxx

Change-Id: I71984066a512a023c67d1690bd984d66f75f894b
#i120041# Update of serf library from 1.0.0 to 1.1.0.

(cherry picked from commit eb0311f38de6c30fb15f87b4599e932897f281f5)

Conflicts:
	external_deps.lst
	scp2/source/ooo/file_library_ooo.scp
	solenv/bin/download_external_dependencies.pl
	ucb/source/ucp/webdav/SerfPostReqProcImpl.cxx
	ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx
	ucb/source/ucp/webdav/SerfPropPatchReqProcImpl.cxx
	ucb/source/ucp/webdav/SerfPutReqProcImpl.cxx
	ucb/source/ucp/webdav/SerfSession.cxx

Change-Id: I6b9576226f86b87397bedc2b67a9289bc19317a7
(cherry picked from commit da41a44fb3883d6d72e6c22605eec7d29559dfb0)
minor WaE cleanup for SerfRequestProcessorImpl.hxx

that solves another dozen warnings
(cherry picked from commit f42f6eb8aa2ab01befeba42871d9d5c7b381f49f)

Change-Id: Ia06cee06e04b09fe6ed45cf4159722be191a21d2
(cherry picked from commit 6a8e29563ca28ebb6e0bef34c20c82a2c0262c36)
#122008# - use <serf_bucket_headers_setc(..)>

when header name's data need to be copied

(cherry picked from commit e50d4638e4fe64eb05b8f22006c7f04c05ec288b)

Change-Id: Ib4f171b05bafe380187a09cbfe143b0bef8b6f25
(cherry picked from commit ff824e87a51b1242f0584a35ce3fc7a579152cd2)
#i123068# remove implicit conversions from rtl strings to their elements

(cherry picked from commit 1a15756db5173403fcdbc3ad522c3a76e88a7082)

Conflicts:
	ucb/source/ucp/webdav/DAVProperties.cxx
	ucb/source/ucp/webdav/SerfRequestProcessor.cxx
	ucb/source/ucp/webdav/SerfSession.cxx

Rest ignored.

Change-Id: I7d25170cc07538dbab70bc72af8764820da2b60b
(cherry picked from commit 43fc67adcc3bdc5efaaaf9b0d65e53e99880b18a)
webdav: fix cherry-pick commit 7056e8ef89e938e38fc5b2b8a7493f0c79d5efd4

(cherry picked from commit aa68e4c54952578fcf644f7a6df5174028a1412d)

Conflicts:
	ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx

Change-Id: I177daf0d4e22d96167ab094a5c9d5c9cab6cf409
webdav: std::hash_set|map -> std::unordered_set|map

Change-Id: Id0c18cb51af742d073d532662558fdd84d476f88
(cherry picked from commit ff3b92017d3c831987ab437e48178e9d29a36bfb)
webdav: fix include paths

Change-Id: I323bef2e1c21e2a1981409d4295ccf555088e5ea
(cherry picked from commit f9f70d95a19f7c139c2f9093e033edd9e6dcf45e)
webdav: fix remaining build issues

(cherry picked from commit d60301d03b098e1d45b8de6b169e9fb54600c3f1)

Conflicts:
	ucb/source/ucp/webdav/DAVProperties.cxx

Change-Id: I9416551ba78a6a27071fdf92a6c36c271a1032b7
Add apr and serf externals for alternative webdav implementation.

Change-Id: I5e93bb6fb53537b889c6ba9888f0f32a0d6f8050
(cherry picked from commit 0b27253aff771e104a9fd5d17595b205b2fc39fd)
Build webdav based on serf if neon is disabled.

(cherry picked from commit dcae0509135c2067635ae3cf84b05dc9fb3d2d02)

Conflicts:
	Repository.mk
	postprocess/CustomTarget_registry.mk
	ucb/Module_ucb.mk
	ucb/source/ucp/webdav/webdavservices.cxx

Change-Id: I0cbb89c8d5ac65eda8bb21aaf0d07996a015d281
webdav: Use plain OStringBuffer here, otherwise wrong string is created.

..with "true" instead of thePropName.name and thePropName.nspace
which obviously breaks things.

Change-Id: I6568e6a98c1793ebbe8ab1864bd8ad3995eee09c
(cherry picked from commit 36f143d59492be24d0b275d728f2c151e9123075)
remove obsolete TODO comment; ASCII string is used here

since 36f143d59492be24d0b275d728f2c151e9123075

Change-Id: I71f0a0f6c2ce91086286a2fc0b6736be42d02198
(cherry picked from commit a4f35131b1b2cd64feaa12f436888bb3ce836d68)
webdav: fix various warnings

(cherry picked from commit c8d2c653ae6467bbfa05e8312b10bacb3eba249f)

Conflicts:
	ucb/source/ucp/webdav/SerfSession.cxx
	ucb/source/ucp/webdav/SerfUri.cxx
	ucb/source/ucp/webdav/UCBDeadPropertyValue.cxx

Change-Id: I86289c09b3694e5c48dffeb2de571d99e2484bd3
webdav: Use just "LibreOffice" as "User-Agent" as in webdav-neon.

(cherry picked from commit 0e082ac24bfb4e6924539e4814901ce814880737)

Conflicts:
	ucb/source/ucp/webdav/webdavprovider.cxx

Change-Id: Ia69f0be3fbbeb33f4331bc66b9ac5204d330e42a
webdav: loplugin warnings and sal_Bool -> bool

(cherry picked from commit 26b4c8e5f13350c47e98bd78ba5494f117629e05)

Conflicts:
	ucb/source/ucp/webdav/ContentProperties.cxx
	ucb/source/ucp/webdav/webdavcontent.cxx

Change-Id: I0f1797aa03868e7652a0f90a5cf72ba851537b41
Remove pointless SerfRequestProcessorImplFac indirection.

Change-Id: If8549893a686c7a665adde0436d377d6d695e5bf
(cherry picked from commit 9f586e2fbe41ec4d808369fac9501e3e9aea08f5)
webdav: Lock files when opening them.

The implementation is not perfect but good enough as a start.

(cherry picked from commit 6e0cc0cd40fcceef601c9b680f44b95f6286ffa0)

Conflicts:
	ucb/source/ucp/webdav/SerfSession.cxx

Change-Id: I6f006ae7a16ee73de20448e1228d9acfd69becb4
webdav: Parse response of LOCK request.

(cherry picked from commit c1496e67616c3ec94d500bb632cca6b844f37a2f)

Conflicts:
	ucb/source/ucp/webdav/webdavresponseparser.cxx
	ucb/source/ucp/webdav/webdavresponseparser.hxx

Change-Id: Ib17de602e2c51eb29b0495ce7411836ceeccf9d4
webdav: Store locks in SerfLockStore, so we could unlock later.

(cherry picked from commit 3648ba0db379b3ca2cc6bb84a4b6c14f16217fa9)

Conflicts:
	ucb/source/ucp/webdav/SerfLockStore.cxx
	ucb/source/ucp/webdav/SerfSession.cxx

Change-Id: If2667e9374917dd1e4c4361378783729761e7dda