100 Commits
Author SHA1 Message Date
David Ostrovsky 52dd3d085b Fix -Werror=unused-result
Change-Id: I9d6f4b29b6045d5d64c0ee730588299c41d33419
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111689
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-03-01 11:59:52 +01:00
David Ostrovsky c099288c23 tdf#138987 pyuno: PyEval_InitThreads is a no-op in Python 3.9
Change-Id: I220eecfa6aaf4d5cb12e3b4eacadf25843b41452
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108403
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-01-05 12:18:11 +01:00
David Ostrovsky 6dd1d22684 tdf#138987 pyuno: PyEval_InitThreads is a no-op in Python 3.9
Change-Id: I7cf95ab1f237e315e8bd80b47758839bca34f970
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107946
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Tested-by: Jenkins
2020-12-19 17:34:50 +01:00
David Ostrovsky e355d2dc89 Bump boost version to 1.71
Change-Id: Ica4aba467aa00236a4d1c5b0411d1ebc657ea4df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86594
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-01-15 10:27:06 +01:00
David Ostrovsky 6073627ddc gbuild: Unconditionally compile as C++17 with MSVC 2017
Change-Id: Icb7161bb140cb2ffbf36f56839a2889d9eb2660c
Reviewed-on: https://gerrit.libreoffice.org/59445
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Tested-by: Jenkins
2018-08-22 17:15:54 +02:00
David Ostrovsky bafbaa3fed gpg4libre: build gpgme natively on windows
Change-Id: I0b77ba0c1b8f84affa483181e26a26beaf39e878
Reviewed-on: https://gerrit.libreoffice.org/42838
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-22 17:56:08 +01:00
David Ostrovsky 5f981d30e2 gpg4libre: build libassuan natively on windows
Change-Id: Id374ebc5ed70a1b4313dc74461524ac2b864b114
Reviewed-on: https://gerrit.libreoffice.org/42745
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-22 17:54:58 +01:00
David Ostrovsky bef91f7e5f gpg4libre: have gcc-wrapper handle linking properly
Change-Id: I83305f504f7d492195f07f11f06d2c9855d92400
Reviewed-on: https://gerrit.libreoffice.org/42441
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-09-19 03:22:38 +02:00
David Ostrovsky 92012cfad0 Boost: Update last known MSVC version to VS2017.3
Change-Id: I41952279cc9d40769bfc51dd0f03c0b0624815d2
Reviewed-on: https://gerrit.libreoffice.org/41961
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Grzegorz Araminowicz <g.araminowicz@gmail.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-09-06 12:18:21 +02:00
David Ostrovsky 6dce5d167e MSVC 15.0: Fix configure to work with update 15.3
Update 15.3 renamed redist directory from 150 to 141 and introduced
intermediate build number directories, that are different from the
compiler build number directories.

While the compiler is located under:

  [...]/MSVC/14.11.25503/bin/HostX64/x64/cl.exe

the merge modules are located now under:

  VC/redist/MSVC/14.11.25325/MergeModules

Change the hard coded detection approach, to the dynamic one: list
all directories in suspected locations and check for existnace of
the artifacts we are looking for.

Change-Id: Ie040f290d1748ab4ec5c715b6636cc3733329e1c
Reviewed-on: https://gerrit.libreoffice.org/41922
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-09-05 09:32:35 +02:00
David Ostrovsky f0e68d4fea python3: upgrade to release 3.5.4
Change-Id: I9300b2ec1e1dcedbcbfe793e1450166af1bf1944
Reviewed-on: https://gerrit.libreoffice.org/40944
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-08-11 12:28:37 +02:00
David Ostrovsky 9f68be9991 Use gcd from boost::math::gcd
According to the documentation "Run-time GCD & LCM Determination": [1],
gcd should be consumed from boost::math::gcd.

[1] <http://www.boost.org/doc/libs/1_64_0/libs/math/doc/html/math_toolkit/run_time.html>

Change-Id: I026a4e8ead75399765eb73fa5434a57958676383
Reviewed-on: https://gerrit.libreoffice.org/37260
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-05-05 09:27:40 +02:00
David Ostrovsky de030cd7a2 gbuild: Remove MSVC 2013 legacy code
Uwinapi is discontinued.

Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01
Reviewed-on: https://gerrit.libreoffice.org/23198
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-21 18:18:44 +02:00
David Ostrovsky 7fd432e6f2 MSVC 15.0: Fix 32bit build
Change-Id: I0e6e01918f58ada6a58f1d3b3278b72944cf300e
Reviewed-on: https://gerrit.libreoffice.org/34904
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2017-03-06 06:41:55 +00:00
David Ostrovsky 96af392ba4 Use /debug:fastlink linker option to improve link performance
/debug:fastlink improve build performance and reduce resources
consumption. When this linker oprion is used the linker-produced
program database (PDB) files doesn’t have any private symbol
information. Debug information is distributed among input object
and library files, and the linker PDB just serves as an indexing
database. Obviously, this provides a huge performance benefit for
the daily developer builds.

fastlink PDB files cannot be shared with another developer on the
team or uploaded directly to symbol server. There is spcial tooling
which is able to create a full PDB from the /debug:fastlink PDB
on demand: mspdbcmf: [1]. The integration of mspdbcmf is beyond
the scope of this change.

[1] https://blogs.msdn.microsoft.com/vcblog/2016/10/05/faster-c-build-cycle-in-vs-15-with-debugfastlink/

Change-Id: I14e29cf116407b420598f692c8d6d851e686268b
Reviewed-on: https://gerrit.libreoffice.org/34330
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-03-03 09:02:58 +00:00
David Ostrovsky 1d4f1eae90 UNO bridges: Remove MSVC 2013 legacy code
Change-Id: Ia6f59f825ead50f92ed7a343df0c01f34ce5c6f8
Reviewed-on: https://gerrit.libreoffice.org/23199
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-03-03 08:28:38 +00:00
David Ostrovsky 84b36c704d Drop support for MSVC 2013
Change-Id: Ibf47c9ff7b5fb098e284a58c547b61286264dd80
Reviewed-on: https://gerrit.libreoffice.org/22588
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-03-02 16:21:05 +00:00
David Ostrovsky 2f6f58a062 configure.ac: Add missing result message
Change-Id: Ib5d84e67d36e41d20e137ce96ce66f758b110198
Reviewed-on: https://gerrit.libreoffice.org/34596
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-02-24 10:55:08 +00:00
David Ostrovsky f0c7cbe1d8 MSVC 14.0: Make it work with older SDK version
Change-Id: I50a9e8b122250af445c2a1b3d0941d508e027318
Reviewed-on: https://gerrit.libreoffice.org/34528
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2017-02-22 04:33:16 +00:00
David Ostrovsky 996960f5a2 MSVC 14.0: Fix warning C4702: unreachable code
Change-Id: I38db92984daae40981f2d3f60c4efa38684d5328
Reviewed-on: https://gerrit.libreoffice.org/34382
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2017-02-20 09:00:57 +00:00
David Ostrovsky 3e1e49561b Fix firebird MSVC 15.0 detection
Change-Id: I9721632c68e6428b03b0368e7802c6eb4f5eb0a2
Reviewed-on: https://gerrit.libreoffice.org/34323
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2017-02-15 22:44:57 +00:00
David Ostrovsky b862cbdd34 Support MSVC 15.0
New compiler changes quite some stuff:

* Compiler detection done based on different registry key
* .NET SDK detection done based on different registry key
* Msbuild installation directory changed
* Merge modules installation directory changed
* SDK number in registry doesn't match the directory name:
  (registry key: 10.0.14393, directory name: 10.0.14393.0)
* Compiler, include and library location directories changed
* Architecture specific directory changed: x64 instead of amd64
* Compiler own include directory must be added with -I option
* To force usage of SDK 10 (8.1 is selected per default) new
  switch WindowsTargetPlatformVersion is passed to msbuild, to
  avoid patching VC project files with this line:
<WindowsTargetPlatformVersion><SDK>/WindowsTargetPlatformVersion>

Known issues:

* Firebird is broken: http://paste.openstack.org/show/594333

Change-Id: I148d7932aff43bbbd07bd493504df974726234c2
Reviewed-on: https://gerrit.libreoffice.org/31279
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2017-02-15 08:23:53 +00: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
David Ostrovsky 32c9876d51 ZipFile: make it work on MSVC 14.0
Change-Id: I99a00c61634375a75e15a8c1530213f5aad25b51
2017-01-15 11:05:03 +01:00
David Ostrovsky 252e42cb54 Clean up stale merge modules
Change-Id: I2489238d5295650a3c51581a037185440f641005
Reviewed-on: https://gerrit.libreoffice.org/32797
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-01-07 08:43:44 +00:00
David Ostrovsky e16fa715c4 Handle wchar_t as native C++11 type on windows
The option /Zc:wchar_t- prevented to use wchar_t as a built-in type
according to the C++ standard. In Visual C++ 6.0 and earlier, wchar_t
was not implemented as a built-in type, but was declared in wchar.h as
a typedef for unsigned short. Now, years later after the end of life
this outdated toolchain, there is no reason not to use native type.

The only issue could be the ABI compatibility. But on a quick look at
least, it looks like none of the mangled C++ symbols in the stable URE
interface actually depend on wchar_t.

We forgot to get rid of /Zc:wchar_t- in 5.1. Do that for LibreOffice
5.2, though.

Change-Id: I8d6b380660859efa44c83c830734978d31d756a0
Reviewed-on: https://gerrit.libreoffice.org/22589
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-05-03 19:26:06 +00:00
David Ostrovsky 3bd54fd17b Fix lcms2 on MSVC 14.0
Without explicitly specifying toolset v140, the build was
failing when only MSVC 14.0 was installed:

  The builds tools for v120 (Platform Toolset = 'v120')
  cannot be found

Change-Id: I6fb386d56e38cbf922de5069e70a3d3def147c0b
Reviewed-on: https://gerrit.libreoffice.org/23162
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: Jenkins <ci@libreoffice.org>
2016-03-12 10:04:32 +00:00
David Ostrovsky 682da4010b Fix glew on MSVC 14.0
Without explicitly specifying toolset v140, the build was
failing when only MSVC 14.0 was installed:

  The builds tools for v120 (Platform Toolset = 'v120')
  cannot be found

Change-Id: I5849821f291b705ad75db8b4c9404af8458902ba
Reviewed-on: https://gerrit.libreoffice.org/23160
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2016-03-12 07:28:34 +00:00
David Ostrovsky dc519b6dea Fix .NET detection on 32bit platform
Change-Id: I5eaa098d1de6b57245aca7bba2274139e60ba402
Reviewed-on: https://gerrit.libreoffice.org/23159
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2016-03-12 00:05:08 +00:00
David Ostrovsky adfa772549 Add missing includes
These include were needed to compile on Windows, MSVC 14.0 with
clang-cl.

Change-Id: I4ca5cec8314920e90fcca6fa69ec4df87d680f29
Reviewed-on: https://gerrit.libreoffice.org/23044
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-09 07:53:56 +00:00
David Ostrovsky 1baf5c3c66 Fix unrecognized -Wv:18 option for clang-cl on MSVC 14.0
Change-Id: I4ac94475b663c1ec1f5148b766a81a31adb1d49e
Reviewed-on: https://gerrit.libreoffice.org/23038
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-09 07:50:19 +00:00
David Ostrovsky 1a056fdb25 Fix nss on MSVC 14.0 in debug mode
outdir doesn't seem to be created. Use current directory for
pdb files as the obj files are already stored in the current
directory.

Change-Id: I41dd65714d314cd374cc5de073d48f1a58b18c56
Reviewed-on: https://gerrit.libreoffice.org/22888
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-03-05 04:49:09 +00:00
David Ostrovsky 59907b3600 nss: Fix pointer truncation from 'char *' to 'long'
Change-Id: Ie1659c62cbf77f8b685fdf7d79cd62336fa99005
Reviewed-on: https://gerrit.libreoffice.org/22916
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-03-05 04:48:53 +00:00
David Ostrovsky 7df498c828 Fix coinmp on MSVC 14.0
Iterator category tags carry information that can be used
to select the most efficient algorithms for the specific
requirement set that is implied by the category. OsiCuts
defines bidirectional category tag, but doesn't implement
operator--(). This is illegal: [1].

* [1] http://paste.openstack.org/show/489235

Change-Id: I68a6d297d5c33848c4b8a324e081c5118fd936a4
Reviewed-on: https://gerrit.libreoffice.org/22882
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2016-03-03 22:45:20 +00:00
David Ostrovsky 6153a30e1e .NET detection: Don't try to add not existing path
This fixed this warning:

  cygpath: cannot create short name of \
  C:\PROGRA~2\WI3CF2~1\NETFXSDK\4.6\bin

Change-Id: I2d4e3d2c5e4c3348552355f91a340438eb0f9e8a
Reviewed-on: https://gerrit.libreoffice.org/22850
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-03-03 11:42:32 +00:00
David Ostrovsky 486c91147c Bump nss to 3.22.1 and nspr to 4.12
It seems like nss has activated -Werror, even though the code is not
warning free: [1].  This applies also to the additional patches that
would need to be patched to be a warning free patch, endless recursion.

To avoid messing around with something like that: [2], we disable
-Werror option for now. Also note, that [2] doesn't fix all warnings,
but only part of them so that we let with unsolved non-trivially to
fix warnings on different supported compilers if we would choose the
warning-free-compilation-path.

[1] https://groups.google.com/d/topic/mozilla.dev.tech.crypto/TgnF3tIMxJ0/discussion
[2] https://git.fedorahosted.org/cgit/nss-pem.git/commit/?id=ec2b9a90623b1ec5adb6ebe8d6651b35854786ec

Change-Id: I762c03acede6c4eac715d3b0589061eeabbcc7c2
Reviewed-on: https://gerrit.libreoffice.org/22650
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2016-02-28 20:21:43 +00:00
David Ostrovsky 43cdf4b628 Ole: Fix WaE
Change-Id: Ia6ccdc21608abcbd715bd9ff4aa2057f9f306e58
Reviewed-on: https://gerrit.libreoffice.org/22686
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2016-02-28 14:52:32 +00:00
David Ostrovsky 271bfb5938 MSVC 14.0: Fix building 64bit libraries in 32bit mode
Change-Id: I006d21b6240898cbaed2b382276654d3ad8076a2
Reviewed-on: https://gerrit.libreoffice.org/22732
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2016-02-27 21:21:49 +00:00
David Ostrovsky e04c734f56 MSVC 14.0: Second attempt to fix Python in 32bit build mode
Change-Id: I709fda2e6df5048bdbf9157518d6b7b98ff45515
Reviewed-on: https://gerrit.libreoffice.org/22730
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2016-02-27 21:21:33 +00:00
David Ostrovsky 94f1950744 Add missing include
Change-Id: I454b39a76595aedbbe1ca64f9b1982e5c27623cd
Reviewed-on: https://gerrit.libreoffice.org/22708
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2016-02-26 07:50:47 +00:00
David Ostrovsky d375cafef6 werror: declaration hides previous declaration
Change-Id: I0f8422a4f8c27ec253d917985d2593d8d87bb5f0
Reviewed-on: https://gerrit.libreoffice.org/22685
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-02-25 12:18:07 +00:00
David Ostrovsky fbe9f840d5 werror: declaration hides previous declaration
Change-Id: Ia0fe8847f2a58fbccb25ecc6237f3b14a08da076
Reviewed-on: https://gerrit.libreoffice.org/22688
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-02-25 12:13:23 +00:00
David Ostrovsky bd276bf04c werror: declaration of 'nWidth' hides previous declaration
Change-Id: Ida3b031f0425aae8d8372410311312b4d7a13d2f
Reviewed-on: https://gerrit.libreoffice.org/22683
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-02-25 08:33:51 +00:00
David Ostrovsky 761053abd8 Fix python packaging on MSVC 14.0, 32bit
Change-Id: I5604aa21981c216e992cbefae043acfd0ab07bbd
Reviewed-on: https://gerrit.libreoffice.org/22626
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2016-02-23 07:21:30 +00:00
David Ostrovsky 3b1d7027de Force pdb write synchronization on all MS compilers
Change-Id: Id367ad150fa50cb3ed4d32cb5c7c8408f91e371a
Reviewed-on: https://gerrit.libreoffice.org/22544
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-02-21 19:39:37 +00:00
David Ostrovsky 3ff41a00aa Fix UCRT detection
Change-Id: If2ef7a8b507e9d65f1f1ee186491ce2f35340362
Reviewed-on: https://gerrit.libreoffice.org/22545
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-02-21 19:38:53 +00:00
David Ostrovsky 9218ca6495 configure: Fix Windows SDK 10 retrieval
Change-Id: I800bd502c3ecd4ec1cdaa6cb3cbe1c4432d8358f
Reviewed-on: https://gerrit.libreoffice.org/22451
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2016-02-18 07:12:27 +00:00
David Ostrovsky a3c70e760f Fix missing iterator include on MSVC 14.0
Change-Id: I55de612aef52038fd9979426950d4ae4131ca586
Reviewed-on: https://gerrit.libreoffice.org/22448
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2016-02-17 23:43:45 +00:00
David Ostrovsky 649f74e21b Consider MSVC 14.0 per default, when no MSVC 12.0 installed
Change-Id: I7de8df7d8b7da2c16e27f22529162574bc0f747d
Reviewed-on: https://gerrit.libreoffice.org/22436
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2016-02-17 19:37:15 +00:00
David Ostrovsky 53f0eb12f0 tdf#90753 Move Pyuno wizard packages to autoinstall
Change-Id: I9dda8144e0cb3ff2ea80c65f210a9b94b88a0026
Reviewed-on: https://gerrit.libreoffice.org/22379
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-17 10:01:41 +00:00
David Ostrovsky 6e38a392c8 mork: Clean up unused includes
Change-Id: Ideff092f49bd84ce829f3ae142de7ff2d32391ab
Reviewed-on: https://gerrit.libreoffice.org/22128
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2016-02-11 22:59:14 +00:00
David Ostrovsky 3466423b86 tdf#74608: Ctor function for mork component implementation
Change-Id: I706e65777c3f7ec1af255d93ffa31925e75fb2b7
Reviewed-on: https://gerrit.libreoffice.org/22123
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-02-05 07:57:30 +00:00
David Ostrovsky b0e27cf545 mork: Remove unused source file
Change-Id: I0b8c1692c2b04bbbb5486517b2e8de6957ab4b79
Reviewed-on: https://gerrit.libreoffice.org/22104
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2016-02-04 14:47:34 +00:00
David Ostrovsky 3ffa98027e mork: SAL_DELETED_FUNCTION->'= delete'
Change-Id: I71e2000920e606e5d550ed5451722cbb80f3dc82
2016-02-04 12:07:11 +01:00
David Ostrovsky 40da8f2ae6 mork: boost::noncopyable->'= delete'
Change-Id: Ibe5e44af2348150fef0fa3d3e579ca2893fc6b1c
Reviewed-on: https://gerrit.libreoffice.org/22095
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2016-02-04 10:58:43 +00:00
David Ostrovsky cf888f3635 And now put the patch in the right location
Change-Id: Ie4bf00eeaf152192d8f4fcf6b1d03d474e9d1faa
2016-01-30 17:52:59 +01:00
David Ostrovsky 4c11b6897a And now add the correct patch
Change-Id: I9e9986ce55acaf36683244a45bc96bc76295d5c7
Reviewed-on: https://gerrit.libreoffice.org/21938
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2016-01-30 16:33:53 +00:00
David Ostrovsky 7fe147a33b Blind attempt to fix build breakage on android
Change-Id: I4dd55a14a94e5030583f640972440fb37a7b2448
2016-01-30 16:21:09 +01:00
David Ostrovsky 6597550883 Fix typo
Change-Id: I6fe407bb449b0f91509bfc91f42c0b0f320ecb09
Reviewed-on: https://gerrit.libreoffice.org/21914
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2016-01-30 11:44:34 +00:00
David Ostrovsky 70d49424b8 Bump boost version to 1.60
Change-Id: I9c6e55e2e09d72f6d02c985955ca84b59628ed15
Reviewed-on: https://gerrit.libreoffice.org/21903
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2016-01-30 11:43:27 +00:00
David Ostrovsky 1fd41f43eb Add build toolchain to upload LibreOffice API to Maven Central
Set up the toolchain to create sources and javadocs artifacts in
addition to JARs created during the build. Use Buck build tool for
that: [1]. This is a fork of Google's build tool Blaze, created by
Xooglers at Facebook. This build tool (like Blaze itself) uses
Python to write build files.

Add needed tools and build files to install LibreOffice API artifacts
to local Maven repository or deploy them to Maven Central.

To build all needed artifacts LibreOffice must be built regularly
with GNU make first. To build the rest of the API (sources and
javadocs):

  $> buck build api

To replace version number with upcoming release version:

  $> solenv/bin/version.py 5.1.0

To install the API to local Maven repository:

  $> buck build api_install

To deploy the API to Maven Central:

  $> buck build api_deploy

Detailed documentation is added to document the prerequisites and
the workflow to upload LibreOffice API to Maven Central.

* [1] https://buckbuild.com

Change-Id: Ibdd552a01110836703bc069abe829b9921491cac
Reviewed-on: https://gerrit.libreoffice.org/20343
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-03 23:32:11 +00:00
David Ostrovsky 9ca2de8c59 Expose metadata to deploy LibreOffice artifacts on Maven Central
As outlined in the requirements to deploy the artifacts on Maven
Central, the metdata must be provided:

* Project Name, Description and URL
* License Information
* Developer Information
* SCM Information

[1] http://central.sonatype.org/pages/requirements.html

Change-Id: I0bcd19a22d0e1a48f0faec0b414f816f7da5b318
Reviewed-on: https://gerrit.libreoffice.org/20315
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-01 08:45:25 +00:00
David Ostrovsky 700f080fd9 README: Describe what LibreOffice is about
Before saying how to develope it, mention what it's all about.
The text was shamelessly stolen from OpenHUB LibreOffice project
site: [1].

* [1] https://www.openhub.net/p/libreoffice

Change-Id: I9e018e441c4d3f176d1d21eddb7a65429a9f9fd2
Reviewed-on: https://gerrit.libreoffice.org/20252
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-11-28 11:34:19 +00:00
David Ostrovsky db8074cb7b Mork: Reuse profile discovery from mozilla bootstrap
Mozilla bootstrap driver is used in xmlsecurity to discover default
profile and induce the path to the public keys file location from
certification authorities. The same profile discovery code is used
in mork driver. Remove duplicated code and re-use the service from
mozilla bootstrap driver in mork driver.

Change-Id: I6bc271ccf75e89eb81767186ddd9078c1f64b73d
Reviewed-on: https://gerrit.libreoffice.org/20111
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-11-26 13:41:22 +00:00
David Ostrovsky bbbef1568b Bump jpeg-turbo version to 1.4.2
Change-Id: Ie0d274423a66db49f58bf4de423ad7b0cc638d47
Reviewed-on: https://gerrit.libreoffice.org/20116
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-11-24 10:43:23 +00:00
David Ostrovsky 1b218f3597 Pass emit-debuginfo flags to MSVC bridge_noopt_objects, if applicable
Since df62a2c81b gb_DEBUG_CFLAGS
was passed to bridge_noopt_objects target for MSVC to track
down EH breakage on 64 bit architecture. It was erroneously
done unconditionally. Fix it to only pass when one of:

--enable-dbgutil
--enable-debug
--enable-symbols

is present.

Change-Id: I2728c30156541be418c88a0ea284c0c6a16abba5
Reviewed-on: https://gerrit.libreoffice.org/19744
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-02 20:36:07 +00:00
David Ostrovsky 2125026220 Support universal C runtime, SDK 10 and .NET 4.6
Starting with MSVC 14.0 (aka VS 2015) C Runtime (CRT) was divided in
two logical parts: The VCRuntime, which contained the compiler support
functionality required for things like process startup and exception
handling, and a "stable" part that contained all of the purely library
parts of the CRT.

Previously, all of the CRT headers, sources, and libraries were
distributed as part of the Visual C++ SDK, installed in the VC
subdirectory of Visual Studio installation (generally C:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC). The files for the
VCRuntime are still part of the Visual C++ SDK. The headers, sources,
and libraries are now distributed as part of a separate Universal CRT
SDK. This SDK is included with Visual Studio; it is installed to
C:\Program Files (x86)\Windows Kits\10. The debug ucrtbased.dll is
also included as part of this SDK and is installed to the system
directory.

In I0ef8cda7b initial support was added to suport VS 2015. In this
change support for universal CRT, .NET 4.6 and SDK 10 is added. UCRT
dirs are added to CFLAG, CXXFLAG and ILIB. SDK 10 include path is
added to SOLARINC. .NET Framework 4.6 was splitted from SDK 10 and
needs to be discovered separately.

Change-Id: I2c484b6b1debab0d71523385021abb8fc8e6027f
Reviewed-on: https://gerrit.libreoffice.org/16642
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-27 21:27:38 +00:00
David Ostrovsky cd15605876 Fix python3 on MSVC 14.0
Change-Id: I2882a97d0e078bd3217170e7906cd41680fbc4a4
Reviewed-on: https://gerrit.libreoffice.org/17360
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-10-27 07:34:20 +00:00
David Ostrovsky 4e3086da3e Remove Seamonkey based address book driver
Seamonkey based address book driver is based on pre-compiled libraries
and is only used on Windows 32 bit. Remove it in favor of mork driver.

Given that Seamonkey based mozab driver also provides Outlook and
Outlook Express address book integration, that Windows-32-bit--only
feature is lost for now.  If necessary, support for that feature could
be rewritten from scratch, in a way that would also work for Windows 64
bit.

Change-Id: Ie1c125e692598bda999767c328c9e2262a2b82af
Reviewed-on: https://gerrit.libreoffice.org/19560
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-25 15:02:44 +00:00
David Ostrovsky c2e4e74138 Python3.5: Remove external dependencies: readline and lzma
Change-Id: Ie5cd1c0e186920f3b34d3986aa995a5c3be9c58a
2015-10-25 11:18:08 +01:00
David Ostrovsky 147cb6a2ae Bump python to 3.5
3.5 release is needed for MSVC 14.0 (aka VS 2015) support. Python 3.5
removed build toolchain support for MSVC 2013. Because we still need
to support it, we duplicate the Python directory in externals and
copy old patches and dispatch to this directory for MSVC 2013. Once
the support for MSVC 2013 is dropped on master, this directory can be
removed again.

Change-Id: Idf7bc351239582f583ecbdb53c923cbdcf968089
Reviewed-on: https://gerrit.libreoffice.org/17352
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-25 08:29:39 +00:00
David Ostrovsky 11fc708e71 Remove left over references to SYSTEM_MOZILLA
In a0c53a961a SYSTEM_MOZILLA was removed.

Change-Id: I421a293c7611dd5ed0d810c9c8a80f19faf1689a
Reviewed-on: https://gerrit.libreoffice.org/19580
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-24 18:57:04 +00:00
David Ostrovsky ab5f16eb37 libfreehand: FHTransform defined as a struct but declared as a class
MSVC 14.0 is failing to link with unresolved external symbol, because
of struct/class mismatch: [1].

* [1] http://paste.openstack.org/show/447780

Change-Id: I67093550d89b323914ae42014d55e89a38adec8c
Reviewed-on: https://gerrit.libreoffice.org/18528
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-13 19:33:13 +00:00
David Ostrovsky 9a1e22daae Replace snwprintf with _snwprintf
Change-Id: Ieb7009f6fbbd7ac6a3532cfa7b71eb0c1339d1ef
Reviewed-on: https://gerrit.libreoffice.org/18524
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-13 05:36:14 +00:00
David Ostrovsky 28ebbf16ad xmlhelp: Add missing include
Change-Id: Ie369f00a745dba82c8966f51886d74a8a9a7c1ff
Reviewed-on: https://gerrit.libreoffice.org/18523
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-13 05:36:01 +00:00
David Ostrovsky 1cebf4452f chart2: Add missing include
Change-Id: I06eacfd944cf4ae7eef44900352b958e08f91b42
Reviewed-on: https://gerrit.libreoffice.org/18522
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-13 05:35:45 +00:00
David Ostrovsky 0052593797 Disable Warning 4589
Change-Id: I017d21153880e92d59477ed2d6bdabc2629672e0
Reviewed-on: https://gerrit.libreoffice.org/18521
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-13 05:35:32 +00:00
David Ostrovsky 5e86f24392 uno bridge: Prevent collision between cli::array and std::array
Change-Id: I23b0c0c6ec58dc2ff9ca266dd7f5ba00d1f8efab
Reviewed-on: https://gerrit.libreoffice.org/18519
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-13 05:35:12 +00:00
David Ostrovsky 1aad95eb96 Actually fix uno bridge on MSVC 14.0
VC runtime was substantially refactored on MSVC 14.0. Among other,
_tiddata structure defined in crt/src/mtdll.h was replaced with
__vcrt_getptd defined in crt/src/vcruntime/vcruntime_internal.h.

All members before

  unsigned long      _NLG_dwCode

were removed, so that the approach to access the member

  void *      _tpxcptinfoptrs; /* ptr to exception info pointers */

with __pxcptinfoptrs() and compute the offset to the _curexception
member of _tiddata doesn't work on MSVC 14.0.

As of MSVC 14.0 __vcrt_getptd symbol isn't exported but Microsoft
have introduced methods to access current exception, current exception
context and processing throw (the later can be accessed through C++17
std::unhandled_exceptions() that was made available in MSVC 14.0):

* __current_exception()
* __current_exception_context()
* __processing_throw() aka std::unhandled_exceptions()

Make use of __current_exception() which we can hope will be maintained
going forward.

Change-Id: Ibfffa5fba62d6928328ac976cb1b24937277363e
Reviewed-on: https://gerrit.libreoffice.org/18475
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-12 09:17:15 +00:00
David Ostrovsky 5066199663 oox: workaround C2249 error on MSVC 14.0
The member is inherited from a nonpublic virtual base class or
structure.

Declaring copy ctor and assignment operator as deleted in derived
class solved the problem.

Change-Id: Ic509f7e7311fd896656ecff80df3ece4503c3a65
Reviewed-on: https://gerrit.libreoffice.org/18328
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-09-10 06:11:45 +00:00
David Ostrovsky 98483599b7 sw: Help vs 2015 with virtual base inheritance
MSVC 14.0 was failing to compile IMark class an friends with:
error C2280: 'SwModify &SwModify::operator =(const SwModify &)':
attempting to reference a deleted function: [1].

After defining copy ctor and assignment operator in SwModify and
derived classes as deleted the next failure was:

error C2512: 'sw::mark::IMark::IMark': no appropriate default
constructor available: [2].

Defining default ctor as default in IMark and derived classes
seems to make all compilers happy.

[1] http://paste.openstack.org/show/447854
[2] http://paste.openstack.org/show/447856

Change-Id: I2822e8ec4b98ca18d0a0128ed2ceeb38f347c5bf
Reviewed-on: https://gerrit.libreoffice.org/18362
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-09-09 14:55:06 +00:00
David Ostrovsky 50f2c712c4 Fix libxmlsec on MSVC 14.0
Change-Id: I37fd06bb0df1ad8f23eddc32b8eb5c93b2943fda
Reviewed-on: https://gerrit.libreoffice.org/18327
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-04 04:57:50 +00:00
David Ostrovsky 9a8a4442fd setup_native: Add vcruntime and libucrt on MSVC 14.0
Change-Id: If55979b55b4bc8dee785f0940461a01995060682
Reviewed-on: https://gerrit.libreoffice.org/17362
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-09-03 21:51:30 +00:00
David Ostrovsky fd27553f38 climaker: Fix std::array and cli::array collision
Change-Id: I7b4815b4b7e8f016ce7a9047c77a6dde46b1ee0a
Reviewed-on: https://gerrit.libreoffice.org/18320
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-03 21:26:13 +00:00
David Ostrovsky aafc0d2917 unoxml: Add missing include
Change-Id: I5497abb747dc12080f076aaf81b946710bcd5570
Reviewed-on: https://gerrit.libreoffice.org/18319
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-03 20:13:40 +00:00
David Ostrovsky 8a4848b373 Fix liblangtag on MSVC 14.0
Change-Id: Ied20186f4863b49dba5d0c7ed98b3a297f3f2239
Reviewed-on: https://gerrit.libreoffice.org/16767
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-09-03 18:54:13 +00:00
David Ostrovsky ebcde8e4e1 Fix redland on MSVC 14.0
Change-Id: I1b51102bd4d5aa6b148c0cd7e191d01c72b6c1c9
Reviewed-on: https://gerrit.libreoffice.org/18214
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-02 21:52:19 +00:00
David Ostrovsky 75eb5a5cae Fix cppunit on MSVC 14.0
Change-Id: Iebfbd843cd3fbe46f3e090654a8493adb5309800
Reviewed-on: https://gerrit.libreoffice.org/17341
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-02 21:21:32 +00:00
David Ostrovsky 0c9ddb24ee Don't redefine snprintf as VS 2015 supports ISO standard
Make the workaround in snprintf.h conditional on older MSVC version.

Investigation reveals that the GetShortPathNameW is presumably used by
legacy Duden extension that was built by Sun in a setsolar environment.
The uwinapi.lib was never part of the SDK, so ordinary extensions cannot
link against it. The PRIVATE export of the symbol that is only possible
with DEF file therefore does not matter much. With VC2015 there is no
need for LO code to use uwinapi.dll at all and gb_UWINAPI can be unset
in this case.

Change-Id: I23a5636db9431b0fa4350b665a6a69613d625264
Reviewed-on: https://gerrit.libreoffice.org/16677
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-02 20:40:21 +00:00
David Ostrovsky e140ab9194 Fix poppler on MSVC 14.0
Change-Id: I4791c53078f827248b6f163104727cd97dfb227f
Reviewed-on: https://gerrit.libreoffice.org/17659
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-02 16:06:32 +00:00
David Ostrovsky c4afb5d193 Fix nss on MSVC 14.0
Change-Id: I8c2f18a509ae6686af4ede5b0daa8291d164c9fd
Reviewed-on: https://gerrit.libreoffice.org/18211
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-09-02 14:08:51 +00:00
David Ostrovsky c214802883 Fix coinmp on MSVC 14.0
Change-Id: I59372b51ce4aef2e4a923787db61e20cfd96a9fa
Reviewed-on: https://gerrit.libreoffice.org/17342
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-02 14:01:18 +00:00
David Ostrovsky aae9c47270 Fix libgltf on MSVC 14.0
Change-Id: I3fda18b1d26e8c7ff509cdd33e44e75671c6157d
Reviewed-on: https://gerrit.libreoffice.org/18212
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-02 13:57:01 +00:00
David Ostrovsky fe22febbda icu: Parallelize writing to PDB files
Change-Id: I728177b27fa4049c3f3945246f0f19f937c949b4
Reviewed-on: https://gerrit.libreoffice.org/18216
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-02 13:53:32 +00:00
David Ostrovsky b9bf1123f3 Fix x86-64 bridge on MSVC 14.0
Change-Id: I6729a5028351a8a1c3d2b2d2f4bc7ab73e0730f2
Reviewed-on: https://gerrit.libreoffice.org/18213
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-02 13:25:05 +00:00
David Ostrovsky e00a3a684e core: fix build with system boost 1.59
9a6cdce37e was trying to fix the problem
with exposing deprecated vars and functions in system's error_code.hpp
include file by patching bundled boost version.  This approach would
only make sense, when upstream version is going to be fixed ASAP. Apply
another approach, and follow the same pattern as applied in external
libraries, by defining

  -DBOOST_ERROR_CODE_HEADER_ONLY \
  -DBOOST_SYSTEM_NO_DEPRECATED

instead of patching bundled boost version.  This way, the code would
work with unpatched system boost 1.59 final as well.

Change-Id: I8684ca458ea4a5b7d7c3c3acfe7c14a6d19bc665
Reviewed-on: https://gerrit.libreoffice.org/18201
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-09-01 07:51:43 +00:00
David Ostrovsky 9a6cdce37e Bump boost to 1.59 final release
Change-Id: Id71e098dd2356043d2b5fee0736ebfedb5c8c1cd
Reviewed-on: https://gerrit.libreoffice.org/18050
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-08-29 08:43:14 +00:00
David Ostrovsky 7c7124a51e Any.h: Fix declaration hides class member warning
This fixes warning C4458 issued by MSVC 14.0 (aka VS2015) compiler.

Change-Id: I48ed50bb54232d70460495d6d6a9e100fb90b869
Reviewed-on: https://gerrit.libreoffice.org/17444
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-08-01 07:51:11 +00:00
David Ostrovsky 935fb7cc07 std::function::operator bool returns true if it contains a valid target
Change-Id: I8e65c0243094468dca06a1b30b5244bef931f8ac
2015-08-01 08:53:09 +02:00
David Ostrovsky b593044e9c std::function doesn't have empty() method
The correct way to perform the check for it in C++11 is to call
std::function::operator bool.

http://en.cppreference.com/w/cpp/utility/functional/function/operator_bool

Change-Id: I4df8daaa758b4d5b382e340b90c4588a83ee11ce
2015-08-01 08:02:28 +02:00