Commit graph

6191 commits

Author SHA1 Message Date
Michael Meeks
43e2c98d7c Disable word autocomplete by default.
The feature is problematic in terms of editing anyway, and burns RAM.

Change-Id: I3a078c16fb450e7b38e15ad1c76563d130d2b277
2017-11-25 19:13:34 +00:00
Henry Castro
dd2e4df683 loleaflet: fix text selectable in version dialog
Change-Id: Ia1f8aa5fc1a03d0ee39e663a7bbd865ba301b38c
2017-11-23 20:53:08 -04:00
Aron Budea
f6ec965dff rlimits: Friendlier and more precise logging of numbers
Unlimited settings were logged as huge numbers.
In two cases settings were logged via LOG_SYS (and as errors)
instead of LOG_INF.

Change-Id: I1da493c0126ecf9d2382956ac1e60e57988696ee
Reviewed-on: https://gerrit.libreoffice.org/44731
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-11-23 21:15:39 +01:00
Andras Timar
f3ab71e4b3 fix error: unused parameter ‘bufferHeight’ [-Werror=unused-parameter]
Change-Id: I6a1f64796d3304e12f0159bed03b5f95a760ce6a
2017-11-23 15:01:25 +01:00
Henry Castro
f5620db55f loleaflet: replace title parameter with wopi BaseFileName
Change-Id: I4807eec44dd481edc8bc4f8f360b8780c2575c8a
Reviewed-on: https://gerrit.libreoffice.org/45056
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-11-22 21:01:26 +01:00
Michael Meeks
ec80d623b8 Edit the right configuration XML file.
Change-Id: If72006918550ee5c440ad6b2ff26a5bd0d1efef1
2017-11-22 16:47:05 +00:00
Michael Meeks
92379ffbf2 Make the WSD SSL cipher list configurable.
Change-Id: If79b9efc9438cf0a2345b8e81385adafef63ce22
2017-11-22 15:55:03 +00:00
Michael Meeks
74f44251b7 Deltas - collapse multiple rows to a single row.
Change-Id: Ia2a617c2adbbc4e66b7c773c2280ec609aead16e
2017-11-22 15:55:03 +00:00
Michael Meeks
fa86ba9ec5 Convert Javascript to row deltas.
Change-Id: I2ec612c2bc047dc36f86c2935178c964f9feae11
2017-11-22 15:55:03 +00:00
Michael Meeks
5efb59db50 Make delta-builder row-based.
Change-Id: Ic59324535c4f412abc4e83774073eb8f57290704
2017-11-22 15:55:03 +00:00
Michael Meeks
42d264eeb0 Start of Delta unit-tests.
Change-Id: I1a25f5347c0d7430000146bb585a041d363bcf37
2017-11-22 15:55:03 +00:00
Michael Meeks
78398d4482 Move the Delta generator out into its own file.
Change-Id: I7f7553c292970b1a52879b6d6c14e67172022310
2017-11-22 15:55:03 +00:00
Michael Meeks
ed8807a1a5 Insert pixels from 'new' not 'old'.
Change-Id: I117348885073b740ed8b2df84d805854b2f00767
2017-11-22 15:55:03 +00:00
Michael Meeks
b1124c05a8 Deltas should be pixel based, add debugging.
Change-Id: I3b47b738ee71d015911e3d77b59b5f3cb34ecd75
2017-11-22 15:55:03 +00:00
Michael Meeks
0bfbbf9851 Start of delta creator.
Change-Id: Idf186cda4f11e2418d9ff9f435825832c6b10294
2017-11-22 15:55:03 +00:00
Henry Castro
9ef99e9270 loleaflet: clean up logs that no longer need it
Change-Id: I26d47b1fc73748a3e7e0e824b1596da43e57555c
2017-11-21 18:03:32 -04:00
Henry Castro
4d6a74421b loleaflet: fix initialization of unused variable location
Change-Id: I1cf537a7e50b6bf40ebb2b309e112b536a8971c5
2017-11-21 16:58:10 -04:00
Henry Castro
82e976bc5f loleaflet: fix initialization of unused variable docLayer
Change-Id: I73aac201a26c8bf60b3a7d17fd4cb4b4b17ae4b1
2017-11-21 16:51:37 -04:00
Tor Lillqvist
269ee2f0f5 Most distros should provide usable Poco packages by now surely
Drop the mention of /opt/poco as the place where to put a self-built
Poco as that seems to make some people think /opt would be a
recommended place to do a clone of the LibreOffice repository, too.
Which is a weird place for it.

Change-Id: I17543a915a7f9ea4716379283b0a51723d39b376
2017-11-20 18:32:07 +02:00
Fabian Jucker
3b82f62084 correct help message for with-max-connections, with-max-documents
Change-Id: Ib7244a6ee55284b36d874a101505e2fe04377c9c
Reviewed-on: https://gerrit.libreoffice.org/43121
Reviewed-by: Fabian Jucker <jucker@gyselroth.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-11-20 10:14:45 +01:00
Henry Castro
6a2c370f9a loleaflet: fix when the status bar items are refreshed
The w2ui toolbar refreshes the html type of its data,
not the element generated

Change-Id: I9b53ac0b98195961accce8be554c7bbfff19c644
2017-11-16 22:29:39 -04:00
Henry Castro
80f9249433 loleaflet: fix when the language menu item is selected
The languages are translated and ordered.

Change-Id: Id1fd8eec622f3b3ecb5e8da73a386a201b6cee9f
2017-11-16 22:22:40 -04:00
Pranav Kant
35457c4cf7 lokdialog: Handle 'cursor_visible' callback to hide the cursor
Change-Id: Ia4be5f1533226b493387af896812924d4bf81a72
2017-11-15 18:16:37 +05:30
Pranav Kant
2dcd75ccac lokdialog: Blinking cursor for editing fields in dialog
Change-Id: Ib75e87134e650053dbcd5e78f9c52ea7b7fb4f98
2017-11-15 18:16:37 +05:30
Jan Holesovsky
fc1680a253 Document UserExtraInfo.
Change-Id: Ibf73b20c4ec7271579d203564fc8f4594eb6e73b
2017-11-15 13:16:08 +01:00
Tor Lillqvist
0df65d2110 Bin accidental debugging printout leftover
Change-Id: I06f21d3facc39fcbf35a3516bb48136f8660a10f
2017-11-13 23:50:29 +02:00
Rene Engelhard
623b45a533 fix build with poco 1.8.0(.1) 2017-11-13 20:21:22 +01:00
Tor Lillqvist
7c77a6c3a3 Add handling of "prefilter" plug-ins
When the name of a document to be edited ends with an extension
matching that mentioned in a prefilter plug-in's configuration file,
the command specified is run and it is the output file that is
actually edited.
2017-11-13 16:27:53 +02:00
Tor Lillqvist
0831a94299 Add a "plug-in" mechanism
Look in the directory LOOLWSD_CONFIGDIR/conf.d (or pathname passed
with --config-dir option) for extra .xml files containing a Poco
configuration tree. These are not merged with the actual configuration
but kept separate. This commit does not yet actually use them for
anything.
2017-11-13 16:23:52 +02:00
Henry Castro
bbb82ebd29 loleafet: prevent default context menu on comments
and tracked changes

Change-Id: Iafd0f3128553f87e9c2fdf5440b039c8d710b2e6
2017-11-10 15:08:27 -04:00
Jan Holesovsky
2153c8af9b Save As: Don't save the document several times.
Also don't perform the save as when the document name hasn't changed.

Change-Id: I4fb7e0abd73996e90107b301a09b8703b66e80f9
Reviewed-on: https://gerrit.libreoffice.org/44504
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-11-10 11:08:53 +01:00
Jan Holesovsky
676b6ca610 Save As: If the LOK's saveAs failed, try under a different name.
This helps when the caller omitted the extension...

Change-Id: Ib7602ce8fa88bc867198dbba36b2582145bd0994
Reviewed-on: https://gerrit.libreoffice.org/44405
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-11-10 11:08:53 +01:00
Jan Holesovsky
d9a6c2bc4a Each error should hide the busy indicator in the statusbar.
Change-Id: I4676b2b6fe44351102feedf4728ff0911c15417b
Reviewed-on: https://gerrit.libreoffice.org/44404
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-11-10 11:08:53 +01:00
Jan Holesovsky
61ce9c38e6 Save: Inform the user when saving has failed in LOK.
Change-Id: Ie3bcdf9f6ca898b2763c31e6eb05c3a20be5859f
Reviewed-on: https://gerrit.libreoffice.org/44399
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-11-10 11:08:53 +01:00
Jan Holesovsky
b20faa8bdc Save As: Advertise the correct size when uploading the new file.
Change-Id: I9b20c4bdb7ddc848437edceae1a77ddb49d55133
Reviewed-on: https://gerrit.libreoffice.org/44357
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-11-10 11:08:53 +01:00
Jan Holesovsky
2355f2792f Save As: Reload the newly created document after the Save As.
Change-Id: Ibf979cce4fea13a31ece089394dab296158a159b
Reviewed-on: https://gerrit.libreoffice.org/44283
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-11-10 11:08:53 +01:00
Jan Holesovsky
513ffe36c1 Save As: UI for changing the document name.
Change-Id: I23aba95ff0f8d867b021ba3cf0a6bc5eb4754f9d
Reviewed-on: https://gerrit.libreoffice.org/44282
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-11-10 11:08:53 +01:00
Miklos Vajna
8568f47667 wsd: fix -Werror,-Wunused-private-field
Change-Id: I4522caa338d874628509f4382914b39406797da5
2017-11-10 09:45:03 +01:00
Pranav Kant
768b0c0404 Bin some duplicate 404 handling
Change-Id: Ibf3ed6c5558492b122662f25f31d321a6bbc151c
2017-11-10 12:35:45 +05:30
Pranav Kant
377faf3971 loleaflet: Disable selecting <body> element
Change-Id: I13a6fc949a9b419a0669a8c8fe608f9564991eb9
2017-11-10 12:25:04 +05:30
Pranav Kant
7e8d584f1e loleaflet: Focus back to map after closing dialog
Change-Id: Ibc9e62d907922ad1b9824f014dd179d9793e798b
2017-11-10 11:43:02 +05:30
Pranav Kant
66556c1668 Copy jquery-ui image files to dist/ during normal make
No need of dist-hook now to do the same. The good thing is that now
these images will also be available to a developer which was earlier not
possible without manually copying the files left & right. This means no
more annoying errors in developer's browser console.

Change-Id: Ie180720086feace00b61891f56ee3532f5f9df7b
2017-11-10 11:33:45 +05:30
Pranav Kant
0a5549bc6b lokdialog: Cycle TAB key *in* the LOK dialog
With this, TAB key is cycled through properly in the LOK dialog's
buttons.

Change-Id: I9357a5a88b661ac7f90a507071d34dcb05964c43
2017-11-09 17:01:02 +05:30
Pranav Kant
d8e9a35d74 lokdialog: Don't destroy and relaunch when size changed
This has an ugly side effect that when size is changed, the dialog is
centered in the document. With improvements in core.git, this should
work fine now without it.

Change-Id: I1bebc8a652cf6887028b6930363ae7ea137efc94
2017-11-09 15:50:02 +05:30
Pranav Kant
fea82f5d48 Update bundled headers
Change-Id: I3480b7465c19203699a68a148dde20dc7d36f47a
2017-11-09 14:57:09 +05:30
Pranav Kant
3dd644b1bc lokdialog: Let floating window pop out of the dialog container
Change-Id: If339cdff39137e68a1fb61bb49830f4734485001
2017-11-09 14:44:49 +05:30
Pranav Kant
2b8c4ee3bb lokdialog: Remove padding around dialog canvas completely
Change-Id: Ie6d65ca23936f081c5e2b37fff6f5d90d9fcd06e
2017-11-09 09:49:17 +05:30
Pranav Kant
a2a72572bb lokdialog: Paint only part of the dialog when specified
Change-Id: I5543c95a48fd0192e5c654598991125bcaeb62e4
Reviewed-on: https://gerrit.libreoffice.org/44519
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-11-09 04:25:13 +01:00
Pranav Kant
f1d78c7e62 lokdialog: send invalidate rectangle in dialog command
Change-Id: Iae00498a0ead1ee65dfce0332721e0d0fd2202fb
Reviewed-on: https://gerrit.libreoffice.org/44518
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-11-09 04:24:24 +01:00
Pranav Kant
83cb6270da lokdialog: Strip unnecessary padding from dialog container
No idea yet why there still is a thin padding strip at the bottom of the
dialog.

Change-Id: Ia1347bafbf647385c1771f7af3e755cbf44dd666
Reviewed-on: https://gerrit.libreoffice.org/44517
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-11-09 04:24:13 +01:00