Commit graph

2231 commits

Author SHA1 Message Date
David Tardon
f7d571d2ee this requires string literals now 2012-03-21 07:45:35 +01:00
Luboš Luňák
186ab8e77b fix after recent XSERVICEINFO_IMPL_1 change 2012-03-21 06:30:24 +01:00
Tor Lillqvist
25d114eec4 Initial experiments with static linking of (some) components / services
Start with the first service needed when running sc's filters_test:
the UniversalContentBroker. It might not be typical as ucb uses the
deprecated XSingleServiceFactory.

This commit is not at all a complete solution, far from it, just an
initial hack. Naturally once I come up with some generic enough way to
do the static linking the necessary macros etc will be added to some
general header.

The macro XSERVICEINFO_IMPL_1 (local to ucbhelper and ucb) is amended
so that it in the disable-dynamic-linking case also emits a function
whose assembler name equal contains the service name. This function
returns the XSingleServiceFactory for the service. Where the service
is instantiated we link directly to that function.

But probably this will be reworked a couple of times... Maybe it would
be better to simply have the service name specific entry point be a
pointer to the component's component_getFactory() function? Those all
have the same prototype.
2012-03-21 00:00:11 +02:00
Michael Stahl
16e3e5437e fdo#47246: ucpodma: fix duplicate linked object 2012-03-14 21:08:44 +01:00
Stephan Bergmann
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Michael Meeks
d3192948fe fdo#40607 - osl_syncFile having written, and avoid doing that on start 2012-03-09 17:03:48 +00:00
David Tardon
54442c917d WaE: initialization order 2012-03-01 15:51:33 +01:00
Takeshi Abe
a138709519 Drop comparison with empty rtl::OUString 2012-02-29 01:23:09 +09:00
Caolán McNamara
c58882fda8 fix msvc2005 build 2012-02-27 11:03:02 +00:00
Caolán McNamara
b36d555440 drop UniString::CreateFromInt64 2012-02-27 09:45:57 +00:00
Thomas Arnhold
d8fc177009 remove all other deprecated header guards 2012-02-23 12:22:39 +01:00
Stephan Bergmann
f7afe3b7b0 Adapted TickerThread to safer-to-use salhelper::Thread 2012-02-23 10:47:35 +01:00
Thomas Arnhold
d66991e1f5 WaE: Same expression on both sides of '||' 2012-02-21 20:56:57 +01:00
Stephan Bergmann
fe981519f5 gb_JunitTest_JunitTest takes only one argument 2012-02-20 16:39:59 +01:00
Matúš Kukan
a62f426993 add configmgr, ucb1, ucpfile1, xcr to libmerged 2012-02-19 19:24:34 +01:00
Elton Chung
d30b4e9fb6 Get rid of size() == 0 2012-02-19 17:07:46 +04:00
Elton Chung
23af031b09 Fix typos in comments 2012-02-18 09:35:43 +00:00
Caolán McNamara
d1f45bd66f WaE: /* within comment 2012-02-15 15:11:29 +00:00
Josh Heidenreich
64e1ae0f55 Added READMEs for modules which used to be in libs-core 2012-02-08 06:37:16 +01:00
Daniel Mihalyi
80f96ca6b5 In the current glib version only the main glib.h can be included directly. 2012-02-07 00:44:27 +01:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Julien Nabet
400f715ad7 Don't repeat a return ! 2012-01-30 22:06:03 +01:00
Alexander Bergmann
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00
Marcel Metz
89f0655eba Replaced diagnore ENSURE_OR_CONTINUE with regular code. 2012-01-23 23:28:50 +01:00
Marcel Metz
f9e6d195db Replaced diagnore ENSURE_OR_BREAK with regular code. 2012-01-23 23:28:46 +01:00
Stephan Bergmann
b149b0433d ucbhelper::GetLocalFileURL does not use its arg. 2012-01-20 12:14:45 +01:00
Olivier Hallot
80fb2e397a Fix for fdo43460 Part L getLength() to isEmpty()
Part L
Modules
ucb
2012-01-18 23:48:47 -02:00
Thorsten Behrens
29bd62fdc2 Switch flag sequence of OpenCommandArg3 to NamedValue.
Based on feedback for 09954fc863,
using the less-bulky NamedValue type instead of PropertyValue.
2012-01-17 11:42:07 +01:00
Thorsten Behrens
09954fc863 Fix UpdateCheck clog up server by keeping connection alive
The update check protocol uses the webdav ucp, which uses neon,
which in turn defaults to keeping the connection alive. this is nice
for webdav, but disastrous for millions of clients phoning home to
the same server.

Using neon directly in updatefeed.cxx is not an option, due to the
thread safety problems around that (see e.g. rhbz#544619) - so we
had to extend it to accept connection options, and reuse the
existing webdav provider.
2012-01-17 05:03:42 +01:00
Julien Nabet
9dfa70c22d Fix "Same expression on both sides of '||'" 2012-01-16 20:46:49 +01:00
Matúš Kukan
9d27fe4ae4 ucb: add missing dependency 2012-01-15 17:39:08 +01:00
Matúš Kukan
cbd2e67d20 ucb: convert to gbuild 2012-01-15 16:11:32 +01:00
Takeshi Abe
e4ce7225dd catch exception by constant reference 2012-01-07 15:51:31 +09:00
Stephan Bergmann
3c1b0a5a67 Remove nonsense line (causing debug-mode glibc to report an error). 2011-12-16 15:00:12 +01:00
Michael Stahl
6fd2d81517 fdo#43707: tweak workarounds for fdo#42865:
Apparently on Windows the SAL_DLLPUBLIC_EXPORT does not work for unknown
reasons, so use the old mapfiles on that platform.

Should fix regressions from 1fb5eb21, 48dbaa51, a9da5a0b.
2011-12-15 17:28:35 +01:00
Tor Lillqvist
7904a8cc56 I don't see NO_BSYMBOLIC being used anywhere 2011-12-11 02:57:59 +02:00
Michael T. Whiteley
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Caolán McNamara
c8ef924060 normalize Red Hat, Inc. spellings, and bump to latest template 2011-12-06 21:24:37 +00:00
Lior Kaplan
e10fc18fb2 typo fix: explicitely -> explicitly 2011-12-01 23:41:42 +02:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Norbert Thiebaud
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
Norbert Thiebaud
03eee9507d remove include of pch header from ucb 2011-11-27 13:26:10 -06:00
Norbert Thiebaud
e4610ffd2d remove PCH support in dmake-module 2011-11-27 12:26:12 -06:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
Tor Lillqvist
469c9ac2f9 Enforce a "lib" prefix for UNO components for Android
This commit for the old build system. (Don't bother for components not
relevant for Android.)

The Android package installer (as invoked through "adb install", from
"ant debug install") silently ignores native libraries in app packages
(.apk files) whose names don't start with "lib" and end with ".so".

The package builder (as invoked through "ant debug") in the SDK gladly
includes also thusly named native libraries in the .apk, though. Yay
for consistency.
2011-11-17 15:22:59 +02:00
Norbert Thiebaud
0ea8c014ef tweak gbuild standart Makefile to allow partial build in unsourced env
This allow to run make in a module wihtout the need to source
Env.Host.sh.
2011-11-16 06:18:54 -06:00
Michael Stahl
a9da5a0bd3 fdo#42865: libcmis,ucpcmis: no mapfile
In order to not have the offending local _ZNSs4_Rep20_S_empty_rep_storageE
symbol in ucpcmis1.uno.so, build it and statically linked libcmis
with hidden visibility.
2011-11-15 20:52:01 +01:00
Caolán McNamara
16e959669c I don't need to hear about your every little titchy success 2011-11-11 16:32:41 +00:00
Eike Rathke
fc2207ecfd Silence down ne_lock gcc WaE
Wraps this
/usr/include/neon/ne_locks.h:125:51: warning: 'int ne_lock(ne_session*, ne_lock*)'
hides constructor for 'struct ne_lock' [-Wshadow]
into a system header guard.
2011-11-04 13:49:41 +01:00