Commit graph

2399 commits

Author SHA1 Message Date
Pranav Kant
a5c58228c6 loleaflet: switch all icons to colibre
Change-Id: Id13c9a8c726c8b99849b6be201dcc2a1e7ea36ef
2018-07-16 15:55:37 +05:30
Pranav Kant
4691eb32d7 loleaflet: rename image file names as they are in core.git
use the original file name from the links.txt file for currencyfield.svg

Change-Id: Ib28b4aa82705b83145dd4e2cc2c6ec6ad9fa8a9f
2018-07-16 15:55:37 +05:30
Pranav Kant
a2de2713b8 loleaflet: switch to colibre svgs for shapes
Change-Id: Iba42bcea55b3b172d21139352347c0bfbb59e7e6
2018-07-16 15:55:37 +05:30
Andras Timar
3719faf5e9 loleaflet: remove latin access keys in parentheses (in case of CJK, Indian, etc. langs)
Change-Id: I15763165535771511a4871882dd067fc689baaa3
2018-07-16 09:04:05 +02:00
Tor Lillqvist
72dfbc9594 Our zoom step factor is 1.2, not 2 as in upstream
This change makes the zooming animation of the document while doing a
pinch gesture (closing and/or opening) match the finger movement much
better.

(But sure, there is till lots of weird jumping around after finishing
the pinch gesture.)

Change-Id: I9d5affe653c1a0ebaebced54629bc9e8d9de5854
Reviewed-on: https://gerrit.libreoffice.org/57089
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2018-07-07 00:01:28 +02:00
Tor Lillqvist
ed69ecf81f Add Emacs mode lines to get the indent level right
It's irritating to have to manually align lines even when just adding
temporary console.debug() calls. Sure, these mode lines should be
added in all .js files; these are just some I happened to be touching
now.

Change-Id: I13b3a62e66e4430878713fd64a459c72c014ded1
2018-07-05 16:05:31 +03:00
Tor Lillqvist
26b5a3745e Better and more dynamic way to show ruler conditionally
Use conditional CSS, setting the ruler height to zero if it would be
too high. Now the ruler even shows up and disappears dynamically as
the window height changes, for instance when turning a mobile device
between landscape and portrait orientation. No JS conditional needed
after all.

Change-Id: Iebfbd182d1675f4d6abd2f252389fdcdf46ed4d3
2018-07-04 16:44:46 +03:00
Tor Lillqvist
1800a8ee17 Decide whether to display a ruler based on ruler percentage of window height
If the ruler would be over 5% of the window height, don't display it.

Change-Id: Ieed55318fc76dfe0f9248985b816e306b6654dee
2018-07-04 16:00:58 +03:00
Tor Lillqvist
23c7c7d2a9 Don't show the ruler if the window has too small height
Of course, for this to really be worthy of being called "responsive"
web design, we should update this decision also if the window is
re-sized dynamically, like when a desktop browser's window is
arbitrarily re-sized by the user, or a mobile device is rotated
between portrait and landscape orientation, or a mobile device enters
or leaves some kind of split-screen mode where another application
than the browser shares the display.

Also, it would be nice if the window height limit used here, 1280, was
some kind of global variable. (For width limits used to detect mobile
devices, we use 768 or 768px here and there in our JS code. (And,
interestingly, 767px, too.) Ideally this 1280 and those 768s should be
defined in some common place. No idea how to do that correctly in
JavaScript.

Change-Id: I02bb54f309bc116ae1a0b5264e72b9ba674f56e4
Reviewed-on: https://gerrit.libreoffice.org/56936
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2018-07-04 13:29:46 +02:00
Andras Timar
3f0f2c671c loleaflet: no fill or automatic color handling in color picker
Change-Id: Iab98aadf54f0c1b041fe46eb2be1a798662d935b
2018-07-02 16:53:16 +02:00
Henry Castro
68ce5cac97 loleaflet: disable default context menu, part 2
Change-Id: I92548bffdfd96811155560b77ff28e49f3289ba4
2018-07-01 17:49:34 -04:00
Henry Castro
43a7b465bf lolefalet: mobile mode, hide tooltips
Change-Id: I0bc1f10184f63318c483b590139d570380a47222
Reviewed-on: https://gerrit.libreoffice.org/56421
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-07-01 17:47:13 -04:00
Henry Castro
276e367977 loleaflet: set bottom position of tooltip
Change-Id: I2ff39ce70df1f87788b7d5a1233cd97d2d0af5d7
Reviewed-on: https://gerrit.libreoffice.org/56392
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-07-01 17:43:36 -04:00
Henry Castro
22416fc45c loleaflet: disable the overflow buttons on the formula toolbar
Change-Id: I788625dd5c7fbd96372a19f3cdbcbefdddeb51c8
Reviewed-on: https://gerrit.libreoffice.org/56059
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/56783
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2018-07-01 23:41:05 +02:00
Jan Holesovsky
46b4c62139 Cell borders: Implement the 'More...' button.
Change-Id: I3551cec69cf1e4dca02c0fcdbee23a4e06b1e36a
2018-06-28 21:39:46 +02:00
Pranav Kant
8156c2a8f1 wsd: in case of multiple query param, handle &attachment= correctly
In case of integration with OC/NC, we have WOPISrc= as query param used
for load balancing. So, the earlier approach failed with integration.

Change-Id: Ib73f4f18eaec870dd53b67886b1b6016416a2e78
Reviewed-on: https://gerrit.libreoffice.org/56531
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-06-28 18:45:57 +02:00
Marco Cecchetti
1580639831 On-demand loading of the page previews in the Online Draw/Impress
Change-Id: I56b1febd7f57324e878f06d417d2f58754e850fc
Reviewed-on: https://gerrit.libreoffice.org/56275
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2018-06-28 18:01:01 +02:00
Jan Holesovsky
9d4469a79b borders: This has to be global in order to have the event working.
Change-Id: I7a1f52c825905f4fe0ba33fdfd16cf979e3d378d
2018-06-20 13:31:04 +02:00
Andras Timar
a2a6c5990c fix indentation issues
Change-Id: I565fe5e46daa5c41d7ee0dc6921fd7d2039c4287
2018-06-20 13:31:04 +02:00
Jan Holesovsky
314164fa39 borders: Send .uno:SetBorderStyle with the appropriate params to the core.
Change-Id: I703dda35d3b412ff60602a6802b260d8709762fd
Reviewed-on: https://gerrit.libreoffice.org/56093
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2018-06-20 13:31:04 +02:00
Jan Holesovsky
8309734edd borders: Improve the look.
Change-Id: Ib7ca90285bb012a09f5fd2d867a3d588e831ec3a
Reviewed-on: https://gerrit.libreoffice.org/56092
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2018-06-20 13:31:04 +02:00
Henry Castro
77e913e46a loleaflet: add cell borders in Calc
Change-Id: I0105ee6c98b0eb043b60b56ea80007bae967df90
Reviewed-on: https://gerrit.libreoffice.org/56091
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-06-20 13:31:04 +02:00
Andras Timar
62a547cf52 loleaflet: updated UI pot file
Change-Id: Ia6c570b4d65d19e6fc3a0bfbcfd2c3479433030b
2018-06-19 09:42:59 +02:00
Adolfo Jayme Barrientos
f17a2d5f50 tdf#117496 Drop the word “Microsoft” per design team decision
Change-Id: I53206c0c2e94d2620b62e980ae9b90d9933bef1c
Reviewed-on: https://gerrit.libreoffice.org/54407
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-06-19 09:40:35 +02:00
Tamás Zolnai
30e4f586ec Hide text cursor while performing the zoom
Change-Id: Ic358b2f345ba4e1e1d826b6e2cc96b3cc53269d6
Reviewed-on: https://gerrit.libreoffice.org/55881
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2018-06-15 17:38:20 +02:00
Andras Timar
3984206b69 No need to load l10n framework for a page that appears for fragment of a second
Change-Id: Id23ab66fadb714316cdf73e93501b0cea870880d
Reviewed-on: https://gerrit.libreoffice.org/55850
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-06-15 12:34:16 +02:00
Aron Budea
945930efdf Admin console: correct network graph colors
Change-Id: I24c700c29998a15c7b25d06ba228d191de26c26c
Reviewed-on: https://gerrit.libreoffice.org/55701
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Tested-by: Aron Budea <aron.budea@collabora.com>
2018-06-12 16:44:51 +02:00
Tamás Zolnai
d35fb55511 Zooming in for the first time shows tiles appearing instead of interpolation
Drop only those tiles which are not part of the new visible area.

Change-Id: I4cf86266b4f51cd7e96b9db10da108f644ecdceb
Reviewed-on: https://gerrit.libreoffice.org/55467
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2018-06-08 17:24:25 +02:00
Jan Holesovsky
814d266eca Make sure we have enough space for the insert table grid.
Change-Id: I9c6cf2b038663bc68098b6abf4c7c69599ebe070
2018-06-07 22:10:11 +02:00
Henry Castro
76ce2ffe4f loleaflet: disable context menu on toolbar
Change-Id: If1161ec2725ec1bb4d8dd1b497fc3f4662ba7cc9
2018-06-07 08:48:05 -04:00
Jan Holesovsky
ed3739c8f1 Don't use colons here.
Change-Id: If838a44d766ab70ac5c7efc904eec37a8131554c
2018-06-07 13:20:33 +02:00
Jan Holesovsky
daf2915ab5 Align the first toolbar item with the text of the File menu.
Change-Id: I5abe99f2394f95c60274e274c5470899b0d77172
Reviewed-on: https://gerrit.libreoffice.org/55292
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2018-06-04 20:11:26 +02:00
Pranav Kant
2e21cf5dcd loleaflet: Open pdf file in new tab instead of asking to download
new parameter to download POST requests, ?attachment=0 to instruct wsd
to not set the Content-Disposition header.

Change-Id: Id7694d940e1b4d616263ad720d29f1474164eb68
Reviewed-on: https://gerrit.libreoffice.org/54918
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-05-30 15:14:01 +02:00
Henry Castro
3bea290370 loleaflet: fix "set property 'value' of null"
Change-Id: I5afec52b74937c7620edcebc9d678bb94af27109
2018-05-27 09:43:51 -04:00
Henry Castro
9f456079e1 loleaflet: remove the script tags that they already were bundled them
Change-Id: I791c6c6850b39d5327c5c3c521138531f3a6f148
2018-05-27 09:19:36 -04:00
Henry Castro
52be172307 loleaflet: update node_shrinkwrap
Change-Id: Icf4683c074c6c4dc6e478412230a431137bdb7fa
2018-05-27 07:55:55 -04:00
Henry Castro
8002a4cb9b loleaflet: remove unused build code
Change-Id: I43dc41ba73ed9aac20f427cb5ff81d971849f547
2018-05-27 00:28:00 -04:00
Henry Castro
7d03ebcf55 loleaflet: use the recursive Makefile to avoid parallel node_modules target
Change-Id: I1bc7d8bc4b228d104196dbd2355576bcd94c913d
2018-05-27 00:25:14 -04:00
Henry Castro
fab4cbb5e9 loleaflet: fixed js lint errors in admin/src/Base.js
Change-Id: I7d2ae94d75fe68d0973dac940a5837b9c8b93eba
2018-05-26 23:59:37 -04:00
Henry Castro
3571919a50 loleaflet: isolate the admin build process
Change-Id: Ib48ef2b0e6c778a65be949da1eb164cf5f87692d
2018-05-26 23:32:16 -04:00
Henry Castro
5c3ba5617e loleaflet: remove unused Jakefiles
Change-Id: I530d625ab1dddbdc6bddd875c79f9b32d09541ea
2018-05-26 22:19:58 -04:00
Henry Castro
42b46bbaa3 loleaflet: add rule to bundle admin files
Change-Id: Id3d25855d697ad607ae30ffffa1a9c6f565b6e6d
2018-05-26 21:45:50 -04:00
Henry Castro
d3a3dc7d13 loleaflet: move some images from draw plugin
Change-Id: If53aea32c745e62493d87ae129a7da2bdc242deb
2018-05-26 10:55:45 -04:00
Henry Castro
1ad2e5bd65 loleaflet: ensure set NODE_PATH environment variable
Change-Id: If0a632c258f740112352e9ad6a4f250bf2e2c9d8
2018-05-26 10:40:59 -04:00
Henry Castro
f838e0998e loleaflet: fix make -j N
Change-Id: I994ff4b352c93ff910d93f5f176c4e7ced2dc21d
2018-05-26 10:27:19 -04:00
Henry Castro
940f0228ed loleaflet: remove unused dir
Change-Id: I0b706797b691bca773a96a0b551feda5c29c246a
2018-05-26 10:16:18 -04:00
Andras Timar
b1948bff68 remove unused evol-colorpicker
Change-Id: I3eaf2040aa8cfaefb7861c33bceac7c1e5d7866a
Reviewed-on: https://gerrit.libreoffice.org/54806
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2018-05-25 23:07:15 +02:00
Pranav Kant
8d98465e76 loleaflet shapes: increase width of the rows to 10
... so that we can accomodate more shapes without overflowing the height
of the screen.

Change-Id: I82802224e88819df65ea60fb87e70df4f1f06e01
2018-05-25 16:31:52 +05:30
Pranav Kant
12eaff0f79 loleaflet: Add flowchart shapes
Couldn't find svg images for 8 flowchart shapes. The command works for
them but no icon is currently shown in the toolbar.

Change-Id: I0a992d51f01064f04b26b90adcdfd29515a77f6a
2018-05-25 16:31:52 +05:30
Pranav Kant
9b69fcbd82 loleaflet: Add callout shapes
Change-Id: Idc280cf22e1e3459e35de30355b6bffed5fae6b0
2018-05-25 16:31:52 +05:30