summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-15Use #version 140 to get inverse()Tor Lillqvist
The Linux GLSL imlementation is very loose in its interpretation of standards, it seems. (I am not surprised.) Not so on Windows, at least with AMD drivers. The inverse() function (for float matririces) is present only starting from GLSL 1.40. Bump the #version directive accordingly. (See https://www.opengl.org/sdk/docs/man/html/inverse.xhtml) To get this to work again on OS X will be a further challenge. There a 'legacy' context only has GLSL 1.20. But the intent is to move this code in the direction of using 'core' contexts anyway. Change-Id: I572dc7cc30f90321b233fbfd857455dc01761a7c
2015-12-14tdf#96447 : Show correct borders in border editor when multimarkedDennis Francis
Change-Id: Icfa10e1662f6ac00110a8d301734a72dcacc1780 Reviewed-on: https://gerrit.libreoffice.org/20672 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-12-14don't be creative and use a simple lookup tableDavid Tardon
The original code breaks at least in optimized build on Fedora x86, because there nBits for 256 is computed as 9, not 8. Change-Id: Ib157c415bc9e231bf7fd544349810e6bc83c8fcc
2015-12-14Use emplace_backStephan Bergmann
Change-Id: I006e3c8f411b480917d9cfb9c4f3d082b79c833d
2015-12-14tdf#34094 : Allow column and row selections while creating a formulaDennis Francis
Change-Id: I516ca96c0743840fb03d8208f7236ca25027bc45 Reviewed-on: https://gerrit.libreoffice.org/20102 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-12-14Move var decl to where it gets actually usedStephan Bergmann
Change-Id: I8f9e74f7fbbff055c67cafba5d534db4635e5399
2015-12-14tdf#93837 Convert some Calc context menus to xmlMaxim Monastirsky
TODO: - Clean the now unused defines/resources. - Several submenus are duplicated (in the menubar too). Makes sense to refactor them to separate popup menu controllers. Change-Id: I85505eda1c5fb707b1e6064007f27af7b31452bf Reviewed-on: https://gerrit.libreoffice.org/20704 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-12-14Silence warning C4334 under --enble-64-bit MSVCStephan Bergmann
("'<<' : result of 32-bit shift implicitly converted to 64 bits") Change-Id: I738fe94ec559e2a35ffc32fb91c22c06094cff9f
2015-12-14add missing includeDavid Tardon
Change-Id: I326d306af89dcb0611e07689d2c26a828f3896ee
2015-12-14DOC export: fix writing multiple smart tagsMiklos Vajna
No testcase as our importer doesn't read this structure, but Word complained about this. Change-Id: I91f947233802ea6fb103c32fd774bad09c56764e
2015-12-14DOC filter: mark SmartTag support non-experimentalMiklos Vajna
And also relax two import conditions, as it turns out Word accept those. So instead of checking for each offset/length one by one, only check once. It's now as good as the DOCX one, I believe. Change-Id: I1890ef61fdbbd2ab6facaf3e787f75b791adcfdc
2015-12-14unusedcode NotifyEvent::NotifyEvent()Juergen Funk
have buuild under windows with debug-util Change-Id: I65f5c52db0d57453bbbba268ba0b936588c2bf73 Reviewed-on: https://gerrit.libreoffice.org/20657 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-14Resolves: rhbz#1289394 gtk3: implement tooltips nativelyCaolán McNamara
side step the whole pile of misery by using native gtk tooltips also gets transparency and native themeing too by default Change-Id: I59552661cd9dc18a563341885bc40fcdadc5264f
2015-12-14Related: rhbz#1289394 always provide the screen area the tip applies toCaolán McNamara
this will make it easier to implement native help tips Change-Id: I984dfadaf02e9b7bf542ba82cf070911c89cb699
2015-12-14DOC filter: tokenize PlcffactoidMiklos Vajna
Change-Id: Icef8c521d6a0ad1ee1fa1eadf2e472910c9193f2
2015-12-14DOC export: write propBags in SmartTagDataMiklos Vajna
Change-Id: I1d1f8aa28438209fbe3258b4b4418fcdfaabf78c
2015-12-14DOC export: write stringTable in SmartTagDataMiklos Vajna
Change-Id: I05eda6067308119a388238eed356531851000691
2015-12-14DOC export: write factoidTypes in SmartTagDataMiklos Vajna
Change-Id: I30ba25e035fae08c06b17e2bafcb8a1147d4e12d
2015-12-14ensure IsPage layout truly is a LwpPageLayoutCaolán McNamara
Change-Id: I3ca21608d633145c8a5238b947e22671460e9195
2015-12-14Related: rhbz#1290014 gtk3: use gtk_window_set_modal on modal dialogsCaolán McNamara
which makes modal dialogs (which are most of them) place correctly under wayland. Modeless ones are still uselessly shoved far to the left, but this makes things near usable and gives the same "graying into the bg" effect for the main window as other gtk apps Change-Id: If1486feb7631c5a0c2aa6efac3a6b9dd1b215daf Reviewed-on: https://gerrit.libreoffice.org/20699 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-12-14Fix tdf#90700 Notify connect timeout early.Giuseppe Castagno
Throws exception to manage timeout early in the first connection sequence. Change-Id: Ibf87f9d7607c808692509c694127266b6f542014 Reviewed-on: https://gerrit.libreoffice.org/20196 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-12-14Fix build on BSDsBaptiste Daroussin
Change-Id: I88fbad89a78262f4c3275aa3a01fbebaacece245 Reviewed-on: https://gerrit.libreoffice.org/20660 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-12-14FreeBSD can live with default search pathBaptiste Daroussin
Change-Id: I3fa26aaf57d9620e952823c303ee77e2fc642045 Reviewed-on: https://gerrit.libreoffice.org/20651 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-12-14tdf#95813: Don't cache CTRL_LISTNODE (disclosure control)Tor Lillqvist
It keeps state that apparently doesn't affect its cache hash key. Change-Id: I82ead9fcded16152f2a106a971484cf4a9eaf8ea
2015-12-14Use scoped pointers to hold dialogsOliver Specht
assigning a component or a script to a dialog control should not results in a crash in dbgutil-enabled build Change-Id: I06d11d8d51d0fe8d1b2a7217c51c1dfc8d3f8c97 Reviewed-on: https://gerrit.libreoffice.org/20695 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-12-14clear objects from duplicate ids earlyCaolán McNamara
Change-Id: I0caab9e329a465e10bf3ed321c55c287371bd437
2015-12-14coverity#1327144 UrF: Unread fieldCaolán McNamara
since commit 7650a60b577f0f4f439d94cd73779e5f5915a2cf Author: Stephan Wunderlich <sw@openoffice.org> Date: Mon Feb 3 15:42:43 2003 +0000 CHG: removed obsolete lines Change-Id: Ic03a2619a974005bbd2a60326a3dddb8cc394f83
2015-12-14coverity#1327146 UrF: Unread fieldCaolán McNamara
Change-Id: Ie840cc41ed2c57da3793bdf370ed828242febceb
2015-12-14coverity#1327150 UrF: Unread fieldCaolán McNamara
Change-Id: I70e241933b899b00bc4a3a959c900f284e6ec1ac
2015-12-14coverity#1327151 UrF: Unread fieldCaolán McNamara
Change-Id: Iea1398d6c261659843d060fb0128f7a404beafb7
2015-12-14coverity#1327160 UrF: Unread fieldCaolán McNamara
Change-Id: Ieef22ee987d486a8d7f994900a1f5fd61b0d8cce
2015-12-14coverity#1327161 UrF: Unread fieldCaolán McNamara
since commit 6eda3212ab539c2b5b37accf3a96ab100a79156a Author: Vladimir Glazounov <vg@openoffice.org> Date: Tue Nov 21 13:12:59 2006 +0000 INTEGRATION: CWS qadev27 (1.5.20); FILE MERGED 2006/06/26 07:05:08 cn 1.5.20.1: #i66737# enhancements on property 'NumberingRuels'. Now the test checks also of correct XIndexReplace values Change-Id: I7e4a59e9b6d7cce044269af37f47fe75b65c56f7
2015-12-14DOC export: write SttbfBkmkFactoid structureMiklos Vajna
This contains the name of the bookmarks, except that factoid bookmarks don't really have names... Change-Id: I0fe3b983edf206d51e4d1cf4a66919fce0167738
2015-12-14DOC export: embed factoids when writing factoid bookmarksMiklos Vajna
Change-Id: Ibefc4b908c752a6256b168b4045afb400ba8b17a
2015-12-14tdf#96206: Avoid scaling objects while copying to clipboardMike Kaganski
... to prevent duplicating masters on slide copy-paste. Also fixed a 10-year copy-paste error (pRefPage wasn't replaced with pNPage). Fixed argument evaluation order issue (aStream.GetEndOfData() depends on Flush() but doesn't call it, so will return incorrect result if called before aStream.GetBuffer()). Replaced compare of hashes with results of stringify(), because it removes useless overhead (hashes are calculated from stringify() anyway, and are not cached anywhere). Removed Flush() called from SvMemoryStream::GetBuffer(), because it calls GetData(), which calls Flush() itself. Thanks to Andras Timar for unit test framework. Change-Id: Ia46d4e9a017fc628d424949a9d229045a249a4ca Reviewed-on: https://gerrit.libreoffice.org/20367 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-12-14drawinglayer: remove comment that no longer makes senseMiklos Vajna
It referred to the previouly removed Primitive2DContainerToPrimitive2DSequence(), not to maybeInvert(). Change-Id: I77dad2218d5b3e2e2d76673bd2e97d856d0b94f2
2015-12-14loplugin:literaltoboolconversionStephan Bergmann
Change-Id: I9048966bd41e79bb7a2e9bd24c1dc611acefef1f
2015-12-14tdf#81519 Clarifying advanced options (unstable vs. limited)Joel
minor update to clarify unstable features against macro (limited) features Change-Id: I30c782144e5dff3c300cfcf431c745597f0c3db2 Reviewed-on: https://gerrit.libreoffice.org/20688 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-12-14tdf#91083 - .doc: emulate table kept-with-next not splittingJustin Luth
An .odt table can “keep with next paragraph”. This means that the entire table may shift to the next page and all the rows will keep together as the table attempts to stay on the same page as the following paragraph. There is no “keep with next” property for .doc tables, but each row CAN be kept with the following one. When exporting an .odt file to .doc, setting each row like this will keep the text flow similar to the original .odt's layout. This commit only hinders the table from splitting - it does not actually affect keeping with the following paragraph. This functionality already exists in the code, but was broken by a variable that “changed meaning” almost as soon as the functionality was introduced. A followup commit will deal with "full page" situations when the kept sections are too large to fit on a single page and so the table should split instead of start a new page. The only situation that can't be handled nicely is a single table kept-with-next that spans more than one page. Such tables ought not be marked as keep-with-next anyway. Change-Id: I401772b3fa2e329b7b0890e67639cbca8c845206 Reviewed-on: https://gerrit.libreoffice.org/20217 Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org>
2015-12-14Fix drawTransformedBitmap for NULL pAlphaBitmap.Michael Meeks
Change-Id: Iff1a0eb8e4b112b874813023551a797320ac0ad5
2015-12-14tdf#93837 Convert MN_PPREVIEW_POPUPMENU to xmlMaxim Monastirsky
Change-Id: If490e8523dbedabdf4124b1bd1a5ba08678dc06e
2015-12-14Missed this file in 2657e31Maxim Monastirsky
Change-Id: If05602bf0fbbae0a669913e56add92ed902141c0
2015-12-13sw: table context menu improvementsMaxim Monastirsky
Taking into consideration the changes from https://gerrit.libreoffice.org/20446 Change-Id: If2419574611b890170e9d5eb69703e5c8c21c3c2
2015-12-13need more References for life cycle fixes hereCaolán McNamara
32nd and final distinct crash fix of this sequence Change-Id: Ib9f41091737e66995f332c06083d51408eb1497b
2015-12-13ODBC SQLBindParameter nitpick: correct DecimalDigits for exact numeric valuesLionel Elie Mamane
The driver is supposed to ignore it as per the spec, but let's be conservative and pass the value defined by the spec. Leave it as invalid for approximate (floating-point) datatypes. Change-Id: I542fdde5e711a335c708ad9e6f2abe2fd8632ef6 Reviewed-on: https://gerrit.libreoffice.org/20685 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-12-13tdf#96461 ODBC SQLBindParameter: correct DecimalDigits for time(date) valuesLionel Elie Mamane
Change-Id: I33c63d2c002d9abcbadb16bcd460996ef3212f4a Reviewed-on: https://gerrit.libreoffice.org/20684 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-12-13guard against infinite recursionCaolán McNamara
Change-Id: I1b566c835b6cdc733d0aa4393d3b3ce2ff7b764f
2015-12-13more lifecycle protectionCaolán McNamara
Change-Id: I158632de6898685e34d362cc274e959bb5c2e2d7
2015-12-13more use of references to avoid crashingCaolán McNamara
Change-Id: I03748695efbe17d59aba09f88d5c6fcd174113c9
2015-12-13font might be nullCaolán McNamara
Change-Id: Id0d9bb1d1abe6f6c9440bf979407d13db49696c4