Commit graph

9224 commits

Author SHA1 Message Date
Tor Lillqvist
07986199ad Just call lok_init_2() and LibreOfficeKit::setLanguageTag() once on iOS
... when the app starts.

Change-Id: Icac4a9e1074fb6c5f3c9b5282e20a4513717a323
Reviewed-on: https://gerrit.libreoffice.org/80881
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2019-10-16 13:16:42 +02:00
Szymon Kłos
91d281bf0b Split css files - added empty files
Change-Id: I67863622d37e350e8a5eafa4cd5f65ec4a2baed3
2019-10-16 12:38:04 +02:00
Marco Cecchetti
d0e6692c1b loleaflet: color picker control based on JSDialogBuilder
This patch provides an implementation of a color picker control living
in its own submenu.

Change-Id: I65c24c73d322f1d4d0d8819dc5c9ad80ee846261
2019-10-16 12:18:43 +02:00
Pedro
7870f60c9b mobile-wizard-content: Slide: Make Master View btn full width
Change-Id: Ic774eeb09d744b7dadc4658c422c63f9336b515c
Reviewed-on: https://gerrit.libreoffice.org/80870
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-16 10:26:45 +02:00
Pedro
7bd54177a2 mobile-wizard-content: differentiate spinimages from normal image btns and increase accessibility by adding states
Change-Id: I6666403b7df77f827f7eb2aceff2cc8334fb2ad9
Reviewed-on: https://gerrit.libreoffice.org/80835
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-16 10:14:28 +02:00
Pedro
acd89f72c4 w2ui-button.over: limit different background only when in the toolbar-down
Change-Id: Icd627a7da52b0c58f35bbd52f38220767e937e01
Reviewed-on: https://gerrit.libreoffice.org/80837
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-16 10:13:11 +02:00
Pedro
97300e1591 Fix alignment of pop-down arrow and its header
Change-Id: Iee1248b374af7977414c16b034f3bbfeef5b6b91
Reviewed-on: https://gerrit.libreoffice.org/80843
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-16 10:12:05 +02:00
Szymon Kłos
c51120b994 jsdialogs: add id to the spinfield container
Change-Id: I5d86dec1bb2c86e23dbe97c82107143c22a03eff
2019-10-16 10:09:19 +02:00
Henry Castro
72af6303b2 loleaflet: mobile: move code related to document property changes...
to the ImpressTileLayer

When onUpdatePermission in fired in Control.Toolbar.js. I was
expecting read code related to only toolbar operations like
enable, disable or remove buttons. It is better to move code
related to document change properties to the ImpressTileLayer.

Change-Id: I4b33fdd6a7846708b223bc1e80c03190c15711dd
Reviewed-on: https://gerrit.libreoffice.org/80863
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-10-15 23:45:59 +02:00
Henry Castro
4e848bfa4e loleaflet: remove unused TileLayer.WMS.js file
A Web Map Service (WMS) protocol is not used for Document
Tiled rendering. Probably in the near future if it is required,
we can restore back the file, but meanwhile it is a dead code.

Change-Id: I7f622e335eead6f1ef8d8250394b56b43ae3ea1f
Reviewed-on: https://gerrit.libreoffice.org/80862
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-10-15 22:47:59 +02:00
Miklos Vajna
1e36adb72a kit: also add missing modeline
Change-Id: Ibfc531b65d68928111df213bef08655ef21cea62
2019-10-15 22:18:05 +02:00
Miklos Vajna
fd21e2b34d kit: add missing header/footer
Change-Id: I111aeafb2e2376983e47bb09cc134883ffee64bb
2019-10-15 22:15:41 +02:00
Tamás Zolnai
3e42e34a7c mobile-menu: Make sure that main-nav element is hidden
Change-Id: I94e9fe572089f77cd721a9c157bf24a8ae5e3dcf
2019-10-15 21:16:40 +02:00
Tamás Zolnai
976801f82c mobile-menu: Clicking on an item enabled insertion wizard.
Change-Id: I3152f6844a777209b8274a80bece51b8af09453d
2019-10-15 20:32:06 +02:00
Tamás Zolnai
4839e55f23 mobile-menu: Writer: Move 'Download as' menu upper with one level
To make the menu structure more shallow.

Change-Id: I1f64defe8103f3bb0d716bddcddb2b8a463b5585
2019-10-15 20:32:06 +02:00
Tamás Zolnai
6ca2f7f152 mobile-menu: Simplify 'Download as' / 'Export as' menu creation
Change-Id: I9e7f094e9a04d96c5eeae3c9948ed0e856431cf3
2019-10-15 20:32:06 +02:00
Tamás Zolnai
ff60c8ee68 mobile-menu: Writer: Move 'Track Changes' menu upper with one level
Change-Id: I68e5b9f757976c8cbe55c4512dad6a3037e292fe
2019-10-15 20:32:06 +02:00
Tamás Zolnai
83f116987c mobile-menu: Remove 'Close document' menu item
We have a button for this on the toolbar.

Change-Id: I87e844b6c4d0bfa1cb022c12a76e1b52fcb02164
2019-10-15 20:32:06 +02:00
Tamás Zolnai
bba4f10138 mobile-menu: Remove some useless separator from View menu
Change-Id: I041836ca70d649eb1979cf7ef12750572be50779
2019-10-15 20:32:06 +02:00
Tamás Zolnai
b63678ce27 mobile-menu: Replace Help menu with it's only About item.
Change-Id: I3c82df0aa03b1790c23d87a86e6acf44bcf22ad3
2019-10-15 20:32:06 +02:00
Tamás Zolnai
d724b110c6 mobile-menu: Remove Tools menu for Calc / Impress too
Writer does not show them either.

Change-Id: Iaed967e11270424731e245b289e20a212d4bcbd3
2019-10-15 20:32:06 +02:00
Tamás Zolnai
bce80fa500 menu-to-mobile-wizard: Create a separate menu structure for mobile
Instead of using mobile attribute. So we can customize mobile menu
freely.

Change-Id: I1d624dd54a6f0988a3ebeb4ef692a1ffd252a916
2019-10-15 20:32:06 +02:00
Tamás Zolnai
3f9cc7b5c9 menu-to-mobile-wizard: Hide menus not allowed in read only mode.
Change-Id: I76b277ee68e0a94823615e65c335830c903e9edd
2019-10-15 20:32:06 +02:00
Tamás Zolnai
ac31c8776e mobile-wizard: Fix mobile wizard position after using menu wizard
Change-Id: I861dd32922a037fe459d7e7e894ec1782921fa02
2019-10-15 20:32:06 +02:00
mert
a1c58c04cc Added Watermark.hpp
Change-Id: I3619283031865f59f94157d5b8df14a94ac9327b
2019-10-15 20:25:26 +03:00
mert
a5000034cd Added normalizedViewId to the tests with tilemsg
Change-Id: I479246a2c592b7e4f50b613a0fb0f96af761198c
2019-10-15 18:13:03 +03:00
mert
86489d3dcd Include normalizedViewId to TileCache
Change-Id: Ib23afa023d79189f7fd7aca8b5b0e198c3011fbc
2019-10-15 18:13:03 +03:00
mert
2ee14aa148 Extend TileDesc with normalizedViewId
Change-Id: I92046106e346289240884632d6ec6e0da7b8eabb
2019-10-15 18:13:03 +03:00
Szymon Kłos
74ce4a9261 jsdialogs: send events to the core
Change-Id: I23a5a14b93bda205c9c276a697e58d1dc4147f0c
Reviewed-on: https://gerrit.libreoffice.org/80838
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 15:59:16 +02:00
Pedro
659655485a spinfieldunit: fix color by adding !important
Change-Id: I3e41b701c9024b01c805d3561265844da1adfe33
Reviewed-on: https://gerrit.libreoffice.org/80834
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 14:51:54 +02:00
Pedro
c7ca54d1a2 mobile-wizard-tabs: be sure that both tabs ocupy the same width no matter its content
Change-Id: I28bf4ae50f5d7ae2cf738a5a66bb8328ae20f406
Reviewed-on: https://gerrit.libreoffice.org/80832
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 14:44:52 +02:00
Pedro
c345784eb6 mobile-wizard-content: fix checkbox alignments
Change-Id: I1b55c5a579e3a8e79980701eb0afbeaacaaefb8a
Reviewed-on: https://gerrit.libreoffice.org/80830
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 14:40:16 +02:00
Pedro
4099b44812 Impress: presentation-controls-wrapper: hide previews when in readonly mode
Change-Id: Icf430e211fd6d86d9bd5e3eedc0d0f3635ff24fe
Reviewed-on: https://gerrit.libreoffice.org/80828
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 14:38:42 +02:00
Szymon Kłos
ca4351e6ef Revert "jsdialogs: send events to the core"
core not yet ready

This reverts commit 80ecaa60f6.
2019-10-15 14:06:08 +02:00
Pedro
f6b2cd63a4 mobile-wizard-content: sinfieldcontrols: fix focus state
Change-Id: I081215b0d3dde124a5d62f365df2e193c030ac17
Reviewed-on: https://gerrit.libreoffice.org/80816
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 12:20:55 +02:00
Pedro
15ca7b6e9b Spreadsheet: toolbar: fix over states
Change-Id: Id89ffe293371b59c2fe27fc0fe75bb8ac93f7978
Reviewed-on: https://gerrit.libreoffice.org/80817
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 12:16:37 +02:00
Pedro
9cc4c091c0 Hamburger menu: add more missing icons
Change-Id: I7ccf2962ae5658524120a3702aa0b83aecd8d399
Reviewed-on: https://gerrit.libreoffice.org/80822
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 12:15:13 +02:00
Pedro
3924566023 Hamburger menu: spreadsheet: add missing icons
Change-Id: Ife622b708d951475913255b528f0182759ffe4d8
Reviewed-on: https://gerrit.libreoffice.org/80819
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 12:14:06 +02:00
Szymon Kłos
05a6486f36 Fix initial state of closebutton (show in integration)
Change-Id: I7b1fa565098f32817674fbeff5676cafa6957f31
2019-10-15 12:08:14 +02:00
Pedro
4b55e4ac0c mobile-wizard-content: fix sinfieldcontrols
Change-Id: I850077314e000baef0466d029cfa2df504c79221
Reviewed-on: https://gerrit.libreoffice.org/80808
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 10:43:12 +02:00
Pedro
6f58f37ed1 mobile-wizard-content: add missing text ident spinfieldimages and add paddings
Change-Id: I608d12fe6527cb4e810b309a38f610d020ebe710
Reviewed-on: https://gerrit.libreoffice.org/80811
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 10:41:22 +02:00
Pedro
aaf4a7f89f Add copy/paste warning icon
Change-Id: Id83db7c5cfa6b56d7bc716d0b6dd89895a788b58
Reviewed-on: https://gerrit.libreoffice.org/80770
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 10:39:01 +02:00
Pedro
1d9242e696 Hamburger menu: add Select all and Find icons
Change-Id: I5255ac39a35a5977e5ce615b89699ac35188a1d9
Reviewed-on: https://gerrit.libreoffice.org/80777
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 10:38:00 +02:00
Pedro
fbe25e0b16 Impress: Style add new slide btn
Change-Id: Ic6eb5ab1a884683ecdf76d6b00c0b5461f5a2118
Reviewed-on: https://gerrit.libreoffice.org/80775
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 10:35:36 +02:00
Pedro
ecacf1752b Impress: Style scrollbar when on mobile
Change-Id: I0d99afc18835445e9b072f69d761aa6f72b287cc
Reviewed-on: https://gerrit.libreoffice.org/80772
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 10:33:55 +02:00
Pedro
1c58942259 Hamburger menu: create and add repair icon
Change-Id: Ide7f1f036993d0664a94cdd66467f0602f8ee83b
Reviewed-on: https://gerrit.libreoffice.org/80781
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 10:32:37 +02:00
Ashod Nakashian
77e7cae689 wsd: fix password-protect file loading from multiple views
With password-protected files, the first loading attempt
always fails due to missing password. At that point the
client is notified of the missing password and the user
is prompted. The second attempt includes a (hopefully)
correct password and the document loading commences.

Due to the fact that an exception is raised when
the loading fails, this left the loading latch
triggered, which blocked subsequent attempts.

Change-Id: I7cc257a36eb1cc080f460aac8cdb7030783a5914
2019-10-14 21:35:27 +01:00
Tamás Zolnai
a4fb071ecf menu-to-mobile-wizard: Show a blue overlay on "active" main menu button
Change-Id: Ief09e5352a404ad8da486198c3f03b4e4cfce92f
2019-10-14 20:22:25 +02:00
Szymon Kłos
80ecaa60f6 jsdialogs: send events to the core
Change-Id: I23a5a14b93bda205c9c276a697e58d1dc4147f0c
2019-10-14 19:18:07 +02:00
Tamás Zolnai
2d3cfba22f menu-to-mobile-wizard: Fix menu panel height
Change-Id: If3a453ebaa75717cc2fb9f195b56c0bf5c6ade17
2019-10-14 15:15:42 +02:00