Ashod Nakashian
|
9593ec5720
|
loolwsd: improved polling and pong with client
Change-Id: I17c4f7685d23b6e4c84a7f8b34fcb7dbcaf959f9
Reviewed-on: https://gerrit.libreoffice.org/21754
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-24 21:02:16 +00:00 |
|
Ashod Nakashian
|
55f2105f00
|
loolwsd: logging improvements
Change-Id: I77844a2b549c1f497c2d44f054169bf11d9227d8
Reviewed-on: https://gerrit.libreoffice.org/21752
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-24 21:00:34 +00:00 |
|
Jan Holesovsky
|
0c509e17c1
|
loolwsd: Fix /convert-to to handle filenames containing spaces.
|
2016-01-21 23:30:52 +01:00 |
|
Ashod Nakashian
|
dd374d8aec
|
loolwsd: disconnect command to gracefully shutdown a socket
Change-Id: I8beb4c14fc95bdb2a98c7e5da44408511bce5e28
Reviewed-on: https://gerrit.libreoffice.org/21683
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-21 16:05:55 +00:00 |
|
Ashod Nakashian
|
d310d3f3f5
|
loolwsd: proper ping handling by echoing
Change-Id: Ifc66ae1bc15d588d4613d87ab0fa19ec389b7615
Reviewed-on: https://gerrit.libreoffice.org/21682
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-21 16:04:26 +00:00 |
|
Ashod Nakashian
|
291b0aac67
|
loolwsd: don't ignore the last few bytes of a closed socket
Change-Id: Id6332857e49ccbacfa6e63b87a1ed570e9598147
Reviewed-on: https://gerrit.libreoffice.org/21680
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-21 16:03:29 +00:00 |
|
Ashod Nakashian
|
d2bde985cc
|
loolwsd: poll timeout of 500ms and handling priority events
Change-Id: Iadf449ee62700e1ac5da2be8c73c674657633808
Reviewed-on: https://gerrit.libreoffice.org/21679
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-21 16:02:04 +00:00 |
|
Ashod Nakashian
|
bccfd79d35
|
loolwsd: reset http request handler's thread name as it's reused
Change-Id: I62332e1d3018a7ff3cebe3982910792fa75d0c8f
Reviewed-on: https://gerrit.libreoffice.org/21676
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-21 15:45:30 +00:00 |
|
Ashod Nakashian
|
8e8e7c70c2
|
loolwsd: cleanup and correction of child signal handling
Change-Id: I8739e71a2180c970ba4b8eb3b1d4721ecf4268e9
Reviewed-on: https://gerrit.libreoffice.org/21670
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-21 15:42:24 +00:00 |
|
Pranav Kant
|
f429001ff9
|
loolwsd: Display version information on command line
Change-Id: Ie65c30574ca4cef619a224ec6df3501d6bda086a
Reviewed-on: https://gerrit.libreoffice.org/20847
Reviewed-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
2016-01-19 16:36:00 +00:00 |
|
Miklos Vajna
|
c8ea8bcacd
|
loolwsd: handle WS messages split into multiple frames
|
2016-01-18 16:54:22 +01:00 |
|
Miklos Vajna
|
3cbdd9e3bd
|
MasterProcessSession: capitalize static members
|
2016-01-18 09:43:49 +01:00 |
|
Miklos Vajna
|
1977f07d5c
|
paste: handle data containing newlines
By changing the protocol, so that instead of "paste ... data=<data>",
the client is now expected to send "paste ...\n<data>".
|
2016-01-15 14:43:59 +01:00 |
|
Miklos Vajna
|
de7823744e
|
loolwsd: fix naming style of LOOLWSD static members
|
2016-01-15 09:44:07 +01:00 |
|
Ashod Nakashian
|
3d803dd9b0
|
loolwsd: Document -> DocumentURI
Change-Id: I7e5989dbee368314a4db7c723439060f1064e844
Reviewed-on: https://gerrit.libreoffice.org/21469
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-14 13:39:43 +00:00 |
|
Ashod Nakashian
|
c2af36d0ef
|
loolwsd: simplified Connection
Change-Id: Ia7ff0d4b636513ce1b08641bb6db85c97ee5c2f9
Reviewed-on: https://gerrit.libreoffice.org/21468
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-14 13:38:45 +00:00 |
|
Jan Holesovsky
|
d20eaa3014
|
loolwsd: More protection when inserting image.
|
2016-01-13 16:51:36 +01:00 |
|
Jan Holesovsky
|
b47fe0bd0b
|
loolwsd: Fix inserting of images into files opened via http://
|
2016-01-13 16:51:36 +01:00 |
|
Ashod Nakashian
|
f577e48f18
|
loolwsd: child Session ID in URI
Change-Id: Ide04425fe29d17dd2db1aea532de421b8f0e3669
Reviewed-on: https://gerrit.libreoffice.org/21329
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-11 04:09:34 +00:00 |
|
Ashod Nakashian
|
5bf75f56ca
|
loolwsd: centralized signal handling and eased debugging
Change-Id: Ifdb3e2bca540bec3c6dea1ab24173c8ea0267706
Reviewed-on: https://gerrit.libreoffice.org/21325
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-11 04:06:56 +00:00 |
|
Ashod Nakashian
|
b2b983476c
|
loolwsd: more informative warnings
Change-Id: I8dba6d003bd5c0b3c16b3cd57c3737638ce56bd1
Reviewed-on: https://gerrit.libreoffice.org/21320
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-11 04:04:02 +00:00 |
|
Miklos Vajna
|
f0090d107c
|
loolwsd: -Werror,-Wshadow
|
2016-01-07 15:09:43 +01:00 |
|
Ashod Nakashian
|
a7556a7c1e
|
loolwsd: new Document class to manage the lifetime of a document
Change-Id: I8596d0f2514106e384bc6519ce05028753026678
Reviewed-on: https://gerrit.libreoffice.org/21184
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-07 05:57:25 +00:00 |
|
Ashod Nakashian
|
7f9485e318
|
loolwsd: jailId now static member
Change-Id: I7142038d421d642a3e9dfd3e1069c7401ec7db5c
Reviewed-on: https://gerrit.libreoffice.org/21183
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-07 05:56:25 +00:00 |
|
Ashod Nakashian
|
0b5bc5f244
|
loolwsd: random jailId dir created by WSD and renamed childId -> jailId
Change-Id: Ib5ce65c578c0c7fd3dbf81628906cd17728fb3ff
Reviewed-on: https://gerrit.libreoffice.org/21182
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-07 05:56:01 +00:00 |
|
Ashod Nakashian
|
b0cd3e5a46
|
loolwsd: spawn one broker and one only
Change-Id: I9ec23e7e9e9672e5e4e6d55b7a79e6db1f617e45
Reviewed-on: https://gerrit.libreoffice.org/21181
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-07 05:54:44 +00:00 |
|
Ashod Nakashian
|
900c344a7e
|
loolwsd: refactored JailedDocumentRoot path
Change-Id: Ibee16e6ebde0ae1945be53903a0b0bad4f3300ed
Reviewed-on: https://gerrit.libreoffice.org/21179
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-07 05:53:39 +00:00 |
|
Jan Holesovsky
|
28646c1a53
|
loolwsd: Answer the PING's with proper PONG's.
|
2016-01-06 17:19:21 +01:00 |
|
Ashod Nakashian
|
7bf3fe843a
|
loolwsd: more exception handling
Change-Id: I7ac694395e2c231565bd84a7cd7813498dba387f
Reviewed-on: https://gerrit.libreoffice.org/21163
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-06 14:30:46 +00:00 |
|
Ashod Nakashian
|
87d45ff333
|
loolwsd: don't timeout client socket
Change-Id: I22ca1834e22efbe01cc3e8cb78be5d0b2fbfcf4c
Reviewed-on: https://gerrit.libreoffice.org/21162
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-06 14:25:25 +00:00 |
|
Ashod Nakashian
|
f9cfdd9021
|
loolwsd: reuse QueueHandler
Change-Id: I90dd0cc1457604d85ec82c98af9a457f44968b0d
Reviewed-on: https://gerrit.libreoffice.org/21161
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-06 14:24:58 +00:00 |
|
Ashod Nakashian
|
ea1415de75
|
loolwsd: improved HTTP Request Handler
Change-Id: I1ad4359732c7b5ee9fc8743ebc60e1c94c304dcc
Reviewed-on: https://gerrit.libreoffice.org/21158
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-06 14:22:59 +00:00 |
|
Ashod Nakashian
|
c2c41ceb63
|
loolwsd: refactored HttpRequestHandler
Change-Id: Ie785d814aff1d28634c8933511c4a5a4a4f5cebc
Reviewed-on: https://gerrit.libreoffice.org/21156
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-06 14:21:53 +00:00 |
|
Ashod Nakashian
|
82c455ef94
|
loolwsd: dropCapability now works with --enable-debug
Change-Id: I1a852b0cb4fe0b08fcc00f2f7ab15eea3d36801b
Reviewed-on: https://gerrit.libreoffice.org/21133
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-05 19:30:02 +00:00 |
|
Ashod Nakashian
|
1bbc42351b
|
loolwsd: handle browser ping frames
Change-Id: I6f0074a3f8945b0ffe7a435d40f72f0ef4eae4b8
Reviewed-on: https://gerrit.libreoffice.org/21132
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-05 17:31:53 +00:00 |
|
Ashod Nakashian
|
80941b0b41
|
loolwsd: bccu#1394 childRoot dir should not be removed, only jails
Change-Id: Id2982728dd36a6a551707334293ecd600852f46f
Reviewed-on: https://gerrit.libreoffice.org/21097
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-05 01:13:46 +00:00 |
|
Ashod Nakashian
|
2104712b72
|
loolwsd: exception handling in wsd queue handler
Change-Id: I66f1990a20151c67346922273a98ecc5a91dc58f
Reviewed-on: https://gerrit.libreoffice.org/21096
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-05 01:13:11 +00:00 |
|
Ashod Nakashian
|
75c65af930
|
loolwsd: childId is now string
Change-Id: I7037c03d2b40ff88deed0619e8a34ce5434913a3
Reviewed-on: https://gerrit.libreoffice.org/21095
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-05 01:12:42 +00:00 |
|
Ashod Nakashian
|
eeb91f6335
|
loolwsd: send eof to disconnect
Change-Id: I02ec901fd75671a3f4bf6be54f08dfdf6d157837
Reviewed-on: https://gerrit.libreoffice.org/21063
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-03 15:23:03 +00:00 |
|
Ashod Nakashian
|
f48d61d25d
|
loolwsd: dropCapability moved to Capabilities.hpp
Change-Id: Id84d485b446040df1d5398341af2b0e8f300ed63
Reviewed-on: https://gerrit.libreoffice.org/21060
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-03 15:17:05 +00:00 |
|
Ashod Nakashian
|
0869cace37
|
loolwsd: consolidated TerminationFlag
Change-Id: Ic06b940f3b48888e4f398816e5ee45c0f49046e3
Reviewed-on: https://gerrit.libreoffice.org/21059
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2016-01-03 15:15:46 +00:00 |
|
Henry Castro
|
33a7f6adbb
|
loolwsd: close pipes
|
2015-12-29 20:59:17 -04:00 |
|
Henry Castro
|
f947b64483
|
loolwsd: renamed prefix "lool" process
We use prefix loolwsd, loolbroker and loolkit to easy grep process search.
Also, run_lok_main is not a thread, it is main loop process.
|
2015-12-29 00:39:25 -04:00 |
|
Ashod Nakashian
|
9e9e2f60ef
|
loolwsd: broker handles sigint and wsd removes childroot
Change-Id: Ie408bff7944ff0b9abfa8433b1e8ea6f62a9ab2c
Reviewed-on: https://gerrit.libreoffice.org/20999
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2015-12-28 23:39:13 +00:00 |
|
Ashod Nakashian
|
cf972fbed2
|
loolwsd: use full path when spawning loolkit
Change-Id: I9875fb7fbbc67915ed62785a3f3d1298a355f0a5
Reviewed-on: https://gerrit.libreoffice.org/20998
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2015-12-28 23:38:25 +00:00 |
|
Ashod Nakashian
|
88b76fe9d4
|
loolwsd: removed dead code
Variables and options lingering from previous iterations removed.
Standardizing static member names.
Header inclusion cleanups.
Change-Id: I65182ad4d100e0077f1b450be50cf95d7b8f0fc7
Reviewed-on: https://gerrit.libreoffice.org/20997
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2015-12-28 23:36:55 +00:00 |
|
Henry Castro
|
8410ceca2f
|
loolwsd: thread renamed to wsd_queue_handler
|
2015-12-28 16:51:39 -04:00 |
|
Ashod Nakashian
|
6b997c2abf
|
loolwsd: threadId -> sessionId in logs and identifiers
Change-Id: Ifbaea2fdded54da0d3528ae449efdbd7fe6d19c0
Reviewed-on: https://gerrit.libreoffice.org/20982
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2015-12-28 04:15:02 +00:00 |
|
Ashod Nakashian
|
3811abb40a
|
loolwsd: replaced threadId with globally unique sessionId
Change-Id: I55b16d4baa1753bc67dcd72de13e7a516da27abe
Reviewed-on: https://gerrit.libreoffice.org/20981
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2015-12-28 04:14:15 +00:00 |
|
Ashod Nakashian
|
b2d124af93
|
loolwsd: proper handling of non-default client port number
Change-Id: I388f0ce0252c5f7889e77c4d85b4cf21d4a222b6
Reviewed-on: https://gerrit.libreoffice.org/20979
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
|
2015-12-28 04:12:15 +00:00 |
|