Age | Commit message (Collapse) | Author |
|
Change-Id: I0031199937cc95793951a070c4b3d8910933e69f
Reviewed-on: https://gerrit.libreoffice.org/26595
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
When we batch a draw command we need to start the flush timer
(if not already started) as otherwise it could happen that we
won't flush the offscreen texture at the correct time or at all.
This fixes a problem with drawing of pop-up "help" text.
Change-Id: I6afcf173c3ac517ed0612cd413d95e28c19faa81
|
|
to flush out color index problems
Change-Id: Ifc7a56e0938eb10d82dc880e94ac09062d239ce1
|
|
Change-Id: I6db5bde8860030e6e812c5fc421b5dcc97ed67c3
Reviewed-on: https://gerrit.libreoffice.org/26624
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
by the user with GDK_CORE_DEVICE_EVENTS=1, and so manage to disable their wheel
scrolling
Change-Id: I7df63f738983c90dea75b9f43a36133910446aba
|
|
This allows Insert -> Image e.g. in Writer to read a PDF file, and
insert the metafile equivalent of the first page into the document.
Currently the original PDF document is lost on import (unlike when
inserting an SVG file).
Change-Id: Ib0472c5d9bd9a1da054353fa3a3a638a1052721e
Reviewed-on: https://gerrit.libreoffice.org/26586
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
|
|
we don't have non-menu ToggleButtons yet, so thats not done here.
since we first started with GtkPushButton:menu_attrib to indicate
menubuttons gtk has grown menu buttons, but they don't have the
idea of a gtktogglemenu button, so this attribute still has a role
to play I guess
Change-Id: Iebfe5ccf996e22784cf9aaf2bcf367eed79ae686
|
|
ASAN usually aborts on operator new[] allocation failure but with
allocator_may_return_null=1 in ASAN_OPTIONS it returns null instead; it
doesn't throw std::bad_alloc though.
Change-Id: I28d67a787e90604c12ad06fd97d265664bd62ef2
|
|
Added new "Active" state to PushButton class
Active state used in MenuToggleButton class.
Active => Pressed + Flyover
When hovered in Active state, Active => Flyover only
Change-Id: Iece1550b6d742a7ab3c9f4c7516ec855e1a1b6ef
Reviewed-on: https://gerrit.libreoffice.org/26470
Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com>
Tested-by: Akshay Deep <akshaydeepiitr@gmail.com>
|
|
some places are marked with "dodgy"- need to check those to see
what is going on, because they are leaving dangling pointers behind
in the Menu class
Change-Id: I41d5c7c0fec2f70ce9e3ffdc48cd03d26c0a869b
Reviewed-on: https://gerrit.libreoffice.org/26516
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
id:000178,src:000000,op:havoc,rep:16.bmp
id:000383,src:000047,op:flip2,pos:18,+cov.bmp
id:000403,src:000047,op:arith32,pos:22,val:-33.bmp
id:000317,src:000025,op:havoc,rep:8.bmp
id:000119,src:000000,op:havoc,rep:16.bmp
id:000167,src:000000,op:havoc,rep:8.bmp
revealed since
commit 81e3ca4f60e6ac0823c1233841c22a759cfe937f
Author: Tor Lillqvist <tml@collabora.com>
Date: Tue Jun 21 10:34:21 2016 +0300
Use real assert() instead of DBG_ASSERT()
sanitize invalid palette entry indexes at the outer perimeter on initial load
to try and avoid having to do it in all sort of places in the interior.
we load the palette before getting here, so we should always know the palette size here
Change-Id: I8856787d28310898c3806647fc181a97cfa88514
|
|
The wrapper has references to vcl objects and the destructor might have
the last reference to a vcl::Window causing a delete. Avoid potential
problems (I have seen one deadlock in the chart wizard code) by taking
the SolarMutex.
Change-Id: I8afcf79842b2f8e8f822b975629d5c8e18a86163
|
|
Change-Id: I4cdffe62cdabaf110eaaeb0d31a45c44833d354a
|
|
revealed since
commit 81e3ca4f60e6ac0823c1233841c22a759cfe937f
Author: Tor Lillqvist <tml@collabora.com>
Date: Tue Jun 21 10:34:21 2016 +0300
Use real assert() instead of DBG_ASSERT()
sanitize invalid palette entry indexes at the outer perimeter on initial load
to try and avoid having to do it in all sort of places in the interior.
png spec says that the palette has to appear before the first IDAT so we
should always know the palette size here
Change-Id: I6e04223adce1c88d037f9cf34862e6f54e381bb0
|
|
Change-Id: I57f2d016eb6d35d2bc9be090444be1190d68d11d
|
|
Change-Id: I7761ac05fbc9be39a6982ba66054c75a331816be
|
|
revealed since...
commit 81e3ca4f60e6ac0823c1233841c22a759cfe937f
Author: Tor Lillqvist <tml@collabora.com>
Date: Tue Jun 21 10:34:21 2016 +0300
surely here we should ask the palette how many entries are
in it, not assume from the original bitcount that all entries
exist.
presumably the palette can only have <= 1 << BitCount entries in it
Change-Id: Ieb1b98f2f13f702a6a6a20d8cf3d8e9a695141b2
|
|
Change-Id: I824ebd9083bd702e90f577471248be43707cc811
|
|
Change-Id: Iea3d1870df6422422a04e6027711ffa8ec65924a
|
|
Change-Id: Iec55b1d2e290e2bcc0286225b6f731314f058625
|
|
Change-Id: I87da73db3a58b2e94b3bdda2cea5874701303a18
|
|
Change-Id: I483a1943c3c229aa839a72b333061f92c6b728ba
|
|
Only touching dbglevel > 0 code here, so clearly only
informational..
Change-Id: Id6991c93f971bcc2a8badc809b98870a85322992
Reviewed-on: https://gerrit.libreoffice.org/26531
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
|
|
OpenGL doesn't support palettes so when the texture is created,
the bitmap buffer is converted to 24-bit RGB. This works nice for
showing the bitmaps on screen. The problem arises when we want to
read the bitmap buffer back (like in a PDF export) as we have to
convert that back to 1-bit or 4-bit palette bitmap buffer. For 4-bit
this was not implemented yet, on the other hand for 1-bit it was
implemented but it didn't take palette into account so the bitmap
was not correct (inverted).
This commit introduces a ScanlineWriter which handles writing
RGB colors to 1-bit and 4-bit palette scanlines. The class sets
up the masks and shifts needed to place the color information
at the correct place in a byte. It also automatically converts a
RGB to palette index.
Change-Id: Ie66ca8cecff40c1252072ba95196ef65ba787f4c
Reviewed-on: https://gerrit.libreoffice.org/26532
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
|
|
Change-Id: Iac827fd102404ae615dfd1685886010e949ff653
|
|
Change-Id: I94c35499d395d10a86a821a28e57ad3c1d8ec485
|
|
pHelpWin is always false,
array sizes can be checked at compile time
Change-Id: I945ede9432b4927b30c31018a1420396176ecb94
Reviewed-on: https://gerrit.libreoffice.org/26518
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Id377bc3bd814fad822d577603b1f147b71ad9ae2
Reviewed-on: https://gerrit.libreoffice.org/26445
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
Change-Id: I319f932f24a5b4c2eb331eac6795731a1bc483ca
|
|
Change-Id: If4c2849beb207593d3d450ae3846ed24eaf66ca4
Reviewed-on: https://gerrit.libreoffice.org/26173
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I2cae24d36d1eebf48f52646d84e7f6d291c8e473
Reviewed-on: https://gerrit.libreoffice.org/26492
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
Change-Id: I0fc720f677440ed659c445151c5fd4e53f63444c
|
|
Calc fast rendering requires us to offset
the are being rendered and shift all
bitmaps accordingly. This however is
breaking Impress rendering since the
offseting logic is common (in svx and vcl).
This adds new API to enable or disable
this local rendering (as opposed to
rendering a full document as was previously
done.
The new flag is then set by Calc to
enable the offseting logic in isolation
without affecting other applications.
In one case isolation was achieved by
checking the MapModeUnit.
Change-Id: Ia0aadfc3f6df7c1a891b97dc731f5897414c9420
Reviewed-on: https://gerrit.libreoffice.org/26367
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
(cherry picked from commit 60fdcda65bad242f99895cb453182578250fbdea)
Reviewed-on: https://gerrit.libreoffice.org/26378
Tested-by: Jenkins <ci@libreoffice.org>
|
|
Change-Id: I4798274f38c34c99d6f22f3c7959ebd9673a8966
|
|
since...
commit 9c79945ca62b18213728cdd23d9f390304aee1de
Date: Sun Jun 12 20:11:20 2016 +0200
convert DBG_ASSERT in vcl
Change-Id: I67b2f0d21965a70980c4f0c522a0431107216a27
|
|
Change-Id: Ibeec35b72e6dc81c72a9120ed14ae165e6137d26
|
|
Change-Id: I0e8fd138689e73cd0b320d0898e0410baa2bcfa9
|
|
Change-Id: Ifefc5eb8c271aae0c815bb68535b1e3eb8afb2cd
|
|
Change-Id: Ief5fde7c9840de0f7b0a34fec24837e3a8e5ae70
|
|
Change-Id: I8b4b35ac313796364502f8e9e2e836dc21f48a42
|
|
Change-Id: I421b97448bb596b134908ca6ddd60d7b4f60b186
|
|
This makes writing ui tests so much easier.
Change-Id: Ice7d98c354fc9b68ee4532bc854561b5b9446e3f
|
|
Currently supported are:
CTRL
ALT
SHIFT
Change-Id: Ibf90f5a8b74f33f1ca69c66d18eb86889c0c52ea
|
|
This is less important for the UI testing and more for debugging and
logging.
Change-Id: Id65fcacc591129869ca0f80f828eb63ce044cf33
|
|
Change-Id: I1efd59b2f664f0aa9be733466fa7c1057e92ef27
|
|
Change-Id: I541f83a87f5f3d459b2baf4587b76cb2fce5d5fc
|
|
Change-Id: I2f2b766c315403810f8446231d852345b837d633
|
|
Change-Id: Iff31ce674651cb2a6150dd9a0822bfbf8f0b5aea
|
|
Change-Id: I6392fbf162869c400a9f992e64a145f3bea8f2bc
|
|
This allows non-vcl wrapper objects to inherit from the vcl base
classes. This is especially important for the WindowUIObject base class
object.
Change-Id: I91ef69839ff4c031d3bcd21d70b4b9e7d62ad572
|