Commit graph

562 commits

Author SHA1 Message Date
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
Tor Lillqvist
f1b4f72278 Adapt to the CP LO 5.0 beta1
(cherry picked from commit 9be670309fd107d29c4c54c58d2927968d777745)
2015-07-07 10:11:03 +03:00
Tor Lillqvist
baeeb92d1c Add cap_mknod here, too 2015-07-07 09:57:43 +03:00
Jan Holesovsky
767d6a0a32 Create /dev/*random in the chroot so that ssl works.
Also add the missing library to the systemplate.
2015-07-06 19:35:50 +02:00
Henry Castro
e50e302839 loolwsd: Handle file URI schema
In the file:// case, if it is on linux, hard link function is used
and copy only if hard link fails.
2015-07-04 20:46:13 -04:00
Henry Castro
d788fa92e9 loolwsd: let libreoffice handle http protocol 2015-07-03 10:04:24 -04:00
Mihai Varga
6b52fe1436 Set opacity to 1 when replacing a tile 2015-07-03 16:53:20 +03:00
Tor Lillqvist
f4da368a52 Add a FIXME, found by looking, no time to investigate 2015-07-02 16:26:09 +03:00
Mihai Varga
1465f96938 Updated control description 2015-07-02 10:26:29 +03:00
Mihai Varga
d24d8bdc08 Switch viewMode->editMode by clicking in the document 2015-07-01 17:44:03 +03:00
Mihai Varga
a28c688a54 Fix some keys on chrome + preventDefault for tab 2015-07-01 12:27:21 +03:00
Mihai Varga
f312736e18 Skip fadeAnimation rather than disabling it
Disabling it might cancel currently fading in tiles
e.g. when scrolling we want fadeAnimation but if a tile invalidation
occurs that would completly disble fadeAnimation and new tiles requested
by scrolling will not load
2015-07-01 11:13:14 +03:00
Mihai Varga
d0586f9267 Maintain an invalidation count for each tile
Count how many times a tile has been invalidated.
For each inalidation increase the counter and for each arrival
of the new tile decrease it.
Only cache tiles with the invalidation count equal to 0 because
when zooming, we might cancel previous requests and the tiles in the
old zoom layer are no longer valid
2015-07-01 10:47:05 +03:00
Mihai Varga
d45a967e8d Disable animFade when zooming + cache tiles from other zoom levels 2015-06-30 20:23:07 +03:00
Mihai Varga
fca2f030fe Just mention that this will be the future toolbar 2015-06-30 15:05:32 +03:00
Mihai Varga
842c50d163 Update cursor on zoomend 2015-06-30 12:56:47 +03:00
Mihai Varga
d0f420bc81 Added a set of keys that need to be handled on the keydown event 2015-06-30 11:34:24 +03:00
Mihai Varga
1714df5f9e Scroll to cursor position if it's out of the viewing area 2015-06-29 19:02:58 +03:00
Mihai Varga
1acd0ab78d Ignore scroll event when zooming
That event is fired because of container resize.
This time I've added a method that resets the ignoreScroll flag
after 200ms if it's not reseted until then.
2015-06-29 18:42:20 +03:00
Mihai Varga
5ccda335ef Start in edit mode by specifying it in the URL
http://.../host=host_address&file_path=file_path&edit=true
2015-06-29 16:43:47 +03:00
Mihai Varga
cfa8912063 Start loleaflet in viewing mode 2015-06-29 15:54:25 +03:00
Mihai Varga
96aa6e2048 Restore focus to textArea after dragging handle 2015-06-29 15:17:43 +03:00
Mihai Varga
2e5e63724e Restored tile cache and removed invalid tiles from it 2015-06-29 12:45:14 +03:00
Mihai Varga
0c1a0b1b12 Fix firefox backspace after handling it for chrome 2015-06-29 12:14:26 +03:00
Mihai Varga
bed964c00d Fix backspace input on chrome 2015-06-29 11:37:02 +03:00
Mihai Varga
a32278cb2b Don't send 2 clicks before sending dblclick
Mouse events are now put in a queue. If within 250ms from the first
click arrives another, it's a double click, the previos and the current
clicks are canceled and a dblclick command is sent instead.
2015-06-29 10:54:32 +03:00
Henry Castro
ec2de8f46e loleaflet: Disable mouse when dragging text. 2015-06-29 00:27:00 -04:00
Henry Castro
fa3b208b7f loleaflet: Selecting table does not reset handler. 2015-06-29 00:18:04 -04:00
Henry Castro
d25ed90b1e loleaflet: Disable mouse when dragging image. 2015-06-27 19:38:31 -04:00
Jan Holesovsky
551672c08d Further tweaks to the cursor position. 2015-06-27 00:07:35 +02:00
Henry Castro
acfad75fc9 loleaflet: Fix cursor visible when changing part. 2015-06-26 15:38:58 -04:00
Mihai Varga
fe4ff86335 Temporarily disable client cache
Until we invalidate tiles from all zoom levels
2015-06-26 19:29:02 +03:00
Mihai Varga
9a3e71bad8 Keyboard input is handled in a hidden textarea
We now have a hidden text area where the user's input actually goes,
but it also fires events that are caught by leaflet and are sent
to the server
2015-06-26 19:20:21 +03:00
Mihai Varga
bee60c69e8 Move the cursor to the left by half its size 2015-06-26 14:34:18 +03:00
Mihai Varga
e901c6fe34 Set marker not clickable during mouse selection 2015-06-26 12:43:57 +03:00
Mihai Varga
56418272ca Fixed keyCode on chrome 2015-06-26 12:04:04 +03:00
Mihai Varga
3dffe1ed62 This should handle doc resize caused by page deletion 2015-06-26 10:11:57 +03:00
Henry Castro
38133c7886 loleaflet: Swap selection handler.
In order to get continuous selection, the handlers are swapped if the
distance from cursor to handlers cross over.
2015-06-25 23:29:58 -04:00
Henry Castro
392a4bbb85 loleaflet: Reset drag flag when no selection. 2015-06-25 20:36:53 -04:00
Henry Castro
48d7af6378 loleaflet: Avoid mouse click on blinking cursor. 2015-06-25 16:37:57 -04:00
Jan Holesovsky
be6b89d1aa More tweaks wrt. cursor blinking. 2015-06-25 18:31:33 +02:00
Mihai Varga
32d6f4fc5f Detect document size changes 2015-06-25 19:24:57 +03:00
Henry Castro
fa89bbd55b loleaflet: Set cursor blinking linear 2015-06-25 12:15:38 -04:00
Jan Holesovsky
fbcbc462d6 One more place where we need to adapt to the new payload format. 2015-06-25 17:35:33 +02:00