Tor Lillqvist
630d8d736c
We want notifications from vnd.sun.star.script: thingies, too
...
Change-Id: Ic407bcc1a2534854812c2732cc262f859d4adfe5
2018-03-28 12:28:13 +03:00
Tor Lillqvist
bb4c1a7fa7
Don't filter out all scripts, just Java and JavaScript ones
...
Change-Id: I3054a3f36ae1777b162fb5a1b9a456f1bce9248b
Reviewed-on: https://gerrit.libreoffice.org/51991
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2018-03-28 11:18:43 +02:00
Aron Budea
c20c51d8a5
Fix unused-result warning.
...
Change-Id: I31fa4edd68e8a5ba973c159599e71e74406b8e6e
Reviewed-on: https://gerrit.libreoffice.org/51947
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-03-28 10:16:29 +02:00
Jan Holesovsky
3304e90935
The return value of system() shouldn't be ignored.
...
Change-Id: I7422bfb3997c205333a8558884c65f2ff3795e38
2018-03-28 09:30:27 +02:00
Henry Castro
472cae55e7
loeaflet: debug w2toolbar
...
avoid minify w2toolbar for debugging purposes
Change-Id: I6a24f498511d4b03a04e68af0aa3715bb8c1b48b
2018-03-27 23:05:07 -04:00
Pranav Kant
b2fd459486
missing semi-colons
...
Change-Id: Ic783fde87b8939152b76264626ec9476df81b2ff
2018-03-27 18:16:06 +05:30
Pranav Kant
5437eee548
loleaflet: avoid getting browser scrollbar
...
while keeping the position of hidden input field to be around the
cursor.
Change-Id: I5539cc5c8e99526b771be0e11336dd6d77e5b02c
2018-03-27 18:15:55 +05:30
Miklos Vajna
684d730221
ChildSession: use NoFileSync as default during convert-to as well
...
This already worked for normal save, but not for convert-to.
Depends on core.git commit 0518bb5c3a98d973c3675fdd4cb8c52a669a3507
(desktop lok: handle NoFileSync in saveAs(), 2018-03-26).
Change-Id: Iec1a92fba2094f3954cc1a4ed6ee3372076fddc5
2018-03-27 09:20:50 +02:00
Jan Holesovsky
aaf76a13ba
loolconfig: Create a shortcut for running the systemplate update.
...
Change-Id: I082cf6e3f560a9c1880f0680ad4d2876d055dbc4
Reviewed-on: https://gerrit.libreoffice.org/51315
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-03-26 23:13:33 +02:00
Pranav Kant
6bb38614bd
Some helpful logging
...
Change-Id: I75e5e6cbbecf1e1af94a6710ecab4ced5637f14f
2018-03-23 16:50:28 +05:30
Pranav Kant
82ec190692
Don't bore the map while user is playing with the dialog
...
Change-Id: I2aa466ec66b71fc7d65218a200638de142e99eea
2018-03-21 21:40:54 +05:30
Pranav Kant
8481689f93
update bundled headers - clipboard_changed
...
Change-Id: Idad3aef64acb01928f6f70010a0e9d7ed297aede
2018-03-21 21:40:37 +05:30
Miklos Vajna
0f4da16aec
Fix -Werror=switch warning
...
Change-Id: I9542ec33df7a2c141055264cb09dc58cb3ad7593
2018-03-21 11:05:13 +01:00
Jan Holesovsky
77c45d456c
Use a 'breeze' icon for the insert chart toolbar button.
...
Change-Id: I8a4a8a45a634f44f8cc600c5c30232c9451c533c
Reviewed-on: https://gerrit.libreoffice.org/51659
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
(cherry picked from commit e641e524d3356a89126ce743f402fb023154e4ea)
Reviewed-on: https://gerrit.libreoffice.org/51689
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-03-21 10:02:44 +01:00
Pranav Kant
2d9d2b585f
lokdialog: Avoid flickering of dialog's child window
...
Setting canvas's width, height unnecessarily have a bad effect - it
flickers.
Change-Id: Ic00a7ab392b03ee7a66099255e21ebb7c8973314
2018-03-20 14:53:43 +05:30
Pranav Kant
1457982881
Insert Charts option in menubar and toolbar
...
Change-Id: Ic542210477ab0a401be25b35e91cc9deefec75a9
Reviewed-on: https://gerrit.libreoffice.org/51538
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-03-20 10:20:36 +01:00
Michael Meeks
8f134aa1a9
Allow running without seccomp and capabilities.
...
There are some significant security trade-offs here which are now
at least configurable.
Change-Id: I1d879d69e91392f4ccf5db250a2277f53df60db7
2018-03-19 20:46:17 +00:00
Jan Holesovsky
755a75edcf
Expose Format -> Columns...
...
Change-Id: I275a22f78b198763b06f7e96b1ce26be9f381400
Reviewed-on: https://gerrit.libreoffice.org/51588
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-03-19 21:17:43 +01:00
Pranav Kant
a61ddfe9b4
loleaflet: Keep the hidden input width 1x1 to keep safari happy
...
It's not possible otherwise to focus the <input> html element in Safari.
Unfortunately, making the input field 1x1 has the disadvantage that on
IE 11, a very small blinking artifact appears on bigger font size. There
doesn't seem to be any other solution to hide the cursor on IE without
messing up with IME candidate window position.
Without this patch, typing doesn't work on Safari at all which is much
much bigger of an issue than some artifact appearing on IE.
Change-Id: Ib618a96ba2ec3aa621ed448ffbf410113d8975b8
Reviewed-on: https://gerrit.libreoffice.org/51579
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Tested-by: Aron Budea <aron.budea@collabora.com>
2018-03-19 18:20:57 +01:00
Miklos Vajna
5736f4c307
common: mark parseJSON() as inline explicitly
...
Otherwise this can lead to an ODR violation.
Change-Id: I1b195cb57d37a050755d7d3f6c922950ef8738c4
2018-03-19 11:58:18 +01:00
Pranav Kant
18fa0d7a78
Insert Charts menu items
...
Change-Id: Ic542210477ab0a401be25b35e91cc9deefec75a9
2018-03-16 19:40:44 +05:30
Pranav Kant
8a713ec7a5
loleaflet: firefox emits 'keypress' for shift+insert too
...
So, we need to ignore the key event in the start of the handler.
Otherwise, in the case of firefox, us ignoring it in 'keydown' gets it
handled in 'keypress' which does double copy/paste.
Change-Id: I93f0e5c7db8817fab42764d0f0d3b12b50d62f81
Reviewed-on: https://gerrit.libreoffice.org/51134
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-03-16 08:29:02 +01:00
Michael Meeks
18108dfa89
Help OSL's nlsupport with a UTF-8 locale for everyone.
...
Change-Id: I98557e3134b436b6360129dfd6d16bba811cd864
2018-03-15 19:19:46 +00:00
Michael Meeks
6803ee4087
Use a hard random /tmp directory for document intermediates.
...
Requires a lok tweak to reset the tmpdir globals on init.
Change-Id: I602705f20fa016ef415088be8d1ada6d465d2a8d
2018-03-15 11:01:51 +00:00
Miklos Vajna
b6e1a4e281
kit: avoid manual management for Watermark::_pixmap
...
A simple std::vector is enough here and results in simpler code.
Change-Id: I7e6ad268aca13c4efb445c7918a3afd14e0ed146
2018-03-14 09:04:36 +01:00
Jan Holesovsky
17ef36d154
lokdialog: Don't strip the sub-menus in tunneled context menu.
...
Simplifies the vertical growing / shrinking of listbox popups too.
Change-Id: I8d8aa7e07a5bf9119713363dd95a5db843683feb
Reviewed-on: https://gerrit.libreoffice.org/51154
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-03-13 17:57:37 +01:00
Michael Meeks
501d36824b
Clean up un-used pcf fonts from the systemplate to shrink it.
...
Also drop ~/docs/ copying for devs - too generic a name.
Change-Id: Ib9416e23fa7f09ec923e03551c6c7b85bc3defe3
2018-03-10 13:50:43 +00:00
Andras Timar
04539cc00c
Revert "enable make parallelism"
...
Bad idea, 'make check' does not tolerate parallelism.
This reverts commit 2e4ecfaf44
.
2018-03-09 12:49:02 +01:00
Andras Timar
5fb16d423d
enable parallel make with deb package creation
...
Change-Id: Ia84ca8a33a27cac8f1fcc3668a97ee3857d3c0d8
2018-03-09 12:48:38 +01:00
Miklos Vajna
c54790def5
configure: require nodejs 6
...
Build will fail for nodejs 4 anyway, so fail early in configure.
Change-Id: I0be746454cd21401195f8bf72a4eb107a3433fd7
Reviewed-on: https://gerrit.libreoffice.org/50889
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-03-07 16:23:08 +01:00
Andras Timar
c3afdf32e4
add png files for DeltaTests::testDeltaSequence to dist tarball
...
Change-Id: Ib8007ce17e71e7a343dc3572364788e6f2c3efa2
2018-03-07 13:48:56 +01:00
Andras Timar
6f2d06c779
Revert "Revert "NPM Shrinkwrap: Upgrade to new format (v5)""
...
This reverts commit c0a902ba81
.
2018-03-07 13:28:07 +01:00
Andras Timar
2c95332d66
add JsonUtil.hpp to dist tarball
...
Change-Id: I41d1e56ff817142670caafb4a260b76f8f0003f9
2018-03-07 12:18:57 +01:00
Andras Timar
7a199b9703
typo: tets -> tests
...
Change-Id: I8cd938c99c9087ebf2db85e361fecfa916d3adbe
2018-03-07 12:08:55 +01:00
Andras Timar
c0a902ba81
Revert "NPM Shrinkwrap: Upgrade to new format (v5)"
...
This reverts commit 37e7e95304
.
2018-03-05 17:44:17 +01:00
Rene Engelhard
593c3b15f8
actually check for pam header and lib
...
Change-Id: Iaed84c3b72c2540176c8a0ed8e1f13d7c5cadc44
Reviewed-on: https://gerrit.libreoffice.org/50674
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-03-04 19:14:06 +01:00
Rene Engelhard
abf489991f
fix --disable-seccomp build
...
Change-Id: I32008de7745e106e4a633fb587f2837c59cdd541
Reviewed-on: https://gerrit.libreoffice.org/50652
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-03-03 12:07:07 +01:00
Pranav Kant
4c07c11cd6
loleaflet: Fix 'Find' ergonomics; don't make 2nd ctrl+f bring findbar
...
Change-Id: I82164555892324abf6eef2579bf1a99af510d10f
2018-02-28 18:43:31 +05:30
Pranav Kant
f8929b42d7
loleaflet: Hidden input window shouldn't have any border, padding, etc.
...
See comments for details.
Change-Id: I1797100b9937f6c9230a12198479d96fca789f66
2018-02-28 17:36:41 +05:30
Andras Timar
2e4ecfaf44
enable make parallelism
...
Change-Id: Ie16a450bee6d718d8daf58194fbbd7dfd1ac2f38
Reviewed-on: https://gerrit.libreoffice.org/50470
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-02-28 09:35:04 +01:00
Pranav Kant
c73026cdf9
postExtTextInputEvent -> postWindowExtTextInputEvent
...
Change-Id: If5612bffac612ca7f52c8eec242e5ad9984cd669
2018-02-27 19:16:17 +05:30
Miklos Vajna
e5c7c62713
'static const int' needs an explicit definition in C++11
...
core.git equivalent situation is e.g. SwXMLTableContext::MAX_WIDTH.
Change-Id: Id6f4201e875a7453ab2363161ea9560ae6e40384
2018-02-26 16:34:01 +01:00
Miklos Vajna
56fd92b4eb
fix -Werror,-Wunused-function
...
Change-Id: Idb339471edf9f80f779b50a124098ab056d1a2fc
2018-02-26 16:17:04 +01:00
Pranav Kant
d7ff0b0bb2
loleaflet: Keep the cursor 'default' by default
...
Change-Id: I88e18f7ce08612837dd99df3f9d08b4561007371
Reviewed-on: https://gerrit.libreoffice.org/50276
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-02-24 10:28:01 +01:00
Ashod Nakashian
1c4b458158
wsd: send valid empty JSON response
...
Change-Id: I066c22dd0ccc64cb6a40b1ff260269b1bac2de37
Reviewed-on: https://gerrit.libreoffice.org/50149
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2018-02-23 16:55:23 +01:00
Ashod Nakashian
7c2c0062e3
wsd: always avoid saving readonly files
...
Otherwise saving is bound to fail, causing other
errors, which is nonsensical since there is nothing
to save to begin with.
Change-Id: Icb65a4a3b277b3175aadbe5107b294b24a399e7b
Reviewed-on: https://gerrit.libreoffice.org/50148
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2018-02-23 16:55:02 +01:00
Ashod Nakashian
5befd0803a
wsd: improved wopi info parsing
...
Better logging during wopi info parsing,
especially upon failures.
Refactored the code from Storage.cpp into
JsonUtil.hpp.
Minor optimizations.
Add unit-tests for the parsing logic.
Change-Id: Ifebc3f6b7030a6c7b3b399786633f6b5e8737478
Reviewed-on: https://gerrit.libreoffice.org/49927
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2018-02-23 16:54:39 +01:00
Ashod Nakashian
71f4597059
wsd: WebSocket state is a property of the socket
...
This resolves the erroneous warnings of pinging
on a non-upgraded (i.e. HTTP) socket.
This was due to the fact that we moved the socket
from one SocketHandlerInterface to a WebSocketHandler
after upgrading and since the WSState was a property
of the handler, the WebSocketHandler didn't know
that the socket had already been upgraded.
Also other cosmetics and cleanups.
Change-Id: I1a88edef750117ed551d23245e49380371561422
Reviewed-on: https://gerrit.libreoffice.org/49911
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2018-02-23 16:42:22 +01:00
Samuel Mehrbrodt
224660a0ba
Add launch URIs for Calc and Impress too (for debug builds)
...
Change-Id: I66ea097c7f8d0ea72a74ecb62abbdf63e50f3058
Reviewed-on: https://gerrit.libreoffice.org/50190
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-02-23 09:57:59 +01:00
Samuel Mehrbrodt
543cec6546
Add example documents for Impress and Calc
...
Change-Id: I54980b7224f2fab6883720c58c6aa377b0ec9339
Reviewed-on: https://gerrit.libreoffice.org/50189
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-02-23 09:57:49 +01:00