Commit graph

416097 commits

Author SHA1 Message Date
Gabriel Chiquini
05ec166fa7 Updated core
Project: help  ec6a05cc524a17ff090eaa7e506d7b5452ab227b

Fixed UX bugs

Clicking on tabs (Contents, Field, Index) now close the other ones
Set focus into seach field clicking in those tabs

Change-Id: I4b569aea86d4c5c441ce89dfa76f66844f0ebbc4
Reviewed-on: https://gerrit.libreoffice.org/44902
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-11-29 21:37:26 +01:00
Szymon Kłos
04f17b2631 tdf#76646 don't open link on Ctrl-click if not required
Change-Id: Ie081f8144e50f576b9f8acb2ddd5b1c891533964
Reviewed-on: https://gerrit.libreoffice.org/45499
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-11-29 21:28:02 +01:00
Michael Stahl
76a9f10a08 postprocess: call check-elf-dynamic-objects on LINUX
This runs fast enough that it can just be enabled.

Isn't allowed to break the build just yet due to the existing
GPG related problems.

Change-Id: I6f2ed3d7aeee9e7770940d96894ecdf4d0bf2d9b
2017-11-29 21:21:47 +01:00
Pranav Kant
34f7659e32 lokdialog: Compress DIALOG_CHILD callbacks
In complex dialogs, they flood the lok client otherwise with duplicate
callbacks.

Change-Id: I6ab1ef12b90caed22dfc464e18068f5830cb9532
2017-11-30 01:33:11 +05:30
Kshitij Pathania
584a73ce23 tdf#111801 added hover state to tabledesign sidebar
Change-Id: I1ceb806c6423964346c97d7b1ef6dcac46698902
Reviewed-on: https://gerrit.libreoffice.org/42882
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-11-29 18:08:47 +01:00
Miklos Vajna
06fa42837d EPUB export: add UI to set a custom cover image
Sets the EPUBCoverImage filter data key at UNO level.

Change-Id: I46eb3c0df1e6c34af0be070c32f9f37666dc718e
Reviewed-on: https://gerrit.libreoffice.org/45485
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-11-29 17:54:17 +01:00
Miklos Vajna
612821223c EPUB export: allow setting a custom cover image explicitly
If not set, fall back to the existing auto-find.

Change-Id: I5df7a535e4132a18a803c10fa0e06352d9b6b533
2017-11-29 17:53:15 +01:00
Christian Lohmaier
6c18082cfa android: don't use c++17 (gnu++1z), as boost wants auto_ptr
Change-Id: Ifeedad11c9a1c108e611160d089846cfc16b1e9e
2017-11-29 17:49:05 +01:00
Miklos Vajna
389f7b9581 EPUB export: add support for cover images
Pick them up from <base directory>/<base name>.cover-image.<ext> as a
start.

Change-Id: Ie5ee7c02d6b3271e6e850ca9a2a10ed0bb4a598d
Reviewed-on: https://gerrit.libreoffice.org/45483
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-11-29 17:49:20 +01:00
Tamás Zolnai
67eeab179a Related tdf#111739: Don't insert special character into the document
When it's only needed to be applied inside a dialog.

Change-Id: I7d61cfb49f80ab43511c9fc6cc6733a990dcae55
Reviewed-on: https://gerrit.libreoffice.org/45436
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-11-29 17:24:11 +01:00
Caolán McNamara
2aaea14739 ofz: avoid invalid short hashValues
Change-Id: Ib7cd63351f4e5ed053e55fe9c5875ad92c81d762
Reviewed-on: https://gerrit.libreoffice.org/45490
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-29 17:02:31 +01:00
Michael Stahl
a16eb857f3 curl: upgrade to release 7.57.0
fixes 3 CVEs

Change-Id: Idf5eee66fac399a2b338c2a9aaea2f56d2cb3a51
Reviewed-on: https://gerrit.libreoffice.org/45480
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-11-29 15:41:26 +01:00
geri1245
2f26765e2d tdf#113859 Make it possible to select every widget with tab
On the shadowtab page of a figure (eg. rectangle, ellipse) the widgets
that modify the shadow can now be selected using the tab button.
Removed an "invisible" alignment from the ui file that caused the problem.

Change-Id: Id833302d42b9c1f2df640135473f159c0a3af4f7
Reviewed-on: https://gerrit.libreoffice.org/45444
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-11-29 15:29:33 +01:00
Michael Stahl
2f5634e89a check-elf-dynamic-objects: wait only once
Norbert points out that wait without arguments will wait for all
outstanding processes.

Change-Id: If850fd4a2e46a2c05d2917d38478ee2d3112bd78
2017-11-29 15:26:10 +01:00
Henry Castro
2e43a18a15 related tdf#113911: better statement to identify Writer app
Also remove duplicate code that I forgot from my drafts

Thanks for help Maxim Monastirsky

Change-Id: If9e26dfd6702f167c831296f0280ae5fe955a8a9
Reviewed-on: https://gerrit.libreoffice.org/45435
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-11-29 14:57:09 +01:00
Stephan Bergmann
af8242b4e3 loplugin:implicitboolconversion
Change-Id: I27c9002f37bed1860815fcfdbd1dc3675ad5f5ca
2017-11-29 14:09:07 +01:00
Stephan Bergmann
e1131556a8 Avoid ambiguities
...when sc/source/ui/inc/tabvwsh.hxx happens to be also (indirectly) included
(as happens with Windows --enable-pch?)

Change-Id: I252af03524c0d8f354a2f64a2073c2b085b3cedc
2017-11-29 13:47:44 +01:00
Michael Stahl
44aceccf5b fix check-elf-dynamic-objects -p
It needs to wait for all background tasks to exit.

Change-Id: I8770f3d79d66ab2fae727ae7cbbc00e3b22e5e54
2017-11-29 13:41:39 +01:00
Winfried Donkers
aaba725b46 tdf#97198 Make Calc function REPLACE work with UniCode non-BMP-characters.
Change-Id: Ie9bd27ba2c28bdad0af9d91cb270ef37d5384791
Reviewed-on: https://gerrit.libreoffice.org/45421
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-11-29 13:41:02 +01:00
Michael Stahl
ef777ffc38 configure: check that graphviz/dot is found, needed by doxygen
Change-Id: I70937c4c6075ce1814c3be5b8613fb28cd28fc26
Reviewed-on: https://gerrit.libreoffice.org/44408
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-11-29 13:09:07 +01:00
Marco Cecchetti
a2b70380c3 lok - calc: outline and group handling
Change-Id: Ibb287468653bc381acf034dcb8531c5faf61aef3
Reviewed-on: https://gerrit.libreoffice.org/45356
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2017-11-29 12:44:35 +01:00
Noel Grandin
e231ada19e loplugin:countusersofdefaultparams in sc
Change-Id: I8e790f9253279c9135ea1a4bcdd663ae7df44015
Reviewed-on: https://gerrit.libreoffice.org/45464
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-29 12:40:39 +01:00
Marco Cecchetti
668242b1a7 lok: sc: subdivide headers data in range
Change-Id: I984b5da5774f97172de7659ecab84675060f8301
Reviewed-on: https://gerrit.libreoffice.org/44676
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
2017-11-29 12:39:43 +01:00
Szymon Kłos
209f48daeb tdf#76646 Ctrl-click required for hyperlinks in draw/impress
If "Ctrl-click required to follow hyperlinks" is set in
Options -> LibreOffice -> Security -> Options
open the link only with Ctrl key pressed.

Change-Id: Icf57b4deedabd51f31f04021ba3f6bddc3829931
Reviewed-on: https://gerrit.libreoffice.org/45437
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-11-29 12:17:46 +01:00
Stephan Bergmann
368f806aaa loplugin:unnecessaryparen (clang-cl)
Change-Id: I3a2b7ed3fdef3b77c0a052b10f88918aa616779e
Reviewed-on: https://gerrit.libreoffice.org/45469
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-29 12:00:42 +01:00
Shinnok
bdfbc91ca0 Updated core
Project: help  50ac5af18de36477bc0db81391adfd8a3a76853c

Replace cp -rap with cp -a, satisfying all *nixes.

On macOS, probably BSD too -rap will fail with both -r and -R implied.

Change-Id: I6844d6f2ac52ca1c10564857f4e9190e1627ce52
Reviewed-on: https://gerrit.libreoffice.org/45430
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-11-29 11:50:37 +01:00
Caolán McNamara
434036d810 add pptx support to fftester
Change-Id: I517fa449ec75d8817cc3e03d0d90ab4c289a7c0f
Reviewed-on: https://gerrit.libreoffice.org/45477
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-29 11:44:56 +01:00
Shinnok
454d1f464c Updated core
Project: help  db60e4b8ed439fcf103fa4937691498eee8f5e9c

Chmod +x for makelocal.sh.

Change-Id: I20c45d4eef8a5302369242e7d3cc5b6bb9f70e39
Reviewed-on: https://gerrit.libreoffice.org/45431
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-11-29 11:43:46 +01:00
Caolán McNamara
d02e49d9b9 ofz#4476 Integer-overflow
Change-Id: I7ee197b396026fb25872f9e79c3be098329a5cee
Reviewed-on: https://gerrit.libreoffice.org/45467
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-29 11:17:35 +01:00
Eike Rathke
af8431d8db Find VBA-only functions when compiling first on module level
This likely never worked as there is no SbiInstance in that step,
but worked by chance when running a module's code that was
compiled with VBA support where the VBA-only function was added as
a symbol to be resolved later during runtime and then the
SbiInstance exists and the symbol was magically resolved.

Found when trying to correct vba_tests to actually fail if all
subtests fail that then started to fail in Atn.vb because of the
Round() function being VBA-only.

Change-Id: I7d9f6e2640a73388a2a58c3d180820c6ef85abe3
Reviewed-on: https://gerrit.libreoffice.org/45425
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-11-29 11:08:58 +01:00
Stephan Bergmann
2849775c79 TODO: silence new loplugin:badstatics for now
Change-Id: Ia57dd190a173f664b0c624617b13f2876008835a
2017-11-29 10:58:50 +01:00
Jan Holesovsky
33afa0f0bd Fix 'unused parameter' warnings.
Change-Id: I8478e907a66ca918eddc7a543cbcf23e17d9ee5a
2017-11-29 10:17:01 +01:00
Pranav Kant
d0f0a3c289 lokdialog: Remove getDialogInfo + update gtktiledviewer accordingly.
Change-Id: I6f810c97f2fadd3b1ea602a97e24c8b42f4a84b9
2017-11-29 10:17:00 +01:00
Pranav Kant
3acfdecac9 lokdialog: Notify the current view only
Change-Id: I55e0dbf1677a24905d337c58184a4419c1020a87
2017-11-29 10:17:00 +01:00
Pranav Kant
1dda69be37 lokdialog: new callback size_changed with new size of the dialog
Change-Id: Ibb864cb588ae7db92381c5578701d3ce09185f34
2017-11-29 10:17:00 +01:00
Pranav Kant
bc113a3bae lokdialog: Emit callback when title is changed
The plan is to remove the getDialogInfo from LOK API but one more step
before doing that is to find out why the dialog size in 'created'
dialog callback is less than what the actual dialog after painting is.

Change-Id: I5176e175cbf7ed81c1465feeeea053c9a024fbd9
2017-11-29 10:16:59 +01:00
Pranav Kant
094ec23874 lokdialog: Launch dialogs which have a notifier registered
Change-Id: I062fa291668b7dbfb8bc8e8d455a7933378ce7d9
2017-11-29 10:16:59 +01:00
Jan Holesovsky
d516c5c981 lokdialog: Move the LOKWindowId <-> VclPtr<Window> mapping to Window.
This allows registering & de-registering of non-sfx windows too, and makes the
Calc autofilter popup to appear.

Change-Id: I7cbbe94d208115aabcb6fa5f964646c7b7ce4c93
2017-11-29 10:16:58 +01:00
Jan Holesovsky
b4487b0fd2 lokdialog: Move the LogicInvalidate from Dialog down to Window.
Another step towards the autofilter popup working...

Change-Id: I4907a23fcd0fc64da0c7f51e2f36b1657a17638c
2017-11-29 10:16:58 +01:00
Jan Holesovsky
e2ae221f61 lokdialog: Move the painting down to Window, and enable Calc and Impress.
Tested with .uno:FormatCellDialog in Calc, Impress not tested.

Change-Id: I6d911c29616988db0625be9e2a63cf2172c69ee8
2017-11-29 10:16:57 +01:00
Jan Holesovsky
5de24bea47 lokdialogs: Assign the LOK window id only when necessary.
Change-Id: Id48957a8c2bde068f30bb26e66df81972fe38e0f
2017-11-29 10:16:57 +01:00
Jan Holesovsky
6bc22c34fb lokdialog: Make the Autofilter popup notify about its creation.
Change-Id: Ib4062fa887b44eb1368205a414f4ac162f648c5c
2017-11-29 10:16:56 +01:00
Jan Holesovsky
ba8154d857 lokdialog: Move the Notifier down to vcl::Window.
We need to tunnel more than just dialogs, so this is the 1st step to get the
Autofilter popup rendered.

Change-Id: I6523a39ddc7a6eb2a204e48ab364130a5822f548
2017-11-29 10:16:56 +01:00
Pranav Kant
f2b6bffded lokdialog: Let all modal dialogs notify about creation, disposal
Change-Id: I8ec0ad81abcf1adf628906b02f7f94ab74a550b5
2017-11-29 10:16:55 +01:00
Pranav Kant
b19f74aab0 lokdialog: Notify to child helper method, not the main one
Change-Id: I0698bfe578cb122dfabed566cb7a096f3cb56af5
2017-11-29 10:16:55 +01:00
Pranav Kant
90e0b60b6e lokdialog: Let modeless dialogs emit "created" callback too
Change-Id: Ie81f8bd19696e6f0abceb86369545766918ae46a
2017-11-29 10:16:54 +01:00
Pranav Kant
e8c7420cc4 lokdialog: Notify dialog closure from sfx2/, instead of vcl/
Change-Id: I49f5e0d5f6c7c0077a6d4390f8788c1691d47bd6
2017-11-29 10:16:54 +01:00
Pranav Kant
faf01731b2 gtv: Kill dialog selector combo box
Change-Id: I2cd27dff95f2bc49a15ab395b8282b5496e1e229
2017-11-29 10:16:54 +01:00
Pranav Kant
f3f4c03907 lokdialog: Make vcl::DialogID an integer
This will help launching multiple instances of dialog from multiple
views. The earlier approach of using the UNO command strings as dialog
id would not have been useful for multi-view case.

Change-Id: I01cfb3c8b204d5654df2417efdac6b50dc920f0e
2017-11-29 10:16:53 +01:00
Pranav Kant
2798e1aae5 lokdialog: Create dialog when callback is received
With this, we do away with initial approach of rendering the dialog on a
large surface. We now create the cairo surface with dimensions of the
dialog.

Change-Id: Icb034693c7f1c656b7daae7f5c711b5bd4d8e880
2017-11-29 10:16:53 +01:00