summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-08Avoid loplugin:redundantcast in non-debug buildStephan Bergmann
Change-Id: Ib5f57ba5154c56b89ab550aef5a87ee27539ddd9
2015-07-08Updated coreEike Rathke
Project: translations 5fbe7f221f27df62d1156763f03baa90322c366b interim typo fix NETTORABEITSTAGE -> NETTOARBEITSTAGE Misspelled spreadsheet function names are most ugly.. Change-Id: I73a1f611e66a1484d2a728d3339eff5a6cd852ac
2015-07-08various warningsStephan Bergmann
Change-Id: I1e4f6920601bad273b5255defc9377ef303083fc
2015-07-08various warningsStephan Bergmann
Change-Id: Id3a56d628088f19424bd6e0c8bf23b0ac6c64d25
2015-07-08tdf#87702: Addition of Shadow sidebar tabRishabh Kumar
Change-Id: I75b368c0a8088926c765dbc46c6a4ce7c9d8b9f0 Reviewed-on: https://gerrit.libreoffice.org/16375 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-08i#107734 Support for Math Input Panel in Windows 7Regina Henschel
The patch introduces a new command .uno:ImportMathClipboard to module Math. It imports MathML content from clipboard and transforms it to Starmath It handles clipboard MIME type 'application/mathml+xml' and plain text, which can be interpreted as MathML segment. It partly solves issues #i14252, #i34781, and #i53509 too. Review by: Hanya <hanya.runo@gmail.com> (cherry picked from commit 9ec2148653436be8612273439180749e71e2ce58) Conflicts: dtrans/source/win32/ftransl/ftransl.cxx officecfg/registry/data/org/openoffice/Office/UI/MathCommands.xcu sot/inc/sot/formats.hxx sot/source/base/exchange.cxx starmath/sdi/smath.sdi starmath/source/view.cxx Change-Id: I6cb5e8f737ee2e39f9ce96aba841db347a8806e4
2015-07-08vcl: use SAL_INFO for available X11 clipboard formatsMichael Stahl
Change-Id: Ifbd87e59fa91241dd5852f7dc6b63e65d8ca6bad
2015-07-08sw: let's try some C++11 syntax for function pointersMichael Stahl
Less ugly or just differently ugly? Hard to tell... Change-Id: I1265f07f39ebbc65acfcc30242bc7cd7d46207e7 Reviewed-on: https://gerrit.libreoffice.org/16821 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-07-08Reduce the amount of up front work in performing introspectionMatthew J. Francis
Previously, when using PyUNO over a remote bridge, each remote call which returned an object could result in 50+ further calls to query interfaces on the result, regardless of whether and how the object was then used. The majority of these queries were made under css.script.Invocation to pre-cache certain information about the returned object. By making better use of available information to eliminate interface queries which are certain to fail, and lazily acquiring those interfaces which are required, remote scripting is significantly accelerated. In general, this also gives a small speedup for local scripting. Change-Id: I4f36da6b5f09cb0d22f21291f05fbea2ae7ae697 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-07-08vcl rendercontext: fix off-by-one error in PaintHelper::PaintBuffer()Miklos Vajna
With this, Writer no longer has leftover 1-pixel-width/height lines on scrolling at the right/bottom of the SwEditWin area. The problem was that PaintBuffer() painted one less row/column of pixels than intended. This happened because Rectangle::GetSize() uses GetWidth() and GetHeight(), which return "bound2 - bound1 + 1", but because the map mode was in twips, the +1 had no effect. For example, if top=127 and bottom=762 in pixels, then the needed height is 636, but (assuming e.g. 96 DPI) counting 11430-1905+1 in twips, then converting to pixels is only 635, so the last row/column is not painted. Fix the problem by making sure that GetSize() is invoked on a rectangle that has the size in pixels, that's how e.g. SdrPreRenderDevice::OutputPreRenderDevice() uses DrawOutDev(), too. Change-Id: I6f8686e0a91ba402db93982c25be76992c260abe
2015-07-08Limit the font preview text length.Ashod Nakashian
When text is selected, the preview text is the first TEXT_WIDTH (80) characters of the selection rounded up to the next word. However when no word boundary is found, the preview text is as long as the selection, which causes the preview to be less than usable in some extreme cases. This patch is to limit the preview text length when no word boundary is found, thereby always resulting in predictable behavior. Change-Id: I8a21638d601714db956b9b160664dfe1e5e49a4a Reviewed-on: https://gerrit.libreoffice.org/16855 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-08coverity#1311335 Uncaught exceptionCaolán McNamara
Change-Id: Idd654a49457c89598e45e0eb17336297b6745703
2015-07-08coverity#1311334 Uncaught exceptionCaolán McNamara
Change-Id: I70c8fb0a30eb8185a5fe326d0ce11fcac7aa7e4f
2015-07-08coverity#1311333 Uncaught exceptionCaolán McNamara
Change-Id: I692712d7a5a84efdec383c5d1ec7bd492a2e1aca
2015-07-08coverity#1311332 Uncaught exceptionCaolán McNamara
Change-Id: I96fbdb219fa59db54a7a2fc496e6d41f5d34385f
2015-07-08coverity#1311331 Uncaught exceptionCaolán McNamara
Change-Id: Ic5a42560e30bac18c90f4008eb593357f3539ee1
2015-07-08test-case for crash loading a page name fieldCaolán McNamara
Change-Id: I5ef8fbf8b6711ca8950b5a0a210bc0c74ae1bd53
2015-07-08coverity#1308596 Uncaught exceptionCaolán McNamara
Change-Id: I1a59d18546eab664d5148af544cd3657df2d5318
2015-07-08coverity#1311336 Uninitialized scalar fieldCaolán McNamara
Change-Id: I112e57bd6938d601e01dcd1f8b318db73a43b00c
2015-07-08when skipping hidden pages to pdf adjust dest page indexesCaolán McNamara
when setting the page bookmarks. three slides, set second to hidden, export to pdf (without toggling on include hidden slides), in evince/acroread click on the "slide 3" title, and the viewers will not jump to that slide, seeing as the index is mis-calculated assuming 1-1 export-import pages Change-Id: I5784100c2444ca480984914e67c8b7e376a2ec47
2015-07-08Fix typoTakeshi Abe
Change-Id: Iec20cfa243e336d36e12e13d36564eacc9db1435
2015-07-08tdf#90351: server response does not always contain cmis:baseTypeIdThorsten Behrens
So if we know which object we just created, don't rely on the server response to tell us. Improvement on the fix from 5c10e8cd0eedefc2dcc905154c4daa142561aef3. Change-Id: Iddf706fb3b8bef38217a406c806963ba4496c7c9
2015-07-08Use OUString::starts/endsWithStephan Bergmann
Change-Id: I88effbf6f88dfb286f85f8fbd06bab8033aca6b0
2015-07-08Whatever that "SDL-Bug" was supposed to be, it is clearly irrelevant by nowStephan Bergmann
Change-Id: Iaa3482e0895b1ccb1f1743893d64ae1941f3f396
2015-07-08Reduce variable scopeStephan Bergmann
Change-Id: Ia9e427dfbd6e7f87087f5df334ec68acbcdfc624
2015-07-08tdf#90351 libcmis: prevent crashAndras Timar
Change-Id: I2d9673bb261a2586e1802f025c900962249cfc42 Reviewed-on: https://gerrit.libreoffice.org/16854 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-07-08configmgr: support reading from a dconf layer (WIP)Stephan Bergmann
Work in progress to allow integration of LO with <https://wiki.gnome.org/Projects/FleetCommander>. During configuration, dconf support is implicitly enabled when available on the host (which is presumably only available on Linux). It is explicitly disabled for TDF Linux builds for now, though, to avoid accidental dependencies of the distributed installation sets on system dconf libraries. A dconf layer is represented in the CONFIGURATION_LAYERS bootstrap variable with type "dconf" and an empty URL. See the comment at the top of configmgr/source/readdconflayer.cxx for the encoding of component-data in dconf. All of this is still subject to change. Change-Id: I2d08d81c8ea43ba4a99040a8882ae75b91bcfdb9 Reviewed-on: https://gerrit.libreoffice.org/16848 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-07-08Updated coreOlivier Hallot
Project: help fd9b00bd84e3fe1a0aa087f5355aa0fcd27ef95f Promote ODF Formula standard in Calc function help Insert ODF Formula standard citation in Calc functions where it applies. In this example, function TIMEVALUE is a standard ODF Formula 1.2 function. Many other functions qualify to be a ODFF function. But since Excel is changing its function names, not every Calc function is and ODFF funciton. Change-Id: Ib764d780f9f66c8a7adaba8954d91fc9b4d70410 Reviewed-on: https://gerrit.libreoffice.org/16110 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-08sw: remove boost::bind from accmap.cxxMichael Stahl
Change-Id: I9953cd58e4e285f655f11afccc1d6ee535f85d7e
2015-07-08sw: remove boost::bind from docbm.cxxMichael Stahl
Change-Id: I3e91817c5113a391668ef0f35d6b8df4702f9715
2015-07-08sw: remove boost::bind from fmtatr2.cxxMichael Stahl
Change-Id: I4924251babfcea9a87e7e688c904264dd80f9359
2015-07-08fix crash on loading presentation with page name fieldCaolán McNamara
regression from commit 42b521f800a08b11432cf906ce1bdf9fcbfffdeb Date: Wed Apr 22 23:31:43 2015 +0200 tdf#88056: Implement ODF import/export of page title field Change-Id: I577a7c52836bbb13cc93910b4458aee5482ffc86
2015-07-08vcl: document mnDispatchLevel TODOMichael Stahl
Change-Id: I3c9f16bf0a2e6565612c32f48a95f447c09860e9
2015-07-08xmlhelp: remove obsolete GCC 4.2 warning stuffMichael Stahl
Change-Id: Ica1e7430ac7dc9fc61c8135498a0470ba5f1ab81
2015-07-08Fix typosAndrea Gelmini
Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-07-08sdext: the PDF library, not the treeMichael Stahl
Change-Id: Ic867140ace06337f6121d7c4576eb9850577d7cb
2015-07-08tdf#90452 StartCenter: Replace old, clunky, non-transparent LO logo…Adolfo Jayme Barrientos
… with something more elegant and sophisticated. Change-Id: Ie9cba3a0bc576c42279e7a46e24576b44a2e049a
2015-07-08s/Coordiante/CoordinateTor Lillqvist
Change-Id: Iac584b09844b5877586061e9a44b1f7473bffed4
2015-07-08sw: remove boost::bind from PagePropertyPanelMichael Stahl
Change-Id: I4e5bb81a14ee996bddc8585b5d350487f5f20d50
2015-07-08sc: convert boost::scoped_ptr to std::unique_ptr while thereMichael Stahl
Change-Id: I5c03889f3611b7c1799c39aa75a223ba34b603e4
2015-07-08sc: remove unused boost::random includesMichael Stahl
Change-Id: I91b5ad2319f7c2b57c890106e94f8de79cbefbc0
2015-07-08sd: test that we fixed the SdStyleSheet lifecycleMichael Stahl
Change-Id: Ia7e3c28eec02f23e4926cfb77b0afe7f8e79c711
2015-07-08sd: dispose SdStyleSheet properlyMichael Stahl
If it's disposed during document destruction it still retained pointers to SfxItemSet and SfxStyleSheetBasePool. Change-Id: I7b986b4fe5ca466f0fa86a99b744f5e2f85e08be
2015-07-08typo: contest -> contentAndras Timar
Change-Id: If7fa4672ef76082526f4dd3e6090a19d7f9687b3
2015-07-08gtk3: rework to remove gtk_style_context_set_path warningCaolán McNamara
Change-Id: I5d09d460e145bc3dc04d0cdd27bc4a1094053669
2015-07-08loplugin:unusedmethods vclNoel Grandin
Change-Id: I98b88ca3369a2c888fd63796e39d42376d513002
2015-07-08fix langtag test with liblangtag 0.5.7David Tardon
Change-Id: Ic8639daa5a32cf98fa17903424b00916cb6d8c6f
2015-07-08loplugin:staticmethodsStephan Bergmann
Change-Id: I8eb65173d7bf71a829b8c1d8451dbbc7d81a8d38
2015-07-08Fix MSVC buildStephan Bergmann
Change-Id: I784c0325c22708ab48217a9c06759d9fc1d7d5eb
2015-07-08cui: typed Link<>Noel Grandin
Change-Id: I39541a18f3d28ff1b428d5a77e36c3bf4c43d6b5