Commit graph

7591 commits

Author SHA1 Message Date
Tor Lillqvist
07155e3b53 Revert "Update from core master"
Was reverted in core, too.

This reverts commit cd389cb6b0.
2018-12-13 15:05:32 +02:00
Andras Timar
53394dd3cf PIN code input field should be 'password' type
Change-Id: Ia811eb8b8b410c799034cb1ae6905797dfb32a0b
2018-12-13 09:27:01 +01:00
Miklos Vajna
b773f11bdb WopiTestServer: make members private
Change-Id: If042fab5b69faf7c7dff975a95810cb96d8f02b0
2018-12-13 08:49:09 +01:00
Tamás Zolnai
6c6eaaadf0 Now we need gallery for inserting some special shapes
So copy it from the lotemplate.

Change-Id: I84d1514e5e06ec194e549b36f8db2dc6fdd04f38
(cherry picked from commit 66dcff38a7248fb7facc6d459ac8788882262bb1)
Reviewed-on: https://gerrit.libreoffice.org/65018
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-12-12 13:18:48 +01:00
Szymon Kłos
30c06fab33 Fix toolbars position
Change-Id: Ib48bc53ebb5230f198de27d80ecffd3e0c4eec2f
2018-12-12 13:39:14 +02:00
Miklos Vajna
d390d646a6 WhiteBoxTests: clean up redundant member initialization
Change-Id: I7b9a4453a94df0a9311bfdb6c0ea3bf8c8e74208
2018-12-12 09:03:15 +01:00
Szymon Kłos
375a1a6078 Don't show '<<' button in the signing toolbar
Change-Id: Ie178add1812735ac4653b0aedab58f70a8b6f0e8
2018-12-11 21:30:18 +01:00
Andras Timar
279301e51d New configure switch --enable-vereign to set the default document signing url
Change-Id: I65225fc5f94a8ad49b75d31ef3535e8479484e69
2018-12-11 12:55:16 +01:00
Miklos Vajna
e9e1db61cc HTTPWSTest::testRenderShapeSelection: this test expects an SVG generated by core 6.0
So avoid the test with newer core, which generates a slightly different
SVG.

Change-Id: I9357530735640a40a176140e26ddeb334cd7e89f
2018-12-11 09:10:43 +01:00
Tor Lillqvist
cd389cb6b0 Update from core master
Change-Id: Iae9ae1d0227a40bfc6de95557bd99210c7e437fa
2018-12-11 00:23:25 +02:00
Tor Lillqvist
8f1ed48145 Use the new LibreOfficeKit API to localise the template category headers
Change-Id: Icc91138cbe5de290103a746c8797e647259d5009
2018-12-10 22:41:55 +02:00
Tor Lillqvist
c65f3e43a1 Fetch the locale already in the AppDelegate's didFinishLaunchingWithOptions
It will be needed by code that runs before the Document object is
created.

Change-Id: I5c4646e08c670b88b6d3a4d38450cc80e11ec402
2018-12-10 22:41:55 +02:00
Samuel Mehrbrodt
02e7a2680a Remove reference to wrong function name
Change-Id: I7ee24cacfd7facb96419167643202a04ee7adaad
2018-12-10 15:29:29 +01:00
Samuel Mehrbrodt
7047b9b681 Fix Show_Button / Hide_Button
Was broken with 131f3e9b6b

Change-Id: I88e607cb005e3acfc80c12e87db1ac3e1258fb5a
2018-12-10 15:26:47 +01:00
Miklos Vajna
0648d462ff signing: update end point URL suffix to work again
Server-side code was changed.

Change-Id: Icf784a261de66e519f1c6975b70820ef0b6888a0
2018-12-10 10:10:58 +01:00
Miklos Vajna
b1f06d1c0a FileUtil: make fs members private
Change-Id: I921118c42a20117725074169f6425e9ff87bc54b
2018-12-10 08:55:39 +01:00
Andras Timar
d9dee9793b id of Close button on Document signing bar should be unique
Change-Id: Ib4f9d044d8e943de27f36029ce54100d29553604
2018-12-09 23:13:35 +01:00
Andras Timar
9539c212ef loleaflet: enable l10n of Signing Identities dialog
Change-Id: I4b6f5c998c649c6bfe89fc6af1e1f32f39053cbe
2018-12-09 21:53:49 +01:00
Andras Timar
d2dd7c697b Updated Slovenian translation
Change-Id: I136d57aec54487f15762cd2487924c5b8991a133
2018-12-09 17:33:23 +01:00
Andras Timar
60027d3b31 loleaflet: add dsb, fy, and kab translations
Change-Id: I470865ef5cf9d5f239313ae339c23bba36012637
2018-12-09 15:18:57 +01:00
Andras Timar
80597abe3d loleaflet: update pot files
Change-Id: I89c9fd2d98d165a42b31d171cd46e9e35bdb0b34
2018-12-08 16:10:11 +01:00
Andras Timar
8092c3eabd docker: do not install system libpixman, fix RPATH of libcairo
Change-Id: I28c6ee71bca80d1dd65daa02af5d719a94d55034
2018-12-08 16:08:03 +01:00
Jan Holesovsky
e0e55832d0 ui: Unfortunately we have to start with the 'styles' visible even in calc.
The 'hidden: true' is causing trouble, just toolbarUp.show('styles') is
not enough to make them visible ex-post, so for the moment, default to
visible.

Change-Id: If49bcaea3813ae9bcb299b8ab70750d32986a3fe
2018-12-08 00:08:17 +01:00
Szymon Kłos
c984e6c321 Make the toolbar white
Change-Id: I9bcec2ed9c162b84f3f53f9abbeb3616ed1c35c9
2018-12-07 21:52:40 +01:00
Szymon Kłos
b4baf6d82c Show sheets toolbar in readonly mode
Change-Id: Iac6390d7cb5186ca9538cd3ed9d7c896aa9c8f81
2018-12-07 21:51:45 +01:00
Tor Lillqvist
2768d8b9fd Bump CFBundleVersion
Change-Id: I0278c745924787fdf5f258bb7d334fa6eef14fc0
2018-12-07 15:28:11 +02:00
Jan Holesovsky
26db5646ed Some compilers do not like this and complain about shadowing the methods.
Change-Id: Iabdc790a9c2c37eccbcb4245a48d564c69ea5d19
2018-12-07 13:39:10 +01:00
Szymon Kłos
b23d72a868 Slide switching buttons in mobile
Change-Id: Idf30f53dc8e1a68d0c99dfef484ea9796ee40550
2018-12-07 12:39:28 +01:00
Szymon Kłos
d68d6cda4a WOPI: Action_RemoveView
Change-Id: Ie8160b70b94c5cb9012560fde64e7e4e9eb079cf
2018-12-07 12:39:28 +01:00
Ashod Nakashian
3bcc198483 leaflet: check status change by comparing payloads only
Since we have two status message commands, we need
to store and compare just the payloads, lest we
unnecessarily re-process the document state when
nothing has changed (except we got status: vs statusupdate:
or vice versa).

Change-Id: I8506fc4ced3e7677ccc6725893b5ad8eeb8e9f9d
2018-12-07 12:39:28 +01:00
Ashod Nakashian
76a14c8eb0 wsd: document forced autosave and why isAutosave=false
Change-Id: I5bb35898bb917f6768327b264e87dd9000a10ecc
2018-12-07 12:39:28 +01:00
Henry Castro
95042c1889 loleaflet: restore original preserveAspectRatio attribute
Change-Id: Ia34deb90c958e3d633d098b63c49adfd5bc3bdac
2018-12-07 12:39:28 +01:00
Szymon Kłos
1df7208956 Enable undo & redo after enterEditMode
Change-Id: I275f16613eafe74539a8ddd939a8db9979174e6d
2018-12-07 12:39:28 +01:00
Szymon Kłos
facbffb072 Enable buttons after read-only mode exit
Change-Id: Ic6680d53d07ba0d3a026ae0e17ba5ba812e60e32
2018-12-07 12:39:28 +01:00
Szymon Kłos
e71bbfcbc0 Reload menubar on permissions change
Change-Id: I156315982cea806de9f0cd21ef45e018be0b3c52
2018-12-07 12:39:28 +01:00
Jan Holesovsky
867ca0129c mobile view mode: Don't show the 'edit' button on the desktop.
Change-Id: Ia7f3fa5036c0f47fb9da51042b5cfe673871e432
2018-12-07 12:39:28 +01:00
Jan Holesovsky
ca6437f417 mobile view mode: More screen space for Writer and Calc.
Change-Id: Ia754aad59d09254d538480619aec1020f4eb4943
2018-12-07 12:39:28 +01:00
Jan Holesovsky
da29205ea4 mobile view mode: Don't hide the content of the upper toolbar when read-only.
Change-Id: I7d3cf8f5f1946f05254cc22d7ea6fedfe872e225
2018-12-07 12:39:28 +01:00
Jan Holesovsky
499a488b5a mobile: Fix the naming confusion also for toolbar-down.
Change-Id: I717d1364926a788a15ac9b5e89c4e5fe28a8cac3
2018-12-07 12:39:28 +01:00
Jan Holesovsky
131f3e9b6b mobile: Fix confusion between <div> naming and w2ui naming.
Both were using toolbar-up, but the <div> was always up, but the actual
w2ui toolbar (named toolbar-up) was at the bottom.

Change-Id: Ic3ff80f68bfb878d2ed77e98e5be10ca96d64987
2018-12-07 12:39:28 +01:00
Jan Holesovsky
b647f6b1cd mobile view mode: Start with the read-only mode, upgrade to edit when needed.
Change-Id: I268bf89465aac871b83238b8e7c534ef80428e88
2018-12-07 12:39:28 +01:00
Jan Holesovsky
a710a8fafd mobile view mode: Add the floating action button.
The icon comes from the Material Design pages: https://material.io

Change-Id: I59acf7bfb6c65030721605ead057c8854f529a3b
2018-12-07 12:39:28 +01:00
Marco Cecchetti
13cfe2be30 loleaflet: shape scaling rework
Now shape scaling is handled through the transform dialog instead of
    simulating a drag and drop event in core.

For performing a uniform scaling when the shape/image is rotated we
    need to inform the client about the rotation angle for the
selected    graphic object that has been achieved but appending an
angle argument
to the graphic selection callback.

The client check if the angle is divisible by 90 in order to decide if
uniform scaling should be used or it doesn't.

Moreover now it is also possible to reverse shapes/images through
negative scaling.

Change-Id: Iadb93f5883ac403313c1358cb3d8cc9db78338fd
2018-12-07 12:39:28 +01:00
Szymon Kłos
286d13e077 Zooming dialogs: per instance, not global
Change-Id: Id5a0baac745018a2d450ce4cb930849105452563
2018-12-07 12:39:28 +01:00
Jan Holesovsky
0d2e61c45f menubar: The temporary one should not be disabled & jump to the new position.
Also don't use the hover frame for the 'Last modification', it is not a
real menubar enttry.

Change-Id: Iccaf8ff2b7a882e7d5bbf56d5dc19422a93457fe
2018-12-07 12:39:28 +01:00
Henry Castro
dfeabd9810 loleaflet: show/hide embedded SVG when it is transformed
Change-Id: I89b10a8bc36520a1224701835b0a66e4b781109e
2018-12-07 12:39:28 +01:00
Henry Castro
d2b9f24ab5 loleaflet: set display to none of an embedded svg element
Change-Id: I6827dd60e3ed6959cabf623f153e73cafed2107a
2018-12-07 12:39:28 +01:00
Szymon Kłos
0eb1bcb8ce Zoom & move LOKDialogs using gestures
Change-Id: I313ef0ed1b801d8a3d3aadfca7c2eb001499e7db
2018-12-07 12:39:28 +01:00
Henry Castro
ef52ba01a4 loleaflet: set opacity 0.5 to a group element
Change-Id: I2f3e7f275e0b217041fd2e4c83a1360cdced738a
2018-12-07 12:39:28 +01:00
Szymon Kłos
d2a4e1677f Introduced tablet mode
* by reducing small device screen size limit to 767px
  tablets like iPad are not switched to the simple ui

* tablet is a mobile device without simple ui

* created global methods to detect ui mode
  window.mode.isTablet() / isMobile() / isDesktop()

* menubar / toolbar items can have 'tablet' property

* modification indicator is hidden in the tablet mode
  to allow layout menubar correctly in the vertical mode

* tablet mode has the menubar folded by default and
  hamburger menu icon to unfold it

* menubar hidden by default needed fix for calc due to
  additional row with formulas

Change-Id: I0d89427f6bfde015c645c597cb741c69b9031178
2018-12-07 12:39:28 +01:00