Commit graph

1126 commits

Author SHA1 Message Date
László Németh
26fa6adff7 loleaflet: revert the removed Ctrl-5 for Calc strikethrough text 2015-11-05 19:02:13 +01:00
László Németh
fd610ff6a6 loleaflet: handle Ctrl/Alt keys in the core 2015-11-05 16:54:26 +01:00
Andrzej Hunt
96965bec95 loleaflet: update .uno:CellCursor parameter format
This mirrors the parameter format for .uno:ViewRowColumnHeaders
2015-11-05 12:52:06 +01:00
Andrzej Hunt
d9d0d47514 loleaflet: tdf#94605 Show cell cursor 2015-11-05 12:52:06 +01:00
Andrzej Hunt
ab5b41b740 loolwsd: use length here too 2015-11-05 12:52:06 +01:00
Andrzej Hunt
09e823e750 loolwsd: tdf#94605 handle LOK_CALLBACK_CELL_CURSOR 2015-11-05 12:52:05 +01:00
Andrzej Hunt
b46bc1bcf6 loolwsd: update the bundled headers 2015-11-05 12:52:05 +01:00
Jan Holesovsky
c6743b4d64 loolwsd: Remove the potential leftover document before attempting to link.
Otherwise we create a copy, and at the moment, the copy is not copied back out
of the chroot jail; we should bind that to the .uno:Save callback...
2015-11-05 12:17:21 +01:00
László Németh
6fd7821779 standard toolbar: fix alignation in spreadsheets 2015-11-04 14:09:47 +01:00
Jan Holesovsky
7a88c9b959 loolwsd: Document unocommandresult in the protocol. 2015-11-04 13:33:11 +01:00
Jan Holesovsky
b068d9622c loleaflet: Add 'commandresult' event.
It's the loleaflet equivalent of the LOK_CALLBACK_UNO_COMMAND_RESULT callback.
2015-11-04 13:27:23 +01:00
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