Commit graph

6186 commits

Author SHA1 Message Date
Miklos Vajna
a3d6dee503 Remove unused strings
Change-Id: I621c462bca38222dcf26dfa1e414cf27e1a3e088
2017-11-03 15:25:09 +01:00
Tor Lillqvist
12aaff7d1a Bin some superfluous vertical whitespace
Change-Id: I770342c34c87e38597d5eb3695c432af69273ce1
2017-10-31 12:09:52 +02:00
Pranav Kant
8c0e94c57a lokdialog: Rename dialogs and distribute to appropriate places
Change-Id: I1d92830dd77bbe77765aa44fb9044726b45f21a6
2017-10-31 04:02:01 +05:30
Pranav Kant
3483a51973 Update bundled headers
Change-Id: I292dac1d6c801914960b73e951b6565cc36df1e9
2017-10-30 17:10:53 +05:30
Andras Timar
61a2d94f2b copy system hyphenation dictionaries to systemplate
Change-Id: Ie7e5a2644436d5de61f65b2d8ec5201471100787
2017-10-30 11:01:14 +01:00
Marco Cecchetti
7f9cdb2e52 loleflet: calc: canvas styles for headers are fetched from css file
Change-Id: I0423c353d22736aa2edaf45d55112af001d46692
Reviewed-on: https://gerrit.libreoffice.org/44049
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2017-10-30 10:42:11 +01:00
Pranav Kant
4ae3dae8fd lokdialog: No need for transforming dialog names
Now since we already get correct uno names as dialog id in the LOK
dialog callbacks.

Change-Id: Ib4a431c3e769c46069be45afea0672c6c8f5390f
2017-10-28 08:15:16 -07:00
Pranav Kant
6375789611 lokdialog: Support for dialog title
Change-Id: Ie66c74290eb0583882cb9395b01c00f91df50aa0
2017-10-28 08:15:16 -07:00
Jan Holesovsky
9e88e7f727 Add the missing separator in the "Language for paragraph" submenu.
Change-Id: Id389ef7539d69c96c0bbd7d80404bd435d54a8b4
Reviewed-on: https://gerrit.libreoffice.org/43932
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-10-27 09:04:08 +02:00
Jan Holesovsky
ea39bb2552 Use just "Language" in the Calc and Impress Tools menu.
Change-Id: If5bcaf0e7e3aa8867682afaaee87645b05182143
Reviewed-on: https://gerrit.libreoffice.org/43930
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-10-27 08:45:42 +02:00
Jan Holesovsky
bf1aa3326f Fix convert-to after the Save As work.
Change-Id: I1871dd8331367798ee42b2ca35505847b43b639d
Reviewed-on: https://gerrit.libreoffice.org/43881
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-10-26 17:52:55 +02:00
Tor Lillqvist
396c1488b4 Avoid test: : integer expression expected
Change-Id: I87f087a29ab4dc5cf94b0eee2a115b77c8283552
2017-10-26 16:56:25 +03:00
Marco Cecchetti
3dee70e3c4 loleaflet: now Calc headers are rendered throught Canvas 2d
Change-Id: I5ab0d9a4af7a8bdba3eb0d07e89c811f7b1850b4
Reviewed-on: https://gerrit.libreoffice.org/43880
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2017-10-26 13:12:20 +02:00
Jan Holesovsky
d3bf2638ea SaveAs: Fix unit test when used without ssl.
Change-Id: Ic48908c9e7449fc13458d9211fa743310834bd6b
2017-10-26 13:21:18 +03:00
Jan Holesovsky
343c5bc690 tdf#99744 SaveAs: Extend test to check that the Save As result was sent.
Change-Id: I3788b87d2599c01000af97f496ee2b840c0cae3e
2017-10-26 11:11:38 +02:00
Aron Budea
a98727b536 Add 'Repair' menu to spreadsheet/presentation.
Change-Id: I7651418c79c711940438ada53d64970e7674d077
Reviewed-on: https://gerrit.libreoffice.org/43859
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-10-26 11:11:38 +02:00
Jan Holesovsky
58ec841ad1 Move the 'Repair' menu entry under Undo / Redo.
Change-Id: Ic53eec49413de800154ce956747fe0fcf32d96e9
2017-10-26 11:11:38 +02:00
Jan Holesovsky
6745464c70 tdf#99744 SaveAs: Report back to loleaflet that the saveas succeeded.
Change-Id: I670c8b4503c1a4c0a88001a1343f6dec2974e044
2017-10-26 11:11:38 +02:00
Jan Holesovsky
6fe4484395 tdf#99744 SaveAs: Use X-WOPI-SuggestedTarget instead of X-WOPI-RelativeTarget.
And the correct encoding - UTF-7 (huh).

Change-Id: I6634fedb598c620128cc25a3e8fdc46e4096a756
2017-10-26 11:11:38 +02:00
Jan Holesovsky
7ff432a370 tdf#99744 SaveAs: Reimplementation of the PutRelativeFile going through Kit.
This is necessary so that changing of the file type works.

Includes a unit test.

Change-Id: Id01d44e555b6bac1002ff950de461fd330602f63
2017-10-26 11:11:38 +02:00
Jan Holesovsky
f4198526ca tdf#99744 SaveAs: Reverts parts of the previous Save As work.
It is necessary to go through the Kit when performing the Save As, so that we
can change the file type, sync with loading the file, etc.
2017-10-26 11:11:38 +02: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
Tor Lillqvist
a806655e59 Fix makedev warning
g++ says: In the GNU C Library, "makedev" is defined by
<sys/sysmacros.h>. For historical compatibility, it is currently
defined by <sys/types.h> as well, but we plan to remove this soon. To
use "makedev", include <sys/sysmacros.h> directly. If you did not
intend to use a system-defined macro "makedev", you should undefine it
after including <sys/types.h>.

Change-Id: If5cd1ec0ca34b00b1248e9b2650d4d13e6d3bf64
2017-10-26 11:53:35 +03:00
Tor Lillqvist
73d77a9f67 More -Werror=implicit-fallthrough=
Change-Id: I62164eef3a4f95bfe505b3b1a866495bde6c19b1
2017-10-26 11:51:53 +03:00
Tor Lillqvist
6b0faf9d97 Avoid warning "this statement may fall through" when intentional
Change-Id: I8d8bcb4747a1933e4ecefe1220a80a355e60317f
2017-10-26 11:38:43 +03:00
Pranav Kant
6e86fefc4e tdf#99744: Check if params exist before accessing them
Change-Id: I5a36281f281b5d1fa4a8b7a3551ce1d49c2efaad
2017-10-25 13:22:02 -07:00
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
de780f8253 lokdialog: wsd: first cut at lok dialog rendering api
Change-Id: Id522e0796428ed0a15ea3496e6726f51ed232e75
2017-10-25 00:37:41 -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
Miklos Vajna
7ab856b196 common, wsd: clean up redundant casts
Change-Id: Iad7e2417c6b1a154f6ad21839b841ca452e835c5
2017-10-24 09:23:54 +02: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
7c3d7560c9 Docker bits
Change-Id: I46c64573381ddb8d34817d393967316e0aac8576
2017-10-22 07:53:42 +02: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
Miklos Vajna
409be28c8b Config: avoid redundant string initialization
Change-Id: Ia90aae804c3656f54e8f36ca5ef1fd52a99e05c9
2017-10-17 09:04:04 +02: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
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
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
262916363d rlimits: The fsize and nofile need more tweaking...
Change-Id: Ifdb4d24f103f54fd286b8ffa715c0a61c2cff94f
2017-10-06 15:42:53 +02: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