636 Commits

Author SHA1 Message Date
Christian Lohmaier
a7f3a0ee29 also link liblangtag to the liblo-native bundle (fix Android build)
Change-Id: I9f8e647068b3f0403858e5ef52f65e5e6a16e165
2016-01-15 18:52:50 +01:00
Ashod Nakashian
24ef3924d8 PCH support on Linux
Fixes and improvements to support Precompiled Headers
on Linux.

Change-Id: I8145c146b0dba56c7a4d0fdf9c330164b67ada53
Reviewed-on: https://gerrit.libreoffice.org/21307
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-11 03:55:46 +00:00
Tomáš Chvátal
91f97fddff Fix distro-filelists after removal of kde3
Change-Id: Ie11281285de012dfd61f4b3b04b4144cd90d382a
Reviewed-on: https://gerrit.libreoffice.org/20989
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-01-06 22:07:08 +00:00
rezso
2ec813b4bb don't use bash completion compatibility dir
Change-Id: I575f6fc9c1605bb7ec07842928f85c2eeadc72f8
Reviewed-on: https://gerrit.libreoffice.org/20954
Reviewed-by: rezso <rezso@rezso.net>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-01-05 15:40:28 +00:00
Andrea Gelmini
92e60e1b80 Fix typos
Change-Id: I1b79005d9c4e32325b8dadcc4f805975d6bf2727
Reviewed-on: https://gerrit.libreoffice.org/21103
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-01-05 07:32:28 +00:00
David Tardon
15fdfe2557 application/visio.drawing is sometimes used in bugzilla
Change-Id: I3b8b85d91c2b19dc3cf6cba95d258ea639dd9862
2016-01-01 20:57:51 +01:00
Gulsah Kose
fe37d93a11 tdf#84628 Added per module's macro definitions to eclipsesettingfile.xml
Change-Id: Ic9a7b5d95052917ba8c5fb0f696e4ccf91f0bda4
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/20336
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-12-30 22:07:55 +00:00
Samuel Mehrbrodt
b4c937fc52 Remove outdated industrial icon theme
A few icons are still left in the folder as these are used as fallback for tango.
See industrial/README for details.

Change-Id: Iaeb672609cd57bba5707cbafbfe295bfb8c5011d
Reviewed-on: https://gerrit.libreoffice.org/19149
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-12-19 08:10:41 +00:00
Stephan Bergmann
b8ecfd83ba Undef RGB where it was defined, not where it gets used
Change-Id: I274958964292f78c802748e17fca7f265ae5a4b8
Reviewed-on: https://gerrit.libreoffice.org/20429
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-12-10 07:03:31 +00:00
Ashod Nakashian
a027ed9573 Wingdi RGB macro handling improved
Improved the isolation of windows headers.
Specifically, RGB macro is better handled now.

Change-Id: I0eeea16d0de9da3455810c80b0715f7b54ae8c3f
Reviewed-on: https://gerrit.libreoffice.org/20039
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-12-04 11:26:22 +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
jan iversen
02b411818b gbuild-to-ide split state machine
Catching the needed information and the state machine is split.
gbuild-to-ide only finds 27 of 93 exe, due to the state machine
sequence:
     CXXOBJECTS for exe1
     CXXOBJECTS for exe2
     Recipe to execute for exe2
     Recipe to execute for exe1
only identifies exe2 and leaves exe1 without a project.

Solution is to have an array of state one for all pending exe.

This patch only contains the split

Change-Id: I2539f10a9850d956a85b6993b26561b1970575df
Reviewed-on: https://gerrit.libreoffice.org/20254
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-12-01 10:45:29 +00:00
Maxim Monastirsky
7b7b3ffb5b gbuild-to-ide: Add defines to Qt Creator projects
The defines we use to build are needed to correctly
parse the code, and find some types like OUString.

Change-Id: I3b3aaa51c4637beed113738503c8ab1a967c9149
2015-11-29 18:07:41 +02:00
Gulsah Kose
bc7a490af9 tdf#84628 Generated eclipse setting file for per module.
This patch generated a setting file for per module. When imported the
eclipsesettingfile.xml, underlined include lines are clearing up.
Setting file includes included file paths for per module and provides
correct build. .project file generator deleted because eclipse
is creating .project file and overriding it.

This adds a new property to the parser that stores each module.

Change-Id: Ia10bb37c7c3fdb444a5b79ddf502b962e8ee5736
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
2015-11-27 22:06:49 +01:00
Michael Stahl
951494c8cb get-bugzilla-attachments-by-mimetype: add gnumeric
Change-Id: Ib47308a9575a15aaa5b2d650cb4f1b78b1a5ad27
2015-11-27 09:34:31 +01:00
Jan Holesovsky
55d0a5e43c rename-sw-abbreviations.sh: Avoid test documents in complex tests.
Change-Id: I596cac73218c30edc6e9c41555a120877cd5ee47
2015-11-25 22:49:32 +01:00
Noel Grandin
53f16c39f5 remove unused typedefs and inline use-once typedefs
and improve the script a little

Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84
Reviewed-on: https://gerrit.libreoffice.org/20033
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-18 10:38:08 +00:00
Caolán McNamara
fb7d4ba1cb build cairo on android
Change-Id: Ie2f7662a4cc3955963517f265894b8f6a495ece8
Reviewed-on: https://gerrit.libreoffice.org/19991
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-16 16:07:03 +00:00
Jan Holesovsky
3190f5a71d rename-sw-abbreviations.sh: Add Crsr -> Cursor, Frm -> Frame and Stk -> Stack.
The build works fine with these now, and produces no (new) warning.

Change-Id: I3e5aad7baaec172ee4d2b50ea66876bdb7e9cac5
2015-11-16 14:50:59 +01:00
Ashod Nakashian
06116bd15b Fast PCH generator and optimized PCH files
Ported update_pch.sh to Python with improved performance
and features. The new script is invoked from the same
update_pch.sh which calls it for each library in
parallel, although it can be invoked directly.

The ported script (update_pch) updates all PCH files
in ~15 seconds where the old script took ~4500 seconds.
In addition, the new script supports 3-tiered headers
(system, module, and local) and is very flexible to
support other improvement. It has a per-library
optimal configuration settings that can be updated
using another new scripts (update_pch_autotune.sh)
which finds optimal per-PCH settings.

PCH files have been generated using the new scripts
which builds significantly faster (2-3x, depending
on module and configuration) and the intermediate
binaries are noticably smaller (by several GBs).

The new script stamps each generated PCH file with
the command that generated it to make it trivial
for users to update them, and also adds the command
to invoke another script (update_pch_bisect) that
helps find missing headers or conflicting headers
that may break the build after updating the PCH.

Finally update_pch has built-in unit-tests for
makefile parsing and other core functionality.

Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa
Reviewed-on: https://gerrit.libreoffice.org/19965
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-15 20:31:35 +00:00
Xisco Fauli
7e16332de4 get-bugzilla-attachments: RSS query doesn't work with '+' character
eg. image/xml+svg

Change-Id: I1b6b6f71d02fa415c3470faadbe8d316aaf0f677
Reviewed-on: https://gerrit.libreoffice.org/19761
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-03 20:31:27 +00:00
Richard PALO
b147a77f2e Use portable ordering for mktemp
Add omitted APPDATA_SOURCE_DIR for *.appdata.xml files
Avoid gnu rmdir by using portable invocation

Change-Id: I15a507f3d181f27c86b5332d58a9d76b31eb2fd1
Reviewed-on: https://gerrit.libreoffice.org/18588
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-27 16:11:01 +00:00
Bjoern Michaelsen
3cf557c12d drop gconf integration as per ESC decision
Conflicts:
	shell/source/backends/gconfbe/gconfbackend.cxx

Change-Id: I609ec83ec59f5ae8d3a8c9c09649695bfcb03b87
Reviewed-on: https://gerrit.libreoffice.org/19408
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-10-16 13:50:28 +00:00
Samuel Mehrbrodt
5a242f651c Add script to check that icons have correct size
Change-Id: I7c17ff1379d744378accd3c08c72f17f6ac6f545
2015-10-06 16:05:03 +02:00
Samuel Mehrbrodt
9983c58c3f Add script to find duplicate icons
Change-Id: I1a314d1ca98194eaef7c27ab9b1f3cef08cc0f12
2015-10-06 15:35:04 +02:00
Caolán McNamara
7e5a7dcc51 add application/x-qpro to get-bugzilla-attachments-by-mimetype
Change-Id: Ie8350ce999fb6eaad8ba8f790753cfbbc1c8b70a
2015-10-03 17:03:28 +01:00
Noel Grandin
aed0a639f4 tdf#42949 remove unnecessary includes using iwyu
Change-Id: I13960721b7e15b1761aff8497391e39ae5645b89
Reviewed-on: https://gerrit.libreoffice.org/18616
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-01 09:35:14 +00:00
Peter Foley
83ef294ddd Avoid creating duplicates in the Visual Studio IDE integration
When running make vs2013-ide-integration on windows, the manifest
targets cause duplicate library/executable entries to be output in
the Visual Studio solution files, causing errors.

Change-Id: I6b0ce38a3ba84f7f54741e4974264e2c4c7b201a
Reviewed-on: https://gerrit.libreoffice.org/18719
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2015-09-20 06:44:21 +00:00
Peter Foley
2d48830dcb minor pep8 formatting improvments to gbuild-to-ide
Change-Id: Ifa060f4ab6ebe7b525a991cc54564e9584d032f7
Reviewed-on: https://gerrit.libreoffice.org/18720
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2015-09-20 06:43:48 +00:00
Tor Lillqvist
a7b9d29dd6 We don't want libxmlsec on iOS, I think
It would require NSS which I just decided to skip. If/when we patch it
to support native iOS (and OS X?) crypto APIs, re-consider. Or
something.

Now the TiledLibreOffice iOS demo app builds again.

Change-Id: I2816a49bbdbde5a8f9d3b9fcdfff420bdca05ff8
2015-09-20 00:12:48 +03:00
Tor Lillqvist
6ac7b46651 If we don't want any NSS crack on iOS then don't try to use libs from there
Change-Id: I9265ee3ce46d8d2e5af4759e8d9748bd39a3e665
2015-09-19 20:59:56 +03:00
Markus Mohrhard
ab1c21cd26 make it clear that the script completed correctly
Change-Id: Ia1ec09db50800b3ba981d7efee5a031c3a3ae6ec
2015-09-14 19:41:25 +02:00
Markus Mohrhard
0253f6e597 we need to use a set tocheck uniqueness of paths for gbuild-to-ide script
Change-Id: Ic74655c18296e0b69b3f66a7a9ccea8e4c405dbf
2015-09-14 19:30:35 +02:00
Michael Meeks
1502e969f5 module-deps now distinguishes merged-libs in its output.
Change-Id: Icc3a965e59f5b2d4e23e0e5a4d0400b6b175c9c1
Reviewed-on: https://gerrit.libreoffice.org/18346
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-09-07 13:41:35 +00:00
Ashod Nakashian
2564ef96d2 Restored missing includes from source files.
These source files relied on pch to include
these missing headers (at least on Windows).

Also included the script used to find the
missing includes. The script is self-contained
and includes unittests. It detects superfluous
includes and required includes (which was used
to restore the includes in this patch).

Change-Id: I7ee09e5c712f42d5f6c3524898bc62dda78f5cc0
Reviewed-on: https://gerrit.libreoffice.org/18208
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03 08:19:36 +00:00
Michael Stahl
72699595aa remove KDE3 support, --enable-kde and --enable-kdeab
With the new RHEL6-era baseline TDF can finally ship KDE4 support.

Change-Id: I227278b576a3ed2f2aaa751d41b469ca92dc78b3
Reviewed-on: https://gerrit.libreoffice.org/18267
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03 08:18:03 +00:00
Michael Stahl
0847e48054 remove leftover --disable-gnome-vfs
Change-Id: Ifebd34ddce0e4f180575bf21579adda2ea3b9a9c
2015-09-02 15:16:26 +02:00
Markus Mohrhard
f50eb63631 Revert "exclude unnamed Library/Executable from ide integration"
This reverts commit 93cd7b78c29c11ccc87c19c845c6617acb834630.

We need to generate project files for unnamed projects as they seem to
correspond to libraries. If that causes problems for the msvc
integration (which seems strange) then we need to handle these problems
in the MSVC generator and not in the parser.

It also includes:

Revert "Clean trailing whitespace"

This reverts commit 7d92b27aff3b4d1c59aef9866003f4d001c0fc25.
2015-08-31 23:07:26 +02:00
Lucas Satabin
f09218141c Mark rsc comments as translated
Change-Id: I6f6248678462f64e469ce9f7b7889e73624e34af
Reviewed-on: https://gerrit.libreoffice.org/18067
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-08-30 14:54:06 +00:00
Maxim Monastirsky
7d92b27aff Clean trailing whitespace
Change-Id: I3b4adb5ac75b9761ae058834e3e64779a07851c9
2015-08-23 09:29:08 +03:00
brinzing
93cd7b78c2 exclude unnamed Library/Executable from ide integration
unnamed (None) Library/Executable will prevent correct
vs 2013 ide integration

Change-Id: Ia00c02609a83b5f891995e54fd3f365cd63cb7a4
Reviewed-on: https://gerrit.libreoffice.org/17933
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-23 06:01:43 +00:00
Miklos Vajna
6d78caf68c bin/run: fix LO_TRACE on Windows
exedir has to be in the c:/foo form, instead of /cygdrive/c/foo,
otherwise a native wrapper set by LO_TRACE won't understand it.

With this, it's possible to use DrMemory on executables invoked by
bin/run.

Change-Id: I5332342fdbf7d9e4859360dd7fbd3d74c149b2dc
2015-08-14 17:32:51 +02:00
Maxim Monastirsky
c614e71113 gbuild-to-ide: Don't try to remove files that don't exist.
Failed with lo.pro and lo.pro.user

Change-Id: I47ffd5cb31edb29d0f501a2a15c6b7ca4b93db87
2015-08-12 22:00:22 +03:00
Noel Grandin
70e06397ac in find-duplicated-sids, also check for redefinitions
Change-Id: I0c90efb477a7e9ee4acac98f97c9ff77e75cdec4
2015-08-06 11:45:49 +02:00
Noel Grandin
c268bfd471 add script to find duplicated SID's
requested by Phil Jung

Change-Id: Id6b803e64868a5194572b3356fa98defa18bff33
2015-08-06 10:07:23 +02:00
Noel Grandin
0ea54aed15 remove some unused defines
Change-Id: I85a9a2bc12681e13fc482374165ff9bd6858dc93
2015-08-03 11:12:31 +02:00
Noel Grandin
f5deb46349 remove some unused typedefs
Change-Id: I98c1e7eaa66b7afb05255a017a3de54714637501
Reviewed-on: https://gerrit.libreoffice.org/17491
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-03 08:53:21 +00:00
Noel Grandin
baba1d1476 tdf#93068 - UI: Crash when Character dialogue opened
Change-Id: I92a9e6f27ef649c9d7501df55287c95c4d796156
2015-08-03 08:19:16 +02:00
Michel Renon
228a93bb3a QtCreator integration : generate lo.pro.user project file.
That project file handles 12 global build options :
6 about tests, 3 about clean, 2 about l10n, 1 default.
There is one run command to launch 'soffice'.
Note that QtCreator will add automatically run commands for each subproject.

Change-Id: I3650a9041654cbec7d51d8cbb7951a11ed49aad5
Reviewed-on: https://gerrit.libreoffice.org/17458
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-08-02 13:15:09 +00:00
Maxim Monastirsky
7523423f03 More whitespace missed
Change-Id: I045f72c66a80984650bc523489bd89ed96230c57
2015-07-29 00:18:14 +03:00