Commit graph

9066 commits

Author SHA1 Message Date
Marco Cecchetti
172c9ca384 loleaflet: adding icons to insert menu entries
Change-Id: I24664aa41f208ccd70331f37a8e1d031eefc43fd
2019-10-08 12:43:32 +02:00
Andras Timar
428a1991d3 loleaflet: updated translations from Pootle
Change-Id: I386381d40116a18e361e5c527598554af0ce738d
2019-10-08 11:49:45 +02:00
Andras Timar
acdd143cc9 add a few more entries to .gitignore
Change-Id: I4ee5c057442f920dce6538472bfae975116a7c01
2019-10-08 11:49:45 +02:00
Andras Timar
d1ae1b36c2 typo fixes in comments and code
Change-Id: Idd98516d30d98dea18eda9bbec8ac9777063b553
2019-10-08 11:49:45 +02:00
Pedro
63c1f32352 Add generic checkbox and button styles for mobile
Change-Id: If7fc9b09569c71b1f411493e88e55d87d3cc950e
Reviewed-on: https://gerrit.libreoffice.org/80433
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 10:59:43 +02:00
Pedro
2eb98ee6f8 Fix wrapping icon width when using smaller devices
Change-Id: I0dc74f2385ab638a4faec4907673c0b6b695a9c6
Reviewed-on: https://gerrit.libreoffice.org/80431
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 10:57:05 +02:00
Pedro
25572e7e25 Decrease toolbar-up icon spacing, update contacts svg color, fix icon alignment, tweak hamburger
Change-Id: I9a4d24ad2335e9936df372a5168993215d68c366
Reviewed-on: https://gerrit.libreoffice.org/80430
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 10:55:53 +02:00
Andras Timar
2835fbd845 typo: randonly -> randomly
Change-Id: I07b5a322ec3d8f149b2e4a45588bfedfcd28da37
2019-10-08 10:42:23 +02:00
Andras Timar
db176ee45b Remove lo_template_path option
It was not very useful to let this setting configurable by the user.
On the other hand, old path in config file caused issues after
upgrade. It is better to decide the location of LOKit core
during compilation. From now on the --with-lo-path configure
option is compulsory.

Change-Id: Icdcbc21bde5dad329fdb6e30ed17efde6b0e73de
Reviewed-on: https://gerrit.libreoffice.org/79943
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2019-10-08 09:36:44 +02:00
Andras Timar
36eb587517 loleaflet: updated Spanish translation
Change-Id: I7db2cb7b6fc7234821118f21beeba4b5c5b83001
2019-10-08 09:28:09 +02:00
Andras Timar
398e3af732 loleaflet: updated pot file
Change-Id: I56c3c0521bc1438cdbb9c70b9b1fc3cfb81193f0
2019-10-08 09:04:31 +02:00
Miklos Vajna
a6eff7ed2d Convert large paste testcase to a new-style one
And fix run_unit.sh to to do the quoting properly, so -la does not match
the \.la pattern.

Change-Id: I6fd81166abc43f87d82123c104ee4e74238bd714
2019-10-08 08:51:03 +02:00
Pedro
681c994481 Center align tb_actionbar_item_userlist via parent table
Change-Id: I2d327095cc5949aaf764ad8832a266ad1a4b4669
Reviewed-on: https://gerrit.libreoffice.org/80391
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 19:44:34 +02:00
Pedro
a818388dad Styling WrapPropertyPanel: checkbox and radioboxes plus layout
Change-Id: Ic0bfbc16726d0d1a402f35a3c205c6c15c8dbbb1
Reviewed-on: https://gerrit.libreoffice.org/80396
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 19:40:08 +02:00
Michael Meeks
19de29462a mobile: disable insert menus, and various items that create dialogs.
Change-Id: I2cc788f251a81f4acd5b0ad578dc1cf73474fffe
2019-10-07 18:33:29 +01:00
Michael Meeks
e330e71189 mobile: generate wizard content from JSON rather than the HTML.
Change-Id: I3a47abd23de5c8be0ab66cf1295982ff390edf7c
2019-10-07 18:32:47 +01:00
merttumer
2b35db0c85 Use Vex Dialog for insertshapes on mobile
Change-Id: I1cdd5dca2efd54fef4fb17ef379ad8988794afa0
Signed-off-by: merttumer <mert.tumer@collabora.com>
2019-10-07 18:32:47 +01:00
Tamás Zolnai
f4f40944d8 Enable mobile wizard for impress too
Add menu items and also add the new top toolbar buttons.

Change-Id: I460d03149df99ea0dfe44f1b64ed463a6a4ebd54
2019-10-07 17:13:13 +02:00
Michael Meeks
669770fb46 mobile: remove toolbar pieces made redundant by the wizard.
Change-Id: I2ced68153888dcce3bd619b38c326d7bcab8f2a8
2019-10-07 16:07:54 +01:00
Michael Meeks
9ca25c7f1e mobile: remove next/prev page icons from top toolbar.
Change-Id: Iadbe68c712e38cc2fb270d6094fbe5215064a109
2019-10-07 15:45:10 +01:00
Tamás Zolnai
60d31ea5b9 Mobile: Add a comment insertion button to the top toolbar
Change-Id: I4637aad1430d14febb77247ef905ad79f5238d4a
2019-10-07 16:27:10 +02:00
Pedro
53555525fa Add icon for insert comment toolbar button
Change-Id: I2268752e4a8cf68d1a71b5c64f8fcf1d90f30d01
2019-10-07 16:27:10 +02:00
Grzegorz Araminowicz
34251c1d13 Add "Insert Hyperlink" vex dialog
Change-Id: I6a136a1e0b7887ef0b5d9e027a5336d962a9af26
Reviewed-on: https://gerrit.libreoffice.org/80390
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-10-07 16:20:18 +02:00
Pedro Pinto da Silva
8c985b073f Revert "Make wizard items occupying full width"
This reverts commit 7dfe5f3e24.

Change-Id: I17e5334b80f65c4de7c936814f27d00fcea018f9
Reviewed-on: https://gerrit.libreoffice.org/80389
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:54:13 +02:00
Pedro
1854c0242b Fix paddings from insert_mobile_wizard icon in the toolbar
Change-Id: I6adca9a0b009f11bdf481048aea891265e279d70
Reviewed-on: https://gerrit.libreoffice.org/80363
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:35:27 +02:00
Pedro
b858b8916d Improve checked status in all actionbar_items and move the min-width rule to active only on mobile
Change-Id: I6254f1bbbef4fe89e3d5f456f02c4703e923c674
Reviewed-on: https://gerrit.libreoffice.org/80213
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:33:12 +02:00
Pedro
18550dbeff Formulabar: Increase space between icons while making better use of white space
Change-Id: I1dd0f988e0558af2d8e79dcb6823c70555130715
Reviewed-on: https://gerrit.libreoffice.org/80188
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:32:06 +02:00
Pedro
2ce491c6a2 Fix mobille-wizard content's padding
Change-Id: I7fc8ef5e3df51cf782a293cf0385b018e9c0ecbd
Reviewed-on: https://gerrit.libreoffice.org/80366
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:27:42 +02:00
Pedro
7dfe5f3e24 Make wizard items occupying full width
Change-Id: I25c9c2e8ea54e5a8f9d6447a4191ca90c2402d1a
Reviewed-on: https://gerrit.libreoffice.org/80368
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:27:19 +02:00
Pedro
375f5068b4 Style sub-menu-arrow
Change-Id: Ic2595ca29f23cbbba4c70681b68744571241ec5c
Reviewed-on: https://gerrit.libreoffice.org/80369
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:24:43 +02:00
Pedro
289b821add Change wizard-content's text color and font-family
Change-Id: Iae1e417a2c541e5510f1f565c9f00ad814dfa4db
Reviewed-on: https://gerrit.libreoffice.org/80365
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:20:38 +02:00
Pedro
2d57cb2673 wizard-mobie: Add close state to back arrow when in the top level
Change-Id: I4f8be7139ffb4fb79e03753d05ede15b20c5f0dd
Reviewed-on: https://gerrit.libreoffice.org/80215
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:15:28 +02:00
Szymon Kłos
74cdd4cb15 jsdialogs: make possible to traverse multiple levels
Change-Id: Idd252b0ae76181b1204233b8e98d261fde793d2c
2019-10-07 13:33:25 +02:00
Szymon Kłos
2d2c0d24a4 jsdialogs: generate flat div-based structure
* don't use tables with deep structure for each level
* use divs
* create new div (almost) only if level changed

Change-Id: I2f2278cf4c6b60e8db9c7f4ae9529c54f69f78c8
2019-10-07 12:34:17 +02:00
Pedro
329a574f45 Simplify mobile-wizard header
Change-Id: If0bcd9bd7cdc42b0400ef7cfab3cb6ef7a35f272
Reviewed-on: https://gerrit.libreoffice.org/80177
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 10:17:45 +02:00
Pedro
f442e7832b fix user's attempt to close menu via back arrow by repositioning menu
Change-Id: I99fd6bc8878ec733c0044b5c88d91d111bcb6a62
Reviewed-on: https://gerrit.libreoffice.org/80135
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 10:03:58 +02:00
Pedro
fafa4b38a5 Adjust color of cols and rows headers to be consistent with the other elements
Change-Id: I8f5239ff92e015b5c3c73d8770d86b0524bd0900
Reviewed-on: https://gerrit.libreoffice.org/80142
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 10:00:56 +02:00
Pedro
3f15225af9 Adjust color so all the main icons share the same tint
Change-Id: I6f26e6bd266c6e36894a9a3d685551c0a98205f8
Reviewed-on: https://gerrit.libreoffice.org/80133
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 09:59:40 +02:00
Pedro
a4e965d433 Add important rules to 2nd level ul entries that were not being used
Change-Id: Iccab82a2c73759107f5630ece8ad530be938346f
Reviewed-on: https://gerrit.libreoffice.org/80138
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 09:57:09 +02:00
Pedro
bf983a22bd Add aditional space to tb_actionbar_item_mobile_wizard icon as its neighbors
Change-Id: I783184e20486be42ee878c9887670b58f4d74996
Reviewed-on: https://gerrit.libreoffice.org/80210
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-06 22:07:01 +02:00
Pedro
b156d80107 Increase icon element's width
Change-Id: Ic11cbf02513f7c9052bec26f5a56d354219ef24a
Reviewed-on: https://gerrit.libreoffice.org/80134
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-06 22:06:26 +02:00
Pedro
0d20263151 Fix main-nav position, space out icons and remove document-header that appeats in the menu when in edit mode
Change-Id: I8d20cc424c30a302c36daa4952c39e12d1b74f80
Reviewed-on: https://gerrit.libreoffice.org/80132
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-06 22:04:01 +02:00
Pedro
3b92083ba1 Remove toolbar divider(break) in calc
Change-Id: Ic342aef8a4d4797d8d38531348387508a65bda76
Reviewed-on: https://gerrit.libreoffice.org/80181
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-06 21:55:39 +02:00
Szymon Kłos
3294ae90b0 jsdialogs: remove border around icons
Change-Id: I293377b8ffe3b3ddd18cf9c25b6f19bc96d9c65f
2019-10-06 21:53:41 +02:00
Tamás Zolnai
7b469564bb mobile-wizard: Update toolbar buttons by closing
Change-Id: I72b276e9cf0e54522d755eea156d5044a77166e2
2019-10-05 19:08:10 +02:00
Tamás Zolnai
ea9eb2525d insertion-mobile-wizard: Add a title for the main menu (e.g. "Insert")
Change-Id: I498f474d731d87591e33f2db1b7c9b52b7dafa47
2019-10-05 18:47:40 +02:00
Tamás Zolnai
33e5e7977a insertion-mobile-wizard: Align the sub menu arrow correctly
Change-Id: If0952435dc058d2cada04f4c6c5351d3c9aeaa91
2019-10-05 18:44:39 +02:00
Tamás Zolnai
ca51f56ebe mobile-wizard: Convert Insert menu to a mobile wizard like widget
* Added a toolbar button to open this insertion mobile wizard.
* Added a method to convert 'Insert' menu for mobile wizard code.
* Added callbacks for menu types items to JSDialogBuilder.
* Since the menus are not dialogs it would be good to create
a separate JSMenuBuilder class for the added code. I'll do that
later.

Change-Id: Ie68e13ae46dde7bc36c2465785628135623436da
2019-10-05 17:40:51 +02:00
Pedro
f164ac194f Mobile wizard: add icon for insertion toolbar button.
Change-Id: Iaaaa437fc7bf304f7bf473bb6d77c3f969a31f85
2019-10-05 17:39:59 +02:00
Tor Lillqvist
bf5ca0b1fc tdf#127942: Make a slide that is being dragged (for re-ordering) the selected
Otherwise we would have to add a new message to to the protocol to
move an arbitrary part of a document. (Currently there only is the
'moveselectedclientparts' message.) Also a new API would be needed in
LibreOfficeKit to move an arbitrary part.

Change-Id: I3012982cb0c2bc18e55f47554be51958817f9015
Reviewed-on: https://gerrit.libreoffice.org/80214
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 71be6ce1ac3533df4cd04b8c01beef89888d5809)
2019-10-05 11:52:47 +03:00