Commit Graph

86 Commits

Author SHA1 Message Date
Tor Lillqvist
6f44df16df Avoid (harmless) duplicate entry
Change-Id: Ice43ab89b57f6ddb6b06d2fc5784d438031e864b
2013-04-24 10:37:55 +03:00
Tor Lillqvist
8ada6e3320 libcomphelpgcc3 got renamed to libcomphelper
Change-Id: I8853c5102a7271e95adf7d420bb3ed719f5b96c6
2013-04-23 19:33:04 +03:00
Matúš Kukan
65be07720b do not use deprecated rtl_registerModuleForUnloading
Change-Id: I59014906c8409fc7ac0f155c9562613c309b8b06
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-04-16 17:52:36 +02:00
Tor Lillqvist
5ef3e4ca5b Do support the deployment component unconditionally, and add ucpexpand1
Change-Id: I8a3749be43efc77317f7f10c7fd6eadaf79f99c7
2013-03-28 00:17:37 +02:00
Tor Lillqvist
3fcf0008d3 Need deployment component too when HAVE_FEATURE_EXTENSIONS
Don't look just at DESKTOP or not when deciding whether to compile that stuff.

Change-Id: Ic9961ba27eb4a1e9360c67dd844c9243f1eff00e
2013-03-28 00:17:36 +02:00
Stephan Bergmann
2d9ce9191d Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)
...which is a confusing overload with unexpectedly different semantics from the
one-parameter form.  In preparation of marking it as deprecated.

Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
2013-03-20 13:05:35 +01:00
Thomas Arnhold
8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex:

s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms

Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 09:00:26 +00:00
Luboš Luňák
2c17beb796 Wundef, fix various more or less broken debug code
Change-Id: I347495f7960da099afdfbf3db608e0347b832f99
2013-03-18 17:15:57 +01:00
Michael Stahl
113a927341 cppuhelper: log failures from osl_loadModule calls
Change-Id: I37099d15cd403f48ca1716414f2e79cc1213d8c8
2013-02-25 14:27:06 +01:00
Jean-Noël Rouvignac
97eb8a6e0e Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-30 12:54:40 +00:00
Tor Lillqvist
392510d7e4 UNO components have the "lib" prefix only on Android
That they do is a leftover hack from before we started using the
DISABLE_DYNLOADING thing on Android, it isn't actually necessary any
more. Earlier when the UNO components were actually dynamic libraries
on Android (too, as on desktop OSes), they *had* to have names
starting with "lib" or they would be silently skipped when
packaging.

Change-Id: I11a4689f316e1ffb640a5c3110c63296d2833a84
2013-01-06 16:01:07 +02:00
Michael Meeks
9d7c1dcbbb re-base on ALv2 code. Includes:
Patches contributed by Ocke Janssen
   converted reportdesign.
   http://svn.apache.org/viewvc?view=revision&revision=1396797
   http://svn.apache.org/viewvc?view=revision&revision=1394326

   Patch contributed by Oliver Rainer-Wittmann
   sw34bf06: #i117783# - Writer's implementation of XPagePrintable -
   apply print settings to new printing routines
   http://svn.apache.org/viewvc?view=revision&revision=1172115
2012-12-06 09:12:57 +00:00
Tor Lillqvist
d1006596f2 Update library names for DISABLE_DYNLOADING
Change-Id: I2b5e4abdceea25180c9caafabc49c22077016a05
2012-10-11 10:07:08 +03:00
Tor Lillqvist
97f27e2cda Include android-bootstrap.h for Android
Change-Id: I022f7d450f66e1ff0fb4e4aedfebc16b83ad32b9
2012-10-11 10:07:04 +03:00
Tor Lillqvist
3c4c117008 I want to see what unknown library is required always
Change-Id: I7e0eb7ba3be8ac2b70e6a56d84c1a890be0ba396
2012-10-09 11:41:31 +03:00
Tor Lillqvist
97593ae24a Handle lack of module loading/unloading API when DISABLE_DYNLOADING
There are basicically two classes of cases:

1) Where the code is for obscure historical reasons or what I see as
misguided "optimization" split into a more libraries than necessary,
and these then are loaded at run-time. Instead, just use direct
linking.

2) Where dynamic loading is part of the functionality offered to some
upper (scripting etc) layer, or where some system-specific non-LO
library is loaded dynamically, as it is not necessarily present on
end-user machines. Can't have such in the DISABLE_DYNLOADING case.

Change-Id: I9eceac5fb635245def2f4f3320821447bb7cd8c0
2012-10-07 07:59:15 +03:00
Tor Lillqvist
0c1553a86e Disable-dynloading updates to component list
Change-Id: Idf092958e46a2ad9d56541c90c5a2beb44baff48
2012-10-04 07:23:25 +03:00
Christophe JAILLET
0cba5e5d25 This look like the same as rLibName.endsWithIgnoreAsciiCase so kill it. Add missing { }
Untested as I don't have a working build environment yet.

Change-Id: I1988da8c07729eb99d3f53f71b8f950df29a7361
2012-07-13 16:36:04 +02:00
Tor Lillqvist
f79d5b9116 Unbreak stuff on iOS a bit after bootstrapping changes
Change-Id: I0d2ebfc9aa78a9fed057b853d54797a88218c587
2012-06-04 11:41:50 +03:00
Tor Lillqvist
b0105caa7f Add static mapping of the fastsax component 2012-04-18 01:23:49 +03:00
Tor Lillqvist
c92e66c38a More static UNO component linkage 2012-04-17 00:28:47 +03:00
Tor Lillqvist
2aadb6f9f4 Add the package2 component 2012-04-16 01:46:39 +02:00
Tor Lillqvist
906aa9dea2 Add utl and xstor UNO component mapping 2012-04-15 11:56:55 +02:00
Tor Lillqvist
3061e9e866 Add newline... 2012-04-15 11:56:54 +02:00
Tor Lillqvist
d31997559a Add comphelp and stocservices UNO component mapping 2012-04-15 11:56:53 +02:00
Tor Lillqvist
220336d736 Just assert if trying to "load" an unknown library when DISABLE_DYNLOADING 2012-04-15 11:56:52 +02:00
Tor Lillqvist
e56b2109c0 Map and link in also the sfx UNO component 2012-04-15 11:56:51 +02:00
Tor Lillqvist
91ff02ec77 Map and link in also the filterconfig1 UNO component 2012-04-15 11:56:49 +02:00
Tor Lillqvist
0b67dd10f8 Use lo_get_libmap() 2012-04-09 22:43:52 +03:00
Tor Lillqvist
1a4cbf9f5c More static lib name mappings. Yeah, need to do a gperf thing some night 2012-03-30 08:37:14 +03:00
Tor Lillqvist
b5e4de326f Add some more temporary hardcoded library mappings for DISABLE_DYNLOADING 2012-03-29 09:49:45 +03:00
Tor Lillqvist
128749140f More hacking on static linking (iOS) support 2012-03-21 00:00:05 +02:00
Alexander Bergmann
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00
Tor Lillqvist
08f62fb29d WaE: unused parameter 'rPath' 2012-01-03 11:47:00 +02:00
Olivier Hallot
1b99d8800e Fix for fdo43460 Part X getLength() to isEmpty()
Part X
Module
cppu
cppuhelper
cpputools
2011-12-17 17:15:53 +04:00
Norbert Thiebaud
c10fb61c1a remove include of pch header in cppuhelper 2011-11-27 13:03:19 -06:00
Tor Lillqvist
480a380a72 Look for libboostrap.uno.so and not bootstrap.uno.so on Android
Not sure if we need to be more generic here, and always add a "lib"
prefix if not present. Or do the changes to the makefilery take care
of it, so that for other UNO components than bootstrap, the name as
stored wherever it is stored does contain the "lib" prefix we are
forces to use on Android?
2011-11-17 15:23:05 +02:00
Stephan Bergmann
0607102c47 Improved some error reporting. 2011-09-21 23:35:24 +02:00
Tor Lillqvist
8cd859d9a6 For iOS just link directly to the bootstrap component 2011-08-08 21:20:53 +03:00
Tor Lillqvist
ef04510167 Don't bother trying to truncate parts debugging output
Murphy says it's the part that is dropped which will be interesting
one anyway.
2011-08-08 17:45:24 +03:00
Tor Lillqvist
b16ab7a751 Add invokeStaticComponentFactory() for statically linked components
Will be used for iOS at least.

Factor out the part of loadSharedLibComponentFactory() that handle the
symbol that has been successfully looked up.
2011-08-08 17:39:38 +03:00
Tor Lillqvist
7702cc5a7a OSL_TRACE adds trailing newline itself 2011-08-08 14:13:48 +03:00
Tor Lillqvist
1f22396b4a getLibEnv always returned an empty string anyway so make it void instead 2011-08-07 19:51:49 +03:00
Tor Lillqvist
b349c5f4f6 Try to use the app executable module on iOS for now 2011-08-01 21:10:14 +03:00
Matúš Kukan
d6f18bf9e0 Default to current language binding name, if not specified.
Signed-off-by: Michael Meeks <michael.meeks@novell.com>
2011-07-11 17:47:02 +01:00
Michael Meeks
babdd43fce re-work prefix handling and undo cppuhelper ABI change, add unit test
use a separate prefix enabled method instead of changing the ABI of cppuhelper
also - lookup the prefix in the dllcomponentloader in case we are called this way
also - add a unit test for the prefix change
2011-06-24 14:23:25 +01:00
Matus Kukan
f1be5778f8 Allows using prefix information about component 2011-06-24 12:15:50 +01:00
Tor Lillqvist
01da593c51 Revert "Bypass DLL prefix and extension stuff on iOS for now"
Not needed now with a normal SAL_DLLEXTENSION defined for iOS.

This reverts commit dc915ed7fbbbeef9eefbf5bda07289a9462b6904.
2011-06-14 00:36:42 +03:00
Tor Lillqvist
a44330b976 Bypass DLL prefix and extension stuff on iOS for now 2011-06-14 00:36:11 +03:00
Caolán McNamara
71b6f3d9a3 use rtl::Static where double-locked pattern used 2011-04-04 13:09:33 +01:00