Andrzej Hunt
f99674421d
Add support for org.freedesktop.PowerManagement.Inhibit too
...
This one seems to be supported by KDE (partially) and XFCE.
On KDE it doesn't inhibit the ScreenSaver, however it's the only
inhibition that appears to be available on XFCE (untested due
to lack of XFCE system at hand).
Change-Id: I4eab04d8ef66fc4fa55f57add46cb1ad15a8e2b3
2015-10-20 18:14:40 +02:00
Andrzej Hunt
18817c8cc0
Move DPMS inhibition to ScreenSaverInhibitor
...
We should also be doing this irregardless of vcl backend
Change-Id: I46ec2c654dfd9ab3c6bcf6da19e7ffa2c05890b9
2015-10-20 18:14:40 +02:00
Andrzej Hunt
189aabbcde
Deduplicate XGet/SetScreenSaver, move to ScreenSaverInhibitor
...
I haven't been able to find anyone actually using this API,
however it's probably best not to remove it either?
Change-Id: I0ca11591bfd54f9882d8081a94b012f638936ce5
2015-10-20 18:14:40 +02:00
Andrzej Hunt
5074d1b4d7
Deduplicate XAutoLock inhibition and move to ScreenSaverInhibitor
...
(Successfully tested with xautolock 2.2)
Change-Id: I55a3703322dd6792689ff3c3e85b27840ee2bc55
2015-10-20 18:14:39 +02:00
Andrzej Hunt
e97b1b6c28
Lambda'ise the almost identical FDO and GSM screensaver inhibition
...
This doesn't save us much for now, but could be useful when yet another
screensaver inhibition standard is introduced. (The GSM/gnome inhibition
currently requires passing the X11 window handle/id, which suggests that
at some point they will have to update their screensaver inhibition api.)
Change-Id: I4fa7bc15f089d112777fb166ab469045c002ae48
2015-10-20 18:14:39 +02:00
Andrzej Hunt
a50ac1f8c7
Add comment on gsm vs fdo differences
...
Change-Id: I30d1c24e84f1b28fad9933407b362be886821864
2015-10-20 18:14:39 +02:00
Andrzej Hunt
095396f9ea
Move org.gnome.SessionManager.Inhibit to ScreenSaverInhibitor
...
We should be using the same inhibition code irregardless of
vcl backend on Linux.
Change-Id: I996630666e32c40a52958edb248466c815a5e0e5
2015-10-20 18:14:38 +02:00
Andrzej Hunt
3021a25b6d
Implement org.freedesktop.ScreenSaver inhibition
...
This is required for screensaver inhibition on kde (this might
also be supported on further desktops).
It would appear to make sense to move all screensaver inhibiting
code here into one location, since it should be shared across
the generic unx, and gtk vcl backends - currently we have completely
independent implementations for gtk/gtk3 (which only supports
XSetScreenSaver, and gnome's dbus inhibition), and the generic backend
for all other plugins, which supports XSetScreenSaver, xautolock, DPMS,
but no dbus inhibition.
Change-Id: I9c5af8021b0b49b5c93ed75a7d25e3208d5e9629
2015-10-20 18:14:38 +02:00
Miklos Vajna
03bb5d52fe
sc: initial png export
...
Change-Id: Iae0e89646eab794879529274f09839ad34aa4696
2015-10-20 18:12:23 +02:00
Richard PALO
fd612a144c
Add DLOPEN_LIBS to configure for some cases where -ldl is needed
...
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>
2015-10-20 15:17:58 +00:00
Miklos Vajna
d42c3e0ddd
lok::Document::saveAs: add Writer/Impress/Draw png mapping
...
Change-Id: I7530281302b9787a9cb9f98f0dee9d98d39cfb05
2015-10-20 17:13:30 +02:00
Marco Cecchetti
1ee1d113fd
svg export: left mouse click is working again
...
Change-Id: I5a80fe3eb55caa6e57c7842e5ac74cd1abb93f0b
Reviewed-on: https://gerrit.libreoffice.org/19471
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2015-10-20 14:53:04 +00:00
Noel Grandin
ecb79b9371
remove SlideSorterCache debug facility, and with it, the last Link<>
...
nobody has used it, or enabled it, in a very long time
Change-Id: Ic36ff45086f7f7c9098c618d21cb6fc7cd7a46df
2015-10-20 16:16:45 +02:00
Noel Grandin
da88c8b784
convert Link<> to typed
...
Change-Id: I9453beedfa059d4f260ca136c02a6104fc4d4829
2015-10-20 16:16:45 +02:00
Noel Grandin
516b5115df
convert Link<> to typed
...
Change-Id: I822561725683231709343b80d7065c905226ebc1
2015-10-20 16:16:45 +02:00
Noel Grandin
798d7bc09e
convert Link<> to typed
...
Change-Id: Id3ed50dc7fd4f783034797b2401ae05c96d002de
2015-10-20 16:16:44 +02:00
Miklos Vajna
d86a7eb442
sw: prefix members of SwXFrames
...
Change-Id: If5a041eefcd7cc8a6fa87814dacb95b88c2791d0
Reviewed-on: https://gerrit.libreoffice.org/19481
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2015-10-20 14:01:09 +00:00
Stephan Bergmann
1579dcb11e
Rename some "document name" params to "document URL"
...
...to match reality, cf. 7660e4dcec
"tdf#89694 Password dialog for opening OOXML shows url-encoded path"
Change-Id: I9fdd204494374770186347e92aa0bd6e7093ffaa
2015-10-20 15:18:26 +02:00
Stephan Bergmann
9bcc09dcb9
Gracefully handle URLs INetURLObject refuses to parse
...
Change-Id: Id4d09dd32a1faa76b1be70c0478e0e76aa16b05e
2015-10-20 14:46:56 +02:00
Stephan Bergmann
ac4cfb4cf7
Avoid some confusing uses of "document name" instead of "document URL"
...
Change-Id: I88258d3aaa2a18315a5a38ea01e77bdfd4bc1a84
2015-10-20 14:43:58 +02:00
Stephan Bergmann
931c51f65b
Make loplugin:defaultparams handle enum values and nullptrs
...
Change-Id: I0c57b414d9230406cf2632494ccfa576510b0e61
2015-10-20 14:39:48 +02:00
Stephan Bergmann
e80427ca11
DeactivatePage's pSet param cannot be defaulted anyway
...
...because SfxTabPage inherits zero-param TabPage::DeactivatePage
Change-Id: I6eeb2e75b0d28d54d57e38494330e667e1013a27
2015-10-20 14:37:32 +02:00
Stephan Bergmann
2f702d1661
DeactivatePage's pSet param cannot be defaulted anyway
...
...because IconChoicePage inherits zero-param TabPage::DeactivatePage
Change-Id: I6bc6b00050c84c3eccb59bd3caa85a26fab6abb9
2015-10-20 14:35:49 +02:00
Stephan Bergmann
b0670638a8
loplugin:defaultparams
...
Change-Id: I5edd799bdd2511830825e07cd3dc87ad4f5a2a33
2015-10-20 14:34:52 +02:00
Stephan Bergmann
5ab2bb87d9
Clean up documentation of SymbolStyle prop
...
Change-Id: Icec1dc1da3b9784990f3a4011849f4db62072d63
2015-10-20 14:17:32 +02:00
Noel Grandin
56e6f0da83
new loplugin: badvectorinit
...
look for places calling the 1-argument vector fill constructor and then
immediately called push_back, which is generally a sign that its
leaving empty slots.
Change-Id: I34e69b8d09cc48c0d409499faaf192b9f86bc517
Reviewed-on: https://gerrit.libreoffice.org/17525
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-10-20 11:35:31 +00:00
Eike Rathke
9e7e264bdf
adapt comments to reality
...
Change-Id: Idfeca4a683ebb9616c19a42de650c4871f733ef5
2015-10-20 12:42:41 +02:00
Jan Holesovsky
4e097c1010
sfx items: No need to confuse with 'USHORT_ARG' that is an 'int'.
...
Change-Id: I61326bc52a5da527930810ff4516c707c31d1fde
2015-10-20 12:35:08 +02:00
Eike Rathke
ac0c2e26ce
Resolves: tdf#84713 do not substitute separator in R1C1 notation hyperlinks
...
During import, in hyperlinks all Sheet!xxx were converted to Sheet.xxx
to fit CalcA1 notation, but in this case Sheet!R1C1 was used and
Sheet.R1C1 is not a valid address notation, so the hyperlink didn't
work. Do not attempt to convert R1C1 notation, the hyperlink handler
does handle all known notations. On Excel export, handle that the
separator can be both, '.' and '!'.
Change-Id: I8428b2240912f42fd6789d249c90982127ee7c01
2015-10-20 12:20:31 +02:00
Stephan Bergmann
0500f7bcc8
loplugin:defaultparams
...
Change-Id: I0f5d4deb3d6f8445251867638a4ec812762ced56
2015-10-20 11:47:26 +02:00
Stephan Bergmann
5fd044fc61
loplugin:defaultparams
...
Change-Id: Ic6ff01ec54fde1c6ac9f8b52d2cbca3ee4085b51
2015-10-20 11:47:22 +02:00
Stephan Bergmann
666f732412
loplugin:defaultparams
...
Change-Id: I3e5ee77b51eb8e1207d3f95e6a1d9d8272532ba6
2015-10-20 11:47:18 +02:00
Stephan Bergmann
6017a8ee74
loplugin:defaultparams
...
Change-Id: Ia24ec98bfec36aa758fb1c5a6ec095c5047242a2
2015-10-20 11:47:14 +02:00
Stephan Bergmann
092a390786
loplugin:defaultparams
...
Change-Id: I1d7e9bae07ff7bb13005d408522c6bb922ae00c6
2015-10-20 11:47:11 +02:00
Stephan Bergmann
d9e17c5b76
loplugin:defaultparams
...
Change-Id: I742a25440d6c321549bb32a2e5ce86207bfb711c
2015-10-20 11:47:07 +02:00
Stephan Bergmann
0705f7da48
loplugin:defaultparams
...
Change-Id: I11ff551955c1ac291ab576f2f18c2dd410427eda
2015-10-20 11:47:00 +02:00
Stephan Bergmann
85ce992473
loplugin:defaultparams
...
Change-Id: I6bd0482967f35a4fc4c2384e775753c413c52162
2015-10-20 11:46:57 +02:00
Stephan Bergmann
173a75bad3
loplugin:defaultparams
...
Change-Id: I1925768a2ac3fbb83fc52ef742bf1fcfe02173b5
2015-10-20 11:46:49 +02:00
Stephan Bergmann
9604199a9d
loplugin:defaultparams
...
Change-Id: Ia10dd1577f677a5b27571fc58b0e00ef973660b4
2015-10-20 11:46:46 +02:00
Stephan Bergmann
03a6b6ef1c
loplugin:defaultparams
...
Change-Id: Idad9ea385a9b83ad88792cc489413eeb6e6fcd9b
2015-10-20 11:46:42 +02:00
Stephan Bergmann
df7390e6c9
loplugin:defaultparams
...
Change-Id: Ib596b759e876a4a7d341e1b476bfec9f7a54069e
2015-10-20 11:46:38 +02:00
Stephan Bergmann
553528de6a
loplugin:defaultparams
...
Change-Id: Iab3346afa24004c49be1f1c40588707507b20d60
2015-10-20 11:46:34 +02:00
Stephan Bergmann
109f9fa26a
loplugin:defaultparams
...
Change-Id: I06cebd331b04ee496b2c3efecce4542705092e12
2015-10-20 11:46:31 +02:00
Stephan Bergmann
332056e197
loplugin:defaultparams
...
Change-Id: I4c6936e882455b0ef39169a904281a9124b61689
2015-10-20 11:46:27 +02:00
Stephan Bergmann
d50e38686c
loplugin:defaultparams
...
Change-Id: Ibf07815fa1a113876730382b8d14960eb7a78a0b
2015-10-20 11:46:24 +02:00
Stephan Bergmann
103bc8ff3c
loplugin:defaultparams
...
Change-Id: If189c1e4254ae00725ec76a5ca6354d24df2d351
2015-10-20 11:46:17 +02:00
Stephan Bergmann
d1d6764416
loplugin:defaultparams
...
Change-Id: Ie7a5b5defb52fea98baed8183f424dd21990e9b9
2015-10-20 11:46:14 +02:00
Stephan Bergmann
c0fc1c54a3
loplugin:defaultparams
...
Change-Id: I80c422a961170f25d2a674bb347b9d330b6c7fc0
2015-10-20 11:46:10 +02:00
Stephan Bergmann
d0e371ecb6
loplugin:defaultparams
...
Change-Id: Ic784483cab8fc3d0b4c95a3261e3d5ce062dad7e
2015-10-20 11:46:05 +02:00
Stephan Bergmann
255bb46d14
loplugin:defaultparams
...
Change-Id: I52308fced25173f6a4b1c56c0c494e89fb5c1648
2015-10-20 11:45:59 +02:00