Commit graph

7403 commits

Author SHA1 Message Date
Samuel Mehrbrodt
567cd458a1 Docker: Install an editor
So that one can edit files in the docker container

Change-Id: Ibfc9b624e2ae2ea417f87225d6d8d4212c6b1fb3
Reviewed-on: https://gerrit.libreoffice.org/63464
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-11-20 12:29:08 +01:00
Miklos Vajna
b6ddf485f3 TileCache::TileBeingRendered: make members private
Change-Id: I2ea4a10bd6fa78b1d8738d941d1c52fc46352ab9
2018-11-20 09:14:44 +01:00
Jan Holesovsky
9a26beae9c mobile: Various fixes to the user list, particularly on mobile.
Change-Id: Iee294630c2af5240394a848bbce0156d691ef7a0
2018-11-19 13:40:37 +02:00
Jan Holesovsky
58fd6beac8 mobile: Get rid of the callout icon.
Change-Id: I6a040269a2a0d45e7b2db00c4c221ff6c86fdf1e
2018-11-19 13:40:28 +02:00
Marco Cecchetti
abede8cbe8 loleaflet: mobile ux: get comments scaling on document zoom
On document zoom out the comments are shrunk.
We try to get the selected/edited comment always visible.
This is especially useful on small devices.

Change-Id: I0a43d32fe68364f681056c1643c36dc74ff3a66a
2018-11-19 13:40:17 +02:00
Jan Holesovsky
392e686eec hidpi: Provide hidpi slide previews when necessary.
Note that this will lead to sending previews in higher resolution even
to non-hi-dpi displays during updates; but even the hidpi previews are
just slightly larger than normal tiles, so probably it takes more time
to render the preview in both resolutions than just using hi-dpi
everywhere.

Change-Id: Ia478d4ceffe9a1433d50606bf6ff8ad91b46ae4c
2018-11-19 13:40:07 +02:00
Ashod Nakashian
7a5266b0ae leaflet: reduce some animation timeouts to avoid hammering cpu/browser
Change-Id: I4194db181f1cc0f89c906cbb87846c89df47e4ee
2018-11-19 13:39:55 +02:00
Ashod Nakashian
abf6e7edef leaflet: stop animating comment-box when reached dest
Change-Id: Ief573dcd5311974894be6a99f709db5f9a1a26d3
2018-11-19 13:39:45 +02:00
Marco Cecchetti
c269dc0bc7 loleaflet: mobile ux: get touch ui working with comments
This patch, simulates single clicks and prevents that pinch to zoom on
a comment area to cause a zoom of the whole application ui.

Change-Id: I5a7b9df426d7987b127b81e94d3bc7f08cd779ce
2018-11-19 13:39:34 +02:00
Marco Cecchetti
ba7451e9b1 loleflet: mobile ui: removing the doc logo from up toolbar
Change-Id: I3f51b9b9871f58abeb4a7170fce6f026759a112b
2018-11-19 13:39:21 +02:00
Marco Cecchetti
c6b57e2049 loleaflet: touch ui: pinch to zoom only when done in the document area
Change-Id: I4403ab078035a5289e26b84a02c5bddbbc378eb5
2018-11-19 13:39:10 +02:00
Marco Cecchetti
6be30dac7f loleaflet: mobile ui: polish up-toolbar
Removed statistic data
Added a button for toggle full screen mode
Added a button for going bacj to the file browser view
Undo/Redo buttons are now working

Change-Id: Ib623fe1332a11e0f0ab1abf7f869b0763854090b
2018-11-19 13:38:59 +02:00
Jan Holesovsky
f8c5310fff Disable the 'pull to reload' gesture.
Change-Id: I35b722c15386beae75975dffb39341e4aeb34b02
2018-11-19 13:38:47 +02:00
Jan Holesovsky
d38e394d10 hidpi dialogs: Make them work now.
Change-Id: I4cc4772748aeee753e283a3f8ec8ef58809439a4
2018-11-19 13:38:37 +02:00
Marco Cecchetti
2a86260988 hidpi dialogs: passing dpi scale value with the paintwindow msg
Change-Id: Icd0f48c98410af32e65bb44c413dfeb078ab8774
2018-11-19 13:38:20 +02:00
Marco Cecchetti
d85c601fc1 calc: hidpi row/column headers
Change-Id: I1edb248ca344261dc55eddc28d2a621a3d1aa314
2018-11-19 13:38:10 +02:00
Jan Holesovsky
13f1cafec2 Calc: Enable hidpi and zooming again.
Change-Id: Iada0efb81c71e0749814535855a0d9e4e1dcf1f1
2018-11-19 13:38:00 +02:00
Henry Castro
dd79dbbe6a loleaflet: mobile: ensure to hide the document title
Change-Id: Ia5bd346ab96b98554bc5f2609d81399db1a17031
2018-11-19 13:37:51 +02:00
Henry Castro
511c59108a loleaflet: mobile: add context toolbar
Change-Id: I8cf5d0043022efebc022da70e3a99edcc2f96cb7
2018-11-19 13:37:27 +02:00
Henry Castro
69cbed0fe5 loleafet: mobile: use max-device-height
Change-Id: I2d117fde9a6d8c522e8b40a133a43c978bf29896
2018-11-19 13:37:07 +02:00
Henry Castro
12f0faf38f loleafet: mobile: fix max-height screen size tablet
Change-Id: Id2d6112107d308539eb7f67efbc99f8066ad415a
2018-11-19 13:30:52 +02:00
Henry Castro
fd5f32be40 lolefalet: mobile: hide custom combo boxes
Change-Id: I6a55fb55c7473010a29a72503d81ccf1e90fc1a4
2018-11-19 13:17:18 +02:00
Henry Castro
eafed64896 loleaflet: mobile: exchange toolbar positions
Change-Id: I0cbae0d351cb2cc965379aa2d5f8cb345475a37c
2018-11-19 12:58:27 +02:00
Henry Castro
c3bdf30b31 loleaflet: mobile: adjust spreadsheet positions
Change-Id: Iad33a6831714f441cd56abc1f83c6fd3ce2b5980
2018-11-19 12:52:02 +02:00
Henry Castro
e044375ff5 loleaflet: mobile: hide statusbar
Change-Id: I48370e0e5d2b28436d5cc7c2c12c42bc37f07714
2018-11-19 12:02:53 +02:00
Henry Castro
723fd25db5 loleaflet: mobile: create toolbar
Change-Id: If9a9063f511ea1b15e843554b619af8d530693e4
2018-11-19 11:39:02 +02:00
Henry Castro
bc60fc9273 loleaflet: mobile: hide menubar
Change-Id: I7724f0c43dfabb56424daeee5972675878b86c5e
2018-11-19 11:36:26 +02:00
Tor Lillqvist
683b347032 Revert "Awful but effective hack that seems to fix the jumping after touch gestures"
See discussion in https://gerrit.libreoffice.org/#/c/63437

This reverts commit 657076d620.

Change-Id: I7bc2330011bc389041375928d0cae98eeea8a647
Reviewed-on: https://gerrit.libreoffice.org/63550
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2018-11-19 10:09:05 +01:00
Miklos Vajna
e167cd173b StreamLogger: make members private
Change-Id: Ie9ec09a9b7b8885bd97e62bd65df27cf1454c408
2018-11-19 09:06:10 +01:00
Tor Lillqvist
11c5c9f997 Bump CFBundleVersion to 7
Change-Id: I5ff12e12183b7e86553f6bdc183de2d33ab52ab4
2018-11-17 10:58:12 +02:00
Tor Lillqvist
657076d620 Awful but effective hack that seems to fix the jumping after touch gestures
(Only for mobile devices for now. I am not brave enough to do it also
for mobile device browsers using a normal Online.)

Likely breaks rendering of the scroll bars somewhat.

Change-Id: I40bf1cb29fc99ba808b8bb570691d96019a1f8f7
Reviewed-on: https://gerrit.libreoffice.org/63437
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2018-11-17 09:32:54 +01:00
Jan Holesovsky
1f60282c65 document signing: No document signing bar when it's disabled.
Change-Id: Iaec13c5166654e735aba0714763d97cf92486bd7
2018-11-16 13:48:39 +01:00
Miklos Vajna
d52cf35418 MessageQueueBase: make members private
Change-Id: I65360bc23475b25b2c626ea75186e8863fc74b8f
2018-11-16 09:06:17 +01:00
Tor Lillqvist
64ec399f54 If the language is de-CH, change 'ß' in a de(-DE) translation to 'ss'
Swiss Standard German does not use ß, but otherwise (to the best of my
knowledge) the same German translation as for Germany should be OK.

Handled for the mobile app case, and for Online's messages only here.
Will be handled separately in core for its messages.

Change-Id: Ic8891b5bb340b841c3faa8f8b591a39e4f3f330a
2018-11-16 00:45:00 +02:00
Tor Lillqvist
d8b982e75e Add Emacs mode line
We want this file to stay as it was in upstream, so please do continue
to use TABs in it, and 8 column tab width.

Change-Id: Id355ac32bbe899470d4f66c4cf84fef3f3add0d8
Reviewed-on: https://gerrit.libreoffice.org/63436
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2018-11-15 18:04:11 +01:00
Tor Lillqvist
393c8ff278 Move the malihu-custom-scrollbar-plugin js and css into our tree for hacking
I plan to add some hacks into it to fix the horrible jumping around
after touch-based interaction, specifically for the iOS app.

Change-Id: Ia6cfbfe7f487b52ba7652e49eb3fdb59af0c82ae
2018-11-15 18:33:41 +02:00
Tor Lillqvist
5799450024 Avoid TypeError: undefined is not an object
(evaluating 'tile.src = this._tileCache[key]')

Don't use the tile variable unless it has been assigned a value in the
same loop iteration. (Also avoids the potential chance of using a
leftover value from a previous loop iteration.)

Change-Id: Iac445e968ca1bbd86a8c36730e74580622ae43d9
Reviewed-on: https://gerrit.libreoffice.org/63429
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2018-11-15 16:14:03 +01:00
Andras Timar
b154c9bd5f loleaflet: Updated UI pot file
Change-Id: I22a93cad7b1aae5ae1e2cef1386cb2a692715284
2018-11-15 11:29:58 +01:00
Andras Timar
2f38e98ea6 loleaflet: update list of localizable files
Change-Id: I1542466cbc8165da93f28ab6378dad456a3d8998
2018-11-15 11:25:42 +01:00
Miklos Vajna
0122ba2a6a CursorPosition: make members private 2018-11-15 09:07:38 +01:00
Tor Lillqvist
f76671ca60 Bump CFBundleVersion to 6
Change-Id: Icd829475ab451a0bef8d17bc572fc6b2cb200342
2018-11-14 20:08:55 +02:00
Tor Lillqvist
0340f7be96 Make tapping once (and no other touch gestures) pop up the on-screen keyboard
This fixes both the case of a normal Online instance being accessed
from a mobile device (at least Safari on an iPad), and the iOS app
being developed. The same problems were seen on both. Which isn't
surprising, as as it's the same Webkit software running the same
JavaScript on the same HTML page.

I hope this change does not have some unintended annoying other
consequence.

There is a FIXME: Is there some saner place to store this
_wasSingleTap flag than in this._map._container? It needs to be
readily available over in _handleDOMEvent in Map.js.

Another quickly apparent FIXME is that if the on-screen keyboard
covers the place where you tapped, the document is not scrolled so
that the insertion place would stay in view. But at least this is a
step forward, I hope.

Change-Id: I7ada39f1adbb9a1ac560493d926530968aa44133
2018-11-14 14:19:35 +02:00
Andras Timar
ca7b3d0fe7 loleaflet: Updated Slovenian translation
Change-Id: Id32b2b95c1d4dadc2dfaaf5c5d668d88598f89a2
2018-11-14 12:34:13 +01:00
Miklos Vajna
63bf882f73 Rectangle: make members private 2018-11-14 09:07:54 +01:00
Tor Lillqvist
96d1bc34fa If we have a visible cursor (caret), try to keep that stationary
This fixes at least one visible and annoying behaviour: when you zoom
in using the plus button, or the View>Zoom In menu entry, the caret
(text insertion cursor) location typically eventually will move
outside of the window. Then the window suddenly jumps to another
position so that the caret is again visible.

After this change, the zooming is much smoother and the caret location
stays visible all the time.

I could possibly have used the setZoomAround() but found it easier to
write the code incrementally actually understanding what I was
doing...

This does not fix the problem when the text insertion cursor is
already out of view when you start zooming in or out. In that case the
window still bluntly and unexpectedly jumps to make the location of
the text insertion cursor visible. In my opinion, it should not. I was
not able to figure out what causes that.

Change-Id: I594c4815f8fea9ebb43c0cb491d5167e603d724a
Reviewed-on: https://gerrit.libreoffice.org/63027
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2018-11-14 00:17:49 +01:00
Michael Meeks
33d0b888ce Avoid scroll-wheel jittering, and shrink the scroll increment.
Hypothetically the underlying cause is that malihu's
scrollTo:function(val,options){ calculates data based on current state,
dispatches asynchronous changes to that state, and can thus while
that change is in-flight can mis-calculate subsequent changes - causing
significant jitter.

Change-Id: I3c8becead04582b05e30d7dfab233e898509cd75
2018-11-13 15:12:41 +00:00
Andras Timar
96760c5e43 ask for username (default to 'admin' if nothing set) with 'loolconfig set-admin-password'
Change-Id: I04bf3d225e4149ed69bc55e14d1ced1dd3f8f7ea
2018-11-13 14:32:37 +01:00
Andras Timar
7cbb2e5168 Fix domain name resolution from jails
Change-Id: I0bfe31956a2298ca908093905d33c3c151c77f39
2018-11-13 11:43:01 +01:00
Miklos Vajna
596f3d14db test: fix HTTPWSTest::testInactiveClient() 2018-11-13 09:12:03 +01:00
Miklos Vajna
cd08cbf385 Session: make members private 2018-11-13 09:04:19 +01:00