summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-05-23copy msms only for ver 9.0, MSVC 2010 doesn't have themEike Rathke1-0/+3
2012-05-23status bar: INSRT/OVER -> 'Overwrite' shown only when in overwrite mode.Jan Holesovsky11-32/+42
Idea by Mirek M. - thank you! Additionally introduced a tooltip showing more verbose text when in overwrite mode. Change-Id: I1236253bc6c97809ebed872fe86233cc08f41345
2012-05-23fdo#45779 avoiding creation of inconsistent B2DPolygonPierre-André Jacquod1-13/+14
this avoid the root cause of this bug, avoiding creating a B2DPlygon which contains no points. It seems the code relies somehow on an null B2DPolyPolygon, hence the change done here. Better would be to have time to look how to remove this fact. But currently it seems the code relies on a rSet.Put( XLineStartItem( aArrowName, aPolyPoly) where aPolyPoly is not defined in certain cases. Change-Id: I61b75d925090d1c9a0da96ce1a6eea50a2d60e5a
2012-05-23Better fix for ThreadPool/ORequestThread life cycleStephan Bergmann13-282/+372
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
2012-05-23Receive the file open command in Calc in order to pass doc service name.Kohei Yoshida7-2/+44
This way the type detection is guaranteed to receive the document service name whenever a file is being opened from Calc. Change-Id: I0eec06d4ca1f3f30bcbc5685af73392276990d69
2012-05-23Add mechanism to pass doc service name to the descriptor when opening a file.Kohei Yoshida3-1/+30
This info will be used during type detection for more clever filter selection. Change-Id: I66a52ff6f425e97884afd1c85831c11381fb695d
2012-05-22++I_hate_sal_Int32Luboš Luňák1-2/+2
Change-Id: Id6943713ade8a77f3f72aabf2e74635875cf5249
2012-05-22Bin unused REFDEV_MODE48Tor Lillqvist2-4/+0
Change-Id: I96997da0eb038cab4bdba32e0d797747623f4853
2012-05-22Renamed writer_web_HTML to generic_HTML.Kohei Yoshida13-30/+24
This should reflect the fact that this type was already used as a generic HTML type. Change-Id: I0a209d51ed229f07aff001075c39bfc82d4c3088
2012-05-22When the caller specifies filter type, stick to it and don't overwrite it.Kohei Yoshida1-7/+12
Change-Id: I35a3efc506bbcc33ea4c3d2466929f8227dae102
2012-05-22Reduce indentation.Kohei Yoshida1-359/+357
Change-Id: Ie335ee44a347ab588dbf6cdeb38ef19246c1ad47
2012-05-22adb pushing the cmdline file fails to a real deviceTor Lillqvist1-3/+1
But it isn't needed here anyway, the "command line" is so short, so just use lo-main-cmdline instead. Change-Id: Icca1b57228584cee5962a33cd0d18873b13b2884
2012-05-22fixed a typo in zh-* currency format code that has been in since 2002 ...Eike Rathke5-5/+5
2012-05-22targetted string re-workMichael Meeks3-3/+3
Change-Id: Icb84c34782dd41e0658f5f8ed4f689f149331d99
2012-05-22targetted string re-workMichael Meeks2-14/+14
Change-Id: I9ed4df2a25c8a2a868f83de48472715a6cabe2be
2012-05-22updated [zh-TW] locale data fdo#49274Cheng-Chia Tseng1-41/+220
2012-05-22layout statusbar control: Implemented design by Mirek M.Jan Holesovsky24-12/+14
Change-Id: Icaef88ba850f40e2354e896f688d11abba31fd8a
2012-05-22zoom slider: Implemented design by Mirek M.Jan Holesovsky13-40/+16
Simpler, and more light-weight now. Change-Id: I1d512f92714b0836dc75a187024af263e208484f
2012-05-22border window: Design by Mirek M. - make the 'shells' more lightweight.Jan Holesovsky5-0/+22
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
2012-05-23removed unused temporary rtl::OUStringTakeshi Abe22-28/+1
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
2012-05-22rework getting shape for the .docx import filterLuboš Luňák3-12/+10
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
2012-05-22better check for testcase failureLuboš Luňák1-0/+1
Change-Id: Ie9a41292bd90919355991a187f17eb810dfc4dc1
2012-05-22do reuse shape contextLuboš Luňák6-3/+41
This is pretty much a revert of 60cb70b94537e9ff1155fb80255fc04ce41363b2. Turns out e.g. <v:shapetype> is not local only to its <w:pict>. Added a testcase. Change-Id: Ibbb9fe01bc2fc77dd67151bf4ca0905443eebf63
2012-05-22Resolves: fdo#40778 wrong type used for callback argCaolán McNamara2-3/+3
Change-Id: If97589c7b7ad647b22de229a6161b4fd78c757c8
2012-05-22convert GetSurroundingText family to OUStringCaolán McNamara12-30/+21
Change-Id: Ifbb21fc26eedfde4afe2e3faf637346554f63d94
2012-05-22ditch some XubStringsCaolán McNamara4-9/+9
Change-Id: I00e1202de7bf5d20b4ac314dd138a3bb486245cb
2012-05-22Use lowercase for the KindMap values instead of upper camel caseJesús Corrius6-26/+26
2012-05-22-Werror=unused-parameterStephan Bergmann5-6/+4
Change-Id: I06dc09d57821ac729182764882558fa079b5ed37
2012-05-22WaE: unused parameter 'rStrName'Tor Lillqvist1-1/+1
Change-Id: Ia760fe7ae66f8caadb10947c3d743a9f64a55dc5
2012-05-22bootstrapping should elide duplicate .rdb paths in the configurationMichael Meeks1-3/+8
2012-05-22android: re-add main to libsofficeapp for androidMichael Meeks1-0/+9
2012-05-22android: use existing SAL_DLLPUBLIC macros instead of attributesMichael Meeks1-3/+3
2012-05-22android: remove duplicate services.rdb from config, and static bitsMichael Meeks1-6/+3
2012-05-22android: remove bits that are now statically linkedMichael Meeks1-3/+0
2012-05-22vcl: cleanup default icon-set logic making broadway default to tangoMichael Meeks1-11/+9
Change-Id: Ic982570a88a7f35c3b5a55a722ee759a37e1a64f
2012-05-22make row heights ( incl default row height ) from excel are saved absoluteNoel Power11-0/+86
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
2012-05-22Don't mention the same rdb files in both UNO_SERVICES and URE_MORE_SERVICESTor Lillqvist1-2/+2
Change-Id: Ieb6aea7d3683411ffcefc6c5e1e7facdef8ed105
2012-05-22A bit more introspective debugging output...Tor Lillqvist1-0/+12
Change-Id: Ibfafe0d6420ad59e12b9eed4847c89e57a18d679
2012-05-22Corrected max inital worksheet number in debughelper messageAlbert Thuswaldner1-1/+1
Change-Id: Icd40cc3bdc70e0ff55c82a6a4099411d1da47f56
2012-05-22don't set registry keys for Windows Vista+ on other systemsJesús Corrius6-0/+47
2012-05-22remove number of -I directives in writerfilterLuboš Luňák34-52/+47
Windows length path limitations strike again, and this should reduce the total argument length. Change-Id: I76fefabc8201e51494a7003d7ca4f9fd92ffa3b9
2012-05-22avoid warnings because of sal_Int* typesLuboš Luňák1-1/+1
Change-Id: I906931d62683b7feeff1a2e4b2f8b185c6af480e
2012-05-22Bin unused OUTDEV_BUFFER_SIZETor Lillqvist1-3/+0
Change-Id: I14bc964e931d9ae1981e7a22e66d2699e16457f3
2012-05-21Use Aplication User Model IDs for the native file typesJesús Corrius6-0/+176
Change-Id: I4941d97a8eb540bbf63320db83230707ced9f90f
2012-05-21MSI: remove always true LaunchConditionAndras Timar3-6/+0
Change-Id: Ia2b63502dbd8b5e4e0ca7faa34e06df73f094a78
2012-05-21strings for MSI Summary InfoAndras Timar1-7/+1
Change-Id: Iae8eb4a1a7f3a0d429ac47f64a77dcd4404d14d1
2012-05-21MSI: ARP strings for Summary InfoAndras Timar1-3/+3
Change-Id: If47645a381a8da9851ba1bc19431f6341151906f
2012-05-21codemaker: write version 49 (1.5) class filesMichael Stahl1-1/+1
The trick of writing generic types into class files of versions < 49 does no longer work with javac from OpenJDK 7: /comphelper/qa/complex/comphelper/Map.java:154: error: type Pair does not take parameters Pair< ?, ? >[] initialMappings = new Pair< ?, ? >[ _keys.length ]; There appears to be a related JDK bug for this, at some time javac had an undocumented option to produce similar class files that are also rejected now, this has been closed as "Not a Defect": http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7078419 Change-Id: I8a504f6cbb3bb58cd914aebb88637cc6feb0bd48
2012-05-21SdiTarget.mk: need explicit rule to get object files rebuiltMichael Stahl1-0/+4
Without this, when changing sdi file, the objects that include the generated header are only rebuilt at the second make invocation. Change-Id: Idd52a12dd162ec780da3a3b9f24d3bdd9b408a33
2012-05-21fdo#40874: make recorded border macros run:Michael Stahl1-3/+40
When the new BorderLine2 struct with its added members was introduced, the PutValues methods that are called by the macro recorder with seqeunces of Anys were not adapted, so running recorded macro for ".uno:BorderInner" ".uno:BorderOuter" ".uno:SetBorderStyle" fails. (regression from b624e6e6cf2ecfc6e6e983af45212fce5e731006, 7db30f7aa037f52eb07cbb4fd2796bd869204af8) Change-Id: Icd8a11d7f5c8d79c57020f213a1554540b6c666d