Commit Graph

394792 Commits

Author SHA1 Message Date
Miklos Vajna
056fbbf93b Fix --disable-pdfimport build
Change-Id: Ida06b892aea92cfe26fd62372e21ca611d8838d3
Reviewed-on: https://gerrit.libreoffice.org/27447
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-22 17:50:36 +00:00
Michael Stahl
580ed47cf7 chart2: missing header <iterator> reportedly breaks MSVC2015
Change-Id: I09b5a292e38044f14cd033a05e459cc69197de57
2016-07-22 19:33:26 +02:00
Stanislav Horacek
b6ba250893 Updated core
Project: help  33e1d32da35c7eae844a798ecbb4df9dd1964769

tdf#92825 adjust menu path for AutoCalculate

Change-Id: I7a18a0434d92db015721ef7e523aebaf76b3c7af
Reviewed-on: https://gerrit.libreoffice.org/27448
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-22 17:04:05 +00:00
Miklos Vajna
ffd9972e2a sd: implement LOK_CALLBACK_VIEW_LOCK
So that edited shape text doesn't just disappear in other views without
any indication.

Change-Id: I806051492f7bc247c0e66eceda4df5eba8322aad
Reviewed-on: https://gerrit.libreoffice.org/27444
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-22 16:51:15 +00:00
Olivier Hallot
2158eb10b4 tdf#100351 example_pt-BR.xml for classification
Change-Id: I2857d1209b7261cbbbf6908d7e8dde84be3e1da5
Reviewed-on: https://gerrit.libreoffice.org/27371
Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk>
Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-07-22 16:40:11 +00:00
Tor Lillqvist
6e70dc595e Add missing space
Change-Id: I57d2fa94f6f4cc932f306de80897fc8071738c8c
2016-07-22 18:59:59 +03:00
Tor Lillqvist
dbdfd36f8a SAL_DETAIL_WHERE already ends with a space
Change-Id: I273e0e4301246122bd9e02556b771dc485877350
2016-07-22 18:59:59 +03:00
Tor Lillqvist
61351e3e0d loplugin:nullptr
Change-Id: I2084b360b9ee20c212bc5b44d4460551aff0a3d6
2016-07-22 18:59:59 +03:00
Caolán McNamara
c72db36c7c Resolves: tdf#100838 no transparency support on using original jpg data path
This became a problem since...

commit 76ec54e8c9
Author: Michael Meeks <michael.meeks@collabora.com>
Date:   Mon Feb 8 14:24:15 2016 +0000

    tdf#97662 - Try to preserve original compressed JPEGs harder.

    Avoiding de-compressing and re-compressing them saves lots of time too.

for the default JPEG Compress + Reduce Image resolution case

but appears to always be a problem with the Lossless - Reduce Image resolution
case.

Change-Id: I24c69a59a16d69817e402cd87f84e744ee146a66
2016-07-22 16:46:10 +01:00
Szymon Kłos
d7da58ae36 GSoC notebookbar: better default page handling
+ selected default tab page in the Impress
+ the default tab page is set when context isn't supported
+ switching between unsupported contexts is not causing
  switch to default tab to avoid closing of tab which was
  recently used by user

Change-Id: Ieeda8a79e6c67708551351f9bb49d8b006c0e74f
Reviewed-on: https://gerrit.libreoffice.org/27432
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-22 15:35:28 +00:00
Stanislav Horacek
b920fa5e90 Updated core
Project: help  89084676982a55e4f0056360ec055dd156ee2439

remove redundant emph tag

Change-Id: I8de64440fb433bb51a32c93cd49ca5387221a936
Reviewed-on: https://gerrit.libreoffice.org/27440
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-22 15:33:25 +00:00
Stanislav Horacek
2631704d46 Updated core
Project: help  ff07ecb749ae707353ffe8fb0686857cc47dba2a

paragraph dialog has "Outline & Numbering" tab, not "Numbering"

Change-Id: I2a2a6c6e23022932d85d15da6228bab91ca45d1c
Reviewed-on: https://gerrit.libreoffice.org/27445
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-22 15:32:39 +00:00
Stanislav Horacek
625d5416fa Updated core
Project: help  d2e8010196b99875138088ec814df71b22554d9d

tdf#92825 adjust menu path for inserting header and footer

Change-Id: Ifedf0c43050106da123dbf89ec2c165a8dcc1b5d
Reviewed-on: https://gerrit.libreoffice.org/27442
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-22 15:31:54 +00:00
Miklos Vajna
897189cfc6 sw: add new LOK_CALLBACK_VIEW_LOCK callback
When we're after SdrBeginTextEdit(), but before SdrEndTextEdit(), and
have multiple views, then only the active view paints the edited text,
the other views look like the shape has no text at all.

Add a new callback that exposes the position and size of the rectangle
where the shape text will be painted after text edit ended, so clients
can draw some kind of locking indicator there. This way the rendered
result can differ in the "shape has no text" and the "shape text is
edited in an other view" cases.

Change-Id: I6096479a8a05c2547d15222e6d997b848af02945
Reviewed-on: https://gerrit.libreoffice.org/27441
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-22 15:13:07 +00:00
Juergen Funk
4da8378302 offapi: document SynchronMode argument
Change-Id: Ie47a7f4afbfab40f172705323520d75ef4927b0a
Reviewed-on: https://gerrit.libreoffice.org/27364
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-07-22 13:29:56 +00:00
Michael Stahl
a911b96bb1 configure: remove mysterious NO_JAVA_HOME value
This has been there since CVS import, but no reason is given why an
empty JAVA_HOME value wouldn't work as well.

This caused 086c13584d to always invoke
autogen.sh if one used --without-java.

Change-Id: Ie72537ddd0247700fdcdb4126387935754c1bed5
2016-07-22 15:22:31 +03:00
Caolán McNamara
5e46e38269 crashtesting: fix tdf92993-1.docx failure
Change-Id: I76f09a09fd6c3b114ba74737d4a1ba5dad0fd28f
2016-07-22 13:20:07 +01:00
Zdeněk Crhonek
d8bcfcf1b6 add GCD, INT, ISO.CEILING, LCM test case
Change-Id: I35440d57c5e3ebecfed6dfeefb14c8fb57ae0ead
Reviewed-on: https://gerrit.libreoffice.org/27153
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-22 12:11:35 +00:00
Laurent Balland-Poirier
0baeea95f3 tdf#90943 Don't ask to move cells if they are empty
During merge of cells, test of empty cells was wrong.
Test of first column should not be done if there is only 1 row

Change-Id: If8011f3e6d6e9006d242a8c2ef0fcb2ce12180ad
Reviewed-on: https://gerrit.libreoffice.org/27354
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-07-22 11:57:55 +00:00
Caolán McNamara
c4feea24c2 Related: tdf#100340 use same terms as export graphic dialog
and move the Lossless/Lossy hints into tooltips

Change-Id: Ia777dbef5124ea119925d521126262f7ddb709f6
2016-07-22 12:02:55 +01:00
Yousuf Philips
0bd3daf959 tdf#100340 reduce the compress graphic dialog a little more
Change-Id: I183c399207f6676ff660a59358dee32ebff8e667
Reviewed-on: https://gerrit.libreoffice.org/27205
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-22 10:59:53 +00:00
Caolán McNamara
fedd856894 Resolves: tdf#101067 put SolarMutexGuard back in again
commit 4f27ff9172
Author: Tor Lillqvist <tml@iki.fi>
Date:   Mon Jul 29 18:24:23 2013 +0300

    Avoid SolarMutex assertion in a dbgutil build when exiting Impress

put in a SolarMutex in that ImpTimedRefDev dtor for what sounds like
just this problem

commit 9f0766917a
Author: Armin Le Grand <Armin.Le.Grand@cib.de>
Date:   Fri Jul 1 14:40:00 2016 +0200

    tdf#50613 add support to load charts asynchronously

took it out again, to presumably move it into TextLayouterDevice
but we destroy this thing asyncronously outside of TextLayouterDevice
so lets put it back in again

Change-Id: If801a701701a3d87fce2f76bc22bb3184b46743a
2016-07-22 11:55:36 +01:00
Miklos Vajna
2263ff8550 svl: fix loplugin:loopvartoosmall warnings
Change-Id: I003719f67e6c1f0f48580c414b2ef7a7a2a2abcb
2016-07-22 12:49:50 +02:00
Laurent Balland-Poirier
3363539e42 tdf#100834 String between integer and fraction
Fraction number format
Insert Blank delimiter string between Integer/Fraction only if both of them are present
In other cases, replace string with blank string if there are some '?' in formats
Else insert nothing.

If there is no fraction part, insert blank instead of '/' if there are some '?' in formats

Change-Id: Ib606bdaa2b3809f15ce23acc3b5b6ee3fdbd230d
Reviewed-on: https://gerrit.libreoffice.org/27252
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-07-22 10:38:18 +00:00
Michael Stahl
c13d130024 shell: loplugin:nullptr / staticanonymous / stringconstant
Change-Id: I67458301fb13601c5bf8d83c689fd861694ee460
2016-07-22 12:33:56 +02:00
Jochen Nitschke
2a5a69de7f sc: convert SC_CLONECELL_... to typed_flags
Change-Id: I4ce14eecaa9fbdc007bbb39f0543099c75f2ffcb
Reviewed-on: https://gerrit.libreoffice.org/27428
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-22 10:33:28 +00:00
Caolán McNamara
99833c2d6c Resolves: tdf#59896 ww6 plcf generation reversed check
regression since...

commit 69e040a59e
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Sun Jul 17 00:19:00 2011 +0100

    check seeks, check available size, pointers to ref

Change-Id: Idfcde46959e5693d200a91a619e7196f00f40ca0
2016-07-22 10:57:05 +01:00
Miklos Vajna
672b741163 gtktiledviewer: align to top/left for Calc
Otherwise when zooming out enough that not all available space is used,
the default horizontal/vertical centering happens, and the row/column
headers and the tiles become out of sync.

Also revert to the previous default window size, I'm not sure why that
was necessary. Currently checking the mentioned situation (empty Writer
document with comments only) does not require this larger size, and
testing two views is easier with the smaller size.

Change-Id: Ia92a591387f62655a671e2d09f5053827fde5045
Reviewed-on: https://gerrit.libreoffice.org/27427
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-22 09:34:47 +00:00
Szymon Kłos
b949604b91 GSoC notebookbar: file menu
+ added icon to the notebookbar, after click the file menu will appear

Change-Id: I30e1ed7e2c4a194e150c7196652904fd4e5c9e8e
Reviewed-on: https://gerrit.libreoffice.org/27347
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-22 08:59:59 +00:00
Caolán McNamara
b5c05876f7 Related: rhbz#1065807 recover using xdg templates and documents settings
Change-Id: If2c594174a6fa8c524d9664c9f197cb7c6d4641d
2016-07-22 09:51:31 +01:00
Caolán McNamara
7eed51d033 There is no css.configuration.backend.GconfBackend
since

commit 3cf557c12d
Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
Date:   Fri Oct 16 12:15:55 2015 +0100

    drop gconf integration as per ESC decision

    Conflicts:
        shell/source/backends/gconfbe/gconfbackend.cxx

Change-Id: If8e9b273e410250b45d3f645f6a31c1e80f02c6c
2016-07-22 09:51:31 +01:00
Zdeněk Crhonek
8eab200e40 add NPV test case
Change-Id: I7f645e6450fca23577e35df468369d1a8a67b6f9
Reviewed-on: https://gerrit.libreoffice.org/27299
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-22 08:47:23 +00:00
Miklos Vajna
4e6d0f6fe7 basic: fix loplugin:cppunitassertequals warnings
Change-Id: I80c773f3127ebbce4b9b2a122a91a2e2ca4f505b
Reviewed-on: https://gerrit.libreoffice.org/27424
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-22 08:32:36 +00:00
Szymon Kłos
10b13ba41d GSoC notebookbar: image tab for Impress
Change-Id: I45ef6691d32f3fd084143a80ac904e441b4a6098
2016-07-22 10:24:23 +02:00
Szymon Kłos
5ab2041ca2 GSoC notebookbar: image tab for Calc
Change-Id: Iebdbd7939854582bb72eb44b8a5cfda3294762d9
2016-07-22 10:11:00 +02:00
Caolán McNamara
64d3270a89 Related: tdf#101057 allow java update version number > 99
Change-Id: Icc37cf248fbf35f108eb5bbb25c36fbd54a9fe85
2016-07-22 08:23:18 +01:00
Miklos Vajna
27aac319ca sc: provide size in the payload of LOK_CALLBACK_DOCUMENT_SIZE_CHANGED
The sw implementation does so, and the API documentation also says
clients can depend on this.

Change-Id: Ib4d25d7207fd8358de2ec1186d4ca2306e996497
Reviewed-on: https://gerrit.libreoffice.org/27379
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-07-22 07:05:19 +00:00
Jochen Nitschke
c6c8c2a8b1 sc: convert MatrixEdge... to typed_flags
remove some unhelpful or obvious comments
replace numeric values in last loop of ScTable::HasBlockMatrixFragment

Change-Id: If7115b504689ce31b5caadbcae8ce2f5466e5b2a
Reviewed-on: https://gerrit.libreoffice.org/27378
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-22 07:04:48 +00:00
Takeshi Abe
f045d14791 starmath: Return early if the cursor locates after a text node
No longer create unnecessary copy of nodes.

Change-Id: Icf8cdd3ce0f9ebbf7159e9e7eaea7abe52c05060
Reviewed-on: https://gerrit.libreoffice.org/27366
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-07-22 00:47:25 +00:00
Zdeněk Crhonek
a3609cf5a8 add LOG10 testcase
Change-Id: I15032efcda9bf3ecceb67e74dac24a75793bbd67
Reviewed-on: https://gerrit.libreoffice.org/27414
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-21 23:54:45 +00:00
Zdeněk Crhonek
aeb6a9735d LOG test case
Change-Id: I8fefa18b819abed5e60e59bf6a2dfe3e0cd9d005
Reviewed-on: https://gerrit.libreoffice.org/27415
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-21 23:54:27 +00:00
Markus Mohrhard
9dc3356f14 Revert "add MOD test case"
This reverts commit 19a80b06d6.

Change-Id: I7f7f82494e6e99badc9422c32d0b02d1c3b045ba
Reviewed-on: https://gerrit.libreoffice.org/27421
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-21 23:52:08 +00:00
Michael Stahl
beccfd1f8d gbuild: always set CCACHE_CPP2=1 when COM_IS_CLANG
There are not only spurious warnings from loplugin, but also from plain
clang, at least with the Fedora 24 version.  So let's just try to always
set CCACHE_CPP2=1.

This should make the configure check for that obsolete.  The check didn't
do anything on Fedora anyway because it sets up ccache by putting
wrappers like /usr/lib64/ccache/clang on PATH.

Change-Id: Ieb17be4a1b1fd0f7aedb16b18cb49015917a26d3
Reviewed-on: https://gerrit.libreoffice.org/27345
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-07-21 23:29:17 +00:00
Michael Stahl
ad3f7d1bd6 gbuild: set CCACHE_CPP2 automatically with --enable-compiler-plugin
The plugins are confused about source file locations without
CCACHE_CPP2, so try to avoid having to set it manually.

Change-Id: I8c19cb1b4bea27963b2f416faa67a70c6c65da38
Reviewed-on: https://gerrit.libreoffice.org/27344
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-07-21 23:28:22 +00:00
Zdeněk Crhonek
7592a83e29 add LN test case
Change-Id: I81258a20d8c5e1209dbdfd91522261589a8f71d0
Reviewed-on: https://gerrit.libreoffice.org/27416
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-21 22:27:31 +00:00
Zdeněk Crhonek
1baac67837 add RRI test case
Change-Id: I76d3b0163ccab627fc6fd5bbf1f839d74941e07b
Reviewed-on: https://gerrit.libreoffice.org/27412
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-21 21:19:23 +00:00
Zdeněk Crhonek
19a80b06d6 add MOD test case
Change-Id: If5eb3377eff62ca15a238a13c6f0ab8cc78cdbc7
Reviewed-on: https://gerrit.libreoffice.org/27413
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-21 21:14:08 +00:00
Zdeněk Crhonek
bdcadb09fc add PRICEMAT test case
Change-Id: Iab0a5042f7dbc81f778afc56caa319da6001994c
Reviewed-on: https://gerrit.libreoffice.org/27406
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-21 21:12:06 +00:00
Zdeněk Crhonek
da67f033d2 add CUMPRINC test case
Change-Id: I5632aecb674c7c6460bb5ec58718e8ddcd241816
Reviewed-on: https://gerrit.libreoffice.org/27405
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-21 21:11:59 +00:00
Zdeněk Crhonek
20cabddbb7 add PRICEDISC test case
Change-Id: Ic174422b7b07cead24956c7d75df569672db9581
Reviewed-on: https://gerrit.libreoffice.org/27403
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-21 21:11:53 +00:00