summaryrefslogtreecommitdiffstats
path: root/binaryurp/source/reader.cxx
Commit message (Collapse)AuthorAgeFilesLines
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-301-2/+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
* deprecate oustringostreaminserter.hxxNorbert Thiebaud2012-09-181-3/+0
| | | | | | | | | | | | | | | | | | | 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>
* CosmeticsStephan Bergmann2012-09-051-24/+19
| | | | Change-Id: I7b217c4fb48bbee4a2872d15cf23a955b464ffca
* OUString and RTL_CONSTASCII cleanupRicardo Montania2012-09-051-59/+27
| | | | Change-Id: Ic56451b2c13d8561bb6e6ee92bf9147b35640a5c
* Change rtl::OUString to OUStringRicardo Montania2012-08-221-17/+17
| | | | | | 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
* Unused includesStephan Bergmann2012-03-201-1/+0
|
* Adapted Reader/Writer to safer-to-use salhelper::ThreadStephan Bergmann2012-02-231-8/+4
|
* Fix for fdo43460 Part IV getLength to isEmptyOlivier Hallot2011-12-131-2/+2
| | | | | | | | Part IV Module basic (small fix per demand from Ivan Timofeev) binaryurp bridges
* catch by constant referenceTakeshi Abe2011-11-301-2/+2
|
* Adapted to new assertion/logging mechanisms.Stephan Bergmann2011-11-281-19/+17
|
* just silence the auto_ptr deprecations in isolationCaolán McNamara2011-09-221-1/+7
|
* add mode lines to new filesCaolán McNamara2011-06-021-0/+3
|
* drop bogus executable flag from [ch]xx/bas/asm filesFrancisco Saito2011-03-291-0/+0
|
* sb138: #i115619#, #i116038# use osl_setThreadName in binaryurpsb2011-01-281-0/+1
|
* sb138: #i116038# fresh implementation of binary URP bridgesb2011-01-261-0/+552