summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-05-22updae getTileModefeature/cp-5.0-cairo-svpCaolán McNamara
Change-Id: Ic8d67f08d40f475020c0534570fe3bea07aa431b
2016-05-21Resolves: tdf#95962 incorrect scanline strideCaolán McNamara
we were reusing the stride of the surface we were cloning, but the new surface has a different underlying size. remove the custom stride argument and just change our stride calculation to use the same scheme that cairo and GDI uses, which remove another platform/drawing-system variable Change-Id: I257dac9757b121642e9ccfde7db0911edc9f3fb1 Reviewed-on: https://gerrit.libreoffice.org/20149 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-21Resolves: rhbz#1283426 using vdevs based on now dead physical devs is unsafeCaolán McNamara
This is the same problem that commit 133e04fc1a870c0aad207e82eefeeeceaba5dc6d Author: Caolán McNamara <caolanm@redhat.com> Date: Wed Jun 17 09:23:32 2015 +0100 Resolves: tdf#91880 Invalidate graphics when the gtk window is destroyed not just when the GtkSalFrame is dtored tried to fix, but that just made it more unlikely to fail Change-Id: Icba750c787adb6cd5c5ed0874ef07e6201c4cf25
2016-05-20cairo svp: Sync the vcl unit tests with master.Jan Holesovsky
BitmapTest.cxx was copied from master and adapted. BitmapFilterTest.cxx was removed in master, so I just updated the expected values. Change-Id: I8d6c158115d4a64e4336e7f83163aa5aaeef8a17
2016-05-16cairo svp: Build fixes in the rest of the codebase.Jan Holesovsky
Change-Id: I4b3ee0ff32d408365ba8aa5786029aeb492fff6f
2016-05-16cairo svp: Now it finally builds.Jan Holesovsky
Change-Id: Ifc65e1fb378c49be5d2588f29530fbc670d15523
2016-05-16retain type for another levelCaolán McNamara
Change-Id: I4017e5404c99d37b36988f1d7a8ce17e42010070 Reviewed-on: https://gerrit.libreoffice.org/18913 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-16cairo svp: More build fixes.Jan Holesovsky
Change-Id: I9545488eca9bdae042fd7ee5b9b249456bd32fd1
2016-05-16valgrind: scary warning that the cairo font options were deleted before useCaolán McNamara
Change-Id: I58427aafb30eca64a67bcf7dd9a7738d8da3e085
2016-05-16cairo svp: More build fixes.Jan Holesovsky
Change-Id: Iefb5f60b7b5b90b62bb785c76a9ca46634052167
2016-05-16op is always SAL_OBJECT_CLIP_INCLUDERECTSCaolán McNamara
Change-Id: I4d350aa5d791febde3fea824e3e7b4ab6b6c06e8
2016-05-16SAL_OBJECT_CLIP_ABSOLUTE is never usedCaolán McNamara
Change-Id: I090f9854589a26b8de78fcda1093ea0c19625c79
2016-05-16nothing needs GetClipRegionType or uses SAL_OBJECT_CLIP_INCLUDERECTS nowCaolán McNamara
Change-Id: Ie43eb3b2c449891fef1031e7df3f381cecb4b4f9
2016-05-16cairo svp: Even more build fixes.Jan Holesovsky
Change-Id: Ibba9b1c599c801ab9af0f4fed6babbffae63d205
2016-05-16rename drawSurface to releaseCairoContextCaolán McNamara
Change-Id: Ie5aac4a8b11daa2aba092923286fbbb2d76d4651
2016-05-16cairo svp: More build fixes.Jan Holesovsky
Change-Id: I1f615c51f637a6e93afc8428c7ad8d869fa61637
2016-05-16tdf#93684 - Remove SalFrame::SyncRyan McCoskrie
Change-Id: Icae9cf0a17f9cdf9a671c7e7278019d6980602b1 Reviewed-on: https://gerrit.libreoffice.org/18453 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-05-16last arg of SetOutputSizePixelScaleOffsetAndBuffer no longer usedCaolán McNamara
Change-Id: I65e7e82e46c5751617b00a39df47d864b29b6ce1 Reviewed-on: https://gerrit.libreoffice.org/20441 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-16vcl: actually that shared_array was a scamMichael Stahl
The only things passed as buffers there were null pointers and shared_arrays that had the deletion explicitly disabled with a struct NoDelete, so it's sufficient to just pass a pointer. Change-Id: I68d618782aa654242048516d2e910b8136b16e2d
2016-05-16use cairo-compatible top-down direction virtual devices everywhereCaolán McNamara
that way we can use cairo to text render etc onto our basebmp-backed headless/gtk3 virtual devices Change-Id: I91002b610b72a4fe1d2094a57c5cb1b6b5d69cb1 Reviewed-on: https://gerrit.libreoffice.org/19957 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-16cairo svp: More build fixes.Jan Holesovsky
Change-Id: I351eb0c1468caf5e4d9580b13d46db135cf993f9
2016-05-16cairo svp: Build fixes.Jan Holesovsky
Change-Id: I82f4fa3f07c7de74111e02bb96cfc85c019f0b55
2016-05-16coverity#708213 ditch the empty ctor/dtorsCaolán McNamara
which should silence "708213 Uninitialized pointer field" Change-Id: I0e16a0b02f3d48c4da324f371cae2234ad4cb6e2
2016-05-16make CalcMaskShift a verifiable operationCaolán McNamara
and check it on untrusted data Change-Id: I7c97a27d70f91b9686adf9dcb8b68c5aa25c2b4c Reviewed-on: https://gerrit.libreoffice.org/18637 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-16WaE: this method can be declared static ColorMaskElement::CalcMaskShiftTor Lillqvist
[loplugin:staticmethods]. And then 'const' makes no sense. Also, fix fallout warning: calling static member function through member call syntax, use 'ColorMaskElement::CalcMaskShift' instead [loplugin:staticcall]. But actually I wonder if this should be a non-static member function that operates on 'this' (and takes no parameter) instead? Also, the return value is unused. Change-Id: I24949b74bd43eb90499e3c881941b102a3622f92
2016-05-16move CalcMaskShift to ColorMaskElementCaolán McNamara
Change-Id: I6ed7e9bfea8b4500724866214fabd179fba20f20 Reviewed-on: https://gerrit.libreoffice.org/18636 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-16move mask into ColorMaskElement tooCaolán McNamara
Change-Id: I1bd5e2ee71aba088ed8b395a31977e7b567d8b48 Reviewed-on: https://gerrit.libreoffice.org/18635 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-16split out shared rgb components into structsCaolán McNamara
Change-Id: I125e0525f918e68714c1027c5b7144d8f914a575 Reviewed-on: https://gerrit.libreoffice.org/18634 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-05-16cairo svp: WindowStateMask::* -> WINDOWSTATE_MASK_*Jan Holesovsky
Change-Id: Ifa7f91ed4deca05503c8a64747c5fd69d6cf8a6d
2016-05-16cairo svp: More build fixes.Jan Holesovsky
Change-Id: If36bb90dc221304f242a0747316ce2713bceb89f
2016-05-16establish that Virtual Devices either match Physical Device depth or ...Caolán McNamara
are 1 or (rarely) 8 bit and lock that down. Change-Id: I3d946ebef34ffb71c5adea7aa420af50e9584e05
2016-05-16cairo svp: SalFrameToTop -> sal_uInt16.Jan Holesovsky
Change-Id: Ic062124e82076e125d8d51cd303983b44fe8af68
2016-05-16cairo svp: SalFrameStyleFlags -> sal_uLong.Jan Holesovsky
Change-Id: I96f55c0992fdf900abf16689cff5676eb47146de
2016-05-16cairo svp: mnSetFontFlags is unused, and gone in master.Jan Holesovsky
Change-Id: I802cb47434dc291330c94b03fc0adad3b6d6380f
2016-05-16cairo svp: SalEvent -> sal_uInt16.Jan Holesovsky
Change-Id: Ibaef5f7cea23edbabcbb30e4b39ac71009fbd1a5
2016-05-16cairo svp: Initial copy from master.Jan Holesovsky
Change-Id: Ie5677ee777ee81e35cb22ba9f7bd9acfefe75444
2016-05-16lok context menu: Include uno commands for submenus tooPranav Kant
Change-Id: I4ba49ba94a3270a5d53754320e5fbd49e3f5c848
2016-05-16Revert "lok context menu: Include uno commands for submenus too"Pranav Kant
By mistake resolved conflicts incorrectly. Correct version comming up. This reverts commit d57994a20b012c67db47d488409ee14fb11b9751.
2016-05-16lok context menu: Include uno commands for submenus tooPranav Kant
Change-Id: I4ba49ba94a3270a5d53754320e5fbd49e3f5c848
2016-05-15LOK: invalidate cursor only when requiredAshod Nakashian
Change-Id: I3481dce94070f28593a970cb2d8530131165c41b Reviewed-on: https://gerrit.libreoffice.org/25016 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-15LOK: ensure KeyInput is handled with the correct MapModeAshod Nakashian
The MapMode is set explicitly to make sure the coordinates of the comment widget is in absolute terms. However PostItMgr::MakeVisible invalidates it. This is to ensure that the MapMode is restored after MakeVisible is called when LOK is active. Change-Id: I2adf749488e6eb46d29a0b29c4dfd644606c92ab Reviewed-on: https://gerrit.libreoffice.org/25015 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-15LOK: invalidate annotation window upon showingAshod Nakashian
Change-Id: Ib2624c55759c8ac81986bf3b516fd17cbde19ec9 Reviewed-on: https://gerrit.libreoffice.org/25014 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-15LOK: improved event handling and fixesAshod Nakashian
During painting, when notifications are disabled, we could still receive notifications that are imporatant and cannot be suppressed. So certain events are let through during painting. A comment describes this better in the code. Some widgets (notably postit/comment control) emits events in relative (local) coordinates instead of absolute. This is patched in many cases but some cases still exist that are rather hard to patch due to the complex interaction with other parts of the code. These supurious local coordinate updates (notably cursor invalidation) are supressed to avoid the bad side-effects they cause in LOOL. Change-Id: Ie22a316d54ea163c6976ed04314d6ced8247824c Reviewed-on: https://gerrit.libreoffice.org/25013 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-15Revert "LOK: simplify notification compression to minimize error"Ashod Nakashian
Restoring back Some of the notification compression. This reverts commit 4bdff9b94b545aa966c44b54c21c23dd724382c0. Change-Id: I229911c63386b3668e8bd9541b48c80479cc2771 Reviewed-on: https://gerrit.libreoffice.org/25012 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-13framework: register DispatchDisabler serviceMiklos Vajna
Change-Id: I72d9f8b00ba8b2e4e5dc70d7fd77e13ccf9d3bcc Reviewed-on: https://gerrit.libreoffice.org/24940 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 1f041bf31e071611a15ffa1559d2f5df05a685f0)
2016-05-13framework: initial implementation of a dispatch disabler.Michael Meeks
This should allow remote, eg. URE dispatchers to trivially disable lots of the UI without requiring a large volume of round-trip IPC. Reviewed-on: https://gerrit.libreoffice.org/24938 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 02833c03ee856a62d7185829b7c47bc088e086cc) Conflicts: framework/inc/services.h Change-Id: Ibd0681ac993196f826b4ed411da5ffedb7f85786
2016-05-12sc lok: Invalidate the new extended areacp-5.0-35Pranav Kant
Change-Id: I1fa58ca935860ed3c5983f4e6b15c9f7c8feda9b Reviewed-on: https://gerrit.libreoffice.org/24930 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2016-05-11sc: Add new param, DontTerminateEdit, to .uno:SavePranav Kant
... which determines if current editing mode before save should be terminated with save or not. Change-Id: I49318013f1244eb8681a19ed3da50fbecd336a3d (cherry picked from commit a5a71cea62ac3041006c5e9815ae2317999639ac) Reviewed-on: https://gerrit.libreoffice.org/24895 Reviewed-by: pranavk <pranavk@collabora.com> Tested-by: pranavk <pranavk@collabora.com>
2016-05-11Bump version to 5.0-35Andras Timar
Change-Id: I0d56da9b5c6695b79796e5e6764edbead7490d29
2016-05-10sc lok: Extend the spreadsheet area when we are "close enough" to the end.Jan Holesovsky
We can tweak later what the "close enough" means - for the moment it is 10 columns and 25 rows. Change-Id: I92127a71aa6683c03692e96b9e0da7827942c94b