Commit graph

9330 commits

Author SHA1 Message Date
Henry Castro
d3c1062f56 loleaflet: mobile: remove the static CSS height and width properties of
slide-sorter element

Unfortunately the static properties affect the spreadsheet and writer
views, and it is prefereable to change it dynamically when the impress view is
loaded. So the other views will have an empty slide-sorter element.

Change-Id: I03a969c6de74999509314184a4aad9bc5c9e3380
Reviewed-on: https://gerrit.libreoffice.org/80546
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-10-09 15:50:51 +02:00
Szymon Kłos
acc9529c27 jsdialog: create more containers around spinfields
Change-Id: I6833ec415c9ea869091caf23f151944415807cab
2019-10-09 14:25:06 +02:00
Andras Timar
1dc6bd9dfb typo fix: comuncation -> communication
Change-Id: Iefe88baa6ac5d2201dc3fb4e4604498898a30ba6
2019-10-09 14:23:35 +02:00
Szymon Kłos
5db1be5d19 jsdialogs: add class to all paragraphs
Change-Id: I64b166a6d7274cd26ef92a218ff7e45dc980343b
2019-10-09 14:13:12 +02:00
Szymon Kłos
5036ddd66d jsdialogs: move tabs into titlebar
Change-Id: I56ebec8c12164771c4da85954d43c600030e65dc
2019-10-09 14:06:20 +02:00
Michael Meeks
9c8bcc8377 mobile: disable impress dialogs, and add insert-shape.
Change-Id: I33aebe037dd08960d97e675616f821c5542cdedf
2019-10-09 13:03:42 +01:00
Szymon Kłos
6403b5ae18 jsdialogs: remove icon from tab
Change-Id: Ia25b3f78d5c587ad6bf770c21d14f61dc05f723a
2019-10-09 13:45:02 +02:00
Szymon Kłos
6b9ad4687b jsdialogs: don't show disabled containers
Change-Id: I73299d17cd0c8d443ca2039fb73a124861339b7b
2019-10-09 13:43:10 +02:00
Henry Castro
324c7342fe lolleaflet: mobile: show horizontal orientation the slide sorter
In order to show a slide sorter, it is necessary to reuse the code that
it is working for desktop view.

changes:

* modified the @media properties of the slide sorter container element.
* added new @media properties for slide-sorter element.
* changed the axis direction to 'x' for the mCustomScrollbar
* changed the calculation using left, right and width properties for the
direction 'x'
* added options maxWidth and maxHeight size for the image preview,
default 60, 60 for mobile case

Change-Id: I23a83c831c9aa21ab2876f9d1875c7428c17d18d
2019-10-09 12:39:43 +01:00
Szymon Kłos
3b60a31c06 jsdialogs: fix tabs detection
For each panel we receive panel + window pair in JSON
we need to remove both to have similar case when no merging is
performed. Simplify tabs generation code a bit

Change-Id: Ie0f3d402d1a1e8116f5ee7d1ef72ee5a5349ace9
2019-10-09 13:33:21 +02:00
Tor Lillqvist
39ddc5242d tdf#126974: When we are about to be killed, just exit bluntly
Letting the system call exit() will cause destructors of global C++
objects to be called, and doing that at an arbitrary point in time
will cause a crash. So just call std::_Exit() in the AppDelegate's
applicationWillTerminate: method.

Change-Id: I15d7a761db931a6b7aed588bb407fa0d3b4a9465
(cherry picked from commit 4c2cb838ff5fa2485ec74db11e239883a53f7ff9)
2019-10-09 14:30:20 +03:00
Jan Holesovsky
3d5091ca6c mobile: Move the mobile wizard checkboxes to the right.
Change-Id: I79c6842ea363178bb0b8315c2a0740bf328a0961
Reviewed-on: https://gerrit.libreoffice.org/80536
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 13:24:44 +02:00
Andras Timar
df0dd16445 Fix the SSL termination case
Follow up commit of d597f22dac

Change-Id: I41ca46a93f4b82c6fea6489dbd4c0e3390ba652f
2019-10-09 12:17:33 +02:00
Marco Cecchetti
d14d1934d3 loleaflet: close mobile wizard when open a different mobile wizard
When the user swith from insertion to properties mobile wizard or
viceversa, the old mobile wizard has to be closed.

Change-Id: I1f233d377c80a94ee376b205a0749344ce050a18
2019-10-09 11:10:19 +02:00
Pedro
8408a9c53e Make all labels sharing the same new style
Change-Id: I1ef8963c5b366476bee218b147e6c746a0a7777a
Reviewed-on: https://gerrit.libreoffice.org/80528
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 10:46:17 +02:00
Pedro
af36b5e152 Fix some color picker elements by accounting for differences in html structure
Change-Id: I35d73eaaffccdd579ae79ce2eee45dabb7088332
Reviewed-on: https://gerrit.libreoffice.org/80527
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 10:43:51 +02:00
Pedro
c7b21974f1 Text properties tab: style input (and add bg img temp) + content layout
Change-Id: I99ebc02d2b37bc7016e0a08b336b26b7f8819e9d
Reviewed-on: https://gerrit.libreoffice.org/80518
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 10:06:45 +02:00
Pedro
b0b88f4601 Fix CSS typos
Change-Id: I8c0992a9e262bf127cb5b7aff0e7b271dcce75b1
Reviewed-on: https://gerrit.libreoffice.org/80513
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 10:04:55 +02:00
Pedro
dfb3e3a02d Round last squared color pickers
Change-Id: Ie247caa53b537b110d093e3839aecf890fdcfd02
Reviewed-on: https://gerrit.libreoffice.org/80512
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 10:03:59 +02:00
Pedro
8346af34a3 Style tabs
Change-Id: I7a894aa87f477adf7bda52c3712231c0b63f9806
Reviewed-on: https://gerrit.libreoffice.org/80511
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 09:30:25 +02:00
Samuel Mehrbrodt
05831c52f7 One -f should be enough
Change-Id: Iac8a6cb9fe7a6da41c3d7120bafa62e5847f2c98
Reviewed-on: https://gerrit.libreoffice.org/80510
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2019-10-09 09:14:49 +02:00
Miklos Vajna
bb8fc2df43 kit: fix UB in ChildSession::paste()
Seen during unit-large-paste with log level set to trace:

common/SpookyV2.h:139:13: runtime error: load of misaligned address 0x62500042b919 for type 'const uint64' (aka 'const unsigned long'), which requires 8 byte alignment
0x62500042b919: note: pointer points here
 74 6d 6c  0a 63 37 30 30 66 36 39  33 61 32 61 62 35 66 36  62 39 33 64 65 64 61 63  36 31 31 66 39
              ^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior common/SpookyV2.h:139:13 in

Change-Id: I6f15421bcdead839dac85adae5da10f4b41c04d1
2019-10-09 09:05:32 +02:00
Pedro
b4547b0197 Text properties tab: content layout
Change-Id: Id0c7a91e9bf16b3fb65453deeeb124d95ced781a
Reviewed-on: https://gerrit.libreoffice.org/80508
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 09:01:20 +02:00
Szymon Kłos
d663129d88 jsdialog: add missing id to elements
Change-Id: Ic022d0d768064c68a0374b9fa9e0ca41ceb7e3d5
2019-10-09 08:58:56 +02:00
Pedro
a06821a1a0 Turn round color picker elements
Change-Id: Id35b8dae443446a28ffdb1f5116115b80d6190be
2019-10-09 08:58:56 +02:00
Andras Timar
340b2ad8d4 docker: run git clean before git pull
Fixes:
https://ci.libreoffice.org/job/lo_online_docker_master/118/console

Change-Id: Ib7f228cdbb191f0a397849fb6adf20b37591c1c1
2019-10-09 08:54:24 +02:00
Marco Cecchetti
04a8d9f318 loleaflet: avoid to show broken icon in the mobile wizard
Change-Id: Ib3626b6a7ccac996c5da98a8cb3ced5d7f9af7a2
2019-10-08 21:55:17 +02:00
Szymon Kłos
92b397c9f8 jsdialogs: add icon for XLineColor
Change-Id: I66dadb4f01a07412f6fa183c6424adfffb6957a8
2019-10-08 21:31:11 +02:00
Szymon Kłos
8a35cd8025 jsdialogs: use picker for Color, add ids
Change-Id: Ia9778ff2962c05eafb6b6b4ae636dc87b3d7bf01
2019-10-08 21:26:56 +02:00
Szymon Kłos
34b49466ed jsdialogs: use picker for border and background colors
Change-Id: Iec5ee4214529ab5dbce1e0aece6e5814a1cf8365
2019-10-08 21:19:07 +02:00
Szymon Kłos
008ae186e5 jsdialogs: general style for color picker
Change-Id: Id883ab2fa9373be133f790746c72262c49e7381f
2019-10-08 21:06:38 +02:00
Szymon Kłos
304415aa26 jsdialogs: style FontColor button in Writer>Character
Change-Id: Id9ef3e0ec9c964b0b20ab9d129ff37c0da9bff21
2019-10-08 20:09:04 +02:00
Szymon Kłos
eb95669a85 jsdialogs: add color picker objects management
Change-Id: I80e0e3cfb4d73aa3619b37c1de4e86d6794fd0a3
2019-10-08 20:09:04 +02:00
Tamás Zolnai
e1963de905 mobile-wizard: move sidebar layout modification code to MobileWizard.js
Change-Id: Iedc1a5dc5ee021d19c1309652c86166d658d1aaa
2019-10-08 20:03:26 +02:00
Tamás Zolnai
2f2e1f5330 Add a function to remove item by id from the mobile wizard
Also remove 'editcontour' button which is for triggering a dialog.

Change-Id: I3c1e6e95dcc5b564b647e32d3b1245376af5764a
2019-10-08 19:52:19 +02:00
Szymon Kłos
1deda90a72 jsdialogs: fix align of tabs
Change-Id: I8d2945526a315bc661b1866916b4050de1d8a055
2019-10-08 19:38:39 +02:00
Michael Meeks
1b7d962607 Avoid lots of re-sizing of token array while parsing.
Change-Id: I009d1203838fa2d585bd415836fc6338f47e2be3
2019-10-08 17:58:57 +01:00
Gabriel Masei
d597f22dac Add minimal TLS support for communication with storage
Change-Id: Iafd9946a4240063c07f5c519b8af30b52e23d3e8
Reviewed-on: https://gerrit.libreoffice.org/80373
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-10-08 18:57:36 +02:00
Marco Cecchetti
bf9035ffc7 loleaflet: impress: add icon for inserting header and footer
Change-Id: I72c7f0742b9ae1211a2232f195eec9f7e1903b58
2019-10-08 18:48:48 +02:00
Marco Cecchetti
8508e3a289 loleaflet: close insertion mobile wizard after insert command
Change-Id: I59dc4abd0be9b59ec0b8c634bc0764b89d1d698d
2019-10-08 18:40:43 +02:00
Szymon Kłos
0e290aa52d jsdialogs: use name of tab instead of panel id
Change-Id: I29ba84a746db38d1605ca4462edb720b62f12502
Reviewed-on: https://gerrit.libreoffice.org/80482
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 18:10:00 +02:00
Jan Holesovsky
e9fdbfe07a mobile: Use the 'text' property for the names of the panels.
Depends on a core patch.

Change-Id: Ic5711c8c19bf9cb6ded12b3a704248a7e27360f8
Reviewed-on: https://gerrit.libreoffice.org/80480
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 18:09:37 +02:00
Pedro
47cc5e85dd mobile-wizard: AlignmentPropertyPanel: layout
Change-Id: I375ca4042d3fc38d9781acc4871de85f83236636
Reviewed-on: https://gerrit.libreoffice.org/80483
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 17:38:55 +02:00
Marco Cecchetti
acd95732b6 loleaflet: calc: more icons for mobile wizard
Change-Id: If5112719a055ba059d95cff3b1d96df5fb9f39ae
2019-10-08 17:01:51 +02:00
Szymon Kłos
922e898a94 jsdialogs: show both tabs on small screens
Change-Id: I6c38703cf2580b75978fef2ca761d2fe93044f25
2019-10-08 16:57:21 +02:00
Henry Castro
06bbdd2c75 loleaflet: mobile: avoid to set twice the same toolbar item
ImpressTileLayer has its own toolbar that it was created
with items 'prev' and 'next'. When update parts event is
triggered it is not necessary to set it again. The code is
valid only for Desktop view.

Change-Id: I51345a824079565bb9b8d2feae7c71624bbe4841
Reviewed-on: https://gerrit.libreoffice.org/80476
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-10-08 16:51:58 +02:00
Szymon Kłos
7a65176341 jsdialogs: no white text in tabs
Change-Id: I998a21f9e0f4407784f72915d5a2f187f86ed76b
2019-10-08 16:50:57 +02:00
Pedro
9a8301281f toolbar-down(only): Style active states(checked) according to the overall theme without replacing icon
Change-Id: I3828039796a8ab9fb1cd32529efbb781348cdec5
Reviewed-on: https://gerrit.libreoffice.org/80472
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 16:47:51 +02:00
Pedro
c8289a14e9 mobile-wizard:SidebarTextPanel: Work on grouping elements, their layout and states
Change-Id: I5442d5db79e3d0fe6d094fc74a5806d2b52eef47
Reviewed-on: https://gerrit.libreoffice.org/80469
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 16:47:01 +02:00
Szymon Kłos
5fba4dc231 jsdialogs: move tabs to a separate container
Change-Id: I08723d02f47553644c29780f41a0a74470995d8c
2019-10-08 16:42:45 +02:00