Commit graph

6393 commits

Author SHA1 Message Date
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
Samuel Mehrbrodt
cabe0a750a Only show warning if limit is exceeded
not when it is reached

Change-Id: I802f839e49f4c8ed9e423b093e7306b5480a1812
Reviewed-on: https://gerrit.libreoffice.org/50188
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-02-23 09:17:12 +01:00
Samuel Mehrbrodt
5176d9d4c0 Notify new user too about low disk / limit reached
Change-Id: I150baaa5cf2b1162505324102afc038fd19b3bb6
Reviewed-on: https://gerrit.libreoffice.org/50186
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-02-23 09:17:04 +01:00
Samuel Mehrbrodt
37e7e95304 NPM Shrinkwrap: Upgrade to new format (v5)
Should be backwards compatible with npm 2,3 and 4

Change-Id: Ie40f39af4b6fb618916df33d9cdd2fc62e4bc592
Reviewed-on: https://gerrit.libreoffice.org/50191
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-02-22 16:51:03 +01:00
Samuel Mehrbrodt
08ee839562 Improve message displayed when limit reached
Change-Id: I659d3e5156bc4ae8e6b30a7fd9f9957dd1a868ec
Reviewed-on: https://gerrit.libreoffice.org/50179
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-02-22 16:37:42 +01:00
Samuel Mehrbrodt
deecd0e0d8 Add some right margin for info msgs
Change-Id: I037b8dd42fa8dafb1686284e9241a32f4068ff75
Reviewed-on: https://gerrit.libreoffice.org/50185
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-02-22 15:46:33 +01:00
Samuel Mehrbrodt
4c9872188f Add non-obtrusive notification method (infobar-alike)
This reuses the vex dialogs and pushes notifications to the bottom right area.
Converted the limit reached notification to this new type.

Change-Id: I20f0c1202eecde028e70156f02ba31497ef2f9b9
2018-02-22 14:28:09 +01:00
Samuel Mehrbrodt
542c87451c Improve about dialog
Don't wrap other block elements in <p>, some cleanups

Change-Id: I42fcff615cb5e67d413b065aa72cce5d42aa19c9
Reviewed-on: https://gerrit.libreoffice.org/50161
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-02-22 11:22:27 +01:00
Samuel Mehrbrodt
96292dc873 Only apply hard limit when configured with support key
In other case, show the warning to all users (instead of just the last one)
and link to our get professional help page.

Change-Id: Id443ba6427acd4c05f7e0e2ce86025acfb553265
Reviewed-on: https://gerrit.libreoffice.org/49673
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-02-22 11:14:34 +01:00
Andras Timar
239d5a09a3 remove src/control/Control.MetricInput.js from list of localizable files, because it was deleted
Change-Id: I1583c81aef924c7f61b6b1722666c5fd1137e418
2018-02-21 23:07:52 +01:00
Pranav Kant
fc4d6aeeb9 ime: Don't eat space
Encode/decode so that ' ' as payload of compositionupdate event doesn't
get lost.

Change-Id: Ia31abe85f1cf19f8f286c9069097bdc72297e664
2018-02-21 21:29:50 +05:30
Pranav Kant
12612d459b Let's not use any personal names
Change-Id: If25e0e93906008b8e04cfde9b77c9c78247643e1
2018-02-21 20:09:38 +05:30
Andras Timar
209e34a155 loleaflet: add Tools - AutoCorrect - While Typing toggle menu item to Writer
Change-Id: Id5dfb0b99834beddd927d67167f3be5a417e138f
Reviewed-on: https://gerrit.libreoffice.org/50069
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-02-21 08:45:05 +01:00
Andras Timar
4adacbdaa6 remove deleted robots.txt from rpm spec file
Change-Id: Ic1d872f2e92dee64ef23d012b4cd50ad2931664a
2018-02-21 00:01:23 +01:00
Pranav Kant
77a8f5b2e7 Fix double handling of ctrl key
Regressed from 1e91799663

Thanks Aron for bisecting.

Change-Id: Ida2a62d74440083e747903562a0c9e6a5a550eb1
2018-02-20 12:45:46 +05:30
Henry Castro
c0119f51ad loleaflet: transfer to clipboard if the range of html is selected
Change-Id: I6e804dcd3114596fb0041943b53cf00442af428d
2018-02-19 15:46:41 -04:00
Henry Castro
64e6cf189c loleaflet: remove MetricInput dialog
Change-Id: I64dbd732caac575cc15e0b0b1fb5762c2678fe76
2018-02-19 15:17:13 -04:00
Marco Cecchetti
3b3197e477 calc: header entry border was not shown at certain zoom levels
Change-Id: I531ad3a06e208fcafa4ca8243e2b54fffcd8449e
Reviewed-on: https://gerrit.libreoffice.org/49975
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-02-19 20:00:11 +01:00
Andras Timar
82ff8db904 tdf#113361 Add Insert - (Hyper)Link menu to Impress
Change-Id: I28914507c4604398524b0fea98af9bca818e9834
Reviewed-on: https://gerrit.libreoffice.org/49885
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-02-19 18:16:46 +01:00
Andras Timar
dde84d1706 wsd: encode '#' character in file name
Change-Id: I4d10f38c9025f18a0d0f0f5599892b436b9d002c
Reviewed-on: https://gerrit.libreoffice.org/49919
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-02-19 18:15:42 +01:00
Andras Timar
6a914ecbb9 tdf#115595 open editable documents with upper case or mixed case file extensions in edit mode
Change-Id: I6ea60926ce0ec4d1323080ffec5152d2bbeefc31
Reviewed-on: https://gerrit.libreoffice.org/49867
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-02-19 18:15:01 +01:00