Commit graph

605 commits

Author SHA1 Message Date
Mihai Varga
0d80d63cb4 loolwsd: don't cancel special tile requests that have an ID 2015-07-14 19:46:29 +03:00
Mihai Varga
97191d985b loolwsd: allow an extra paramater to the tile command (ID) 2015-07-14 19:46:04 +03:00
Mihai Varga
e593ca0284 loleaflet: removed scroll inertia and fixed some tabs 2015-07-14 19:24:04 +03:00
Mihai Varga
8bcdf523e7 loleaflet: reduce the margin of the scrollbar 2015-07-14 19:19:37 +03:00
Mihai Varga
4083f96188 loleaflet: tiles preview sidebar control 2015-07-14 19:01:07 +03:00
Mihai Varga
9eedcb9dbe loleaflet: tiles preview container 2015-07-14 18:52:38 +03:00
Mihai Varga
101858f5a3 loleaflet: getPartPreview method for the slides sidebar
An ID is being added to the tile request to mark the tile as destined
for the preview. This ID is also return from the server
2015-07-14 18:40:08 +03:00
Mihai Varga
16e3d615fd loleaflet: preview container 2015-07-14 11:06:45 +03:00
Mihai Varga
449c0a387f loleaflet: check already visited tiles when prefetching
In order to avoid duplicate tiles
2015-07-13 20:06:30 +03:00
Mihai Varga
786432b984 loleaflet: renamed 'previous' to 'prev' 2015-07-13 19:16:46 +03:00
Mihai Varga
c23aa66e54 loleaflet: don't toggle buttons on click 2015-07-13 18:03:41 +03:00
Mihai Varga
3bd2e8f778 loleaflet: renamed toggleState to toggleCommandState 2015-07-13 18:03:41 +03:00
Henry Castro
bb3611399b loolwsd: Use fork but no execve 2015-07-13 10:13:06 -04:00
Mihai Varga
f6a9a8ce04 loleaflet: selection control for viewing modes 2015-07-13 16:01:18 +03:00
Mihai Varga
0d41a804eb loleaflet: enabled mouse selection in viewing mode
Mouse selection is enabled by by calling
map.enableSelection() which disables dragging and selection
can be disabled to re-enable dragging by calling
map.disableSelection()
The above only work for 'view' and 'readonly' mode
2015-07-13 15:53:02 +03:00
Mihai Varga
df0224964e loleaflet: enable selection in viewing mode by dblclicking a word 2015-07-13 10:24:40 +03:00
Mihai Varga
c881fd2f8f loleaflet: manually add controls in the html file 2015-07-10 18:01:19 +03:00
Mihai Varga
f24ea56603 loleaflet: updated the status indicator event 2015-07-10 16:51:50 +03:00
Mihai Varga
cd9433e192 loleaflet: setPart API for switching parts
Also added the 'updateparts' event which has the members:
currentPart and parts, indicating the current visible part
and the number of parts
2015-07-10 16:32:19 +03:00
Mihai Varga
761a1b320d loleaflet: toggleState API for bold, italic, etc
Also added the event 'statechanged' with members
unoCmd and state
2015-07-10 15:27:30 +03:00
Mihai Varga
9eea9a63c7 loleaflet: exposed the setPermission API: map.setPermission(perm)
Where perm can be: edit, view or readonly
This also replaces the editMode and readOnly flags
2015-07-10 12:28:56 +03:00
Mihai Varga
146afb7921 loleaflet: exposed the 'search' API: map.search() 2015-07-10 11:00:53 +03:00
Mihai Varga
e1c3426b6e loleaflet: keep prefetch borders if the view didn't change
Also, only prefetch tiles from a 5 tiles widte border. Not more because
it would freeze the UI
2015-07-10 09:25:32 +03:00
Mihai Varga
1cb3cfcc81 loleaflet: prefetch tiles around the current visible area
Tiles are prefetched from the border of the current visible area
and the border expands as the tiles are fetched. In the end covering
the whole document if left alone.
2015-07-10 09:04:03 +03:00
Mihai Varga
da568fc097 loleaflet: fixed short document panning in view mode 2015-07-09 15:09:25 +03:00
Mihai Varga
4e03f31276 loleaflet: start in readOnly mode option 2015-07-09 14:50:21 +03:00
Mihai Varga
1cea814fcb loleaflet: removed unnecessary event 2015-07-09 09:32:24 +03:00
Mihai Varga
607ea7b453 loleaflet: fixed isValidTile method and when tilecanceling occurs 2015-07-09 09:30:28 +03:00
Mihai Varga
ddaa3b49c1 loleaflet: restore focus to the document after toolbar interaction 2015-07-09 09:28:41 +03:00
Tor Lillqvist
5bf98749ba Use /opt/libreoffice5.0 to match LO 5.0 beta
Note that the LibreOffice version present on the build system, if any, has no
relation to the one the packaged binaries are supposed to run against. When
building RPM or Debian packages, we use the bundled copy of the LibreOfficeKit
headers we have here, and not ones from a LibreOffice source tree.
2015-07-08 18:03:27 +03:00
Mihai Varga
9321a7bb6d loleaflet: disable fade Animation as it still causes problems 2015-07-08 14:45:18 +03:00
Mihai Varga
f374079d1a loleaflet: toolbar control integration 2015-07-08 09:22:27 +03:00
Mihai Varga
104931362e loleaflet: toolbar buttons control 2015-07-08 09:21:26 +03:00
Mihai Varga
96fff483a6 loleaflet: breeze toolbar icons 2015-07-08 09:14:45 +03:00
Mihai Varga
6d2d8361b6 loolwsd: the third argument in postUnoCommand must be null not space 2015-07-08 09:09:58 +03:00
Mihai Varga
fea50859b9 loleaflet: send click event before doubleclick
Also, the click event is now fired instantly, previously we would've
waited 250ms to see if a dblclick occurs and we would cancel the first
2 clicks
2015-07-07 19:21:30 +03:00
Tor Lillqvist
8864d8432b Bump minor version in this branch 2015-07-07 18:32:55 +03:00
Mihai Varga
5a61cbce46 loleaflet: get the rest of the message for textSelectionContent
Because initially the message is split by the first new line
character
2015-07-07 18:14:53 +03:00
Tor Lillqvist
1c53caf59e Bump version after tarball 2015-07-07 17:50:12 +03:00
Tor Lillqvist
5c9967ae61 Bump version for tarball 2015-07-07 17:39:35 +03:00
Mihai Varga
1e27c29440 loleaflet: don't swap handles based on the cursor 2015-07-07 17:25:55 +03:00
Tor Lillqvist
d39fa21d64 Bump version after tarball 2015-07-07 12:49:52 +03:00
Tor Lillqvist
44074286a3 Bump version for tarball 2015-07-07 12:44:37 +03:00
Tor Lillqvist
b0f2b06fca Add the libnss* pathnames for Debian, too 2015-07-07 12:44:16 +03:00
Tor Lillqvist
de6eeb2645 Bump version after tarball 2015-07-07 11:13:33 +03:00
Tor Lillqvist
6e70c25daf Bump version for tarball 2015-07-07 10:58:10 +03:00
Tor Lillqvist
f76878de5b The file we produce based on this Makefile must depend on this Makefile 2015-07-07 10:57:58 +03:00
Tor Lillqvist
3f874060c4 Bump version after tarball 2015-07-07 10:47:28 +03:00
Tor Lillqvist
db73d12cf2 Bump version for tarball 2015-07-07 10:12:13 +03:00
Tor Lillqvist
e29c773879 Include loolwsd.service and sysconfig.loolwsd in the tarball
(Instead of having them as separate SOURCEn in the loolwsd.spec.)

Both are related to systemd. The latter probably is relevant only for
openSUSE. (And I actually couldn't get what I tried doing in it to work, see
739edf9dcf464f407dfe663fb2f497b866e73333.)
(cherry picked from commit f8b29d666d52a3f18b0125aaed309fa3e4d719fb)
2015-07-07 10:11:34 +03:00