summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-09Updated coreAdolfo Jayme Barrientos
Project: help 5ebb8347c5656e487d3d44423ccdedf7c7789da1 tdf#98885 Stop mentioning the removed globe button Change-Id: I36a1a6df6c05058093a32cf1dd210c1c2bec76ec
2016-04-08Updated coreAdolfo Jayme Barrientos
Project: help 0971afd90a64d4463bae0bc9f5db091d276640c1 tdf#99003 Rename Target to URL Change-Id: Iba302d6f56150e2f0e1489b29398c82472ff49da
2016-04-08tdf#99003 Rename Target to URLSamuel Mehrbrodt
Change-Id: Icbbd3191e00d3eb187f50c18083b8db7b27544ee Reviewed-on: https://gerrit.libreoffice.org/23926 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-04-08tdf#94306 replace boost::noncopyable in d...Jochen Nitschke
dbaccess, desktop and drawinglayer. Replace with C++11 delete copy-constructur and copy-assignment. Nothing special, only one unused include in dbaccess/source/filter/xml/xmlfilter.cxx. Change-Id: Iebabbc658215162450d4caf08d4fb2f116c456d9 Reviewed-on: https://gerrit.libreoffice.org/23918 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-04-08tdf#94306 replace boost::noncopyable in chart2Jochen Nitschke
Replace with C++11 delete copy-constructur and copy-assignment. Delete default-constructors when comments suggested it. Change-Id: Ieeaf6ca998a4165d6eacf5e900c6a09aafdcfbe6 Reviewed-on: https://gerrit.libreoffice.org/23903 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2016-04-08tdf#99140 DOCX import: fix table horizontal aligment to be 'from left' ...Miklos Vajna
... when it was 'manual'. Regression from commit c1e563f6efd09cd3463f1b92a3022ae288c92087 (fdo#76741 [DOCX] Table Alignment and width type, 2014-04-04), DOCX import code had to deal with two kinds of horizontal alignment when it came to floating tables: the alignment of the table itself, and the alignment of the float parameters. The problem is, in general it's wanted that the table is aligned according to the floating parameters, but in Writer the "from left" UI setting is described differently for tables and fly frames: tables use LEFT_AND_WIDTH for that, while fly frames use NONE. Fix the problem by touching the default only in case the floating parameters have something that's different from NONE. With this, the width of tables is no longer lost when they are described to be floating ones in the DOCX markup, but FloatingTableConversion() decides to ignore that. Change-Id: Idd41c3e03e6ded8552e9d15b6080e4b45eb18d3d Reviewed-on: https://gerrit.libreoffice.org/23923 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-04-08lok context menu: Handle the case we only get the slot-id.Jan Holesovsky
Change-Id: I7a2537ccebf80c79bf61f041bfb18cd6ddc93ca2
2016-04-08unit test for replacing fragments of shared formula groups, tdf#97897Eike Rathke
Change-Id: If17b0f812c33f338e7ff5af381c1ed17b9965eba
2016-04-08loplugin:unreffun (missing "= delete")Stephan Bergmann
Change-Id: Ie9252e29b06242e8ab0b839f52de8b81897d269e
2016-04-08Silence loplugin:unreffunStephan Bergmann
Change-Id: Id68ec3e157445249bd96635d50e1de9c68cc0a46
2016-04-08Base Frame on WeakComponentImplHelper instead of TransactionManagerStephan Bergmann
...to get the deadlock under control the fix for which had to be reverted with 22fbbfe984f5da2592674f9260f5e4988b1341fe "Revert 'Avoid deadlock when two threads call into Frame::close'". Generally, replaced instances of TransactionGuard(E_HARDEXCEPTIONS) with checkDisposed() and instances of TransactionGuard(E_SOFTEXCEPTIONS) with nothing. A TransactionGuard would not establish a locked section per se (only would it engage in locking when TransactionManager::setWorkingMode is called, see the deadlock mentioned above), so the potential for introducing new races should be manageable. While at it, get rid of those implcp_* "debug methods" used to SAL_WARN about bad arguments to some UNO interface method implementations. Change-Id: I5ea9c1c8b20fd38457c558dbcb3a853a51a09b6e
2016-04-08tdf#99140 DOCX import: fix table at the bottom of the page to span over ...Miklos Vajna
... multiple pages. In short, one more blacklist entry when conversion should not be performed. Change-Id: I764f02cc58ae1b7af802b81e570e4feaf73ee2c1 Reviewed-on: https://gerrit.libreoffice.org/23912 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-04-08Change #include <cairo-svg.h> to <cairo.h>Korrawit Pruegsanusak
Since we don't need cairo's svg feature, and we build internal cairo with --disable-svg. Also remove commented-out codes which use svg. Change-Id: I5a8e8c672588bb6eca28696f21221770972ec3d3 Reviewed-on: https://gerrit.libreoffice.org/23456 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-08opengl: refactor GL texture slot mechanism to be more generalTomaž Vajngerl
Slot mechanism in ImplOpenGLTexture was written to support needs for FixedTextureAtlas. This commit makes the slot mechanism more general so it can be used in other kinds of texture atlases like PackedTextureAtlas. The ImplOpenGLTexture still tracks slots, but it is not needed to define beforehand how many slots there are. The deallocation has been factored out, ImplOpenGLTexture instead calls a callback function that a slot with a specific "slot id" has been deallocated. Change-Id: I23950d325b803969f958d03ebf34805687c4e620
2016-04-08opengl: cleanup texture, const internal formatTomaž Vajngerl
- Move IncreaseRefCount and DecreaseRefCount to texture.cxx - Add a constInternalFormat constant for the internal texture format that we want to use. Change-Id: I1c1e1f784075dc0d20b033d3bd2e52d2ffbd8252
2016-04-08opengl: fix wrong clipping when drawing textTomaž Vajngerl
Change-Id: I41a182c5309586337032328dfe82b1c6715f0dc2
2016-04-08opengl: use packed texture atlas for glyph cache in win. backendTomaž Vajngerl
Change-Id: I6a627699d49bad47213788877fa3947ad2ef83f4
2016-04-08opengl: texture atlas impl. to efficiently packs texturesTomaž Vajngerl
Change-Id: I66b3eddadb172da26aa1a62f2a795895769db93b
2016-04-08opengl: deferred and optimized (text) texture drawingTomaz Vajngerl
Switching between textures is not cheap, so minimizing the amount of switching performs better. So instead of immediate drawing we can accumulate texture draw actions and defer drawing as long as possible. After that switch all accumulated textures and draw everything needed with one GL draw call. This is beneficial for text drawing as we cache many glyphs in per textue. Change-Id: I1b94b9ac6a5f2c1a3dbbd75f4df76436a5d40f31
2016-04-08tdf#94306 replace boost::noncopyable in c...Jochen Nitschke
comphelper, connectivity and cppcanvas. Replace with C++11 delete copy-constructur and copy-assignment. Removed unused boost/noncopyable.hpp includes from some source files in cppcanvas. Change-Id: I90780820e21fbfd291ac10c266e7d16616e3a81b Reviewed-on: https://gerrit.libreoffice.org/23905 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-08tdf#94306 replace boost::noncopyable in cppuhelperJochen Nitschke
and related modules. Replace with C++11 delete copy-constructur and copy-assignment. Change-Id: I18aa9fe4ff696f9b5472cbe4cd0097cb174618b7 Reviewed-on: https://gerrit.libreoffice.org/23904 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-08foundry may be nullCaolán McNamara
Change-Id: I39359389a42e35e0131db1d0451fbd5531843f75
2016-04-08lok context menu: Expose the disabled commands too.Jan Holesovsky
OTOH, don't show choices that don't have the .uno: command, we have no way to handle them. Change-Id: I0df6ffe2049bbf11ba4b8931164be6a3381d3916
2016-04-08lok context menu: Expose context menuPranav Kant
Change-Id: I0968689630e10f838c075e86357eb36a9a220d0d
2016-04-08Drop unused uses of TransactionBaseStephan Bergmann
Change-Id: I606fc8e06823df9caf8786b1ae4d432c061ddc80
2016-04-08SfxTabDialog: rename members missing their prefixesMiklos Vajna
Change-Id: I6c739d4c64fb0b460e993f2a326a0acfec98b1c7 Reviewed-on: https://gerrit.libreoffice.org/23902 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-04-08fix many ooxml validation errorsMarkus Mohrhard
This code was just horribly broken. Every requested property would return the color value which if interepreted as an alpha value gave invalid values. This now contains an assert that might trigger in the next set of crash testing. Change-Id: I959084dbce2d28878b50ec52ece71397d4ace561 Reviewed-on: https://gerrit.libreoffice.org/23909 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-08vcl: draw toolbox grip with ellipses instead of pixels, HiDPITomaž Vajngerl
Previously the non-native grip was drawn manually with filling (lots of) pixels to get kind-of 3D effect for grips. This is not ideal for HiDPI and can also be slow on certain backends. This commit simplifies grip drawing by just drawng ellipses (circles actually). This makes it easy to extend the drawing to support HiDPI scaling and it also looks better and simpler. Change-Id: I9df192b69f7f920cececf12b40c1f70342e6d485
2016-04-07fix bug in SbxArray::MergeNoel Grandin
bug was recently introduced by commit a5c232831395f8987a8395816c5a60105a52b6a0 "BASIC: Store directly SbxVarEntry in SbxArray" bug was found by clang-tidy Change-Id: Ibcce6d6024ac60eb143cd873760586a7f6231858 Reviewed-on: https://gerrit.libreoffice.org/23890 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-04-07starmath: Assert that SmAlignNode must have only one childTakeshi Abe
Change-Id: Ia59e453040b121c27a1326ee4bdc8a7ccaa4074d Reviewed-on: https://gerrit.libreoffice.org/23588 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-07tdf#97087 - Give Idles comprehensible and unique namesMuhammet Kara
Change-Id: I435d26c00f48506a3f6bfb22aae156e91636842a Reviewed-on: https://gerrit.libreoffice.org/23887 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-07Fix simple typo in SAL_INFO tdf#97087Muhammet Kara
Change-Id: I925ff84c827b668d11cff8de13b0834dafc47e28 Reviewed-on: https://gerrit.libreoffice.org/23886 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-07vcl: Make it noncopyable by deleting copy ctor & coTakeshi Abe
Change-Id: Ia141d1d48d915f1ecc0351e47d7b9700891ebad2 Reviewed-on: https://gerrit.libreoffice.org/23891 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-07gtk3: the list/combo box hack to get internal buttons no longer worksCaolán McNamara
with gtk3-3.20.2 Change-Id: I608f3476a82233cb49e0b43c95f5a984d7c89c92
2016-04-07don't need gComboBoxEntryWidget anymoreCaolán McNamara
Change-Id: Ia48817eb1476ef6479c3b8e53666e63198cc9310
2016-04-07coverity#1358119 Uninitialized scalar fieldCaolán McNamara
arguably a false positive seeing as coverity ignores implicit default ctors but not explicit ones Change-Id: Id01f6a2728c197239563081c92275d44869b5d96
2016-04-07Remove unused Int32HashCodeStephan Bergmann
Change-Id: I0f43db050155b231dda8f78ed8f8144609c7125b
2016-04-07Just use the hash<sal_Int16> defaultStephan Bergmann
Change-Id: Ice2c0cbf382997c2d07cc8cd4a7b085a153fffef
2016-04-07Resolve OUStringList typedefStephan Bergmann
Change-Id: Ifb5dc5128b5619abb83eea427c7fb1115fd825f3
2016-04-07vector::clear is just fineStephan Bergmann
Change-Id: I5d8ec98d437913861b584cf3077618a2d6b0a0be
2016-04-07Remove junk that erroneously remained in previous commitStephan Bergmann
Change-Id: I18ca0d4daf44eafe88d6f812fa17576edbfb8dfd
2016-04-07dllexport class deriving from template means trouble with MSVCStephan Bergmann
Change-Id: I9d170168eac26c52fd6ca8d22124e8ff78b81226
2016-04-07add test for tdf#99093Markus Mohrhard
Change-Id: Id47abea42867f418e80a40357baa5f6435ecbdd6
2016-04-07Get rid of BaseHash wrapper (to unbreak Windows build)Stephan Bergmann
Change-Id: Ieae7d6af7a4753958ebf2aeae9d2ae6fafe5efe9
2016-04-07tdf#99140 Factor out FloatingTableConversion() from CloseSectionGroup()Miklos Vajna
No logic changes intended, but makes it easier to add new rules when making the decision. Change-Id: I84d8e6a2b8a4b9ae6fe5cefd381292c2f68be45f Reviewed-on: https://gerrit.libreoffice.org/23901 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-04-07tdf#98710 - catch exception due to crash in dwriteMarco Cecchetti
Change-Id: I448b166866710825d2b3c582796c392436fe072e Reviewed-on: https://gerrit.libreoffice.org/23892 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-04-07Fold PropertySetHelper into its only use, FrameStephan Bergmann
Change-Id: I148e15c2c91a985cd110f5589adbf26c102b1cfb
2016-04-07[API CHANGE] Remove undocumented TabContainerWindow serviceStephan Bergmann
It originally got introduced with b1da5a57d93e8e9b43b9bba9fabc3b7e61289edc "CWS-TOOLING: integrate CWS alf01" but appears to have never been used. Curiously, there were two commits to its code (f565a4b3d9b47ca3336df4f8d8d56d4e2dcceec5 "#i107087# TabWindowService must set member pointer to zero on VCLEVENT_OBJECT_DYING. The window life time is controlled by the docking window! Adding missing RemoveEventListener call" and 84c0ebe7d3e7dbc3796967d52f9535fecc9e6947 "#i107087# Remove event listener from tab window on TabWindowService dtor") that mention <https://bz.apache.org/ooo/show_bug.cgi?id=107087> "button merged in standard toolbar + own UI caused office crash", but the description of which ("when i merge a toolbar button in a standard toolbar and provide own UI (via the toolkit) the office crashed sometimes") doesn't give a hint how this service would have been used. (Maybe it was intended to be used by extensions, but never got documented neither in offapi's UNOIDL nor in <https://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide>.) Change-Id: I86746f73ee99ebe7f5afbc902204a9353e5ccb7b
2016-04-07tdf#98771 Update DocumentList.xml and SentenceExceptionList.xml for CroatianKrunoslav Šebetić
Change-Id: I3af29ce57f3c2ed62da63c5a3e9075c582a95d94 Reviewed-on: https://gerrit.libreoffice.org/23896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-04-07tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionalsRohan Kumar
I disentangled my previous patch and converted fprintf statements to SAL_INFOs Change-Id: I4b993e00f82bdf904586ab5e7c954c4ee3ff1bac Reviewed-on: https://gerrit.libreoffice.org/22925 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>