summaryrefslogtreecommitdiffstats
path: root/binaryurp/source/incomingrequest.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Replace list by vector in incomingrequest (binaryurp)Julien Nabet2017-11-231-2/+2
| | | | | | | Change-Id: Ic08f45f614cfa4643b55142e85e8eeac223abd82 Reviewed-on: https://gerrit.libreoffice.org/44893 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* binaryurp: consistently use "" and <> for include directivesMike Kaganski2017-10-111-12/+12
| | | | | | | Change-Id: If328428d7f88d8a160888857acd3a07bbd8dab83 Reviewed-on: https://gerrit.libreoffice.org/43318 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* add << operator for css::uno::ExceptionNoel Grandin2017-10-041-5/+2
| | | | | | | Change-Id: Ia23dafd07133779144965682df3b7125a3214235 Reviewed-on: https://gerrit.libreoffice.org/43046 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
* clang-tidy modernize-use-emplace in b*Noel Grandin2017-09-081-3/+2
| | | | | | | Change-Id: I51e0369ba2e1fe0b7c934531f71d3bda95ba09ec Reviewed-on: https://gerrit.libreoffice.org/42109 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Add missing #includesStephan Bergmann2017-02-061-0/+1
| | | | | | | | | ...and remove some unncessary using directives/declarations, in preparation of removing now-unnecessary #includes from cppumaker-generated files, post e57ca02849c3d87142ff5ff9099a212e72b8139c "Remove dynamic exception specifications". Change-Id: Iaf1f268871e2ee1d1c76cf90f03557527ebc9067
* New o3tl::runtimeToOUString to convert from C++ runtime NTBS to OUStringStephan Bergmann2016-11-231-4/+3
| | | | Change-Id: I613bb70b6828f615fd45af38b2d873ece55ace60
* Replace remaining OSL_ASSERT etc. in binaryurpStephan Bergmann2016-09-161-25/+26
| | | | Change-Id: I6f013cacbefe9c681baa3e91f73f4fc05c99ba78
* Replace fallthrough comments with new SAL_FALLTHROUGH macroStephan Bergmann2016-05-101-1/+1
| | | | | | | | | | | | | | | | ...which (in LIBO_INTERNAL_ONLY) for Clang expands to [[clang::fallthrough]] in preparation of enabling -Wimplicit-fallthrough. (This is only relevant for C++11, as neither C nor old C++ has a way to annotate intended fallthroughs.) Could use BOOST_FALLTHROUGH instead of introducing our own SAL_FALLTHROUGH, but that would require adding back in dependencies on boost_headers to many libraries where we carefully removed any remaining Boost dependencies only recently. (At least make SAL_FALLTHROUGH strictly LIBO_INTERNAL_ONLY, so its future evolution will not have any impact on the stable URE interface.) C++17 will have a proper [[fallthroug]], eventually removing the need for a macro altogether. Change-Id: I342a7610a107db7d7a344ea9cbddfd9714d7e9ca
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-101-8/+8
| | | | Change-Id: Ic3516d9069cbe935f5b82aec0afac3facdc814a5
* Add support for cppu::UnoType<void>Stephan Bergmann2015-04-011-2/+1
| | | | Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
* boost::noncopyable->'= delete'Caolán McNamara2015-02-161-1/+0
| | | | Change-Id: If0f898a1e912fcd2095d8ba88b2b8046596e16ea
* remove boilerplate in UNO Exception constructor callsNoel Grandin2014-05-231-4/+3
| | | | | | | Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
* sal/log.hxx functionality also includes the equivalent of OSL_LOG_PREFIXStephan Bergmann2014-04-161-5/+4
| | | | Change-Id: I1bb0115a378003b5cc5b1cfc59c474a1f100d894
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-301-6/+0
| | | | | | | | | | | | This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
* CosmeticsStephan Bergmann2012-09-051-6/+4
| | | | Change-Id: I7b217c4fb48bbee4a2872d15cf23a955b464ffca
* OUString and RTL_CONSTASCII cleanupRicardo Montania2012-09-051-2/+1
| | | | Change-Id: Ic56451b2c13d8561bb6e6ee92bf9147b35640a5c
* Change rtl::OUString to OUStringRicardo Montania2012-08-221-5/+5
| | | | | | My first commit. Any problem, question, warnings, please tell me. Change-Id: Ibb02fe15776f3ffe74ddb9488c63a45c447bb493
* re-base on ALv2 code.Michael Meeks2012-06-121-26/+17
|
* Better fix for ThreadPool/ORequestThread life cycleStephan Bergmann2012-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a follow up to d015384e1d98fe77fd59339044f58efb1ab9fb25 "Fixed ThreadPool (and dependent ORequestThread) life cycle" that still had some problems: * First, if Bridge::terminate was first entered from the reader or writer thread, it would not join on that thread, so that thread could still be running during exit. That has been addressed by giving Bridge::dispose new semantics: It waits until both Bridge::terminate has completed (even if that was called from a different thread) and all spawned threads (reader, writer, ORequestThread workers) have been joined. (This implies that Bridge::dispose must not be called from such a thread, to avoid deadlock.) * Second, if Bridge::terminate was first entered from an ORequestThread, the call to uno_threadpool_dispose(0) to join on all such worker threads could deadlock. That has been addressed by making the last call to uno_threadpool_destroy wait to join on all worker threads, and by calling uno_threadpool_destroy only from the final Bridge::terminate (from Bridge::dispose), to avoid deadlock. (The special semantics of uno_threadpool_dispose(0) are no longer needed and have been removed, as they conflicted with the fix for the third problem below.) * Third, once uno_threadpool_destroy had called uno_threadpool_dispose(0), the ThreadAdmin singleton had been disposed, so no new remote bridges could successfully be created afterwards. That has been addressed by making ThreadAdmin a member of ThreadPool, and making (only) those uno_ThreadPool handles with overlapping life spans share one ThreadPool instance (which thus is no longer a singleton, either). Additionally, ORequestThread has been made more robust (in the style of salhelper::Thread) to avoid races. Change-Id: I2cbd1b3f9aecc1bf4649e482d2c22b33b471788f
* catch by constant referenceTakeshi Abe2011-11-301-6/+6
|
* round this one up too to get forms to passCaolán McNamara2011-06-021-2/+2
|
* add mode lines to new filesCaolán McNamara2011-06-021-0/+3
|
* round allocated struct return space to sizeof(size_t)Caolán McNamara2011-06-021-1/+9
| | | | this fixes the sfx2 subsequenttest
* sb138: #i116038# fresh implementation of binary URP bridgesb2011-01-261-0/+300