Commit graph

740 commits

Author SHA1 Message Date
Henry Castro
54b1e1b612 loolwsd: set thread name to debug socket 2015-08-08 07:55:54 -04:00
Mihai Varga
898765d5a8 loleaflet: also set the status to 100% when all tiles are loaded 2015-08-07 11:26:20 +03:00
Mihai Varga
d68f69a2b6 loleaflet: request lok session when entering edit mode 2015-08-07 11:12:39 +03:00
Mihai Varga
2e92526038 loleaflet: fixed jslint errors 2015-08-07 09:57:45 +03:00
Mihai Varga
1254dbd0b1 loleaflet: updated README with alltilesloaded event 2015-08-07 09:50:50 +03:00
Mihai Varga
4836668c66 loleaflet: requestLOKSession event handler 2015-08-07 09:49:20 +03:00
Mihai Varga
50399b8dba loleaflet: fire 'alltilesloaded' as a statusindicator event
This is fired all the new (empty) tiles have been loaded.
This is not fire for prefetched tiles
2015-08-07 09:45:47 +03:00
Tor Lillqvist
25333f8f7c loolwsd.postinst has superseded the postinst file 2015-08-06 20:38:16 +03:00
Tor Lillqvist
5b5a5489d5 Set up a lool user, group and systemd service on Debian, too 2015-08-06 20:10:04 +03:00
Mihai Varga
d4f818522a 'requestloksession' message that starts a LOK process
Used to predict the user's interaction with the document and to
provide a better response time
2015-08-06 18:54:45 +03:00
Mihai Varga
843dab3476 loleaflet: dialog control 2015-08-06 18:07:38 +03:00
Mihai Varga
cd598cd106 loleaflet: always use text cursor except when dragging 2015-08-06 18:06:29 +03:00
Mihai Varga
1379326bcf loleaflet: on error fire 'error' events
Those events are now handled by a removable control
2015-08-06 17:41:56 +03:00
Mihai Varga
e0dda7b928 loleaflet: notify when the document is initialized 2015-08-06 17:04:00 +03:00
Mihai Varga
35a1ac1d86 loleaflet: rename the global map variable to avoid referencing it
To avoid mistakes like writing 'map.fire' instead of 'this._map.fire'
2015-08-06 16:53:43 +03:00
Mihai Varga
6a7d33cdb5 loleaflet: update scroll offset after dragging
The scroll offset is updated on the 'moveend' event which occurs
after the document has been released. But we don't want to update the
scroll offset when scrolling
2015-08-06 16:48:41 +03:00
Mihai Varga
2dcd083b64 loleaflet: cancel the current selection when switching parts
And only invalidate a part of the previous slide.
For example, when clicking a title in a slide, a rectangle is drawn
around it. We we switch slides, that rectangle should be gone and
clicking outside of the slide solves this
2015-08-06 16:12:08 +03:00
Henry Castro
ee928f9af1 loolwsd: create lokit process id logs
Also, when used with --test option, create lokit PID log
so it is attached to the debugger.

gdb loolwsd $(cat /tmp/lokit.pid)
2015-08-05 20:20:05 -04:00
Henry Castro
1c0153d5e0 loolwsd: ensure one child when debugging
when used with --test option:
./loolwsd --test --systemplate=${SYSTEMPLATE} --lotemplate=${MASTER}/instdir
--childroot=${ROOTFORJAILS}

ensure that one child is created and attach to it easily to debug lokit
messages
2015-08-05 20:05:30 -04:00
Henry Castro
0ec12fe11e loolwsd: fix child fork when debugging one child 2015-08-05 18:19:51 -04:00
Mihai Varga
9d957ccafb loleaflet: forgot 'this' keyword 2015-08-05 19:07:42 +03:00
Mihai Varga
c36bca17f5 loleaflet: request tiles closer to the cursor first 2015-08-05 17:51:30 +03:00
Jan Holesovsky
2d2fd83859 Document the timestamp= parameter in the protocol.txt. 2015-08-04 20:42:27 +02:00
Jan Holesovsky
527821597f Make the timestamps work also for non-file:// URLs. 2015-08-04 20:39:33 +02:00
Tor Lillqvist
47ee691084 Bump major.minor to 1.3 here in master 2015-08-04 20:58:07 +03:00
Tor Lillqvist
3b9514aa38 Bump major.minor to 1.3 here in master 2015-08-04 20:28:57 +03:00
Mihai Varga
8798600292 loleaflet: don't change the view if the cursor is not visible 2015-08-04 18:19:02 +03:00
Tor Lillqvist
13809cb5f3 Add crontab entry to remove old cached tiles
The same entry as Mihai used in the .spec file.
2015-08-04 17:44:14 +03:00
Mihai Varga
abd3f95a3d loleaflet: don't scroll to cursor on zoom
Also, scroll to cursor in viewing mode too when changing pages
2015-08-04 14:14:14 +03:00
Mihai Varga
c4511f1c21 loleaflet: enable page switching in toolbar 2015-08-04 13:59:33 +03:00
Mihai Varga
364d9f8053 loleaflet: don't emit the updateparts event for text docs 2015-08-04 13:59:16 +03:00
Mihai Varga
52baf44298 loleaflet: only send the timestamp when provided 2015-08-04 13:37:18 +03:00
Mihai Varga
840c87851b loleaflet: allow specifying the imagePath in the map init
imagePath is used to load images
2015-08-04 11:22:17 +03:00
Mihai Varga
305ddc4cc1 lolealfet: scrollOffset, scrollLeft, scrollTop methods
That scroll to an absolute value, and scrollOffset returns the
absloute offset relative to the beginning of the document
2015-08-04 11:09:10 +03:00
Mihai Varga
47a96e8dee loolwsd: remove cron job when uninstalling the rpm package 2015-08-04 10:09:47 +03:00
Henry Castro
85b0474deb loolwsd: remove time stamp query parameter
The original URI request with query parameters is processed by loKit.
2015-08-03 21:33:47 -04:00
Henry Castro
bcda896389 loleaflet: add time stamp query parameter 2015-08-03 21:25:34 -04:00
Mihai Varga
eff724bda7 loolwsd: fixed poorly placed cronjob 2015-08-03 22:01:11 +03:00
Mihai Varga
b0282a2a03 Revert "loolwsd: LRU expiry persistent cache"
This reverts commit 74dcec1d3f.
The cronjob replaces this
2015-08-03 21:51:55 +03:00
Mihai Varga
eceb977186 loolwsd: cron job to delete old tiles from rpm packages
place a cronjob file in /etc/cron.d/ which is removed when
the loolwsd rpm packages is uninstalled
2015-08-03 21:50:41 +03:00
Mihai Varga
b38d701b97 loleaflet: updated README to reflect new API 2015-08-03 19:19:38 +03:00
Mihai Varga
6eef93a288 loleaflet: send the updateparts message too 2015-08-03 19:08:06 +03:00
Mihai Varga
6812c6aa0b goToPage API
in loleaflet, this is achived by invalidating the cursor and centering
the viewing area around it
2015-08-03 19:07:02 +03:00
Mihai Varga
7aa7c59074 loleaflet: handle parts in Writer
In Writer a part is a page and we only get notified about the
current page in which the cursor is. Internally (invalidation and
caching) we work with a single part (0)
2015-08-03 17:39:45 +03:00
Mihai Varga
992f19e6e8 loolwsd: handle parts in Writer
In Writer a part is a page and we only notify the client about the
current page in which the cursor is. Internally (invalidation and
caching) we work with a single part (0)
2015-08-03 17:29:23 +03:00
Mihai Varga
6257081494 loleaflet: bump version after tarball 2015-08-03 10:15:09 +03:00
Mihai Varga
8e3cddb76b loleaflet: bump version before tarball 2015-08-03 10:14:47 +03:00
Mihai Varga
91c98a344e loolwsd: bump version after tarball 2015-08-03 10:14:19 +03:00
Mihai Varga
ac365f6d17 loolwsd: bump version before tarball 2015-08-03 10:13:07 +03:00
Mihai Varga
a205889e35 loleaflet: update version in master branch 2015-07-31 21:01:40 +03:00