Pranav Kant
1a918d8781
loleaflet: Fix incorrect variable access
...
Change-Id: I11981c002808257d39aea70a632039a40839397b
2016-05-13 16:42:39 +05:30
Pranav Kant
b2907626ba
loleaflet: Add/delete row/column feature
...
Change-Id: I6dfd68029b5746d6c2907f4195f4647c63387c55
2016-05-13 16:21:44 +05:30
Pranav Kant
cf932d52ec
bccu#1788: Center/Align the color feedback under the icon
...
Change-Id: I985f502e4810ff76d99f4375bd85d6819e64e325
2016-05-13 00:35:01 +05:30
Pranav Kant
fc87000a62
loleaflet: More checking; don't add element if already added
...
Change-Id: Id0e71b5f100167e39d95cbad6033a42f1111b570
2016-05-13 00:34:07 +05:30
Pranav Kant
870b46be78
bccu#1756: Check for empty input
...
In case of presentation we are getting an empty value in response
to .uno:CharFontName. While this looks like a bug in LOKit, no harm
in putting a check for empty values here.
In ES5 argument to Object.keys must be an object otherwise it
throws an exception.
Change-Id: I5c2f7963544fda55bab3f314f1b098b3c9e3bd0b
2016-05-13 00:00:49 +05:30
Ashod Nakashian
925989c2c7
loolwsd: better crash tests
...
Change-Id: I41d6ae0c80d842ffb3a67f6e20376c0b10068ea5
Reviewed-on: https://gerrit.libreoffice.org/24936
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-12 15:31:25 +00:00
Ashod Nakashian
50b6381ff8
loolwsd: break socket reading on 0 bytes
...
Change-Id: I30af354684b26ea5e7dc494db6601fa6248febb9
Reviewed-on: https://gerrit.libreoffice.org/24935
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-12 15:26:16 +00:00
Ashod Nakashian
711b59a2bc
loolwsd: initialize logging sooner and log server startup
...
Change-Id: I33ab52069be0b6c0dca5a741857aa86ae58b67cc
Reviewed-on: https://gerrit.libreoffice.org/24934
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-12 15:25:56 +00:00
Ashod Nakashian
de5f77c00f
loolwsd: better child management
...
Change-Id: I0de190619008834f096517bd1cfafcdc83261f47
Reviewed-on: https://gerrit.libreoffice.org/24933
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-12 15:24:32 +00:00
Ashod Nakashian
9376156ac3
loolwsd: correct error report while loading
...
Change-Id: I4e5e4dd1318144255294011c70c6d2bbfd74c1d8
Reviewed-on: https://gerrit.libreoffice.org/24932
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-12 15:23:11 +00:00
Ashod Nakashian
021209e44d
loolwsd: new run_valgrind target to run loolwsd under valgrind
...
Change-Id: Ic1962428bc7ed4c08b7655c41a1d38af6eeddf75
Reviewed-on: https://gerrit.libreoffice.org/24931
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-12 15:22:57 +00:00
Pranav Kant
268eb615c2
loleaflet: Update scrollbar after resizing the container
...
Currently, it does get fired, it seems, and vertical scrollbar
does get adjusted automatically according to new size, but
horizontal scrollbar doesn't for some reason/bug. Lets explicitly
tell the plugin to update on every resize we do.
Change-Id: I706228302cb43fb22cf54acfe1b990d3e66d5281
2016-05-12 20:19:26 +05:30
Andras Timar
295163422e
bccu#1712 Math.sign is not defined in IE 11
2016-05-12 13:29:28 +02:00
Andras Timar
a4cd9aeebe
loleaflet: help text: Calc Select All with Ctrl + A
2016-05-12 11:11:32 +02:00
Jan Holesovsky
ed65c018ef
"Comment" -> "Insert Comment" in the toolbar.
2016-05-12 09:35:21 +02:00
Ashod Nakashian
a35a000da8
loolwsd: proper error handling of document load failure
...
Change-Id: Ide14609b18b5dad9ac4451ab2dbbbe0544c60b47
Reviewed-on: https://gerrit.libreoffice.org/24908
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-12 01:56:27 +00:00
Ashod Nakashian
81e2e25ed8
loleaflet: disable fade animation which is distracting and buggy
...
Change-Id: I4170a9f58f4069cba9c88c85d520574a7fcb3885
Reviewed-on: https://gerrit.libreoffice.org/24907
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-12 01:55:58 +00:00
Henry Castro
797e41ca56
loolwsd: fix wrong condition
2016-05-11 19:46:51 -04:00
Henry Castro
f1c56d198a
loolwsd: test: add test max col and row
2016-05-11 18:48:59 -04:00
Pranav Kant
a1b351d328
Use new DontTerminateEdit param in .uno:Save to be in edit mode
...
Change-Id: I781eba73af668be874ab91881bcb88494b43a2e9
2016-05-11 21:41:01 +05:30
Pranav Kant
7a96c2fff0
Revert "bccu#1776: Restore input mode if we are in one before saving"
...
This reverts commit 5500b09016
.
Change-Id: I54b385dc823d8fc4e5ef9f6d8291c5cb8ca85417
2016-05-11 21:41:01 +05:30
Pranav Kant
58123086b8
Revert "bccu#1776: Fake double click after auto-saving"
...
This reverts commit 55a85ddb33
.
2016-05-11 21:41:01 +05:30
Andras Timar
2fbcbdfa87
loolwsd: enable UI customization by replacing loleaflet.html from config
2016-05-11 16:30:05 +02:00
Feyza Yavuz
20a8652041
loleaflet: Added Comment button to toolbar
...
Change-Id: Ic79f942babc36f061065b2ef73be204b544f096e
Reviewed-on: https://gerrit.libreoffice.org/24696
Reviewed-by: pranavk <pranavk@collabora.com>
Tested-by: pranavk <pranavk@collabora.com>
2016-05-11 13:32:40 +00:00
Pranav Kant
2b01bdc7ad
Document admin console commands and its scope
...
Change-Id: I5504a8350d6383e64e85b46454586c1e5c8eed87
2016-05-11 15:38:40 +05:30
Andras Timar
d63d200a23
Bump version to 2.0.0
2016-05-11 09:55:17 +02:00
Henry Castro
0f444af60d
loolwsd: test: update sending "status" message
2016-05-11 01:22:57 -04:00
Henry Castro
947884e46a
loolwsd: test: update testInactiveClient
2016-05-11 01:12:18 -04:00
Henry Castro
b3f5873d58
loolwsd: test: update loadDoc
...
loadDoc now test the first incoming status message
2016-05-11 01:07:14 -04:00
Henry Castro
4abc68bfb7
loolwsd: test: update loading views
2016-05-11 01:01:18 -04:00
Henry Castro
bd615ee9bc
loolwsd: test: update isDocumentLoaded.
...
When loading a view, it just send the status messages, because
it is already loaded by main view id 0
2016-05-11 00:49:21 -04:00
Henry Castro
c1849e25bb
loolwsd: send "editlock" when "status" was cached
2016-05-11 00:36:36 -04:00
Henry Castro
5ec04d5184
loolwsd: avoid sending double "status" message
2016-05-11 00:29:56 -04:00
Ashod Nakashian
9c2743144e
loolwsd: variable initialization
...
Change-Id: I27c41c8d5c3f4cb555306a0da5a2475f93d5c49f
Reviewed-on: https://gerrit.libreoffice.org/24870
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-11 03:54:30 +00:00
Ashod Nakashian
14340097b8
loolwsd: break socket reading loop on error
...
Change-Id: I37ff42a3ccf4b495d0ecec9ea90bd8e12ddc4e8c
Reviewed-on: https://gerrit.libreoffice.org/24869
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-11 03:54:08 +00:00
Ashod Nakashian
1d90ed07f0
loolwsd: don't test for version in loleaflet as it's dynamic
...
Change-Id: I2488695d70cf0463b93671e3ca986808843f4447
Reviewed-on: https://gerrit.libreoffice.org/24868
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-11 03:53:47 +00:00
Ashod Nakashian
7c7d6c31cc
loolwsd: refactored socket helpers
...
Change-Id: I9f6bca81f830d9a8f1726abbe29d9343bd41d666
Reviewed-on: https://gerrit.libreoffice.org/24867
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-11 03:53:28 +00:00
Ashod Nakashian
a4bfca2dd3
loolwsd: uninitialized variables
...
Change-Id: I2144c8f8ae9ad6298ba596faa504880b7c52256a
Reviewed-on: https://gerrit.libreoffice.org/24866
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-11 03:52:59 +00:00
Andras Timar
cc2aa1b5f8
document logging settings
2016-05-10 23:17:47 +02:00
Pranav Kant
55a85ddb33
bccu#1776: Fake double click after auto-saving
...
... just so that if we have the cursor before auto-saving, we
have it after save too (calc).
Change-Id: I3e6b1e41006c8fd9105d370b62ead4f45e50848c
2016-05-10 19:24:38 +05:30
Andras Timar
35c90fbba6
loolwsd: deb package making hack
2016-05-10 15:00:29 +02:00
Ashod Nakashian
8d2a7ab162
loleaflet: translate the part correctly for text documents
...
Text documents have a single coordinate system, so they
only render in part 0. For others, each page/slide/tab
is a part.
Change-Id: I3c61f4482e5bb535e41ea699147c8c258ca6fb93
Reviewed-on: https://gerrit.libreoffice.org/24850
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-10 13:00:14 +00:00
Ashod Nakashian
a58ffaef71
loolwsd: always get and remember the doc-type on loading
...
Change-Id: I6ba49ecd8343ff6d08ff437d6dc9d664a4becc1d
Reviewed-on: https://gerrit.libreoffice.org/24849
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-10 12:59:57 +00:00
Ashod Nakashian
5f7b4762e4
loolwsd: reduce lokit callback logs
...
Change-Id: I984f2e1d405b5f95b83efc9e6959fa3140969f4e
Reviewed-on: https://gerrit.libreoffice.org/24848
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-10 12:59:23 +00:00
Pranav Kant
b50b159aed
loleaflet: Use Standard styles if Default is missing
...
'Standard', and 'Default' styles seem to containing same values
anyways. If we do not have 'Default', use 'Standard' ones.
Change-Id: I4402f78fb54c77a7cf6d9868210cb97a9e2c4580
2016-05-10 16:16:01 +05:30
Pranav Kant
6fb9a5becf
bccu#1756: Style the presentation list box
...
Upon creating an .odp file from owncloud, 'Default' styles are
not created which leads to a js error as variable styles go
undefined later in the script.
Change-Id: I30caf980bd924e6329559b36b1f0a5fbe60ecc4b
2016-05-10 16:16:01 +05:30
Lenny Horstink
6d18572c62
Visual improvements to spinner
...
Change-Id: I54f945867efe5e56c2e6696b905a97f04b832f90
2016-05-10 16:16:01 +05:30
Jan Holesovsky
ea082d6363
Use git hash for the loleaflet location instead of version.
2016-05-10 11:48:41 +02:00
Jan Holesovsky
fa6d8c85f8
Correctly produce the git hash, and fallback to version number.
2016-05-10 11:48:41 +02:00
Jan Holesovsky
1166fff924
Fix non-https build.
2016-05-10 11:48:12 +02:00