Tor Lillqvist
b7de2865dc
Fix warning: private field '_isSSL' is not used [-Werror,-Wunused-private-field]
...
Change-Id: Iddf8ac7f0afa85559b03b980a558d9a4fd058473
2018-06-01 16:42:37 +03:00
Jan Holesovsky
93cc4b4548
Use std::shared_ptr consistently.
...
Change-Id: I6bf3ff7de47010fd78fab26a5a318bde21c1f153
2018-05-18 15:16:40 +02:00
Jan Holesovsky
82f2f2711b
websocketdump: Read the port and ssl support from the config.
...
Change-Id: Ifc4566d5e1f2cdba1fd4bd7d53b359d81604083b
2018-05-18 15:16:40 +02:00
Michael Meeks
5a94614217
Enable SSL in outbound, client websockets ...
...
Switch SSL context creation to be generic rather than pure server.
Change-Id: I1b750b4ddc8c607381f5541a4f4412fa16e457d4
2018-05-18 15:16:39 +02:00
Michael Meeks
9e7dff79f3
re-factor socket factories to take a client parameter.
...
Change-Id: I0be98eb583b4f8081dd8ad23e688e93c55220367
2018-05-18 15:16:39 +02:00
Michael Meeks
80a13a1e7b
More work on client / Monitor websocket connections.
...
Change-Id: Ic70fe522e24f2b1863c2d9d1dd6941785510758a
2018-05-18 15:16:39 +02:00
Michael Meeks
b483f477dd
Allow a 'monitor' to be connected to remotely if configured.
...
So far monitors have the access an permissions of an
authenticated admin.
Change-Id: I59dfa8a646a60584a5c113ee0521e9afba4f6b76
2018-05-18 15:16:39 +02:00
Andras Timar
e2bc253bd9
loolconvert: print help if no args
...
Change-Id: I8f93e61fa73a17132842f8786557f81d049393a6
Reviewed-on: https://gerrit.libreoffice.org/54026
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-05-09 15:27:38 +02:00
Andras Timar
8481602061
rename looltool to loolconvert
...
Change-Id: I9e87c4a142bf63a8a7494861457660ab243e0924
Reviewed-on: https://gerrit.libreoffice.org/54025
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-05-09 15:25:38 +02:00
Michael Meeks
f68d54e02a
Initial websocket test tool for remote admin connections.
...
Change-Id: I8be2068bf7d77c70720a044556d11f5fc80b2f0c
2018-04-17 16:50:48 +01:00
Marco Cecchetti
89f37b5dd5
calc: drop down button marker
...
Change-Id: Ic069ad40e6749f43709760e7f4f0d96b39d5a4ce
Reviewed-on: https://gerrit.libreoffice.org/51598
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2018-04-03 21:42:27 +02:00
Aron Budea
c20c51d8a5
Fix unused-result warning.
...
Change-Id: I31fa4edd68e8a5ba973c159599e71e74406b8e6e
Reviewed-on: https://gerrit.libreoffice.org/51947
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-03-28 10:16:29 +02:00
Jan Holesovsky
3304e90935
The return value of system() shouldn't be ignored.
...
Change-Id: I7422bfb3997c205333a8558884c65f2ff3795e38
2018-03-28 09:30:27 +02:00
Jan Holesovsky
aaf76a13ba
loolconfig: Create a shortcut for running the systemplate update.
...
Change-Id: I082cf6e3f560a9c1880f0680ad4d2876d055dbc4
Reviewed-on: https://gerrit.libreoffice.org/51315
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-03-26 23:13:33 +02:00
Miklos Vajna
0f4da16aec
Fix -Werror=switch warning
...
Change-Id: I9542ec33df7a2c141055264cb09dc58cb3ad7593
2018-03-21 11:05:13 +01:00
Pranav Kant
463fc60440
loolconfig: set-raw-config -> set
...
Change-Id: I7821bcf7bf8a6b8247e824d18b1d9f29b8db8851
2018-02-13 12:33:01 +05:30
Miklos Vajna
9733e0f7ff
tools: spell out non-trivial autos to improve readability
...
Change-Id: I8b462c5e6ae96fb8daf2abd1ed3756a796cdd434
2018-02-07 10:18:12 +01:00
Pranav Kant
f942e5a29e
loolconfig: Allow changing loolwsd.xml
...
eg: `loolconfig set-raw-config admin_console.password admin`
And while at it, stop processing all the arguments given to the command.
Regard the first argument (without any "--") as command and let the
specific-command handling routine handle the remaining arguments the way
it wants.
Change-Id: I6cc406c56701dba2b99e0a3c4a98c505df70ee60
2018-01-26 18:34:17 +05:30
Michael Meeks
9af34dd15c
loolmap: configurable width for hex dumping.
...
Change-Id: Id53426b84362a8a34bcbb116c6567d9264241b3c
2018-01-09 11:47:28 +00:00
Michael Meeks
8ec2738095
loolmap: re-work string dumping and scan for C strings.
...
Change-Id: I32b496cb83538477be8088285868bbb3236b146a
2018-01-09 11:19:27 +00:00
Pranav Kant
1353408999
loplugin:includeform
...
Some files weren't rewritten from the last run.
Change-Id: I8c5beadaf2cf9b367158abe6f0a5460fa3054521
2017-12-21 20:09:03 +05:30
Pranav Kant
9cbef14160
loplugin:nullptr
...
Change-Id: I5f0dc970e8522b63570faa0ba05ab19dd0f45d5a
2017-12-20 22:36:41 +05:30
Pranav Kant
f63858433b
loplugin:includeform
...
Change-Id: Ib62a7aa61062f00698aa3e8a144438de5c57e53d
2017-12-20 21:21:05 +05:30
Michael Meeks
864b07f5b3
Annotate string pointers in hex dumps to make sense of memory.
...
Change-Id: I7934ccf379dbca9862ddb911865aaeff692261bf
2017-12-15 22:45:04 +00:00
Michael Meeks
453637e8a1
loolmap: fix assert on zero parent pages.
...
Change-Id: Ieeac3e5fc3746e4089d8688e96bb9dcb59ee17c5
2017-12-12 12:04:19 +00:00
Michael Meeks
44600de7c7
loolmap: implement a simple string scan and dump function.
...
Change-Id: I056f764c99f977a0178105511dfd5406ea6dbfa5
2017-12-11 21:53:40 +00:00
Michael Meeks
7dcd2ddd90
loolmap: share some /proc opening pieces.
...
Change-Id: I2d8b6eeec4afad52f74153c3d7ac904dfcb5db8f
2017-12-11 21:53:40 +00:00
Michael Meeks
50cdc16884
loolmap: store address space mappings.
...
Change-Id: I30b61ed8407996923f07368263bc8b773dfdc061
2017-12-11 21:53:40 +00:00
Miklos Vajna
a597fa9a47
loolmap: clean up dead assignment
...
style gets re-assigned on all paths below.
Change-Id: I4164f745c00e39b82410820cffe4682c079fd741
Reviewed-on: https://gerrit.libreoffice.org/46211
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2017-12-11 09:49:51 +01:00
Michael Meeks
73327ce2ec
loolmap: more cleanup print more metrics.
...
Change-Id: Ie6d82222a5d8960a317ea22d0628e6250330bbc7
2017-12-04 21:55:14 +00:00
Pranav Kant
849eb0d500
lokdialog: Adapt to LOK dialog API changes
...
Change-Id: I653304e71573eb253e09a72bc87d54b8554ba7ff
2017-12-04 22:13:50 +05:30
Pranav Kant
99a7f1f992
Fix build; no operator== on std::stringstream
...
I guess we wanted to match strings there.
Change-Id: I5b76435144ce931718cc758963e79de7d0f5a9ea
2017-12-04 19:04:25 +05:30
Michael Meeks
886a8a7ab8
loolmap - improve page annotation, and page diffs, count dirty bytes.
...
Change-Id: Iaaae8fca2bdd11961682d6f8dafa38e4ca51c44c
2017-12-01 17:39:28 +00:00
Michael Meeks
26876e6165
loolmap - read the parent's page data for unshared pages too.
...
Change-Id: I23bb319fa4694638efc82c7af86224d2e041160c
2017-11-30 13:33:25 +00:00
Michael Meeks
0778b72697
Dump hex contents of un-shared memory.
...
Change-Id: I47dfa8a0b48d0ba34b7462301b83e2721617814d
2017-11-29 03:33:16 +00:00
Michael Meeks
16898cbffc
RLE compress sharing bitmap for display.
...
Change-Id: Ib47e2ceb481c0a9b4c36fc6f5304bf03acec128b
2017-11-29 02:38:33 +00:00
Michael Meeks
65f3d658cb
Collect anonymous and file backed mappings too.
...
Change-Id: I7bf23917436bdffb483b288414409ccc53ed540c
2017-11-28 18:46:09 +00:00
Michael Meeks
2fb4521a9c
Dump unshared heap memory ascii-art map by page..
...
Change-Id: I21ef386958e651b53b4d8eef434958a20adcbe68
2017-11-28 18:08:26 +00:00
Michael Meeks
5540fc0b7f
Cleanup, memory map dumper, add <pid> mode, and collect heap pages.
...
Change-Id: I14e428b96c591e84ec9f50f0a75782c97660944b
2017-11-28 17:27:34 +00:00
Miklos Vajna
bb7ac21d44
Make sure that loop index type is never narrower than the length type
...
Change-Id: I19aac80850c0371085ca6364412d5ac9207220d0
2017-11-06 09:14:38 +01:00
Tor Lillqvist
a0b82c9fdb
Avoid warning: ‘%s’ directive output may be truncated writing up to 255 bytes
...
... into a region of size 58
Change-Id: I725c537ed21553e9dc34ba006a39917e1549b6a7
2017-10-26 12:03:38 +03:00
Miklos Vajna
409be28c8b
Config: avoid redundant string initialization
...
Change-Id: Ia90aae804c3656f54e8f36ca5ef1fd52a99e05c9
2017-10-17 09:04:04 +02:00
Andras Timar
11ad1b4ab9
loolconfig: don't show option for set-support-key, it it's not compiled in
...
Change-Id: Ie3baeee860e5ef0a797a3061373e266f40b41809
2017-10-12 21:40:55 +02:00
Jan Holesovsky
783e3552c0
Support key logic in loolws + improvements in loolconfig.
...
To be able to set the support key directly from the command line, and to show
the option, etc.
Change-Id: Iac93bc47a6f4b9d5a5ad0ac8b06bda978e01b760
Reviewed-on: https://gerrit.libreoffice.org/43098
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2017-10-06 11:37:18 +02:00
Michael Meeks
79053911fc
Support key logic and verification.
...
Change-Id: Ie55150b99df3e80239236571af185502196ad3e9
Reviewed-on: https://gerrit.libreoffice.org/43097
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 56385cb8ac2a57af4eb70bc8bc7313a9299533c3)
Reviewed-on: https://gerrit.libreoffice.org/43099
2017-10-03 21:52:45 +02:00
Pranav Kant
55de8e6c1b
lokdialog: Add dialog related callbacks
...
Change-Id: I5dc54c4bdbaf066b3b089a00fbc89b943e73caae
2017-10-02 15:40:23 +05:30
Pranav Kant
67bf4dc212
loolconfig: print help information from option set
...
Change-Id: Ifbc5ca72d17444b8fdefb7093744cbead1922a31
2017-08-31 09:24:44 +05:30
Pranav Kant
08efd75e31
wsd: fix incorrect password hash format written to config file
...
Regression from 9a75040bf0
Change-Id: I82cd3db17a18702a046973cfe863fdda750b363b
2017-08-30 17:22:33 +05:30
Aditya Dewan
c3711a4375
Extending WOPI implementaion to introduce 'Save As' feature
...
Change-Id: Ic4c80f4c4b54944143682c25a5878c1336787b27
Reviewed-on: https://gerrit.libreoffice.org/40946
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-08-17 19:25:44 +02:00
Andras Timar
945d74c237
wsd: fix compilation with old OpenSSL that does not have PKCS5_PBKDF2_HMAC()
...
Change-Id: If48641f6cbcc4d4ded78ea5cc9c9f66063a2ac0a
Reviewed-on: https://gerrit.libreoffice.org/39779
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2017-07-31 19:40:37 +02:00