Commit graph

337807 commits

Author SHA1 Message Date
David Tardon
9ce38ef1e6 fix build
Change-Id: I90892fe0b585a5b50ee46fcc48f964f423bee256
2013-11-05 07:03:08 +01:00
Khaled Hosny
a86157736e fdo#70393: move external accessories to a subdir of external
Change-Id: If69c8e10eb3ce19208390f63aef49cf1d9554ef1
Reviewed-on: https://gerrit.libreoffice.org/6572
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-11-04 23:59:58 -06:00
Khaled Hosny
27c65f8abd fdo#70393: move libxmlsec to a subdir of external
Change-Id: I1bcdd01aad7fc2ee2d2f635b0ae4c4183c9ab092
Reviewed-on: https://gerrit.libreoffice.org/6571
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-11-04 23:58:10 -06:00
David Tardon
c69941fc45 this must be in lowercase letters
Change-Id: I58e4824156b1646d000a39ba196068efbe10425e
2013-11-05 06:56:18 +01:00
David Tardon
7fbf0ef60c there is no need for the condition
Change-Id: Icf3e0fbafdff39e5ad9c8eb7699820e2c0204bd6
2013-11-05 06:55:52 +01:00
David Tardon
8fa06c85da add an external for bluez_bluetooth_headers
Change-Id: Idf48f9a5c2245f6696688a17a0fa3809ae751582
2013-11-05 06:53:49 +01:00
David Tardon
217eae4f1f move mariadb to libs section
Change-Id: Ie78ea961a32e96c90bb674766b24a0c44d27412c
2013-11-05 06:49:33 +01:00
Khaled Hosny
80b4191537 fdo#70393: move bluez_bluetooth to a subdir of external
Change-Id: Ia1c5eb2e6c5193256b61ec878abdb648632e1f47
Reviewed-on: https://gerrit.libreoffice.org/6570
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-11-04 23:48:23 -06:00
Khaled Hosny
891bb7cc7c fdo#70393: move unixODBC to a subdir of external
Change-Id: I191b75802eba781fc62ab21cd41918983a6efdb0
Reviewed-on: https://gerrit.libreoffice.org/6569
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-11-04 23:46:55 -06:00
Khaled Hosny
a62e7733b3 fdo#70393: move sane and twain to subdirs of external
Change-Id: I0876c3295416abb704ca455bdd61881ff54a0285
Reviewed-on: https://gerrit.libreoffice.org/6568
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-11-04 23:45:42 -06:00
Norbert Thiebaud
38a3edb2be bug in perl installer that make UnixLink entries to be lost
the code in question try to re-assign entry that are in normal file
to links based on some condiftion... but when it did that
it would overwrite the content of the array that was passed
instead of adding to it, hence loosing any Unixlink entries.

Change-Id: Ia879dfefa4bf2fc635c05864b014e0712e51812d
Reviewed-on: https://gerrit.libreoffice.org/6574
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-11-04 23:43:41 -06:00
Michael Stahl
df21d317da sc: stop linking openssl in scopencl library
Change-Id: I6618ac1d469e9a45bac30b2a1d94711f43ee5ed7
2013-11-04 23:40:11 +01:00
Julien Nabet
fe76db0776 one ; is sufficient
Change-Id: I52d00d5092a84a544f809ad066cb825b8ad6338f
2013-11-04 23:00:38 +01:00
Michael Stahl
133d59adf7 configure: build oox with NSS backend by default
Because NSS libraries are dynamic and OpenSSL static, using NSS saves
1.5 MB in the oox library [even though it's not as 1337 apparently]:

-rwxrwxr-x. 1 ms ms  8889575  2. Nov 13:45 libooxlo.so.nss
-rwxrwxr-x. 1 ms ms  7773576  2. Nov 13:45 libooxlo.so.nss.stripped
-rwxrwxr-x. 1 ms ms 10340276  2. Nov 13:37 libooxlo.so.openssl
-rwxrwxr-x. 1 ms ms  9042216  2. Nov 13:37 libooxlo.so.openssl.stripped

Change-Id: I387496ae364acb1286d753d52f04924631136750
2013-11-04 21:52:08 +01:00
Michael Stahl
2ff7b04c1b oox: use proper integer type when calling PK11_DigestFinal
Change-Id: I5ff79c55446bd9f3e350fb128793ffef51be843f
2013-11-04 21:52:08 +01:00
Julien Nabet
e6ea58e49e cppcheck: fix '<type>::operator=' should return '<type> &'.
See http://nabble.documentfoundation.org/About-quot-assignment-operators-quot-cppcheck-warning-td4081208.html

Change-Id: Ie351058a30c5d2df5f5ec1327c575e129d022cd2
2013-11-04 21:48:04 +01:00
Miklos Vajna
a76daca815 Make CppunitTest_sw_rtfimport use DECLARE_SW_IMPORT_TEST()
Change-Id: I670e0460f15951f99f0f750d2798c771f64c3095
2013-11-04 21:33:11 +01:00
Miklos Vajna
0ae2fe26d0 writerfilter: remove unused DffOPTHandler in doctok
Change-Id: Ie067a77b7d61f59117826ab21c979688c1e3c2df
2013-11-04 20:48:52 +01:00
Kohei Yoshida
2f75a279cc Two new test cases for importing data tables from XLSX.
Change-Id: I87da806612ae50fe1d64b851c5180ff1792752cb
2013-11-04 13:59:55 -05:00
Kohei Yoshida
e77379bb2c Create data-table directory and move the test file into it.
Change-Id: I1007525a7d2e1135f0388975f9cb7b0cef9b3142
2013-11-04 13:59:55 -05:00
Kohei Yoshida
370399c830 Import data tables from xlsx via ScDocumentImport.
Change-Id: Id3d526720f99b7557476915beab35b429ec97c1d
2013-11-04 13:59:55 -05:00
Kohei Yoshida
96860b65d4 Renamed test file.
Change-Id: I912778f2eedb162f2a04c0a7bc8a5220ea0fca2c
2013-11-04 13:59:18 -05:00
Kohei Yoshida
58b8d6d453 Use position hints for broadcasters when activating formula cells.
No reason not to do this since we are bulk-registering formula cells.

Change-Id: Ie0356c62a3c4698f5560272cb0c104f84cacde56
2013-11-04 13:59:18 -05:00
Kohei Yoshida
8c6dd2cbcd No point using the pimpl pattern here.
The whole class is already hidden in the source file.

Change-Id: Ib6157ae275217a95586735f74beee1700041a679
2013-11-04 13:59:18 -05:00
Kohei Yoshida
20a359ea36 Have all formula cells start listening at once after the file load.
Rather than doing it individually.

Change-Id: I5ed55947b715bf6d7d61a1f8b751be7fdcf425fb
2013-11-04 13:59:18 -05:00
Kohei Yoshida
488b1ea1b9 Fix multiple operations with formula cell with indirect dependency.
Now the unit test passes.  Good.

Change-Id: I23fa8355805c192f43db0199f3628f2bf457a645
2013-11-04 13:59:18 -05:00
Kohei Yoshida
a364a87f73 Add test for multiple operations. Part of it fails currently.
Change-Id: I90e3bbaae41fac51711b8502fbeb6ee2ebf19082
2013-11-04 13:59:17 -05:00
Kohei Yoshida
13b6949271 We need to update sheet positions of range names when modifying sheets.
And add Dump() to ScRangeData for debugging convenience and re-enable
previously failed test cases.

Change-Id: I9d8f41a8be4c9c301254ef300c7b7f0c1ea7f393
2013-11-04 13:59:17 -05:00
Kohei Yoshida
07b66cd3ac Insert matrix formula vis ScDocumentImport, and more formula imorts.
Now SetGroupFormulaCell() is no longer used.

Change-Id: I10a387da04724794974eaf491a8efa4cda09d82a
2013-11-04 13:59:17 -05:00
Kohei Yoshida
835fee82ef Populate raw cell values using ScDocumentImport.
Also fix incorrect const methods. Methods that populate the document
model should not be marked const even if the compiler allows it.

Change-Id: Ic5d1670ce93c166d0f44ace04494fccab6eac275
2013-11-04 13:59:17 -05:00
Kohei Yoshida
8228f6736b Set up ScDocumentImport accessor and initialize it.
Also, those createFoo() methods shouldn't be const since it does
modify the state of the document model.

Change-Id: I6a9267c54710f359506ca39c1e213f82595ebfe3
2013-11-04 13:59:16 -05:00
Stephan Bergmann
a25d360b3e Try make this more robust in slow environments
...where the previous .uno:PrintPreview request has not yet been processed, the
same way it had been made more robust for ScAccessiblePageHeader.java in
5b5c52a3a4 "Try make this more robust in slow
environments" plus b5dd2b4218 "Also cope with
intermittend DisposedExceptions."

Change-Id: I5244e8f8af9560ae986ed3a836bdf9571574420f
2013-11-04 18:24:25 +01:00
Winfried Donkers
e362bc7892 fdo#71081 add Excel 2010 functions BINOM.DIST and BINOM.INV
Change-Id: Iaecccd9ec6ab6a08c6c7ee8c024a3eba48ca1682
Reviewed-on: https://gerrit.libreoffice.org/6521
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-11-04 11:12:52 -06:00
Miklos Vajna
4bfa4a69a8 DOCX filter: handle CT_Ind_rightChars and CT_PPrBase_snapToGrid
Also, add InteropGrabBag support to bCs, themeFill, themeFillShade and
w:ind's right attribute.

Change-Id: I0d6ad0ef062218e71d7c71f99c56dd680b6930de
2013-11-04 17:57:44 +01:00
Matúš Kukan
46a470a2ca cui: remove unused .map file
Change-Id: Ib7a040c48d8f35e8bd68a30e7b5219a7499ec8da
2013-11-04 17:52:14 +01:00
Winfried Donkers
659bc50792 fdo#71128 arguments of calc function MMULT have same name
Arguments 1 and 2 of MMULT have the same name in the function
wizard, which is both confusing for the user and inconstent
with other argument names for matrix functions.
Patch simply changes the names to match the description of
the arguments of MMULT.

Change-Id: I9fc35907133aa61248182bd3b253a7f90ba7cd2c
Reviewed-on: https://gerrit.libreoffice.org/6526
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-11-04 10:28:31 -06:00
Eilidh McAdam
7e4f8eb5ef fdo#40788: Allow manual breaks in Calc to be forced
If the scale settings specify that the print ranges must be scaled
across a specific number of pages, the default behaviour is to ignore
breaks to avoid the case where breaks force more pages than specified.
Here, an option under Calc -> Print -> Pages is added so that the user
can specify that manual row and column breaks should be forced.

Change-Id: I445cd7ce9e16e4ec2d0c320f059edad62b40f22d
Reviewed-on: https://gerrit.libreoffice.org/6531
Tested-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
2013-11-04 09:40:03 -06:00
Eilidh McAdam
a370920757 Fix for Calc page scaling - see #i54993#
If a print range's manual breaks forced it over more pages than specified
by the sheet scale settings, the zoom calculation wasn't able to
converge on a zoom level, so it bottomed out at ZOOM_MIN.

This issue only appears if the Calc/Print/Page/ForceBreaks option is
selected and simply ensures the minimum number of pages is at least
the number required by the breaks in the sheet.

Change-Id: Iba36e850081718b1aa43e5c3db3c883530885853
Reviewed-on: https://gerrit.libreoffice.org/6532
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-11-04 09:38:48 -06:00
Caolán McNamara
6ad8972d4b Resolves: fdo#70588 MultiLineEdits don't need WB_WORDBREAK set
and inherits from Edit which reuses that same bit for password

Change-Id: Ice27caecfd82e2dd7b000474f37b601fd4628766
2013-11-04 14:40:34 +00:00
Miklos Vajna
97561260ff DOCX filter: roundtrip themeTint and themeShade
Change-Id: Idaf5f6ef13df1ee821d23b8366d25924d26ff4c2
2013-11-04 15:09:29 +01:00
Stephan Bergmann
1f07a1c722 Forgot to remove fpicker from Repository.mk too
...in b40ffd288b "fdo#60698: Move generic fpicker
to svtools."

Change-Id: Ib0aaf010d61c8a77315430991f41941b57b560e8
2013-11-04 15:01:21 +01:00
Stephan Bergmann
40f9b78413 Remove unnecessary include
Change-Id: I65b0caa36da08c5df552d8f1644ec74bfe135bfe
2013-11-04 14:53:38 +01:00
Maxim Monastirsky
7722a5906d fdo#68099 Move pdf viewer call to GUI related code
This change fixes two bugs:
1) In it's old location at PDFFilter::implExport, the pdf viewer is called
*before* the final file is actually written. It causes a problem under
Windows, because we use ShellExecute function which fails if the file
doesn't exist. Calling a function blocks execution, so we have no chance
to write the file before that function fails. (fdo#68099)
2) Being a part of the saving/filter code means that the pdf viewer will
open even when converting to a pdf in headless mode. It's definitely not
something that we want to happen.

Change-Id: I1a6f70ec76100ac9e008869aa57ad738ced3ab6c
Reviewed-on: https://gerrit.libreoffice.org/6565
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-04 07:52:14 -06:00
Chr. Rossmanith
9841ae6565 use results of include-what-you-use
Change-Id: Ia6ebc21da0dcc134d07e040fc32f94a4928aa17c
Reviewed-on: https://gerrit.libreoffice.org/6560
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-04 07:51:06 -06:00
Chr. Rossmanith
c5abb32126 fdo#70998 Use "Insert Image" in dialog as well
Change-Id: I598c7367806a88cd4e582333c1e2fc8b984333e5
Reviewed-on: https://gerrit.libreoffice.org/6561
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-04 07:50:23 -06:00
Samuel Mehrbrodt
a71a562a99 fdo 70998: Termchange: Graphics->Image
Change-Id: If451dfb24567157c86bca9a4a8564eb8de231a38
Reviewed-on: https://gerrit.libreoffice.org/6524
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-04 07:49:45 -06:00
Julien Nabet
a210df8e50 Related: fdo#71147 lwp-files open not or without charts/tables
It seems pContent may be NULL (see https://bugs.freedesktop.org/attachment.cgi?id=88539)

Change-Id: I80249dd1d0afc3feaef5f1b1d134210beee3d029
Reviewed-on: https://gerrit.libreoffice.org/6536
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-04 07:47:44 -06:00
Caolán McNamara
a9d85d62a8 fdo#69971 formula dialog crash when Paint restores EditEngine listener
We need the EditEngine Modification handler of the inputbar that we are feeding
to be disabled while this dialog is open. Otherwise we end up in a situation
where...
a) this ScFormulaDlg changes the editengine
b) the modify callback gets called
c) which also modifies the editengine
d) on return from that modify handler the editengine attempts to use
   old node pointers which were replaced and removed by c

We turn it off in the ctor and back on in the dtor, but if calc has to repaint,
e.g. when switching to another window and back, then in ScMultiTextWnd::Paint a
new editengine will have been created via GetEditView with its default
Modification handler enabled. So ensure its off everytime we will access it via
InputReplaceSelection pScMod->InputEnterHandler();

I wonder if we should really be calling ScMultiTextWnd::GetEditView
(which creates an EditView if one does not already exist) in
ScMultiTextWnd::Paint or just check for pEditView directly, but that
then leading to the need for it to be explicitly created somewhere else.
As it stands in ScMultiTextWnd::Paint(...) the "if ( pView )" can never
be false.

Change-Id: I2f6df9ce0cc7ec59e8be33f4e67d91422796d251
2013-11-04 13:11:28 +00:00
Caolán McNamara
a012483e95 small optimization, don't get selection unless it gets used
Change-Id: Ibc359a8dbb26ef066dc43535eaf9835c4c7e9314
2013-11-04 13:11:28 +00:00
Stephan Bergmann
5d3cec6aaf Some clean-up
Change-Id: Ic65d1d5dcf2a0a7dbc0b382002b15e47f7998344
2013-11-04 13:47:23 +01:00