Commit graph

707 commits

Author SHA1 Message Date
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
Mihai Varga
f2a950d885 loleaflet: handle the case when prefetching starts from the last part 2015-07-31 17:34:24 +03:00
Mihai Varga
99089a9dd3 loleaflet: don't create img object for prefetched tiles from other parts
Instead, add an extra parameter to the 'tile' command (prefetch=true)
to know to cache it when it arrives on the client
2015-07-30 15:11:00 +03:00
Mihai Varga
71750599bd loleaflet: prefetch all tiles from other parts
not only those outside of the visible area
2015-07-30 14:41:22 +03:00
Mihai Varga
9339004176 loleaflet: no rectangle around toolbar buttons 2015-07-29 18:07:50 +03:00
Mihai Varga
f3d5b7c09c loleaflet: UI tweaks 2015-07-29 17:02:32 +03:00
Mihai Varga
4ae546d7bd loolwsd: don't move editing tiles to persistent on saveAs 2015-07-29 16:58:43 +03:00
Mihai Varga
a6091f9f6b loolwsd: don't decode the url in the saveAs command 2015-07-29 11:39:35 +03:00
Mihai Varga
932ffaad68 loleaflet: delete invalid tiles outside of the visible area 2015-07-28 12:32:49 +03:00
Mihai Varga
f36431571e loleaflet: start prefetching after 5s of inactivity
After 5s of inactivity request new tiles every 0.75s
2015-07-28 10:31:51 +03:00
Mihai Varga
1f88357aa8 loleaflet: tilebench - replay an editing session
Sends recorded key input commands to the server over a period
about 20 seconds and then requests and empty tile so that the
'alltilesloaded' event is fired in the end, letting us know that the
editing session finished.
2015-07-27 17:53:18 +03:00
Mihai Varga
88f32c61be loleaflet: log method accepts a timestamp parameter
This will be used for tests, to add timestamps to tile requests
2015-07-27 17:51:45 +03:00
Mihai Varga
8d2afb39df loleaflet: update max bounds when the document has a new size 2015-07-27 12:34:11 +03:00
Mihai Varga
04be35fa39 loleaflet: prefetch tiles when all empty tiles have loaded 2015-07-27 12:26:08 +03:00
Mihai Varga
746c3cb747 loleaflet: updated the test to work with the new scrollbar control 2015-07-27 10:34:07 +03:00
Henry Castro
74dcec1d3f loolwsd: LRU expiry persistent cache
When tile requests from the cache, update time stamp file
so LRU tiles are removed.
2015-07-25 20:12:07 -04:00
Henry Castro
ec094f1601 loolwsd: remove _pendingPreSpawnedChildren.
_pendingPreSpawnedChildren is no longer need it, because
fork() is used.
Also adjusted time sleep to 1 second.
2015-07-24 15:17:46 -04:00
Henry Castro
6dafcc753f loolwsd: process sleep for amount of time ...
specified by MAINTENANCE_INTERVAL
2015-07-24 14:10:24 -04:00
Henry Castro
e107fa662c loolwsd: update loolstat display processes utility 2015-07-24 13:54:35 -04:00
Mihai Varga
53f51a8650 loleaflet: dynamically create the parts preview and tabs divs 2015-07-24 18:13:58 +03:00
Mihai Varga
4f62d67b80 loleaflet: keyboard navigation now also fires 'scrollby' event 2015-07-24 17:17:49 +03:00
Mihai Varga
eca15f7c17 loleaflet: scroll API and event description in README 2015-07-24 16:04:38 +03:00
Mihai Varga
36ccbd84fb loleaflet: scroll by 1/4 of the view size 2015-07-24 16:04:38 +03:00
Mihai Varga
d7019a0a79 loleaflet: reverse mouse wheel delta sign
So that a positive value would scroll down
2015-07-24 16:04:38 +03:00
Mihai Varga
bfa5eda503 loleaflet: renamed handler so we can later have a 'scroll' method 2015-07-24 16:04:38 +03:00
Mihai Varga
e7fc840c9e loleaflet: mouse scroll is now triggered on the map div
Not on the document scrollbar container as before
2015-07-24 16:04:38 +03:00
Mihai Varga
d33f71d32d loleaflet: renamed Map.ScrollWheelZoom to Map.Scroll 2015-07-24 16:04:38 +03:00
Mihai Varga
9b097f376d loleaflet: add the scrollbars as a control to be easily removed 2015-07-24 16:04:38 +03:00
Tor Lillqvist
bbd5e54785 Let's try to have a bit saner dependencies
Surely loolwsd shouldn't depend on dev packages. And libpng12 gets included
automatically.
2015-07-24 14:31:46 +03:00
Tor Lillqvist
5bee6f71a2 Add more synthetic dependencies per customer wish
Not sure why they want to depend on those dev packages!?
2015-07-24 14:03:53 +03:00
Mihai Varga
75155481ac loleaflet: dynamically create the clipboard div 2015-07-23 17:17:56 +03:00
Mihai Varga
1609139908 loleaflet: removed console.log call 2015-07-23 16:55:38 +03:00
Mihai Varga
5f368efc32 loleaflet: test if loading a document and scrolling works
To run the test, open tilebench.html in a browser
2015-07-23 16:53:56 +03:00
Mihai Varga
d055317175 loleaflet: notify when all empty tiles have loaded
Will be used for testing
2015-07-23 15:45:08 +03:00