Commit graph

661 commits

Author SHA1 Message Date
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
Mihai Varga
929cf9e061 loleaflet: disabled prefetching in editing mode
Because the server discards requests that are already in the queue so
we can no longer keep track of the number of requested/received tiles.
This count was used to determine if the user is idle (not editing) so
we can prefetch tiles in the meanwhile
2015-07-22 18:17:38 +03:00
Mihai Varga
b083470901 loleaflet: set calc sheet names in tabs 2015-07-22 15:26:19 +03:00
Mihai Varga
e29d7c8468 loolwsd: save the whole status not only the fst line 2015-07-22 15:09:14 +03:00
Mihai Varga
379072c0aa loleaflet: parse the whole message if it's not a tile
Some messages might have new line characters
2015-07-22 15:08:11 +03:00
Mihai Varga
287ad122d7 loleaflet: fixed paragraph alignment commands 2015-07-22 10:48:31 +03:00
Mihai Varga
0492094b4e loleaflet: notify the server about the current part
We need this because we want to prefetch tiles from other parts too.
In order to render a tile we need to call 'setPart' and then 'paintTile'
so this might change the current part in the document.
But when the user is editing/selecting we want to work on the part that
he/she is viewing
2015-07-21 19:07:00 +03:00
Mihai Varga
b9884a470a loolwsd: be aware of the client's current part
And set lok's part to match the client's when they start editing or
selecting
2015-07-21 16:56:02 +03:00
Mihai Varga
c9fff5d8e3 loolwsd: updated tileCache::invalidateTiles 2015-07-21 14:53:53 +03:00
Mihai Varga
d89631a826 loleaflet: fixed uno commands for paragraph alignment 2015-07-21 11:21:10 +03:00
Mihai Varga
8f48dabf28 loolwsd: discard requests that are in the queue already 2015-07-21 11:08:36 +03:00
Mihai Varga
47790d9d5d loolwsd: use the new invalidate x y widht height command 2015-07-21 11:08:36 +03:00
Mihai Varga
596ee77d5a loleaflet: use the new invalidate x y widht height command 2015-07-21 11:08:36 +03:00
Mihai Varga
7fe1c2707f loleaflet: notify when the connection dropped 2015-07-21 11:08:36 +03:00
Tor Lillqvist
fe8ef16827 Minor update to match facts better 2015-07-20 22:19:20 +03:00
Mihai Varga
19d6dec3f7 loolwsd: log timestamp in microseconds
Also, separate messages by comma so we can parse them easily
2015-07-20 12:54:08 +03:00
Henry Castro
c54ea4cd54 loolwsd: added shell script loolstat
loolstat. display a tree of processes and report total
number processes and threads.
2015-07-19 19:34:18 -04:00
Henry Castro
de3d97d5a4 loolwsd: create PID log file.
The PID log file is used by external utilities
to report processes, threads, etc.
2015-07-19 16:49:11 -04:00
Henry Castro
6e5df9acda loolwsd: systemplate added tmp dir
tmp directory is necessary when uses the valgrind tool
2015-07-18 14:28:12 -04:00
Henry Castro
66756a77a9 loolwsd: change named mutex to private static. 2015-07-18 12:35:16 -04:00
Henry Castro
161e5534ec loolwsd: mutex lock when loKit initialization. 2015-07-17 21:54:26 -04:00
Henry Castro
63a33b39f6 loolwsd: moved server socket to main function. 2015-07-17 17:55:57 -04:00
Henry Castro
404b5edbc9 loolwsd: FileTransferHandler no longer need it. 2015-07-17 16:55:49 -04:00
Henry Castro
99ca81a944 loolwsd: move server socket to parent process 2015-07-17 14:04:40 -04:00
Mihai Varga
f0f88381ca loleaflet: prefetching from other parts causes too much invalidation 2015-07-17 12:59:00 +03:00
Mihai Varga
5aff27e3ce loleaflet: code to prefetch tiles from other parts 2015-07-17 12:59:00 +03:00
Mihai Varga
369993b6ca loleaflet: don't invalidate tiles from other parts 2015-07-17 12:59:00 +03:00
Henry Castro
061a2bfc3d loolwsd: rework child monitor status. 2015-07-16 18:05:28 -04:00
Mihai Varga
4ceab5f095 loleaflet: fixed js errors detected by lint 2015-07-16 18:18:30 +03:00
Mihai Varga
8d22cb3089 loleaflet: moved 'rectanglesToPolygons' method to PolyUtils 2015-07-16 17:47:40 +03:00
Mihai Varga
b159241e77 loleaflet: the cursor now has the same width (2px) 2015-07-16 17:33:18 +03:00
Mihai Varga
fe06836afb loleaflet: prefetch fewer tiles in while editing 2015-07-16 16:51:44 +03:00
Mihai Varga
e8eedf3f25 loleaflet: moved mouse handler from TileLayer.js -> Map.Mouse.js 2015-07-16 16:15:30 +03:00
Mihai Varga
11063ea843 loleaflet: moved keyboard handler from TileLayer.js -> Map.Keyboard.js 2015-07-16 15:23:42 +03:00
Mihai Varga
71ff6dca64 loleaflet: log server - client communication 2015-07-16 14:02:49 +03:00
Mihai Varga
51592a4c53 loleaflet: log utility
It's used to log communication between the server and the client
It can print or download a csv formated file
2015-07-16 13:55:53 +03:00
Mihai Varga
d5f9250bd8 loleaflet: sendMessage method to replace map.socket.send 2015-07-16 13:20:11 +03:00
Mihai Varga
606ef3679e loleaflet: saveas icon and dialog 2015-07-16 12:51:07 +03:00
Mihai Varga
1c16fd89f3 loleaflet: saveAs API 2015-07-16 12:51:07 +03:00
Mihai Varga
5085fd4e0c loolwsd: move tiles to persistent folder on save 2015-07-16 12:51:07 +03:00
Mihai Varga
2ebe9f1be1 loolwsd: format and options in 'saveas' are optional 2015-07-16 12:51:07 +03:00
Mihai Varga
c335bda364 loleaflet: use vex dialog alert 2015-07-16 12:51:07 +03:00
Mihai Varga
6a68d35502 loleaflet: added vex dialog release 2.3.2
Github page: https://github.com/HubSpot/vex
MIT license: https://github.com/HubSpot/vex/blob/master/LICENSE
2015-07-16 12:51:07 +03:00
Mihai Varga
9c5cb3a140 loleaflet: added the document API in README 2015-07-16 12:51:07 +03:00
Mihai Varga
d7158497d5 loleaflet: save button 2015-07-16 12:51:07 +03:00
Henry Castro
fd5b676b2d loolwsd: set RTLD_NOW, all undefined symbols in
the library are resolved before dlopen() returns.
Also remove unnecessary commented code.
2015-07-15 20:57:39 -04:00
Mihai Varga
370109c6e4 loleaflet: parse and send part names from the status cmd 2015-07-15 18:49:32 +03:00