Commit Graph

1277 Commits

Author SHA1 Message Date
a96ae2104d Some cppcheck cleaning
Change-Id: I39e1dd985af6029e1fd688ff47350734c85928a6
2013-01-31 22:55:41 +01:00
5a61e28378 gbuild: fix silly "expandtabs" in makefile VIM modelines
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2013-01-26 22:20:07 +01:00
a53586f4ef gbuild: do not copy boost headers around
- do not use gb_UnpackedTarball_copy_header_files for boost
- adapt the optimization in concat-deps.c for new path
- use boost_headers in all LinkTargets that require it
- add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus

Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26 22:20:06 +01:00
828dfdd4fb unify the spelling of 'Kazakh' language name
While 'Kazakh' can be written as 'Kazak' or 'Qazaq', the 'Kazakh' form
is the most widespread according to online sources (Wikipedia,
LCID list from Microsoft). Also the 'Kazakh' form is preferred by a
Kazakh contributor, see http://listarchives.libreoffice.org/global/l10n/msg05444.html
In LibreOffice both 'Kazak' and 'Kazakh' was used at different places.

Change-Id: Ief83eb05e92af16cb5b795f2bbb1e3d6f7c9659a
2013-01-26 11:36:53 +01:00
c2f58887ec Fix Same expression on both sides of '=='
Change-Id: I37ef5de92296b7ea7d7d44fa6701ad025d94435e
2013-01-24 18:59:30 +01:00
3d6d07a7e3 Get rid of GetVersionInfo and checkdll
With gbuildification neither was actually used anyway, as far as I
could see.

Change-Id: I00d914e6571aed3110226f91ac1685a838031c65
2013-01-16 18:21:51 +02:00
e9aff4b508 fdo#57950: Remove some chained appends in shell
And remove some *STRINGPARAM macros.

Change-Id: Idebee475e4b383f5f390040515bdfa7c49a24c1d
Reviewed-on: https://gerrit.libreoffice.org/1682
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-15 18:17:17 +00:00
3f27da0a67 gbuild: replace all use of PRODUCT with ENABLE_DBGUTIL
Also fix the wrong check in cppunit/ExternalProject_cppunit.mk
which caused cppunit to always be built without -D_GLIBCXX_DEBUG.

Change-Id: Ia247dcd84e2c6fa0e9384fd27643537984d980b5
2013-01-03 16:02:13 +01:00
edf6730fd5 add runtime deps for custom targets
Change-Id: I49272003ea72c84c9e81bc826820b0ac5f9d5008
2012-12-30 17:15:48 +01:00
a7ef93ed1b drop executable bit
Change-Id: I092a8183b7aa044cc6e55df91ac1109e269d8b8e
2012-12-29 09:57:54 -05:00
6943c7b11c Sigh, my git grep regexps missed some cases
Change-Id: I085f14f40fb83cba171b35b14cf7c0d99091fc00
2012-12-27 14:03:18 +02:00
c29098917a Get rid of (most uses of) GUI
GUI only takes values UNX or WNT, so it is fairly pointless. One can check
whether OS is WNT or not instead.

Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34
Reviewed-on: https://gerrit.libreoffice.org/1304
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-25 17:53:25 +00:00
1aad4689ba use config_xxx.h files instead of -DHAVE_XXX on the command line
As the latter does not quite scale, and also source files depending
on the setting/feature did not rebuild in case of a change.

There are intentionally more config_xxx.h files (so autoheader
from autotools is not used), so that a setting change does not force
automatically a rebuild of everything. Running configure does not
touch those config_xxx.h files that have not changed.

There's config/README with a howto.

Change-Id: I6d6e82050ff8faf5364ed246848b8401aca3e0e5
2012-12-07 19:48:16 +01:00
30c77b4c3f -Werror,-Wunused-result
Change-Id: I25cf94e9abaf976df9a8a0b8ee5f9955d623b006
2012-12-05 17:29:50 +01:00
66a175834c c++ API: use css alias in generated headers, adds global css decl
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star

Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.

Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
28327c28ce API CHANGE: remove com.sun.star.system.XProxySettings
... and related services:

com.sun.star.system.SOffice52ProxySettings
com.sun.star.system.ProxySettings
com.sun.star.system.SystemProxySettings

The implementation for these has apparently been removed in
OpenOffice.org 2.0 or thereabouts.

EXISTENCE: published key
"/UCR/com/sun/star/system/SOffice52ProxySettings" exists only in
registry 1
EXISTENCE: published key "/UCR/com/sun/star/system/ProxySettings" exists
only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/system/XProxySettings"
exists only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/system/SystemProxySettings"
exists only in registry 1

Change-Id: If00c332edf08619fcad12ed07d0d8a13a714045e
2012-11-29 23:53:37 +01:00
a3ce60eb3c We only support MSVC 2008 (_MSC_VER 1500) or later
We can drop or simplify many conditionals.

Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-28 20:53:40 +02:00
71103fd8d9 Work around Windows' missing symlinks
Instead of creating a single solver/*/installation/program -> ../../bin symlink
used by all gb_CppunitTest_use_executable together, individually copy each
gb_CppunitTest_use_executable into a true solver/*/install/program/ diretory.
(Renamed solver/*/installation/ to solver/*/install/ so that old existing
solver/*/installation/program symlinks on non-Windows platforms would not
interfere with the new cp rule.)

Change-Id: I4ce82b41856056669ad074ff2ef8004fdc6533c1
2012-11-25 12:26:01 +01:00
5234c1bf13 Move in-build liblangtag data to solver's unittest/installation/share
...let BRAND_BASE_DIR point to solver's unittest/installation during CppUnit
tests, and get rid of LIBLANGTAG_SHARE special case.  (Intending to add further
code to CppUnit tests soon that requires a fake BRAND_BASE_DIR, so clean this
up now.)

Change-Id: Ia5f0f247e54952f901c37ca31eda53f9c6591458
2012-11-24 12:54:32 +01:00
ca00713a61 offapi: rename XModify.InstalliGStreamerResources
...since GStreamer is not an Apple product it should not be
called iGStreamer.

Change-Id: Ia2b73ecb56dd7aee88b23b560430ffe94b455665
2012-11-20 21:44:16 +01:00
fa88b3717d Merge branch 'feature/killsdf'
Conflicts:
	desktop/prj/build.lst
	helpcontent2
	l10ntools/Executable_gsicheck.mk
	l10ntools/Executable_uiex.mk
	regexp/inc/regexp/reclass.hxx
	solenv/gbuild/AllLangResTarget.mk

Change-Id: I398f0cd9e7daefa8d2e04fd977d5bc2e9708169b
2012-11-20 15:03:34 +01:00
3d55b14aa2 remove license header that confuses lngconvex
This is not C++ source.

Change-Id: I05fe98ef019df23fd4be0d7e281ebb877b545484
2012-11-20 10:21:57 +01:00
b0126a2ea2 do not use exitcode 0 on failure
Change-Id: I47ce1502e8ffd58709a64a3ca520d59cb765bfaa
2012-11-20 10:12:52 +01:00
d42500f1f0 lngconvex needs liblangtag data
Change-Id: I788437db6a4031ee6ff406fcf56c5765158285dc
2012-11-20 07:09:59 +01:00
577b95a960 use LanguageTag
Change-Id: I1ec1f619cb6b427b4376d28292d3412ba6eb67ee
2012-11-17 01:03:48 +01:00
b6c6fc8ced template pack installer
- so this adds a button to the templates dialog to install
  https://launchpad.net/ubuntu/+source/libreoffice-templates/0.1.20120814-0ubuntu2
  which is packed from
  http://cgit.freedesktop.org/libreoffice/templates
- could be packed and used like that on other distros
- disabled when service is not available

Change-Id: I55d5bada25693070aae5e5f9e0e77bf8aa52e982
Reviewed-on: https://gerrit.libreoffice.org/1071
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2012-11-16 11:38:19 +00:00
f1dfc1f23f Bin leftover debugging printout
Change-Id: I9ff9f53cedb34ff896104b39322edab91aa5cbdc
2012-11-15 18:38:41 +02:00
d8edf07ed9 Bin use of UTF-16 expat variant in the Windows shell extension
Thus we can drop that variant completely.

Change-Id: I11a8e40436921219bd6dd4afad4c7907ccb6b84c
2012-11-15 18:33:09 +02:00
15055466e0 fix annoying Ressource typo
Change-Id: Ie6cf3cc8e672ad9499c55bda7c29b50140c6a57a
2012-11-12 11:18:29 +00:00
06ec1c0895 Merge branch 'master' into feature/killsdf
Conflicts:
	Repository.mk
	RepositoryFixes.mk
	connectivity/prj/build.lst
	extensions/prj/build.lst
	filter/prj/build.lst
	fpicker/prj/build.lst
	l10ntools/StaticLibrary_transex.mk
	saxon/build.xml
	shell/prj/build.lst
	solenv/gbuild/AllLangResTarget.mk
	solenv/gbuild/Configuration.mk
	solenv/gbuild/UI.mk
	ucb/source/ucp/webdav/webdavcontent.cxx
2012-11-11 18:24:14 +01:00
40c1e728c4 WaE: unused parameter
Change-Id: Ib9956bd2671434fc15905e7c4fd56bd8f7162b60
2012-11-10 08:46:53 +01:00
2154fca1fb scp2: try to move losessioninstall so it does not break WNT build
Also MSVC does not like libraries that do not have any objects.

Change-Id: I172fe0b61db9de6c7c4975a7b7c7fa63624b1865
2012-11-09 20:54:11 +01:00
7b213e05a4 shell: explicitly linking gb_STDLIBS breaks the build now
Change-Id: If693e440327331ea007722ff575b8015d727e5bc
2012-11-09 19:20:36 +01:00
8cd6a947d9 making org.freedesktop.PackageKit.Query and .Modify available
- partial implementation of the SessionInstaller interfaces
 - accessable via service:
   org.freedesktop.PackageKit.SyncDbusSessionHelper

Change-Id: Ica91f481d041a066215fba3e808bf587e1271f1b
2012-11-09 19:18:34 +01:00
0ac9a10d31 fdo#46808, Deprecate configuration::ConfigurationProvider old-style service
...in favor of existing new-style configuration::theDefaultProvider singleton.

Theoretically, ConfigurationProvider instances can be created with specific
Locale and EnableAsync arguments, but this is hardly used in practice, and thus
effectively all uses of the ConfigurationProvider service use the
theDefaultProvider instance, anyway.

theDefaultProvider is restricted to the XMultiServiceFactory interface, while
ConfigurationProvider also makes available XComponent.  However, dispose must
not be called manually on theDefaultProvider singleton anyway, and calls to
add-/removeEventListener are so few (and in dubious code that should better be
cleaned up) that requiring an explicit queryInterface does not really hurt
there.

This commit originated as a patch by Noel Grandin to "Adapt
configuration::ConfigurationProvider UNO service to new style [by creating] a
merged XConfigurationProvider interface for this service to implement."  It was
then modified by Stephan Bergmann by deprecating ConfigurationProvider instead
of adding XConfigurationProvider and by replacing calls to
ConfigurationProvider::create with calls to theDefaultProvider::get.

Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-31 15:31:36 +01:00
ec64bf60d9 shell: use x64 zlib version here
Change-Id: Ie61966f28b937db7d4997753cc388332dda25f63
2012-10-27 15:24:12 +02:00
2ffde7b171 gbuildification of expat
Two different xmlparse libraries are created: ascii_expat_xmlparse and
expat_xmlparse. One without -DXML_UNICODE and one with. Source file are
duplicated and renamed with gb_UnpackedTarball_set_post_action function
to be able to add artifacts twice to gbuild machinery.

On windows 64 bit additional two librares are created: expat_xmlparse_x64 and
expat_xmltok_x64. That is due the problem with shell/shlxthandler (comment):
------------------------------------------------------
use UNICODE only because shell/shlxthandler
doesn't link against ascii_expat_xmlparse
------------------------------------------------------

Include files are delivered to $(OUTDIR)/inc/external/expat
now and not to $(OUTDIR)/inc/external any more.
set_include call is added in RepositoryExternal.mk.

To define dependency between StaticLibrary and ExternalProject
new function was introduced: gb_StaticLibrary_use_external_project.

Change-Id: I3b3aa40f39ef82c70f6f28790b582c83e48bdf76
2012-10-25 17:37:34 +02:00
8c6276a312 drop rdbmaker completely
Change-Id: I313afb391562adae4f91c55480a036c228e0b540
2012-10-22 22:52:14 +02:00
8e7a3669dd Combine senddoc null and default cases for better mailer selection. 2012-10-18 14:20:12 +02:00
e5ce011c3f Merge branch 'master' into feature/killsdf
Conflicts:
	Makefile.top
	Module_tail_build.mk
	RepositoryExternal.mk
	RepositoryFixes.mk
	accessibility/source/standard/vclxaccessibletoolbox.cxx
	basic/source/uno/dlgcont.cxx
	connectivity/Library_ado.mk
	cross_tail_build/prj/build.lst
	desktop/source/offacc/acceptor.cxx
	filter/Library_PptImporter.mk
	filter/source/t602/filterenv.cxx
	i18npool/Library_textconv_dict.mk
	ooo.lst.in
	saxon/ExternalProject_saxon.mk
	saxon/build.xml
	sc/sdi/scalc.sdi
	sc/source/filter/xml/xmlstyli.cxx
	sc/source/ui/condformat/condformatdlg.cxx
	sc/source/ui/condformat/condformatmgr.cxx
	sc/source/ui/view/cellsh1.cxx
	sdext/source/pdfimport/misc/pwdinteract.cxx
	shell/qa/zip/makefile.mk
	shell/qa/zip/testimpl/makefile.mk
	solenv/gbuild/CppunitTest.mk
	solenv/gbuild/gbuild.mk
	solenv/gbuild/platform/android.mk
	solenv/gbuild/platform/com_GCC_defs.mk
	solenv/gbuild/platform/macosx.mk
	soltools/Executable_adjustvisibility.mk
	soltools/Executable_checkdll.mk
	soltools/Executable_cpp.mk
	soltools/Executable_javadep.mk
	soltools/Executable_makedepend.mk
	sw/qa/extras/rtfimport/rtfimport.cxx
	tail_build/prj/build.lst
	tomcat/ExternalProject_tomcat.mk
	ucb/source/ucp/webdav/webdavcontent.cxx
	xml2cmp/Executable_xml2cmp.mk
2012-10-13 17:41:05 +02:00
4dd53b3893 fix shell build with Win8 SDK
Change-Id: I19d39f26732772f274e6c8fd76326c50fd73baa3
2012-10-07 10:42:10 +02:00
f7bfe52ae5 shell: no need to define XML_UNICODE ...
... because it is added automatically by the external expat_utf16.

Change-Id: Ifdad11b275f7074be6f2e92df2e3c30c7097a5b7
2012-10-05 14:35:51 +02:00
c4008ef546 re-base on ALv2 code. Includes:
tkr41: #117828# office crash fixed . (null pointer) + add unit test
    Patch contributed by Tobias Krause
    http://svn.apache.org/viewvc?view=revision&revision=1172105

    Do not add targets for junit tests when junit is disabled.
    Patch contributed by Andre Fischer
    http://svn.apache.org/viewvc?view=revision&revision=1241508

    remove the OutDev::GetKernPair* stubs completely
    Patch contributed by Herbert Duerr
    http://svn.apache.org/viewvc?view=revision&revision=1179221

    reverting un-necessary OS/2 conditionals.
2012-10-03 16:56:06 +01:00
565acfef76 Use prefix
Change-Id: Ife93e37f8b24f3ce96b55c5a221f0f929b789f60
2012-10-02 12:07:06 +03:00
39bac3f6c0 translations is a source-only module
Change-Id: I9fcddfcdfa2d60860a7b016dbb870a3b6e8f3ea4
2012-10-01 15:19:10 +02:00
f011af716e gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-10-01 13:54:43 +02:00
8831c592e8 gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:
add a new gb_LinkTarget_use_system_win32_libs to abstract different
linker options on MSVC and GCC.

Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-10-01 13:54:37 +02:00
578e195cf3 gbuild: gb_Library_PLAINLIBS_NONE cleanup for unxgcc/solaris
Change-Id: Ia7f64bdd0fd81c5dcc08d828db4602b65e2da949
2012-10-01 13:54:35 +02:00
ecddbecedc gbuild: clean up Mac OS X framework handling:
There are currently 3 different mechanisms being used for frameworks,
which is of course intolerable so we invent a 4th one and standardize on
it:  gb_LinkTarget_use_darwin_frameworks

(This doesn't mean using add_libs or externals was wrong, it was just
inconsistent... and i don't see an obvious benefit of using externals here)

Change-Id: I5de9020402c87e7236c6a358c47f02fa56642d3d
2012-10-01 13:54:30 +02:00
816ec4b093 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-10-01 13:54:24 +02:00