403477 Commits

Author SHA1 Message Date
Stephan Bergmann
1462b2784f Adapt the external/redland/raptor/xml2-config.patch to raptor2-2.0.15
The Yocto-based GNOME 3.20 SDK used to build the LO Flatpak has a broken
xml2-config.  I cannot understand why the previous workaround worked fine with
raptor2-2.0.9 in LO 5.2 and fails with raptor2-2.0.15 since LO 5.3, but this
updated workaround keeps raptor's configure happy.

Change-Id: Ibfb2cb8a718f744e1bb4045082520fb186d6062b
2017-02-02 14:11:58 +01:00
Stephan Bergmann
b0b13245d4 Adapt LibreOfficeFlatpak.conf to newly added dependencies
...that are all not provided by the underlying GNOME 3.20 SDK/runtime

Change-Id: I23f1a462f8bf44a30c09bbccad5916304d7c4da1
2017-02-02 14:04:30 +01:00
Zdenek Crhonek
307b0fc696 Revert "add IMCOS test case"
This reverts commit 4311cdfe77aa525fd485b1043f17e0b1bf8af7bc.

Change-Id: I78447f7719b320ae3fb50a7689d14e0e5ab1670b
Reviewed-on: https://gerrit.libreoffice.org/33826
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-02-02 12:38:02 +00:00
Zdenek Crhonek
8b93a8361a Revert "add IMCOSH, IMCOT test case"
This reverts commit cfc8714763bb7d3d002b73d7743150d588ccea75.

Change-Id: I0c2f7e02aaa10fff9bdc8f905934bd41934219fb
Reviewed-on: https://gerrit.libreoffice.org/33825
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-02-02 12:33:24 +00:00
Tor Lillqvist
f1bb7c3c55 loplugin:stringconstant
Change-Id: I20b245e69dcd1bd5f9345b3e0950a2299905bfa0
2017-02-02 13:43:37 +02:00
Miklos Vajna
6ea69f07c7 xmloff: fix loplugin:stringconstant
Change-Id: I3a1758982ae8ede32e5a25bb702b6d9f37e1a0a3
2017-02-02 12:23:34 +01:00
Miklos Vajna
50669de687 xmlsecurity: remove unused xsec_fw_component_getFactory()
No longer needed since commit a4af8986c94ff2d1bea0c21f798330efcc97b133
([API CHANGE] offapi: remove unused xsec_fw UNO services, 2017-01-26).

Change-Id: I428c07bfe2846cdc54b35a62554a21197e62245f
2017-02-02 11:56:26 +01:00
Tor Lillqvist
f0ef10cff6 Bin meaningless and non-informative comments
Two translations from German that didn't really say anything useful,
and two just pointless ones.

Change-Id: Ic2963805fbf8a576d73132e1c03872e5fa76ff70
2017-02-02 12:50:26 +02:00
Stephan Bergmann
6abbbe7015 Fix copy/move ctor check
Change-Id: I2993d5809204098e29a7560d666fa1aafb024a89
2017-02-02 11:49:20 +01:00
Stephan Bergmann
37b7a86510 Expand macro in its single place of use
Change-Id: Ib959c35f6d9da3ad4eeaf0d52a9e6d43642d2282
2017-02-02 10:51:46 +01:00
Stephan Bergmann
20eeed7afc ...or rather, fix ScChangeTrackingExportHelper::GetChangeID properly
...after 1461ebbbb5d47d90e31f0945a4878a68fbee5213 "expand out
::sax::Converter::convertNumber to OUString::number"

Change-Id: I62b9cbb83b1d4be2b2e97d3c938eb7a8ee46bc85
2017-02-02 10:37:56 +01:00
Noel Grandin
02957bc3b7 loplugin:stringconstant, this should be a break
after commit dce867e8c4863c969eea3515a988630b74708a43
"loplugin:stringconstant handle calls to constructors with one arg"

Change-Id: Ib572d904a95aa96aab3c799f9b7cfb505fcee5e6
2017-02-02 11:35:06 +02:00
Stephan Bergmann
6f9ef4bad6 Removal missing from previous commit
Change-Id: If910262c7495124795384282fdd5d1441124604f
2017-02-02 10:31:57 +01:00
Stephan Bergmann
c7fd308ebb -Werror,-Wunused-private-field
Change-Id: I25a8ebb0e5677980b58046d6dde9133cd6592c54
2017-02-02 10:29:00 +01:00
Stephan Bergmann
d92ce4a6a5 Missing AC_MSG_RESULT
Change-Id: Ifb7750ba4dd4f43810aab66fccb4d8dd8a9318d1
2017-02-02 10:17:55 +01:00
Mike Kaganski
c484c5532a tdf#105625 related: fix pointer variable prefix
Change-Id: I5030d33c83c89a4cb8653f88c4309af53b75f68b
Reviewed-on: https://gerrit.libreoffice.org/33823
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-02-02 08:50:49 +00:00
Noel Grandin
bfc34f65da fix linux build
after commit 1461ebb
"expand out ::sax::Converter::convertNumber to OUString::number"

Change-Id: I9bf0d36f9623491a8f760e88029b5d9a04369eba
2017-02-02 10:48:56 +02:00
Noel Grandin
d7363da21d fix linux build
after commit 1461ebb
"expand out ::sax::Converter::convertNumber to OUString::number"

Change-Id: Ie219db074a626b124cc640612e549ec9ac869296
2017-02-02 10:29:06 +02:00
Noel Grandin
4978328534 convert method names in tools::SvRef to be more like our other..
reference classes, uno::Reference and rtl::Reference.

Specifically rename Is()->is() and Clear()->clear().

Change-Id: Icb7e05e2d09cb9977121508b837ba0961dabb4ae
Reviewed-on: https://gerrit.libreoffice.org/33576
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-02 08:02:54 +00:00
Noel Grandin
1461ebbbb5 expand out ::sax::Converter::convertNumber to OUString::number
which results in much simpler code overall, there is no need to go via
an OUStringBuffer all the time

Change-Id: I69eba92c93f471fa9a45f97c29c56dcf3cd1ebf8
Reviewed-on: https://gerrit.libreoffice.org/33773
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-02 08:00:10 +00:00
Noel Grandin
c0f9bdd3e6 unnecessary use of OUStringBuffer in throwing exceptions
Change-Id: Iec1473264426f19c31e72260dfce9494389e474f
Reviewed-on: https://gerrit.libreoffice.org/33788
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-02 07:48:21 +00:00
Noel Grandin
52360bf8dd convert BmpCombine to scoped enum and drop unused
Change-Id: Ic67474683a25a25e5753777f4bbbeded6ceba414
Reviewed-on: https://gerrit.libreoffice.org/33793
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-02 07:45:28 +00:00
David Tardon
ba9b66eecf upload fontconfig 2.12.1
Change-Id: I6f035afbf4a904bed5074d79f467ba43f7d8ed32
Reviewed-on: https://gerrit.libreoffice.org/33813
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2017-02-02 07:38:01 +00:00
David Tardon
cc96f0c841 upload freetype 2.7.1
Change-Id: I8da4395cefe6bb542ab7cac2a849ec587a63f37c
Reviewed-on: https://gerrit.libreoffice.org/33814
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2017-02-02 07:37:25 +00:00
Federico Bassini
25a502050f gbuild-to-ide: second patch for vs2013 and testIde
the path in gbuildparse changed, so this patch re-adapt this
2 IDE integration

Change-Id: I5f7a679b8b12eac6f44030a33713ff19327b9d1a
Reviewed-on: https://gerrit.libreoffice.org/33815
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2017-02-02 07:04:05 +00:00
Zdeněk Crhonek
5badb5b1f3 add MDURATION test case
Change-Id: I9eb700a0977d13dbca41962eeb74b33f80ee7ef1
Reviewed-on: https://gerrit.libreoffice.org/33820
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-02-02 06:56:57 +00:00
Zdeněk Crhonek
4311cdfe77 add IMCOS test case
Change-Id: I41a5636aa6b87ae26a615c0e267dae64e12a6c6b
Reviewed-on: https://gerrit.libreoffice.org/33639
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-02-02 06:35:10 +00:00
Zdeněk Crhonek
cfc8714763 add IMCOSH, IMCOT test case
Change-Id: Id81bcf7d9c93080116333be48e666e0cf10c6508
Reviewed-on: https://gerrit.libreoffice.org/33643
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-02-02 06:33:42 +00:00
Kohei Yoshida
9966697b89 tdf#105629: add test case for the auto filter usage with time values.
Change-Id: Ic459eefde02037c0aa615044003abaf03e48f9e3
Reviewed-on: https://gerrit.libreoffice.org/33819
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-02-02 05:04:50 +00:00
Kohei Yoshida
73ac88748f tdf#105629: add test for the advanced filter usage.
The test case itself is derived from tdf#43831.

Change-Id: Ifd847e84b84b02c1eb74572303af729c30c4f380
Reviewed-on: https://gerrit.libreoffice.org/33818
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2017-02-02 05:03:47 +00:00
Kohei Yoshida
871614789c CreateQueryParam to take a ScRange parameter.
This simplifies its usage a bit.

Change-Id: Idd5b24897f65c7cf8b7ff88806dd058c35c95ffe
Reviewed-on: https://gerrit.libreoffice.org/33817
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-02-02 05:02:34 +00:00
Kohei Yoshida
42e472b587 tdf#105629: Let's move the advanced-filter specific stuff ...
to the place where we actually parse the filtering rules for advanced
filter queries.

Change-Id: I87650227e15fa54303efd720530d31ecf9827226
Reviewed-on: https://gerrit.libreoffice.org/33816
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-02-02 05:01:53 +00:00
Adolfo Jayme Barrientos
5f33745c1d tdf#105669 tdf#82707 A single click in the status bar is now enough
Change-Id: I5acc6ce95a3dc7fe6e23088ef2ec9c6a93d32670
2017-02-01 20:11:13 -06:00
Takeshi Abe
d7736283aa starmath: these functions are local
Change-Id: I7b1c9722e300585603ce54610d7ef20425a4e634
Reviewed-on: https://gerrit.libreoffice.org/33797
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2017-02-02 00:32:16 +00:00
Mike Kaganski
af42aab836 tdf#105625: Allow Delete/Backspace to delete whole fieldmark
Previously, the fieldmarks couldn't be removed with backspace or
deletee when cursor was right/left to them.

After commits f72b866c9cf4f07fce6744fbf482c4c6488106e2 and
c34fc4520dfee4ca068f249ee0756dacaa7a60cf, deletion worked wrong
(it didn't delete the mark from mark manager; in case of text
field, it removed one field's boundary).

Now single backspace/delete properly removes the whole fieldmark,
replacing it with its contents if applicable.

Change-Id: Id26e6e4e40e274d9fd6f0224f3e2b4fe33c369b7
Reviewed-on: https://gerrit.libreoffice.org/33812
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-02-01 22:24:35 +00:00
Michael Stahl
4ec3d8cede tdf#105677: sd: fix crash in FuPage::ApplyItemSet
(regression from f3a90d13056ca23708cc4fd9562c99d0b41a4b6f)

Change-Id: I54e3f06a74b2ac715061b5da54ac4db2b0a1010a
2017-02-01 21:56:03 +01:00
David Tardon
750ca7dec9 upload libjpeg-turbo 1.5.1
Change-Id: Ie34f030abad75317b8bd813386e6bbf9439a3d1c
Reviewed-on: https://gerrit.libreoffice.org/33810
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2017-02-01 20:50:41 +00:00
David Tardon
0e36d7ec60 upload cairo 1.14.8
Change-Id: I3f602b881477653f51025fce72d22a0499e7f077
Reviewed-on: https://gerrit.libreoffice.org/33806
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2017-02-01 20:49:43 +00:00
David Tardon
a97371bf4d upload openssl 1.0.2k
Change-Id: I26d49db0207b3f4f64aa9698da4cf3567d195834
Reviewed-on: https://gerrit.libreoffice.org/33800
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2017-02-01 20:48:51 +00:00
David Tardon
0ada594b5c upload lcms2 2.8
Change-Id: I8a3b138c051d3cddf25855a635262311669bdddc
Reviewed-on: https://gerrit.libreoffice.org/33798
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2017-02-01 20:47:57 +00:00
Michael Stahl
e95765027e odk: don't run make with LD_LIBRARY_PATH set
In a build with -fsanitize=address, this fails with:

Change-Id: If8581363a395af78bbbe00dd656290aea53af330
make: symbol lookup error: instdir/program/libfreebl3.so: undefined symbol: __asan_option_detect_stack_use_after_return
2017-02-01 21:21:59 +01:00
Michael Stahl
616e19fc25 odk: recreate setsdkenv if config changes
Change-Id: I4a34f03fdab4626bdbf9b254986b0953ecfdffa7
2017-02-01 21:21:59 +01:00
David Ostrovsky
30473907a5 tdf#105311 VC++ Runtime installed in wrong directory
Starting from MSVC 14.0, the directory table layout of VC++ Runtime merge
module changed. As consequence, all MSI produced with newer compilers,
including MSVC 15.0 (aka VS 2017) are broken in term that the VC++
Runtime DLLs are installed in the wrong directory, e.g.: C:\System64.

According to the specification for merging merge module (msm), see:
"Authoring Merge Module Directory Tables": [1], custom action 51 (set
property) must be emitted for every directory name in the merge module
directory table if the directory name is starting with the standard
directory name.

Quoting it here:

"
When a predefined directory is included in a merge module, the merge
tool automatically adds a Custom Action Type 51 to the target database.
The merge module author must ensure that a CustomAction table is also
included. The CustomAction table may be empty, but this table is required
to exist in the target database and ensures that the modified predefined
directories are written to the correct locations. For example, when a
system directory is included in a merge module, the merge module author
must ensure that a Custom Action table exists.

Note that the matching algorithm for the generation of these type 51
custom actions only checks that the directory name begins with one of
the predefined SystemFolder properties. It does not verify that the
directory name exactly equals the directory property. Any directory
beginning with one of these standard folder names gets a type 51 custom
action, even if the rest of the name is not a GUID. Authors need to take
care that this does not generate false positive matches, and unintended
custom action generation, on derivative primary keys that begin with one
of the SystemFolder properties."

Rectify the problem by analyzing the directory table from the merge
module, checking whether the directory name starts with the standard
prefix name and if it is the case, emitting custom action 51 to set this
variable to the standard directory name.

Implementation details:

We use the existing facility for emitting the custom action table events
including referencing them in the corresponding sequence tables. Given
that the specification above doesn't mention what sequence table should
be referencing this emitted custom action, we reversed engineer this
information from WiX toolkit. Merging the VC++ CRT module with WiX
toolkit and investigating the resulting MSI with Orca MSI reader, reveals
that these sequence tables were referencing from these sequence tables:

* AdminExecuteSequence
* AdminUISequence
* AdvtExecuteSequence
* InstallExecuteSequence
* InstallUISequence

Replicate this behaviour here as well. Note, though, that custom actions
are generally not referenced in AdminUISequence and AdvtExecuteSequence
tables in LibreOffice MSI building tool chain.

Rendering of the custom action is achieved by programmatic emulation of
custom action in SCP module. Consider this similar SCP module based
action:

  Name = "MigrateInstallPath";
  Typ = "321";
  Source = "shlxtmsi.dll";
  Target = "MigrateInstallPath";
  Inbinarytable = 1;
  Assignment1 = ("InstallExecuteSequence", "", "CostInitialize");
  Assignment2 = ("InstallUISequence", "", "CostInitialize");

We instantiate the following data structure to emit custom action
System64Folder.3CFBED52_9B44_3A4D_953C_90E456671BA1:

  Name = "System64Folder.3CFBED52_9B44_3A4D_953C_90E456671BA1"
  Typ = "51"
  Source = "System64Folder.3CFBED52_9B44_3A4D_953C_90E456671BA1"
  Target = "[System64Folder]"
  Styles = "NO_FILES"
  Assignment1 = ("AdminExecuteSequence", "", "CostInitialize")
  Assignment2 = ("InstallExecuteSequence", "", "CostInitialize")
  Assignment3 = ("InstallUISequence", "", "CostInitialize")

[1] https://msdn.microsoft.com/en-us/library/windows/desktop/aa367787%28v=vs.85%29.aspx

Change-Id: I2fbd37ff63298d99b2ba1b6afe6e875f56d8e378
Reviewed-on: https://gerrit.libreoffice.org/33366
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2017-02-01 18:07:38 +00:00
jan Iversen
56a8a76e9e Makefile.in added support for testIde
This is a temporary fix, to allow testing of the new
windows IDE, without disturbing the existing one.

Change-Id: I4c59427541878acb6dd382af42deb7c0c952bcf9
2017-02-01 18:46:37 +01:00
jan Iversen
9493bb3a26 gbuild-to-ide typo
Change-Id: I3b57086349d039087dc9395f7af63f8e8fbf1bab
2017-02-01 18:39:34 +01:00
Caolán McNamara
0861cb6d72 fix crash with gtk3, opengl and presentation console
PresenterSlideShowView::PaintInnerWindow has a mbIsForcedPaintPending flag
which is used to throw away the console canvas, but for other backends the
paint occurs at a much different time after a clear has a chance to get
triggered, while for gtk3 it happens as its being setup.

hack around this presenter console weirdness by skipping the initial
paint for this salsysobj case

Change-Id: If1b23600ef07241e52d92bd5eb38b9e90d9ed192
2017-02-01 17:30:20 +00:00
jan Iversen
45de3417e3 gbuild-to-ide patch to allow faulty gbuildtojson
Sometimes gbuildtojson does not get rebuild, and thus
delivers unexpected json files (old keys)

Change-Id: Ib4bab170ed5a2ab5c112d19af144f2551e608278
2017-02-01 18:21:37 +01:00
Akshay Deep
76acb8ab5f tdf#98034 - SIDEBAR: Add delay spinbox to Custom Animation tab
Change-Id: Ie13a5e04207475794fef75c568786f37eb2c406f
Reviewed-on: https://gerrit.libreoffice.org/33230
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com>
2017-02-01 17:20:55 +00:00
qarkai
b12823aa81 tdf#39593 move duplicate code to separate method
Change-Id: I89c809a220efc006d3b5b0675c050ff07cb2dbfe
Reviewed-on: https://gerrit.libreoffice.org/33380
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-02-01 16:30:28 +00:00
Stephan Bergmann
ebe83479b4 Missing includes
Change-Id: I287f166291a905c9f4d166bf07c09de93184bf87
2017-02-01 17:19:06 +01:00