Commit graph

3243 commits

Author SHA1 Message Date
Ashod Nakashian
7ae28d5642 loolstress: new option to replay without timing delays
Change-Id: Ic1f6c911f504128b7d1aa5e3ee2354e382b825c5
Reviewed-on: https://gerrit.libreoffice.org/27971
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:55:06 +00:00
Ashod Nakashian
045f0b6388 loleaflet: npm requirement and upgrade instructions added
Change-Id: Id769931cfef8c6c1cc291b12ed399484f6b19f97
Reviewed-on: https://gerrit.libreoffice.org/27972
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:54:06 +00:00
Ashod Nakashian
a3e9fc8139 loolstress: filter trace messages by regex config
Change-Id: I13483cd6614e5753a22408102c9cc310a587db2e
Reviewed-on: https://gerrit.libreoffice.org/27970
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:53:52 +00:00
Ashod Nakashian
f57964bd05 loolstress: outgoing trace recording controlled from config
Change-Id: I5788da96d4c2fecde818c6dde8ebfcd6ae206cec
Reviewed-on: https://gerrit.libreoffice.org/27969
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:53:19 +00:00
Ashod Nakashian
f9ec1bade3 loolstress: time-accurate replay
Change-Id: I1aff521f042c61916ef6ddfc50c2fe06c41b29ee
Reviewed-on: https://gerrit.libreoffice.org/27968
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:52:59 +00:00
Ashod Nakashian
7af51f51c4 loolstress: new Connection manager and event handler
Change-Id: Ifc921f7fcf298457a848da444c2d3830b9755603
Reviewed-on: https://gerrit.libreoffice.org/27967
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:52:35 +00:00
Ashod Nakashian
c304cbc95b loolstress: trace session ID and child pid
Change-Id: Iac6b3dadedfcdec91db21a5e90eb3827705281d4
Reviewed-on: https://gerrit.libreoffice.org/27966
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:51:59 +00:00
Ashod Nakashian
d5aa200471 loolstress: trace events
Change-Id: I1a38ab37dc5d276cdf5336fb04b0ad372804a00d
Reviewed-on: https://gerrit.libreoffice.org/27965
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:51:36 +00:00
Ashod Nakashian
ca9135e7a5 loolstress: add pid to trace file and parse it
Change-Id: I74569d5692291b4f3310b996d1cf49d5c951d0fc
Reviewed-on: https://gerrit.libreoffice.org/27964
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:51:11 +00:00
Ashod Nakashian
a750edd70d loolstress: replay trace file
Change-Id: I076ec4ff398cf22ca6916ad11afc9ecb75421ac1
Reviewed-on: https://gerrit.libreoffice.org/27963
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:50:38 +00:00
Ashod Nakashian
831a917977 loolstress: Parse trace file header and document URI
Change-Id: I659f9ec3d0cb9f1333d930d0b21c5b3afd115d32
Reviewed-on: https://gerrit.libreoffice.org/27962
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:50:18 +00:00
Ashod Nakashian
4f57e43fdc loolstress: load trace file records
Change-Id: Id0f76c1848863f5910d4492b2d37c6b18d1b3871
Reviewed-on: https://gerrit.libreoffice.org/27961
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:49:59 +00:00
Ashod Nakashian
4d7c2e4002 loolstress: parse trace file
Change-Id: I04964744a74d3a025e310d7ec52f5d1f5b6d100d
Reviewed-on: https://gerrit.libreoffice.org/27960
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:49:39 +00:00
Ashod Nakashian
b394ad89d8 loolstress: TraceFileReader class added
Change-Id: I81d508bb794ca56f647d0eb5b9dd27585100fe07
Reviewed-on: https://gerrit.libreoffice.org/27959
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:49:18 +00:00
Ashod Nakashian
d1e66718b5 loolstress: TraceFile -> TraceFileWriter
Change-Id: Icf22189170cfb57f014346c91ba99a9cae5fe18a
Reviewed-on: https://gerrit.libreoffice.org/27958
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:48:54 +00:00
Ashod Nakashian
a7c1a17f98 loolwsd: new LOOLStress utility to stress benchmark LOOL
Change-Id: Ic43f15f9bda4e08feb6df97caeb7cc40a7d24e23
Reviewed-on: https://gerrit.libreoffice.org/27957
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:48:35 +00:00
Ashod Nakashian
e3427aff34 loolwsd: when TDOC is not defined assume blank
Change-Id: Iaf8ee6a8dff8dc4d602e7622a288a43b3459fb92
Reviewed-on: https://gerrit.libreoffice.org/27956
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:48:12 +00:00
Ashod Nakashian
177802154d loolwsd: trace notifications and response messages
Change-Id: I45f69386762d69e2b3960eeb96e591d7c5843b0b
Reviewed-on: https://gerrit.libreoffice.org/27955
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:47:54 +00:00
Ashod Nakashian
026a22abc3 loolwsd: dump incoming commands
Change-Id: I3d77d0c645c0bdd7e9edfbc8d90d5df6cc1b927a
Reviewed-on: https://gerrit.libreoffice.org/27954
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:47:32 +00:00
Ashod Nakashian
8b9b328955 loolwsd: add support for dumping command trace
Change-Id: I4121ce74653d243149be09de46581cbe0aae0438
Reviewed-on: https://gerrit.libreoffice.org/27953
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:47:10 +00:00
Ashod Nakashian
df49c23d23 loolwsd: use getConfigValue
Change-Id: Iccd4ea16424cfb6b8977fc70fc4a39e8b97f0b40
Reviewed-on: https://gerrit.libreoffice.org/27952
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:46:34 +00:00
Ashod Nakashian
5b639c3a2d loolwsd: use log settings from the config XML
Change-Id: I0384d97b5411d3ff537b344e67f166daa65630c1
Reviewed-on: https://gerrit.libreoffice.org/27951
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:46:06 +00:00
Ashod Nakashian
f81aa9d2af loolwsd: setup signal handling first thing in main
Change-Id: I006dcb5816719bc220409050bf59dd530c46acfd
Reviewed-on: https://gerrit.libreoffice.org/27950
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:44:58 +00:00
Pranav Kant
3fdd2cb151 loleaflet: Handle 'viewcursorvisible' message 2016-08-07 21:39:54 +05:30
Pranav Kant
d307315f75 loleaflet: Ignore irrelevant view messages coming from server
View callbacks with viewid = 0 seems strange; it always lurks
around but is never attached to any view.

Also, view callbacks with viewid = our own viewid should not be
sent from the server, lets ignore them for now.
2016-08-07 21:39:54 +05:30
Pranav Kant
6ff4cd69f0 loleaflet: Handle 'invalidateviewcursor' and show colored cursors
... for different views based on view ids received from the
server.
2016-08-07 21:39:54 +05:30
Pranav Kant
0284235da1 loleaflet: Support for non-blinking colored cursors 2016-08-07 21:39:54 +05:30
Pranav Kant
726b213dcf loleaflet: Add viewId to color mapping; using colordata.hxx 2016-08-07 21:39:54 +05:30
Pranav Kant
8dd2987871 loleaflet: Store viewId of the view received in 'status:' command 2016-08-07 21:39:54 +05:30
Pranav Kant
d144d4ac47 loleaflet: Separate blinking-cursor property from cursor
... so that it is possibe to make cursor non-blinking whenever we
want. This will be used in subsequent commits for view cursors.
2016-08-07 21:39:54 +05:30
Henry Castro
77224486f2 loleaflet: add drag & drop Column/Row resize 2016-08-07 11:13:59 -04:00
Jan Holesovsky
2100dc8489 Update the .deb changelog, and allow passing params. 2016-08-05 18:39:32 +02:00
Jan Holesovsky
7e09bff7a5 Some more specfile tweaks. 2016-08-05 13:34:35 +02:00
Jan Holesovsky
5e91d6a15d Allow specifying a name suffix. 2016-08-05 01:32:14 +02:00
Henry Castro
3336af0804 loleaflet: add Column/Row cursor resize 2016-08-04 16:52:00 -04:00
Jan Holesovsky
d60a8848d2 Pull translations from Pootle.
(cherry picked from commit ed0861c9c00a20dd4f9c35725860a409f2e52a92)
2016-08-04 10:34:18 +02:00
Jan Holesovsky
3b3c8760c2 We are using large icons from the Breeze theme, update the Calc toolbar. 2016-08-04 10:03:16 +02:00
Jan Holesovsky
b7619f93d5 Remove unused images: we don't use small images any more.
It was a bad idea keeping them around, apparently they are confusing people...
2016-08-04 10:03:07 +02:00
Miklos Vajna
6c48dfdcf8 Png: avoid performing multiplication at int precision
When the result will be stored at size_t precision anyway.

Change-Id: Ic52904d853eb27972d545fea6e742bc9e0d48c3d
2016-08-04 09:48:38 +02:00
Pranav Kant
9f1070ded7 loolwsd: forward notification for LOK_CALLBACK_VIEW_CURSOR_VISIBLE too 2016-08-03 19:50:25 +05:30
Pranav Kant
1e26b2ea46 loolwsd: Add missing view callbacks to LOKitHelper 2016-08-03 19:07:34 +05:30
Pranav Kant
1350ac3ee9 loleaflet: Expose more global variables
'title' is accessed by loleaflet, so need to expose this too.
2016-08-03 18:27:23 +05:30
Pranav Kant
b99d51616c loleaflet: Update README for updating dependencies 2016-08-03 15:45:01 +05:30
Pranav Kant
5014cb8cc2 loleaflet: Bump jquery-contextmenu to 2.2.3
With current version, position of context menu is not set at
specified position. 2.2.3 fixes the issue.

Also udpate tarballs in node_shrinkwrap and dep. tree in
npm-shrinkwrap.json
2016-08-03 15:45:01 +05:30
Pranav Kant
484c664445 loleaflet: Shrinkwrap and shrinkpack; local dependencies tarballs
Using npm-shrinkwrap, we are locking in our dependency tree
completely, leaving no scope of being affected by any
regression in any of the dependencies. In other words, all of the
dependency tree is dumped in npm-shrinkwrap.json file.

Using shrinkpack, we are also committing these tarballs of
dependencies in node_shrinkwrap/, so that, we are not
depending on npm registry at all during our build process. Since these
are just tarballs, its also better space-wise than committing
node_modules/ per se.

Developers when want to update any dependency should bump the
version in package.json, and also commit the new copy of
tarballs in node_shrinkwrap/.

See: https://github.com/JamieMason/shrinkpack for more info.
2016-08-03 15:45:01 +05:30
Pranav Kant
ebacc6624a loleaflet: Bump jquery version to 2.2.4
Mainly because one of the dependency depends on it, so why have
two different versions of jquery in our dep tree.
2016-08-03 15:45:01 +05:30
Pranav Kant
38d574476b loleaflet: Remove unused dependencies
Commented out devDependencies; these are required for testing framework
inherited from upstream leaflet, but we do not have such tests as of
now for loleaflet.

Move them to devDependencies when need arises.
2016-08-03 15:45:01 +05:30
Pranav Kant
9ebb23aa77 loleaflet: Ununsed dependency
Can't find it being used anywhere.
2016-08-03 15:45:01 +05:30
Pranav Kant
51590125de loleaflet: Bump select2 version
We need https://github.com/select2/select2/issues/3287 which is
fixed in 4.0.1
2016-08-03 15:45:01 +05:30
Pranav Kant
0a7d6d7794 loleaflet: Remove unused files; bower config and publish scripts
This is only leaflet related, not needed in loleaflet.
2016-08-03 15:45:01 +05:30