summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-12-11No need for a separate <vcl/combobox.h>Tor Lillqvist17-48/+6
Change-Id: Iebf7b44e78fc28c20bdf0cbea84dbfd730b04016
2015-12-11unit test for sticky end col/row anchors, tdf#92779Eike Rathke1-0/+184
Change-Id: I78584e37e5944327db9cc5b6472a9e7ea972b37e
2015-12-11geez, how about actually checking the Move() error return? tdf#92779 relatedEike Rathke13-44/+181
Handle failure condition where we know how to treat it, i.e. when updating references, assert in all other places that so far silently ignored it and implicitly assumed the failing Move() truncating at bounds would be alright. In case we'll encounter an assertion we'll have to inspect those places and decide what to do about it. Noticed this error with a reference like B1048575 and inserting two rows above, it became B1048576 instead of B#REF! Change-Id: I00757f3ed2e305b591178047933ed60f1533317e
2015-12-11tdf#93991: One pixel here or there, who is counting?Tor Lillqvist1-1/+1
<tools/gen.hxx> Rectangle, I love you. Change-Id: Iaf7ae2930d6098349f04cd429cd35dffcaf7ca3b
2015-12-11cid#1326581-8 useless calls. jan iversen1-23/+8
Rebuild the type check to one set of "or" and a throw Change-Id: I99bf688bdf60c357be4cc5dcd9b7be2532b6fbdb Reviewed-on: https://gerrit.libreoffice.org/20491 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2015-12-11cid#1326589 useless call jan iversen1-1/+0
Removed function call, the function changes nothing or controls anything Change-Id: Ia243c31134ee5a32d50140faf8e64f55b30c218f Reviewed-on: https://gerrit.libreoffice.org/20493 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2015-12-11Update hardware/OS info in About dialogYousuf Philips2-4/+3
Change-Id: I2c70e88cfa2663d0b3db48c309d7cf1630bbddbd Reviewed-on: https://gerrit.libreoffice.org/20632 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-12-11Revert "Impress/Draw: Open Navigator in the Sidebar"Samuel Mehrbrodt1-2/+14
This breaks starting a slideshow with Navigator visible. Also leads to problems like tdf#96286 Needs more thought & design. This reverts commit 6f493f9e379af1e005b85606c6aab515726be993. Change-Id: Ia796de5a8ef0be61f36517bc0aa896c66a95c1e8
2015-12-11tdf#93529 - move to a Mac-like double-buffered OpenGL model.Michael Meeks11-73/+357
This moves us to always rendering to an off-screen texture, and then (at idle) blitting this to the screen & swapping buffers. Ideally we should never see any rendering, or flicker again with this approach. Several fixes are included: + avoid multiple OpenGL contexts being created for the same window, created excessive flicker problems. + de-virtualize UseContext - which context we use is less critical. + kill 'mbOffscreen' distinction - all VCL rendering is offscreen. + implement 'doFlush' and high priority idle flushing. + bind stencil buffer for clipping vs. textures - fixing complex clopping when rendering to virtual-devices, and off-screen. + document environment. variables. + use white as default background glClear color, but red or random color for DBGUTIL. Change-Id: I6be08595b6c8deb7e6db0dbd81308b2c97d2b4ff
2015-12-11Get Double-buffered context creation working on linux.Michael Meeks1-6/+7
Change-Id: I3db1d6792fcd51577f047b82029124ec825ea319
2015-12-11vcl: gtk frames should DeInitialize properly, to handle GL cleanup.Michael Meeks1-4/+3
Change-Id: Ie6a5464c28b89f08639939690052023e685a3d33
2015-12-11tdf#94851 can't use OpenGLSalBitmap with WinSalGraphicsTomaž Vajngerl1-1/+31
Printing is done with the WinSalGraphics and not with WinOpenGLSalGraphics on Windows even when OpenGL is enabled, but the SalBitmap is still using the OpenGLSalBitmap which can't be used with WinSalGraphics. So detect when the implementation of SalGraphic is "wrong" and convert. Change-Id: I99cd6b6403e9bd42d6f5b7d7cb07f48588c17ab8
2015-12-11tdf#94851 use BGR color order in WindowsTomaž Vajngerl1-37/+79
Change-Id: I06dd26caed35bcfdf073abf64035a01e0b45fcce
2015-12-11vcl: extract scale convolution from bitmap to its own class/fileTomaž Vajngerl4-375/+469
Change-Id: Ibb10aa7450b78ca2709da38857f095ccbc679c54
2015-12-11tdf#96075 Frame alignment buttons not using correct tooltipsSamuel Mehrbrodt3-32/+19
Tooltips change on state change, and they were taken from another source. Unify this to reuse the existing strings from the uno command. Change-Id: I8ff6fc43bc0469f15c9e930695d950f6d664bfdf Reviewed-on: https://gerrit.libreoffice.org/20629 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-12-11loplugin:unreffunNoel Grandin2-38/+0
fallout from 58d8d8ac67aa9b907f1304a48efa0f7a473d9de4 "tdf#69977: uno::Sequence is expensive" Change-Id: Ib55de090c72dcfd8ad049746b693b383e70e8ca9
2015-12-11sc: Merge ScMultiTextWnd into ScTextWnd.Jan Holesovsky3-251/+83
Change-Id: I21ed0e37feec0e7c078c2e284b7f4169f0cff432
2015-12-11sc: Prefix members of ScInputBarGroup.Jan Holesovsky2-71/+71
Change-Id: I72e4fdacb326a966b2717e235a58de856189a6cf
2015-12-11sc interpreter: Force OpenCL off when testing the s/w interpreter.Jan Holesovsky1-0/+4
Change-Id: I2a459605021ee31b67b4bfbfd1f2e17ccbd22aeb
2015-12-11Do not assume time_t is long.Pedro Giffuni1-2/+2
time_t is long on some platforms but not on all. This plagues a warning on FreeBSD. Taken from: Jung-uk Kim (cherry picked from commit 1c030e286ac7a82eaa5b87c0f950894ab6be5027)
2015-12-11tdf#96396 evoab2 does not need gtkDavid Tardon1-1/+0
Change-Id: I727d90e4ffc4d567ad02ca5b55b1e8d26d15e928
2015-12-11tdf#69977: uno::Sequence is expensiveNoel Grandin343-1728/+1812
when used as a mutable data-structure. Plain std::vector halves the time taken to display the chart dialog Create a class to represent the std::vector we are going to be passing around, and move some of the utility methods into it to make the code prettier. Also create an optimised append(&&) method for the common case of appending small temporaries. Change-Id: I7f5b43fb4a8a84e40e6a52fcb7e9f974091b4485
2015-12-11DOC export: register the smart tag offsets/locations in the FIBMiklos Vajna1-1/+17
With this, a reader can actually find them in the table stream. Mark as experimental till all the related structures are written, so Word doesn't consider the file corrupted. Change-Id: I3f997dcdb14557b1f8eed78bd873b121068d9712
2015-12-11Kill check for ancient FreeBSD versionBaptiste Daroussin2-12/+0
Change-Id: Ia6f7d55d2d8d346695658549d2e86eef77215377 Reviewed-on: https://gerrit.libreoffice.org/20625 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-12-11Fix test on FreeBSD which uses the same backend as LinuxBaptiste Daroussin1-1/+1
Change-Id: Ibc43b9f3d0fc9e343b0ff9abd627ee9afb881d69 Reviewed-on: https://gerrit.libreoffice.org/20624 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-12-11unused BitmapFilterStackBlur::filter(BitmapEx&)Juergen Funk1-1/+0
this ist here 644487a1152c7586a7f20c7f372572a71d8494d5 removed Change-Id: Ib64fb2a32047bd1f31de7f9a349b6c9683a6a0af Reviewed-on: https://gerrit.libreoffice.org/20628 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-11sw: clean up no longer needed SwViewShell::isTiledRendering()Miklos Vajna11-33/+36
Change-Id: Icd719c461613f8c59cad81b256678307f69974e1
2015-12-11tdf#34774: enabled double click in input list field dialogOliver Specht2-0/+8
Change-Id: I4a08016859b0afa95d8bf3a42be41bbe72c31570 Reviewed-on: https://gerrit.libreoffice.org/20623 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-12-11tdf#96382: background color is not applied unintentionallyOliver Specht3-1/+7
background color attribute should only be applied in a dialog if the user selects it Change-Id: Idf03840f7332a8cdbbfd616ce47ac26b3602d840 Reviewed-on: https://gerrit.libreoffice.org/20592 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-12-11tdf#33338: enable autocaption position 'above' for all object typesOliver Specht1-3/+1
Change-Id: Idf82c1d7f1b5e149c3796f5999fd09cf2c31299f Reviewed-on: https://gerrit.libreoffice.org/20603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-12-11tdf#34375: resizing of drawings with shift key fixedOliver Specht1-1/+1
Change-Id: Ibd3b0e76484cf22a8d36f457f4b3c398ed1b85d1 Reviewed-on: https://gerrit.libreoffice.org/20602 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-12-11update creditsChristian Lohmaier1-1219/+1224
Change-Id: Ibee5fdd8a59b1e06112bc32ee5dad7f1699fae9b
2015-12-10tdf#96042: Oops, fix a typo.Jan Holesovsky1-1/+1
This fixes a regression from commit 4c4999d944bbf8a34f8a320b8de6f4a325bd5d97. Change-Id: Ie8496392f4811cc1ff146d7a5c43988da0d539c2
2015-12-10mailmerge: Make this more readable, and prefer a constructor over assignment.Jan Holesovsky1-4/+5
Change-Id: I9296964902c3490c73ecf7ee9c2a3623c195c386
2015-12-10mailmerge: We are going to edit a document consisting of multiple ones.Jan Holesovsky1-1/+1
Change-Id: I31f297156c776e12b34969aad38573365d10981a
2015-12-10need a dynamic cast hereCaolán McNamara1-1/+1
53rd and final distinct crash fix of this sequence Change-Id: Id170132c2082fd4905192adc840125088ef5da27
2015-12-10guard against empty StoryCaolán McNamara1-1/+1
Change-Id: Ide44aed9a3189b0fd21a8adc039eb61bd3d3dc14
2015-12-10guard against broken formula and bad lengthsCaolán McNamara1-1/+16
Change-Id: Iab13d67fdc218c84400a4d84e177e5096bb68379
2015-12-10check for null ModifiersCaolán McNamara1-1/+1
Change-Id: I842122f7e2cba48d4798905f41f63b3e06775d00
2015-12-10check for null contentCaolán McNamara1-3/+6
Change-Id: I824c29b39fe1e9e631a21f09611758bea03b0ca9
2015-12-10detect infinite recurse in object creationCaolán McNamara2-1/+7
Change-Id: Ie56eb27bb1827860b2600a5586e866e39cd31518
2015-12-10tdf#93263: Take function mask from ScPivotFieldKatarina Behrens2-3/+11
and not from ScDPLabelData (that's what old code used to do as well). Afaics ScDPLabelData.mnFuncMask member is never modified as the array gets populated in ScDPObject::FillLabelDataForDimension. UI has thus only its default value (PIVOT_FUNC_NONE) and so subtotals get reset on every change. ScPivotField however contains the right func mask, so take it from there. Change-Id: I862be121683aac079e788ce535f714ac8cdbcd0b Reviewed-on: https://gerrit.libreoffice.org/20041 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-12-10chmod -xTor Lillqvist1-0/+0
Change-Id: I0dceeba5994286bcc6a05ed3cdf4881ece202d79
2015-12-10this needs to be a dynamic castCaolán McNamara1-1/+1
Change-Id: Id606e58292a25309adb67cf05cc9b9a237e83f81
2015-12-10add a reference to ensure pPara exists until end of scopeCaolán McNamara1-0/+1
Change-Id: I0067ead587c25296ab195b80f461fb0766b1899a
2015-12-10DOC export: write smart tag locations to table streamMiklos Vajna4-0/+90
With this, the PlcfBkfFactoid and PlcfBklFactoid structures are written correctly to the table stream. Similar to the DOCX export, write a subset of RDF graph statements as smart tags in the resulting document. Change-Id: I1e86d5361af2af5501493bae9c386ea55444d556
2015-12-10coverity#1326610 DE: Dropped or ignored exceptionCaolán McNamara18-28/+72
and coverity#1326611 DE: Dropped or ignored exception coverity#1326612 DE: Dropped or ignored exception coverity#1326613 DE: Dropped or ignored exception coverity#1326614 DE: Dropped or ignored exception coverity#1326615 DE: Dropped or ignored exception coverity#1326617 DE: Dropped or ignored exception coverity#1326618 DE: Dropped or ignored exception coverity#1326619 DE: Dropped or ignored exception coverity#1326620 DE: Dropped or ignored exception coverity#1326621 DE: Dropped or ignored exception coverity#1326622 DE: Dropped or ignored exception coverity#1326623 DE: Dropped or ignored exception coverity#1326624 DE: Dropped or ignored exception coverity#1326625 DE: Dropped or ignored exception coverity#1326626 DE: Dropped or ignored exception coverity#1326627 DE: Dropped or ignored exception Change-Id: I921a5434a6a116db5033cb2c90a59008c13f1bb2
2015-12-10More loplugin:nullptr automatic rewrite (within templates)Stephan Bergmann15-36/+104
Change-Id: I9bc06cfb5eeb38fd7ae7fb25f876ea9f96e4a65a
2015-12-10need dynamic casts here, etc.Caolán McNamara3-13/+15
Change-Id: I578343719d2d7feff51775ff1b073b6584e76f82
2015-12-10there can be 0 columnsCaolán McNamara1-2/+2
Change-Id: Ie367e88df7165d728015a1b3987b220a23203765