- 23 May, 2012 3 kayıt (commit)
-
-
Stephan Bergmann yazdı
This is a follow up to d015384e "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
-
Kohei Yoshida yazdı
This way the type detection is guaranteed to receive the document service name whenever a file is being opened from Calc. Change-Id: I0eec06d4ca1f3f30bcbc5685af73392276990d69
-
Kohei Yoshida yazdı
This info will be used during type detection for more clever filter selection. Change-Id: I66a52ff6f425e97884afd1c85831c11381fb695d
-
- 22 May, 2012 37 kayıt (commit)
-
-
Luboš Luňák yazdı
Change-Id: Id6943713ade8a77f3f72aabf2e74635875cf5249
-
Tor Lillqvist yazdı
Change-Id: I96997da0eb038cab4bdba32e0d797747623f4853
-
Kohei Yoshida yazdı
This should reflect the fact that this type was already used as a generic HTML type. Change-Id: I0a209d51ed229f07aff001075c39bfc82d4c3088
-
Kohei Yoshida yazdı
Change-Id: I35a3efc506bbcc33ea4c3d2466929f8227dae102
-
Kohei Yoshida yazdı
Change-Id: Ie335ee44a347ab588dbf6cdeb38ef19246c1ad47
-
Tor Lillqvist yazdı
But it isn't needed here anyway, the "command line" is so short, so just use lo-main-cmdline instead. Change-Id: Icca1b57228584cee5962a33cd0d18873b13b2884
-
Eike Rathke yazdı
-
Michael Meeks yazdı
Change-Id: Icb84c34782dd41e0658f5f8ed4f689f149331d99
-
Michael Meeks yazdı
Change-Id: I9ed4df2a25c8a2a868f83de48472715a6cabe2be
-
Cheng-Chia Tseng yazdı
-
Jan Holesovsky yazdı
Change-Id: Icaef88ba850f40e2354e896f688d11abba31fd8a
-
Jan Holesovsky yazdı
Simpler, and more light-weight now. Change-Id: I1d512f92714b0836dc75a187024af263e208484f
-
Jan Holesovsky yazdı
Just a line at the top and the bottom, we do not want the entire 3D effect here, it makes it visually incompatible with the window decorations. Change-Id: I262932fb5def21d5bc4fb347be6d6a07807bb4d2
-
Takeshi Abe yazdı
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
-
Luboš Luňák yazdı
This makes both sw/qa/extras/ooxmltok/data/n705956-{1|2}.docx testcases work at the same time. As far as I understand it, the .docx filter calls into oox and at the end if gets the shape, while the shape is removed from the ShapeContainer. In the case of recursion caused by <w:pict><v:shape><w:txbxContent><w:pict><v:shape>, clearing the whole list is wrong. Also, the OSL_ENSURE seems to suggest that there should not be more than one shape inserted by each read. So simply consider maShapes to be a stack when importing .docx . Change-Id: I7263aeaf74c8d31a05e64c56b880cbc6b00d7dd6
-
Luboš Luňák yazdı
Change-Id: Ie9a41292bd90919355991a187f17eb810dfc4dc1
-
Luboš Luňák yazdı
This is pretty much a revert of 60cb70b9. Turns out e.g. <v:shapetype> is not local only to its <w:pict>. Added a testcase. Change-Id: Ibbb9fe01bc2fc77dd67151bf4ca0905443eebf63
-
Caolán McNamara yazdı
Change-Id: If97589c7b7ad647b22de229a6161b4fd78c757c8
-
Caolán McNamara yazdı
Change-Id: Ifbb21fc26eedfde4afe2e3faf637346554f63d94
-
Caolán McNamara yazdı
Change-Id: I00e1202de7bf5d20b4ac314dd138a3bb486245cb
-
Jesús Corrius yazdı
-
Stephan Bergmann yazdı
Change-Id: I06dc09d57821ac729182764882558fa079b5ed37
-
Tor Lillqvist yazdı
Change-Id: Ia760fe7ae66f8caadb10947c3d743a9f64a55dc5
-
Michael Meeks yazdı
-
Michael Meeks yazdı
-
Michael Meeks yazdı
-
Michael Meeks yazdı
-
Michael Meeks yazdı
-
Michael Meeks yazdı
Change-Id: Ic982570a88a7f35c3b5a55a722ee759a37e1a64f
-
Noel Power yazdı
Currently default row heights imported from Excel are not adjusted Optimally ( AdjustRowHeight() is no longer called ) However to ensure correct round tripping the CR_MANUALSIZE flag *is* still set, this results in the style:use-optimal-row-height="true" being set for default row height(s) when saving as odf. So, for example absolute positions which are calculated on importing the Excel document ( where the row height is *not* optimally adjusted ) are still saved with the 'style:use-optimal-row-height' set. When the row heights are read back into calc the row sizes are changed any absolutely positioned objects are now out of place. This patch ensures *all* row heights are from an imported excel document are saved with style:use-optimal-row-height="false" Change-Id: If898b97ddb0c8b59a401d7b3c133b0eec09cd1db
-
Tor Lillqvist yazdı
Change-Id: Ieb6aea7d3683411ffcefc6c5e1e7facdef8ed105
-
Tor Lillqvist yazdı
Change-Id: Ibfafe0d6420ad59e12b9eed4847c89e57a18d679
-
Albert Thuswaldner yazdı
Change-Id: Icd40cc3bdc70e0ff55c82a6a4099411d1da47f56
-
Jesús Corrius yazdı
-
Luboš Luňák yazdı
Windows length path limitations strike again, and this should reduce the total argument length. Change-Id: I76fefabc8201e51494a7003d7ca4f9fd92ffa3b9
-
Luboš Luňák yazdı
Change-Id: I906931d62683b7feeff1a2e4b2f8b185c6af480e
-
Tor Lillqvist yazdı
Change-Id: I14bc964e931d9ae1981e7a22e66d2699e16457f3
-