Stephan Bergmann
ae3a0c8da5
Add .component <implementation constructor="..." feature
...
...to directly call constructor functions of ComponentContext-based C++
implementations of (non-single-instance) UNO services. The case where these
calls would need to be bridged across different environments (e.g., from gcc3
to gcc3:affine) is not yet implemented.
bootstrap.component and expwrap.component are adapted accordingly as a proof-of-
concept (which had previously been adapted to use the prefix="direct" feature,
which may become unnecessary again in the end, depending on how to handle
single-instance services/singletons). More to follow.
Change-Id: I18682d75bcd29d3d427e31331b4ce8161dbb846d
2013-12-19 08:48:56 +01:00
Matúš Kukan
e20f27f0a0
bootstrap component: Split into implementation functions.
...
Change-Id: I91cb0177edd79485eab885e995e79b1a19a769d5
2013-12-18 07:15:49 +01:00
Stephan Bergmann
a83b2af9ab
Clean-up uno/lbnames.h
...
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-12-16 21:43:12 +01:00
Noel Grandin
52bbd9cc00
remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii calls
...
Convert code like:
aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" ));
to:
aStrBuf.append( "ln(x)" );
which compiles down to the same code.
Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
2013-11-20 10:07:32 +02:00
Noel Grandin
3af99e4d59
convert equalsAsciiL calls to startsWith calls
...
Convert code like:
aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) )
to
aStr.startsWith( "ActiveConnection" )
which compiles down to the same machine code.
Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-20 10:07:31 +02:00
Marcos Paulo de Souza
ee5661ecd3
fdo#54938: Adapt supportsService implementations..
...
to cppu::supportsService
Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14
Reviewed-on: https://gerrit.libreoffice.org/6370
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
Tested-by: Stephan Bergmann <sbergman@redhat.com >
2013-10-22 10:28:10 +00:00
Stephan Bergmann
8ece4abb6f
-Werror,-Wunused-function
...
Change-Id: I68d030642fc3f396f7d95602847725bb8299bebf
2013-10-02 16:49:27 +02:00
Luboš Luňák
e2e2cc6114
remove usage of RTL_CONSTASCII_USTRINGPARAM
...
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.
Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06 16:51:45 +02:00
Stephan Bergmann
e8ff469da5
Remove any remaining remnants of unused component_canUnload feature
...
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-19 16:52:03 +02:00
Luboš Luňák
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Stephan Bergmann
ed316fc677
osl_atomic_increment/decrement are macros
...
Change-Id: I3a294c5c800597f3b17395e1e02944f5279e3753
2013-02-21 17:01:38 +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
Stephan Bergmann
e1e308bc45
Remove support for UNO_AC* bootstrap variables
...
...they had effectively never been used.
Change-Id: I514f2b844661e144cef758eb3ce7c4607ffad635
2013-01-16 11:39:03 +01:00
Norbert Thiebaud
750fc20611
replace remaining InterlockedCount() with inlined version
...
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-09-25 01:55:38 +00:00
Michael Meeks
3a53ddf0a2
re-base on ALv2 code.
2012-06-29 11:13:58 +01:00
Caolán McNamara
8512e5c2b3
reduce static_initialization_and_destruction chain
...
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
2012-05-16 12:04:10 +01:00
Szabolcs Dezsi
d6bc02f8c4
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
743f22045c
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
...
Pattern used:
find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
Alexander Bergmann
0439af27e1
Code cleanup: ( () ) replaced by (())
2012-01-26 17:41:07 +00:00
Olivier Hallot
71dc235aba
Fix for fdo43460 Part XXXV getLength() to isEmpty()
...
Part XXXV
Modules
stoc
2012-01-12 19:15:08 -02:00
Takeshi Abe
c936e50627
catch exception by constant reference
2011-12-27 10:17:15 +09:00
Norbert Thiebaud
36f155dda1
remove include of pch header from stoc
2011-11-27 13:23:37 -06:00
Caolán McNamara
c1abc2ec9e
fix up
2011-06-01 15:35:10 +01:00
Thomas Arnhold
d0c187cc8c
OSL_TRACE: Use format string
2011-03-12 14:19:49 +01:00
Thomas Arnhold
adc6fe00e3
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
2011-03-12 14:19:48 +01:00
Takeshi Abe
36e2296bf8
Replace all occured, occurance etc.
2010-12-06 09:16:29 +00:00
Sebastian Spaeth
a715e1b3d0
Add vim/emacs modelines to all source files
...
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com )
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de >
2010-10-14 17:04:31 +02:00
Caolán McNamara
68d23b4842
move some uno::Sequences to ensure a safer deterministic shutdown order
2010-10-12 13:56:53 +01:00
Jens-Heiner Rechtien
7c80db2eb3
changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2010-02-12 15:01:35 +01:00
Rüdiger Timm
9d4ad545b2
INTEGRATION: CWS changefileheader (1.11.12); FILE MERGED
...
2008/03/31 07:26:12 rt 1.11.12.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:50:47 +00:00
Jens-Heiner Rechtien
54379f983b
INTEGRATION: CWS sb76 (1.10.34); FILE MERGED
...
2007/08/31 11:01:54 sb 1.10.34.1: #i77885# Consolidate stoc libraries; patch by jnavrati.
2007-09-27 12:00:53 +00:00
Vladimir Glazounov
ef16933aff
INTEGRATION: CWS pj65 (1.9.8); FILE MERGED
...
2006/10/24 06:49:59 pjanik 1.9.8.1: #i70659#: Prevent warnings on Mac OS X.
2006-11-21 16:25:34 +00:00
Oliver Bolte
f0a7945cb3
INTEGRATION: CWS pchfix02 (1.8.10); FILE MERGED
...
2006/09/01 17:41:16 kaib 1.8.10.1: #i68856# Added header markers and pch files
2006-09-16 16:35:50 +00:00
Jens-Heiner Rechtien
59afebca37
INTEGRATION: CWS warnings01 (1.6.18); FILE MERGED
...
2005/11/09 18:49:41 pl 1.6.18.4: #i53898# removed warnings
2005/10/31 14:38:11 sb 1.6.18.3: #i53898# Made code warning-free.
2005/09/22 19:56:41 sb 1.6.18.2: RESYNC: (1.6-1.7); FILE MERGED
2005/09/19 15:23:58 sb 1.6.18.1: #i53898# Made code warning-free.
2006-06-19 23:05:10 +00:00
Rüdiger Timm
9d24ac526c
INTEGRATION: CWS ooo19126 (1.6.24); FILE MERGED
...
2005/09/05 17:11:10 rt 1.6.24.1: #i54170# Change license header: remove SISSL
2005-09-08 07:09:16 +00:00
Rüdiger Timm
0f751c7b64
INTEGRATION: CWS gccfour (1.5.178); FILE MERGED
...
2005/03/11 09:19:20 cmc 1.5.178.1: #i44718# name enums that compare against ints
2005-04-04 06:54:32 +00:00
Daniel Boelzle
ea74db72f8
#88919# revised dynamic restrictions
2002-04-19 14:16:45 +00:00
Daniel Boelzle
0d8ca39a8b
#88919# using DeploymentException signalling deployment errors
2002-04-15 13:23:36 +00:00
Daniel Boelzle
3f39b5cb2f
#88919# bootstrap recursions
2002-04-11 10:55:57 +00:00
Daniel Boelzle
38f626d165
#88919# access controller implementation and bugfixes
2002-03-04 16:43:21 +00:00
Daniel Boelzle
7f290fc522
#88919# introducing native access controller and file policy implementation
2002-01-25 08:30:07 +00:00