Commit graph

1015 commits

Author SHA1 Message Date
Jan Holesovsky
db38aaff1c loolwsd: Handle LOK_CALLBACK_UNO_COMMAND_RESULT.
Also update according to the API change, and trigger the notification when
calling .uno:Save.
2015-11-03 19:29:50 +01:00
Jan Holesovsky
9f75fbd2fc loolwsd: Update the bundled LOK to contain LOK_CALLBACK_UNO_COMMAND_RESULT. 2015-11-03 19:29:50 +01:00
László Németh
9ab64a1446 tdf#94608 Calc Ctrl shortcuts
Basic Calc navigation and selection shortcuts

+ fix Ctrl+- (soft hyphen) in Firefox
+ fix Ctrl-L/R/E/J alignations in Calc
+ other shortcuts
2015-11-03 18:04:53 +01:00
Mihai Varga
0bdc175725 loleaflet: handle spreadsheet tabs and slide previews with css 2015-11-02 15:13:09 +02:00
Mihai Varga
3b308aef83 loleaflet: allow the scrollbar to be dragged from outside the iframe 2015-11-02 14:41:47 +02:00
Andras Timar
c488bf95ff loleaflet: bump version after tarball 2015-10-30 23:26:58 +01:00
Andras Timar
36d8ad6aa1 loleaflet: bump version before tarball 2015-10-30 23:25:17 +01:00
Andrzej Hunt
3c792c655f loleaflet: tdf#94599 Disable irrelevant context menu 2015-10-30 20:03:18 +01:00
Andrzej Hunt
a815a96ab2 loleaflet: fix autoscroll on chrome
DomRect doesn't officially contain x and y, instead we should
use left and top (Firefox's DomRect however does contain these).
2015-10-30 13:56:19 +01:00
Andras Timar
ad4e561947 loleaflet: bump version after tarball 2015-10-30 13:23:31 +01:00
Andras Timar
60ee1a58ac loleaflet: bump version before tarball 2015-10-30 13:22:59 +01:00
Andras Timar
510db7bbdc loolwsd: bump version after tarball 2015-10-30 13:19:45 +01:00
Andras Timar
16f8e75d1d loolwsd: bump version before tarball 2015-10-30 13:19:45 +01:00
Andras Timar
87554d1be9 Collabora Office as requirement 2015-10-30 13:19:45 +01:00
Mihai Varga
9369b59e25 loleaflet: use the parent window for printing in chrome
We need this because the otherwise created object is not available in
the parent window where the pdf is rendered in the print dialog
2015-10-30 13:09:37 +02:00
Jan Holesovsky
2691d88909 Revert "loolwsd: Update systemplate with every startup of the service."
This is not a good idea, it takes too long for systemd, and times out.

This reverts commit b42409c388.
2015-10-30 11:34:41 +01:00
Jan Holesovsky
b42409c388 loolwsd: Update systemplate with every startup of the service. 2015-10-30 10:40:22 +01:00
Andrzej Hunt
b394f337c7 loleaflet: tdf#94609 Support triple and quadruple click selection
Currently probably only supported on desktop (clicking) browsers.
2015-10-29 16:43:38 +01:00
Andrzej Hunt
2879547c67 loleaflet: Implement DomEvent trplclick and qdrplclick support
Browsers only support single and double click, so we need
to do our own trplclick and qdrplclick synthesis.
2015-10-29 16:43:38 +01:00
Andrzej Hunt
a7269e40c3 loleaflet: Cleanup dblclick handling
We only seem to need to send the dblclick event (nCount = 2)
and not an enclosing single click (nCount = 1) too - the single
click is effectively overridden by the double click.

The buttonup calls also had an erronous additional parameter, which
seems to have been added accidentally in:
14dca89150
2015-10-29 16:43:38 +01:00
László Németh
97ac6736f8 tdf#94608 PgUp/PgDown support and some new shortcuts
Ctrl-Home  Jump to the start of the document
Ctrl-End   Jump to the end of the document
Ctrl-Shift-Home  Select from the start of document
Ctrl-Shift-End   Select to end of document
Ctrl-Up arrow    Jump to the previous paragraph
Ctrl-Down arrow  Jump to the next paragraph
Ctrl-Alt-D Insert Endnote
2015-10-29 16:38:44 +01:00
Andras Timar
2d37bbcc20 skip make check for rpmbuild 2015-10-29 16:32:03 +01:00
Andras Timar
3310c03a1a loolwsd: bump version after tarball 2015-10-29 15:53:41 +01:00
Andras Timar
dd1c12fcd6 loolwsd: bump version before tarball 2015-10-29 15:50:46 +01:00
Andras Timar
cd787d50f8 loleaflet: bump version after tarball 2015-10-29 15:50:15 +01:00
Andras Timar
4f750e8b29 loleaflet: bump version before tarball 2015-10-29 15:49:44 +01:00
László Németh
2eaf45351c tdf#94608 Ctrl-Shift-Up/Down for paragraph start/end selections 2015-10-29 10:03:40 +01:00
László Németh
15812c889c tdf#94608 add Ctrl-Shift-Left/Right shortcuts for word selection 2015-10-28 23:53:54 +01:00
László Németh
519084aa37 tdf#94608 add more keyboard shortcuts
Ctrl-0  Text Body
Ctrl-1  Heading 1
Ctrl-2  Heading 2
Ctrl-3  Heading 3
Ctrl-4  Heading 4
Ctrl-5  Heading 5
Ctrl-, or Ctrl-Shift-b Subscript
Ctrl-. or Ctrl-Shift-p Superscript
Ctrl-Space or Ctrl-m   Clear direct formatting
Ctrl-Alt-F  Insert footnote
Ctrl-Alt-m or Ctrl-Alt-c  Insert comment
2015-10-28 19:33:10 +01:00
Miklos Vajna
1409ef11ec loolwsd: allow duplicate messages for all message types expect tile
To be on the safe side, I only allowed "uno" previously, but Mihai
confirmed that the intention was to filter out "tile" duplicates, so
filter out only that.
2015-10-28 17:29:51 +01:00
Miklos Vajna
31982808f4 loolwsd: disable -Wshadow with self-built poco
poco itself isn't warning-free wrt. -Wshadow, so we can only use it if
it's at a location where the system suppresses such warnings.
2015-10-28 16:38:57 +01:00
Andrzej Hunt
acb39fc057 fdo#94610 autoscroll document for selection
This works for both the selection "handles"/cursors, and also
for normal (desktop-like?) click+drag selection.
2015-10-28 11:27:02 +01:00
Andrzej Hunt
c249317743 Implement scrollvelocity
This is needed for e.g. fdo#94610
2015-10-28 11:27:02 +01:00
Andrzej Hunt
c10713fac2 Make currently dragged cursor follow map scroll
Previously the cursor would become offset from the mouse position
if the window was scrolled during dragging.

Related: fdo#94610
2015-10-28 11:27:02 +01:00
Miklos Vajna
0fe05e6d91 loolwsd: -Werror=shadow 2015-10-28 10:55:27 +01:00
Miklos Vajna
3d613a443f loolwsd: add paste testcase
Fails with commit cc24463f08 (loolwsd:
wrap lok::Document::paste(), 2015-10-27) reverted.
2015-10-28 10:42:29 +01:00
Miklos Vajna
b5ed22c4d9 loolwsd: avoid filtering out "duplicated" uno commands
Problem since commit 8f48dabf28 (loolwsd:
discard requests that are in the queue already, 2015-07-21), e.g.
"select-all, paste, select-all" doesn't have the same meaning as
"select-all, paste".

Quite possibly the condition should be inverted, and filtering out
should be done only for a few commands, like "tile"; but at least
filtering out "uno" is definitely problematic.
2015-10-28 10:28:27 +01:00
László Németh
b7b9f76007 tdf#94245 fix refused resizing of pictures anchored as characters 2015-10-28 10:12:11 +01:00
Miklos Vajna
094f07af7f loleaflet: add undo/redo buttons to the toolbar 2015-10-27 15:41:15 +01:00
Miklos Vajna
e0409ad20f loleaflet: document the source of icons 2015-10-27 15:10:21 +01:00
Miklos Vajna
8dffdaf949 loleaflet: fix pasting in firefox, too 2015-10-27 14:42:26 +01:00
Mihai Varga
6cd136d526 loleaflet: fixed copying in firefox 2015-10-27 15:38:28 +02:00
Miklos Vajna
3588a2c260 loleaflet: map JS paste to loolwsd paste message 2015-10-27 12:16:33 +01:00
Miklos Vajna
cc24463f08 loolwsd: wrap lok::Document::paste() 2015-10-27 11:53:32 +01:00
Miklos Vajna
c2a681ff4d loolwsd: update the bundled headers 2015-10-26 17:21:15 +01:00
Andrzej Hunt
8ab0b88550 loleaflet: onScrollBy: add support for horizontal scrolling too 2015-10-26 10:36:51 +01:00
Mihai Varga
f03459611a loleaflet: file insert control 2015-10-22 18:40:43 +03:00
Mihai Varga
6e8bd4fdf0 loleaflet: file insert handler
It sends a file to the server to the /insertfile endpoint,
once the file has been saved in the loolwsd choot, loolwsd is then
notified to insert it in the document

TODO: avoid the last roundtrip
2015-10-22 18:38:35 +03:00
Mihai Varga
e5d1d856aa loleaflet: getchildid msg handler 2015-10-22 18:36:38 +03:00
Mihai Varga
58d7c99f19 loolwsd: added getChildId and insertFile methods
getChildId is used to get the chroot's name and insertFile inserts a the
/user/thedocument/insertfile/file_name file in the document
2015-10-22 18:32:19 +03:00