Pranav Kant
e9e162b35e
lokdialog: Mouse/key events, canvas use & child window impl.
...
Change-Id: If8ae5c284e7166d4a01bd664644134f11197f988
2017-10-25 00:39:03 -07:00
Pranav Kant
e68dac855e
lokdialog: open, close, paint and invalidate the dialog systematically
...
This makes simple dialog like word count dialog, which do not require
any key/mouse interaction with the user, work correctly -
responding to invalidation callbacks and painting it again.
Change-Id: I3eee49751ec7815c8a26a687fc1f3915911d6cd4
2017-10-25 00:38:13 -07:00
Pranav Kant
374d6a197d
lokdialog: pass the dialog id in dialog command
...
Change-Id: Ia0e76b1dc93483340361777cf21f23127bac91e1
2017-10-25 00:38:08 -07:00
Pranav Kant
e74a4e2487
lokdialog: wrap the lok dialog image in dialog container
...
The two test dialogs, Spelling dialog and word count dialog
appear on the screen when invoked from the menubar.
Interaction with dialogs is WIP.
Mouse/key events and floating window still needs to be worked upon.
Change-Id: I2d439465c7536d0b453c8ade503ec181a96c90d2
2017-10-25 00:38:01 -07:00
Pranav Kant
99d7ddc925
lokdialog: loleaflet: infra for receiving lok dialog messages
...
Change-Id: Id1aa1b31c3f2d4e3a888307d25cd7a8106613156
2017-10-25 00:37:55 -07:00
Pranav Kant
dd3e317a56
lokdialog: Make space for dialog class
...
Change-Id: Ic3bccac355069491afdc76db70bea8d5c570e086
2017-10-25 00:37:50 -07:00
Pranav Kant
0c2fd7ec1d
lokdialog: Add some dialog commands
...
Change-Id: Id711292814d9cb61271e898422a740408338593d
2017-10-25 00:37:33 -07:00
Henry Castro
2965cebe6c
loleaflet: check if languages are an array type
...
Change-Id: I580ea3c6fe70d1aa3204d2c743fb0a978dda185e
2017-10-24 15:03:36 -04:00
Michael Meeks
7bc510c17a
Remove inconsistent copy/paste horror - fixing memory id & hence updating.
...
Change-Id: I8f92650717a39079dd4ad6ed61655266ba841115
2017-10-22 21:36:16 -07:00
Andras Timar
ea251d34bf
loleaflet: updated Slovenian translation
...
Change-Id: Id38563e13a9c6538e13e6481156dd9a95a08300e
2017-10-22 07:53:42 +02:00
Henry Castro
18867cc98f
loleaflet: enable Calc spell checking
...
Change-Id: I9293335e1da7a3ad35d6ed03caf8289e2f26d066
2017-10-21 13:42:35 -04:00
Emre Öztürk
d10e0bc129
tdf#107562 Enabled replying comments in impress
...
Change-Id: I55862204ef71f69bc88c79fe2259f7cb8365699a
Reviewed-on: https://gerrit.libreoffice.org/43165
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-10-16 19:56:49 +02:00
Pranav Kant
cf3076a260
[API CHANGE]: loleaflet: postmessage: s/rev-history/UI_FileVersions/
...
And keep the compatibility with older clients by adding 'Deprecated'
flag to the messages in PostMessage API. The clients must ignore such
messages marked with deprecated flag and should wait for the standard
non-deprecated post message.
Change-Id: Id203c44db5986303c574e66602d8f98b4c04ba50
Reviewed-on: https://gerrit.libreoffice.org/43093
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-10-16 19:50:09 +02:00
Henry Castro
b57a4e9171
loleaflet: enable Impress spell checking
...
Change-Id: Ie4ae3f683bc55f7ca67b01e65dafea9746784b5a
2017-10-13 20:59:19 -04:00
Pranav Kant
981d810f1d
loleaflet: The comment JSON has user name, not userid
...
We register the full names of the user with libreoffice core, not user
ids. Create a viewinfo map mapping usernames with viewinfo, not userids
with viewinfo.
This fixes the regression: the avatar URL doesn't work.
Change-Id: Ie4cc75168c7480fcb663414f3a082264b42c11d9
2017-10-11 14:47:26 +02:00
Andras Timar
609c52e79c
loleaflet: update pot file
...
Change-Id: I7a58230990a2b7feab90f831880e97a3f0e61d54
2017-10-08 13:10:34 +02:00
Henry Castro
e78d9a0d91
loleaflet: add "None (Do not check spelling)" option
...
Change-Id: Iae5176cf5b6b87b5c9540e392e6e81db7193e83f
2017-10-06 17:33:26 -04:00
Jan Holesovsky
dec231da0f
Move the language menus one level up.
...
Change-Id: I01f5d985ac3ebd9265200ecc161b861dc582ad69
Reviewed-on: https://gerrit.libreoffice.org/43113
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-10-06 11:39:47 +02:00
Andras Timar
b599bb0a31
loleaflet: l10n update from Pootle
...
Change-Id: Idead8ba649396abaeda2fb3db2fac5266d82a49c
2017-10-06 11:20:25 +02:00
Andras Timar
6bd9ea1659
loleaflet: es l10n correction: Djibouti->Yibuti
...
Change-Id: I90ca414e0e0104dc54a56abc6e812d637677d686
2017-10-06 11:12:45 +02:00
Andras Timar
4ef7da3733
loleaflet: updated sl translation
...
Change-Id: I890f3fe7232a8b5b1708d555344ca65ad6fa188c
Reviewed-on: https://gerrit.libreoffice.org/43155
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-10-05 08:32:46 +02:00
Andras Timar
a9b635a5d0
loleaflet: add language name translations from core (langtab.src)
...
Change-Id: I7e425cefe68aa4ebb8ba0e6416e4f0bdead37dfd
Reviewed-on: https://gerrit.libreoffice.org/43144
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-10-04 22:58:21 +02:00
Henry Castro
30fd4d2f11
loleaflet: fix statusbar items when refreshed
...
when the statusbar is refreshed the items are restored to according to
html property
Change-Id: I79f77c5ab4932c10d10dd9780cbd6e6a9b132a38
2017-10-04 09:45:59 -04:00
Andras Timar
cb2de58108
loleaflet: enable l10n of language names
...
Change-Id: Idd8b1b0bb081d718cf8d36c60ce6e293bd818fc6
Reviewed-on: https://gerrit.libreoffice.org/43130
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-10-04 13:33:26 +02:00
Andras Timar
7bc407c452
loleaflet: update UI pot
...
Change-Id: Ib1c02dbfb91c7b52830923324666bc6b006adce1
Reviewed-on: https://gerrit.libreoffice.org/43129
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-10-04 13:31:59 +02:00
Aron Budea
dfa9b44e93
Status bar function: first make it work properly
...
The way the parameter was interpreted changed with this
core commit: 7bc97db5b972f27693161beb9182f8a5850f5551
For now let's make single function work again.
Change-Id: I6e8ebb4cc7a272c53aa3e44066df7a62ab89d8ab
Reviewed-on: https://gerrit.libreoffice.org/43110
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-10-04 12:12:13 +02:00
Henry Castro
9edf7f0712
loleaflet: add more menus for the Writer spell checking
...
Change-Id: I3ef19021f0cb44aa2c34c84af08f2af2d11b25a2
2017-10-03 20:09:54 -04:00
Henry Castro
9677b1eae0
loleaflet: change position of the language status bar item
...
Change-Id: If5f7ad59e3ef4694313c086ad473af0cc377ea9c
2017-10-03 19:57:00 -04:00
Pranav Kant
6a73c19d16
Show save-as option based on CheckFileInfo params
...
If UserCanNotWriteRelative is mentioned in the CheckFileInfo response.
Change-Id: I33d2e21159b3e18ae88fd72f404f2d1d1d9b64e5
2017-10-03 20:58:36 +05:30
Henry Castro
d5b76b5d5c
loleaflet: use commandvalues to request the list available languages
...
Change-Id: Ibc312bf4d464dd7446715d7bf51ed208d41e8e6f
2017-10-02 22:57:44 -04:00
Michael Meeks
1c164427ba
Pre-select search text if present on a new ctrl-f.
...
Change-Id: Idec7c3e3a419bb26f951872932c8c2c7de69b68f
2017-10-02 20:58:41 +01:00
Andras Timar
3eadb79cf3
loleaflet: updated UI pot file
...
Change-Id: I074f2cc268ea06e5693d21d249bb35367a3b9b0d
2017-10-02 10:04:56 +02:00
Henry Castro
22b7bee742
loleaflet: add tools -> language menu items
...
Change-Id: Ie79a03b53bdbb248788e444115cf7d7e159bb964
2017-10-01 10:58:11 -04:00
Henry Castro
e02ca0603a
loleaflet: add language status bar item
...
Change-Id: I6615373a27b1a32561f3c5fba2f9c7765dbf9bef
2017-10-01 10:53:36 -04:00
Henry Castro
e45d05f847
loleaflet: resolves: no row header in revision history
...
_onUpdateScrollOffset is triggered when the client window is resized or
when it is loading a new document. However, there are some cases when
the offset is 0, it means to update row and columns.
Change-Id: If4c4bb4f50335c642004ceb7723c8b5eb949cada
2017-09-21 11:31:19 -04:00
Aron Budea
61acc4ae7d
loleaflet: enable horizontal scrolling via Shift + mousewheel
...
Change-Id: I3cac65248628042e0150e9f393c89e4fbefb8ed6
Reviewed-on: https://gerrit.libreoffice.org/41088
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-09-21 15:46:28 +02:00
Andras Timar
b8a50e6750
loleaflet: updated UI pot file
...
Change-Id: I4de681eded5a1839928935be4b3d94dfa90a0efe
2017-09-20 12:12:49 +02:00
Henry Castro
0d870d444c
loleaflet: fix background color of the top level menu items
...
Change-Id: I548c700a16664e8acfc6010c1be549e6176f2383
2017-09-19 21:46:09 -04:00
Pranav Kant
fcffb01725
Don't forget reconnecting the socket in these cases
...
This regressed with 7c1e1120c6
Calling .initialize() on socket object is not enough anymore after above
mentioned commit; it doesn't re-establish the socket connection as
was the intent earlier in following cases.
Change-Id: Icd0a87a875eb275ed3c914474cdc502b460e2d16
Reviewed-on: https://gerrit.libreoffice.org/42431
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2017-09-18 20:17:50 +02:00
Henry Castro
1a493880a4
loleaflet: show error when the document is disconnected
...
Change-Id: I43f8d48002ccb2fc3b6ac9807b72ba6b618d72d2
2017-09-17 11:09:02 -04:00
Henry Castro
0cdf361510
loleaflet: clean up the socket connection
...
Change-Id: I29861d74ba5e0aa789eec41fb353aca1dad6cce4
2017-09-17 10:45:59 -04:00
Jan Holesovsky
6cd5d869ef
Temporary hack to pass through the reverse proxy a nocanon way.
...
Change-Id: Iefc8704d4b08bab6a0afabcbc9aec5ef11d2be26
2017-09-15 15:32:45 +02:00
Henry Castro
105eeddae1
loleaflet: ignore events before the document is loaded
...
Change-Id: Icd28854f4430786e1383a7fe6a694f3c7ce9a188
2017-09-14 17:36:45 -04:00
Jan Holesovsky
7707507ed0
Introduce Tools -> Automatic Spell Checking.
...
Change-Id: Icfae090f69e49bbce2cf98c53c35ab1bb6794490
2017-09-14 11:38:55 +02:00
Henry Castro
9c3393fc44
loleaflet: fix background color of the menu item in disabled state
...
Change-Id: Idbe08dcd1fd1bb885f77478e3ad314be392a140d
2017-09-13 12:37:10 -04:00
Henry Castro
7c1e1120c6
loleaflet: ensure initialize map components before the document is loaded
...
Change-Id: I3b6219926f0f9d0306ef25bc5f9a9145410bac74
2017-09-13 11:14:17 -04:00
Jan Holesovsky
c5fc1594e1
HA: Pass WOPISrc= param in all the requests that need to...
...
...end up in the same loolwsd instance.
Change-Id: I69c4f5be0c0a6f4ffdec6dd571a5d62f2df4b1fb
2017-09-08 17:04:05 +02:00
YiiChang Yen
488c2e98f3
loleaflet: Sortting font-select list localelly
...
Change-Id: I6ebe7a30e0d47776986aa67b44de7b2bc1d25fca
Reviewed-on: https://gerrit.libreoffice.org/41873
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-09-08 11:22:17 +02:00
Marco Cecchetti
5112f33d09
Disable slideshow feature when DisableExport property is set.
...
Change-Id: I424da9abf2bba737c2985c6dcbb2ab9dbee4770c
Reviewed-on: https://gerrit.libreoffice.org/42081
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-09-07 22:07:46 +02:00
Henry Castro
3b6af443bd
loleaflet: related to tdf#107806
...
Change-Id: Ifd6bd15538007416747accf7b0ad602292b1195a
2017-09-04 20:40:53 -04:00