636 Commits

Author SHA1 Message Date
Edmund Wong
a6931e8d00 No need for a separate variable. Just get the value directly from the dictionary.
Change-Id: Ic8a707ac78cf5ad3e225131ae23f1f1277f3ae7c
Reviewed-on: https://gerrit.libreoffice.org/31991
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2017-01-12 07:15:50 +00:00
jan Iversen
e4b6c3b2f9 gbuild-to-ide, solved vs2013 generation problem.
mikekaganski reported a problem with the vs2013 class, due to the
latest changes. Problem solved:

.name() -> .name

Change-Id: Idb3e063bee93041dd010ed0c0b5bb71ac7efcd57
2017-01-10 18:06:20 +01:00
jan Iversen
bc5bd4a029 gbuild xcode-ide-integration code cleaning
Cleaned some function to ease readability

Prepare to add header files to solution.

Change-Id: I7d9c5ea18cf74147d0639b6a8dcbf11bd9ad7bc8
2017-01-05 12:13:31 +01:00
jan Iversen
1b4746f58c gbuild-to-ide Problem with multiple targets.
2 statement changed indention and caused problems

Change-Id: I67c1d51fcb9efa447085f8839c450c9741905f08
2017-01-05 09:41:20 +01:00
jan Iversen
c919e31944 gbuild-to-ide general update
Changed target_by_location to an OrderedDict,
this makes the modules sorted in the single solutions.

Change-Id: I55096638c08610f761844ab66fcaadf6c00ff2c8
2017-01-05 09:41:20 +01:00
jan Iversen
dd885c6a2c gbuild-to-ide xcode update
The xcode generator, now generates 1 solution.
libreoffice.vcxproj
The project contains all targets and all source
files (as delivered by gbuildtojson).

Lots of work still outstanding.

Change-Id: Ibe233dba395aa2f342d865e56053f292f708efa3
2017-01-05 09:41:19 +01:00
jan Iversen
87d0251a9e gbuild-to-ide xcode update
Update to isolate module, and have groups for:
   Sources
   Headers
   Targets
   Other files

Change-Id: Id2c48b0e3dae7c943c122e767d391d324e936619
2017-01-04 13:25:35 +01:00
jan Iversen
a4e9943d81 gbuild-to-ide xcode generator moved proj files
All .xcodeproj files are now located in <core>/osx
to prepare for combining into 1 .xcodeproj for all of LO

Change-Id: I649389ba2b94355ebaf6b5413bdb5dfae8c04764
2017-01-02 19:34:29 +01:00
jan Iversen
f61f34c900 gbuild-to-ide update to xcode generator
The generator now generates the same groups as xcode, with
relative paths.

This patch has been tested with l10ntools/pocheck.

Next step is "sal" and actually compile

Change-Id: I02c202434a346918e9ec725bd20e4713fc6fa73e
2017-01-02 17:18:22 +01:00
jan Iversen
f42751f534 gbuild-to-ide, fixed typo and changed xcode generator
target_name used - instead of _ which caused solutions to have a new name

xcode generator changed to use fixed id for the major groups, in
order to facilitate debugging of the solutions.

Change-Id: I444c74f37dc471625fa3f28240678f9968d1e710
2017-01-02 09:37:14 +01:00
jan Iversen
ae4f8ac9a1 gbuild-to-ide performance optimize parser
Change-Id: I93c81e027269830af7d6b2c9df2f1b0f0194880e
2017-01-01 18:26:37 +01:00
jan Iversen
2823fd4698 gbuild-to-ide parser simplification.
Added build_type to objects instead of having 3 sets.

Modified the generators to use build_type

Change-Id: Ic884522eb6d2c41e7b838f62a0d0800dc4e02c8a
2017-01-01 11:46:17 +01:00
jan Iversen
d3c44886c5 Update json parser in gbuild-to-ide
Simplified parser and added the missing json elements:
ASMOBJECTS
CFLAGS
CFLAGSAPPEND
CXXFLAGS
CXXFLAGSAPPEND
CXXOBJECTS
DEFS
GENCOBJECTS
GENCXXOBJECTS
ILIBTARGET
INCLUDE
LINKED_LIBS
LINKED_STATIC_LIBS
LINKTARGET
MAKEFILE
OBJCFLAGS
OBJCFLAGSAPPEND
OBJCOBJECTS
OBJCXXFLAGS
OBJCXXFLAGSAPPEND
OBJCXXOBJECTS
YACCOBJECTS

This patch should not affect the different generators

Change-Id: I74795880d7d34868d61ef73859bda0aedc8b2e28
2017-01-01 10:32:51 +01:00
Matúš Kukan
d8a9d48389 Workaround strange sw test makefiles
Include ooxmlexport_setup.mk only once in Module_sw.mk,
so that gbuildtojson can properly set last included
makefile for test jsons.

Change-Id: Ie8ed3296ae97cf4a33d652599673f389b224993e
Reviewed-on: https://gerrit.libreoffice.org/32502
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2016-12-30 07:16:03 +00:00
jan Iversen
13d9f5cfc3 update to make cppunit load in xcode
cppunit was unknown product type, assigned it

Change-Id: I39a08f52cd07c06fc77fc4ac6dc4ecfb167a86ae
2016-12-25 21:37:40 +01:00
jan Iversen
535a677c1d update to prepare for multiple modules.
module filter name changes from source
to module name.

Change-Id: I979b3ca7f86bad70d0812207b3eccbed20499a08
2016-12-25 19:16:34 +01:00
jan Iversen
850e89adad update to make xcode load on sierra.
This update enables xcode 10.12 to open most projects

This is a pure expansion/correction of the current xcode-ide-integration.

When opening there are currently warnings.

Change-Id: Ibd0cebe1713dd74b2747aff039f094367a340a5f
2016-12-25 18:26:07 +01:00
jan Iversen
37907576d8 First attempt to make xcode project work again.
There are still a problem with references, but committing this part, since
it is controlled, and before conflicting with other changes.

Change-Id: I6a7551bfbb44edc5876e5432ca04bfd595cb3fab
2016-12-23 13:46:01 +01:00
Stephan Bergmann
2d22bd0fca Merge tbunosearchcontrollers.hxx into .cxx
Change-Id: Ic577e2dd4d6cc1d62c3c6f54e73ba891f8bad4a2
2016-12-21 14:30:05 +01:00
Edmund Wong
15aa0fbb70 Move get options to a separate function.
Change-Id: I014f49b8239b0165ab696398b5ef0a2af5e0ae8c
Reviewed-on: https://gerrit.libreoffice.org/31990
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-12-15 08:54:37 +00:00
Matúš Kukan
ee3f793a2d tdf#70414: Fix VisualStudio ide integration
'LINKTARGET' is not really helpful as target name.
Use name based on makefile's name and hope something like
b81ac16e65b311d6e43c05c22c65d2040c9d7e04 is not needed anymore.
And if there are still some inconsistencies, we should fix makefile's name.

Also, don't use target.name because it's not unique.
There can be e.g. both Library_smoketest and CppunitTest_smoketest.

Change-Id: I541a1e41f80446e875e1bb2bfa89786e356e0e74
Reviewed-on: https://gerrit.libreoffice.org/32027
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-12-15 07:54:15 +00:00
Miklos Vajna
9c66ac2869 epoxy: fix Android build
Assuming this line has been replaced by external/epoxy/Library_epoxy.mk.

Change-Id: I0aaa86f6d001a266d7975a357e820c05045af338
2016-12-14 10:55:54 +01:00
Caolán McNamara
482d7ce61b change from glew to epoxy
because that works under wayland out of the box and gtk3 uses it already

Change-Id: Iefaac31e325534a81a5389f752804af917c1baef
Reviewed-on: https://gerrit.libreoffice.org/31213
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-13 11:33:18 +00:00
Stephan Bergmann
cfd2691e5b [API CHANGE] Remove salcpprt static library
...containing replacements for global operator new/delete (that can be linked
into executables), but which is no longer used.  The mail thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2012-March/028690.html>
"operator new no longer routes through rtl_AllocMemory in libsalcpprt under
gbuild link rules" has the details of how this was used on some platforms (but
not on others) before the switch to gbuild, and has been "lost" ever since---but
apparently a loss not mourned much over the years.

For the SDK, c5f974287fd04bb529de145113133b9e35687702 "INTEGRATION: CWS jsc3:
#i62434# copy libsalcpprt.a" added the library (under Linux) and
6db9c5af960f9787e33e4addc56bddbb1695a402 "INTEGRATION: CWS jsc3: #i62434# extend
link options for executbales to link libsalcpprt.a, LINUX only" added its use to
odk/settings/settings.mk, but fc0ca57f2cd649c6330171445a06b80e2143a0e9
"INTEGRATION: CWS jsc21" removed that use again (for no documented reason).  So
this is an incompatible change, but unlikely to actually affect any users of the
SDK.

Change-Id: Ia38b4c439f21fca3f5d9af7d1a34054e992054e9
Reviewed-on: https://gerrit.libreoffice.org/31810
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-12-12 09:16:34 +00:00
Markus Mohrhard
d575e3a14b fix copy&paste error in ide-integration script
Change-Id: I4e52851b41e3d5ec4fe4ae5277928bceac3c8283
2016-12-09 22:58:39 +01:00
Marina Latini
d3c3f15c32 tdf#102784 Patch 1 - Enhance removetooltip_markups.sh script with checks
This is the first part of this heasy hack. The script parses all the .ui
files checking the existence of tooltip_markup and tooltip_text
properties. If the ui file contains a tooltip_markup property and the
related tooltip_text one, it removes the tooltip_markup line and add the
deletion in a log file. If the ui file contains only a tooltip_markup
propery the script rename it via sed in tooltip_text adding the renaming
in a log file.

Change-Id: I1f027e11c7a2a91596511e2def5f4b850e14fad4
Signed-off-by: Marina Latini <marina@studiostorti.com>
Reviewed-on: https://gerrit.libreoffice.org/31596
Tested-by: Jenkins <ci@libreoffice.org>
Tested-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-12-08 10:00:34 +00:00
Markus Mohrhard
a2cfcfead5 add cppunit tests to vim-ide-integration
Change-Id: I5a03ff6d6e740d8032030d1590837610f39acd5e
Reviewed-on: https://gerrit.libreoffice.org/31273
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-28 11:44:22 +00:00
Markus Mohrhard
51ecdd4a2a integrate the cppunit tests into gbuild-to-ide
Change-Id: I0259b2a47175e6aac2eb801ac489fadeac562949
Reviewed-on: https://gerrit.libreoffice.org/31272
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-28 11:43:57 +00:00
Markus Mohrhard
f567ee1995 also strip the first -D
Change-Id: Ifc95720b47e1adaadbca879d5b8f22ada658fd3a
Reviewed-on: https://gerrit.libreoffice.org/31275
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-27 21:58:44 +00:00
Markus Mohrhard
86524159c6 better way to split def patterns
Change-Id: I8c7ab7e980d2ba01214c1dd15c81a309d0d2c80c
Reviewed-on: https://gerrit.libreoffice.org/31274
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-27 21:57:20 +00:00
Bjoern Michaelsen
78547c3374 switch gbuild-to-ide to use gbuildtojson
Change-Id: Ic3ac11683a44e946e844e18a7670fa7baf46110a
Reviewed-on: https://gerrit.libreoffice.org/31175
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Reviewed-by: Luke Benes <lukebenes@hotmail.com>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-27 14:44:04 +00:00
Khaled Hosny
67936ee7ed Kill old Graphite layout engines
Change-Id: Ia19d4d0a3a33694b6edfff62e6b40028dac19677
Reviewed-on: https://gerrit.libreoffice.org/31212
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-26 05:12:16 +00:00
jan Iversen
d2e9d3d0ed update lo-pack-sources
os-x has a problem with progress bar on tar
Also remade to sed expression to a simpler one that osx understands.
change

change

Change-Id: If09573760a4bedfa285519241582bbd639a4e976
Reviewed-on: https://gerrit.libreoffice.org/30043
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-11-15 12:47:26 +00:00
Michael Stahl
aa70294ffc normalize existing emacs/vim mode-lines in python files
Bunch of these were setting C++ or Make modes and icky tabs...

Also, reportedly Emacs can figure out to enable python-mode
automatically.

Change-Id: I50072488fb92cb4d27aa3f74f717a28ae3967543
2016-10-26 22:16:08 +02:00
Michael Stahl
207c9a8f25 check-elf-dynamic-objects: check sdk/bin too
It takes almost no time, but this way of doing it changes the
interpretation of the -d parameter; not sure how important that is.

Change-Id: I9d29cdf96d7006d5daea00bcc41e613fbd30aac8
Reviewed-on: https://gerrit.libreoffice.org/29707
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-10-11 18:09:54 +00:00
Michael Stahl
bc47854ebd check-elf-dynamic-objects: OpenSuSE uses DT_RUNPATH, not DT_RPATH
... like Fedora, so check for either.

Change-Id: I0e88c8e6e7634e7cc483474bc3f654e666c3bab2
2016-10-11 19:35:01 +02:00
Caolán McNamara
411c04c402 repurpose count dialogs
Change-Id: Id19d514f7ccbc69bf5ad0ca63181e2815f067178
2016-10-11 09:09:22 +01:00
Norbert Thiebaud
91d406f5af check-elf whitelist libxml2 not libxml
Change-Id: If0179726861c867f9c25c13f9eb0b61faaee9524
2016-10-10 23:11:55 -05:00
Norbert Thiebaud
4189551d56 Support parallelism for check-elf-dynamic-objects
using that and restricting the tests to the content of
instdir/program bring the runtime on out slave builder from
4 minutes+ to just above one second

added -d <path> to override INSTDIR
added -p to indicate parallelism (no limit for now, so be cautious
with the -d you point too

Change-Id: I14c140f54bea329b82960843a6db44bfaf6c7108
2016-10-10 22:24:26 -05:00
Michael Stahl
7433ba52d3 check-elf-dynamic-objects: file is far too slow
... so use readelf itself to check if it's an ELF file.

Also just skip the SDK documentation which is 2/3 of all files.

Change-Id: Icfd3023dd5b2ccc4f4e94fbb05cdd4eb05051f86
2016-10-10 17:50:00 +02:00
Michael Stahl
4b4d5a8585 check-elf-dynamic-objects: add libxml/libxslt to global whitelist
Change-Id: Ida6495171f900edf4abe5f6ceba3a6dc2de7c2de
2016-10-10 16:26:37 +02:00
Gabor Kelemen
e150e9c45c Recognize fps/ path
Script was tripping over this valid reference:
From source/text/shared/guide/cmis-remote-files.xhp,
we did not find file fps/uiconfig/ui/remotefilesdialog.ui.

Change-Id: I42b178742f7f168177c525191f54b43d3a5821d6
Reviewed-on: https://gerrit.libreoffice.org/29571
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-10-07 19:49:01 +00:00
Noel Grandin
eebcb73394 add script for dumping poolitems values
Change-Id: Ifad071ebc17c6c4d0f8d498264070f78c14d9bd3
Reviewed-on: https://gerrit.libreoffice.org/29406
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-30 14:59:16 +00:00
Michael Meeks
d200c344cf Fix naming of makefile to mend make dump-deps.
Also add error message to make this more clear in the future.

Change-Id: Ic9e3a2c89119ef1ec3e6cc1074b7419f7ee268b7
Reviewed-on: https://gerrit.libreoffice.org/29375
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-29 06:48:31 +00:00
Muhammet Kara
c9196b4996 tdf#101549: Add script to remove tooltip_markups
From the glade .ui files. Currently the script doesn't check for
identical tooltip_text.

Change-Id: Ic6b80e7eb0ced2e4515cc57d3b548b26cef5b67c
Reviewed-on: https://gerrit.libreoffice.org/29366
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-09-29 06:46:35 +00:00
Michael Stahl
00f62f7b17 add bin/check-elf-dynamic-objects
Change-Id: Ia21375e376c25f9731455ef505422fa9bab884cb
2016-09-21 18:02:32 +02:00
Michael Stahl
999499ab25 gbuild-to-ide: MSVC 2012 no longer supported, replace with 2015
Of course not tested in any way but with any luck the project file
format hasn't changed and it will "just work".

Change-Id: I81c5043259feeabd69ef31ea7ef160901ac7ebdc
2016-09-14 17:04:27 +02:00
Thorsten Behrens
45b89f4ebb cleanup: remove bin/lo-generate-source-tarball
Use bin/lo-pack-sources instead.

Change-Id: I5557a017dd741ba53793e238b4b17744cfe57bb6
2016-08-30 13:45:24 +02:00
David Tardon
d1479d311b add vsdx
Change-Id: I85b6cdf6185efd8c11f393b1a30a9241be620749
2016-08-30 07:57:19 +02:00
Michael Stahl
fae3b4cc19 boost: update generated wrapper headers
... and delete recently added clang Wundef patch

Change-Id: I83af127fe98ff23feb944eb68dbd2334d23564c8
2016-08-29 18:29:42 +02:00