Age | Commit message (Collapse) | Author |
|
It's undesirable to malloc a struct that has a TileBuffer member, while
TileBuffer doesn't have a default ctor.
Change-Id: I72dfacc0088f238ee101d84838bd7eea51ced82a
|
|
Change-Id: I8e1c93fd36fb903c0625b29f9f73825438c9e113
|
|
Change-Id: I50b4dfa456d3518f5ef7faf5f634642973441a3e
|
|
Change-Id: Id8e20e6561239096438d420c65d0da6dcc7f5e2e
Reviewed-on: https://gerrit.libreoffice.org/19474
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
... as `name`, `nick`, and `blurb` are guaranteed to remain valid
and unmodified for the lifetime of the parameters.
Change-Id: Ic6463b470546669d5a815842daedb170df85d161
Reviewed-on: https://gerrit.libreoffice.org/19472
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
use std::sqrt in vcldemo.cxx
Change-Id: I24d8ba15ee267d0cad3b063df9b7cfd8d284f4ee
Reviewed-on: https://gerrit.libreoffice.org/18591
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
2.18 is the version available in RHEL 6 released in 2010.
Change-Id: I4cd4fc89f6b51e6f58ca72b8182f80316b1f4f88
Reviewed-on: https://gerrit.libreoffice.org/19330
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
When changePart() is called, we have two type of actions:
- the ones we want to execute only in case the part was changed by the
user (and not programatically -- e.g. because the request came from
the widget)
- the ones we want to execute all the time
Resetting the view (so the tile buffer drops all the tiles) is something
we want to do all the time, that's one of the needed things when the
set-part event is emitted.
Change-Id: Ic6bfbe460dc5a3fd8834f3b1ef93436fc9d3ad84
|
|
Change-Id: I0febc2b89d95bde59ad9d3a90d404b3932cc3624
|
|
1) The size of the searchResultSelection array in
LOK_CALLBACK_SEARCH_RESULT_SELECTION provides the same information.
2) None of the clients except lokdocview used it.
3) Only sw provided this callback, not sc/sd.
Change-Id: I9da639b6693f24634f298f9bc4773f705e944359
|
|
Without this e.g. Calc search does not show the selection rectangle
correctly.
Change-Id: I5bc20a93ee861d3353bc2e1c1ed7ea8d0e6c8ed4
|
|
Change-Id: I154bd2c101819669d43ab475144ae400454df4d0
|
|
Change-Id: I8015c8030c1c7f53ae1de053fe268a33464834ad
|
|
Change-Id: Ib932ee36e41afcb53d15a6362b998cc673d474f2
|
|
|
|
We need this to notify the user for which search phrase no results were
found
Change-Id: I8cc7ab235b9129dfdcb022145456180ff7e4ca92
|
|
To get a better functionality we need to know the button type (left,
right, middle). We also need the key modifier (ctrl, alt, shift) for
actions such as ctrl+click (to open a link) or shift+click to select
Change-Id: Iaccb93b276f8a6870dd41cc5132dbb85d2bbf71b
|
|
Change-Id: I210da07802bae1f2f2948976bc0faf90e93152b4
|
|
Change-Id: I0d1b641654e0de65169e19bb5843ea11b43a90a3
|
|
Resetting tiles only is not enough. We need to empty stale
selection rectangles, handle bars, cursor positions etc., so that
they do not interfere with next view to be opened using same
widget instance.
We are not destroying the document here, so the widget would
still point to the same document unless it is made to point to
another document by subsequent lok_doc_view_open_document calls.
Change-Id: I3c7cc789c8c7393b3793b4edf6aa96d54bc0b1a3
Reviewed-on: https://gerrit.libreoffice.org/18866
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: I60eb53d4bf9943fd52e0a9d8e3574a7d1cc027e0
|
|
... wherever possible. There are few things we can't move to
header file, for example, the comments corresponding to GObject
properties, and signals.
Change-Id: If74d61b17ccee11f8a056f3a93040d2cff2dd98d
Reviewed-on: https://gerrit.libreoffice.org/18863
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Change-Id: Ia71e80c521cdc6a8e4df52e51e063a44a0dd53df
|
|
Change-Id: Ic48adaf038e8fbcc86a94b5e351d2f963fcfcd16
|
|
getTextSelection() is still to be done, but has to be moved to the
widget first.
Change-Id: I780a31f1dbce38b2b7398bfdacbbc1c40881229d
|
|
Change-Id: Iafb08cb44a96dbc03d12367d21b4120063bd0222
|
|
Also in SfxLokHelper::setView() set the current view shell directly,
GetFocus() in VCL may be a NOP for hidden windows.
With this, the Writer layout dump shows that two Gtk windows can have
different cursor positions correctly.
Change-Id: I81890c1d8ad7972f1194db3d5f2e9d8a39fc2f87
|
|
Change-Id: Ibbbaaa1c148cfd4578ad37e0f99b62ab885a1a83
|
|
With this finally the number of GTK+ windows always match the number
returned by SfxLokHelper::getViews().
Change-Id: Ia45bef7dea86b80cfac00e2ad7c1a16d7f5b507b
|
|
GTK+ calls should be made from the main thread.
Change-Id: Idcfa46d427d6e35fc544246a691bafc72f75a74c
|
|
Change-Id: I9dcb5871c231a49bcd65a1187df6c3c81f92bd55
|
|
Change-Id: Iac803f03267859c11f0f9090346b09b90c115b76
|
|
Change-Id: Ib7ccd2192247805205b65e5e8da67bcc826f4d31
|
|
Change-Id: I2ff57c4be11cd3908bc951ebf572a2c02e2c4585
|
|
With this, all previously global data is now stored per-window in the
g_aWindows map.
Change-Id: I45b4449ee7d516106ea0b039d1af97db49edf759
|
|
Change-Id: Ib31fca3d8b4119704fb1a5c3cee885e7c239c247
|
|
Change-Id: I11a6cda7b9b8949c48c201c4bd467b49f2f43ca5
|
|
Change-Id: I6c19a9bdd34163d12047929170e5cfa7bb9a5820
|
|
Change-Id: I84c4102937deee662814c41607ee8de380a067f2
|
|
Change-Id: I4e8a08d71a94445e8fd30563867a2741cad862e5
|
|
Change-Id: Ife0a4bb1102f6135e297dc69ba5b52b89a5dd9dd
|
|
Change-Id: Ifad67adf80761118bbbfb110cbadd493214fee93
|
|
Change-Id: Ic871ec41992b611b10958799b2dc12375a91efe4
|
|
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
|
|
Change-Id: I679ddfdadbf4746d3fba64d3d5157ec070b4f6dd
|
|
Change-Id: Ia76ef111170700ef507550222ca917986d4fe00e
|
|
We needed a better way to test LOK methods that are not app specific,
but are defined in /desktop/source/lib/init.cxx. So the decalaration
needs to be visible.
I also moved the `getStyles` test in the new test file
Change-Id: I98d97dc17a66e72732ca7bd848c131610790f48e
|
|
This reverts commit 9640dcea46dd3201aa4c27f6a3918f7419288a2a.
|
|
This method returns a JSON mapping of the posible values for the given
command (e.g. .uno:StyleApply, etc).
returns:
{commandName: "cmdName", commandValues: {json_of_cmd_values}}
Change-Id: Ic8f970d077af6be9bc226f72f725b6cdf2d4c160
|
|
Change-Id: I2665a12251921523045f4071df88ca69ecd5a5c0
|