4f63a5fa26
fdo#54938 Convert odk to cppu::supportsService
...
Change-Id: Ia5095367be90dd5383e7701ea2587f79a7505a67
Signed-off-by: Stephan Bergmann <sbergman@redhat.com >
2014-01-31 11:41:05 +01:00
fa2a7c1c95
Keep using component_getImplementationEnvironment in extensions
...
...instead of relying on the implicit CPPU_CURRENT_LANGUAGE_BINDING_NAME
convention. Keeping that convention an implementation detail makes it easier to
do improvements in the future. (Theoretically, the bundled extension in mysqlc
could be considered internal code and not adapted, but just be safe.)
Change-Id: Iae41a6e072dabc2bf7c1481ba6cfed61680edf37
2013-12-17 11:05:59 +01:00
e52779d2f8
remove unnecessary use of OUString constructor
...
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11 11:21:26 +02:00
a7724966ab
Bin comments that claim to say why some header is included
...
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
3656a57e88
add mode lines to new files (and idls) since last run
...
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-09-22 12:21:34 +01:00
12b1d1cda3
Mark as const
...
Change-Id: I9277052ee9c6197cef7a46bd8f3ab9c5515c2502
2013-08-12 09:23:52 +09:00
b6d97514cd
reduce some spacing
...
Change-Id: I72d494b1c0ff5ed3c52ae6a078815f497e4dd647
2013-06-29 18:38:14 +02:00
5051209534
Adapt SDK to usage of msvcrtd for Windows --enable-dbgutil
...
* Re-use existing settings/dk.mk to tunnel ENABLE_DEBUG into the SDK. Turns out
this was explicitly included in ~all examples Makefiles, but only after
settings.mk where it is now used, so include it in settings.mk now and dropped
it from all the exmaples Makefiles.
* The old settings.mk was apparently confused with using /MT ("link with
LIBCMT.LIB") on cl command line and /MD ("link with MSVCRT.LIB") on link
command line (where it was ignored), and you apparently can't pass both
together to cl, so I settled on /MD (resp. /MDd) now and dropped /MT (resp.
/MTd). No idea if that is exactly right, however.
* Introduced client-facing LIBO_SDK_LDFLAGS_STDLIBS that covers kernel32.lib and
msvcrt.lib vs. msvcrtd.lib on Windows. Adapted examples Makefiles and
/ure/source/uretest/Makefile accordingly. Some examples Makefiles
additionally use msvcprt.lib, no idea whether that still needs to be
addressed.
Change-Id: Ia8d9d177e415abfbaf6f9fa6239f0ef9998868be
2013-04-19 14:02:18 +02:00
14a2413530
Adapt SDK to -B removed from cppumaker/javamaker
...
Change-Id: Ida4d11e0f8dfea201e0456cc54aa7f5af093d2ad
2013-04-11 14:24:08 +02:00
368210926b
remove -dylib_file mappings that are not needed anymore
...
XCode 2.5 (i.e. Mac OSX 10.4 & 10.5) couldn't find the libraries
without explicit mapping, but as baseline is now 10.6, this
wrapping is no longer necessary
Change-Id: I225fc47b9ea4b1fb2b13ba575605cbdebc014fd8
Reviewed-on: https://gerrit.libreoffice.org/3192
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Michael Stahl <mstahl@redhat.com >
2013-04-04 17:46:46 +00:00
4ec9f5d768
Remove RTL_CONSTASCII_(U)STRINGPARAM in odk(Developersguide)
...
Change-Id: Ic2a2cf04a691f628e862e81579d3d55d261fc492
2013-03-31 16:49:53 +02:00
2633b249ea
odk: do not pack unused component.map file
...
Change-Id: I768acf83234eec46c0271dad2e5bef3bd3cba3cf
Signed-off-by: Stephan Bergmann <sbergman@redhat.com >
2013-03-19 14:15:39 +01:00
39d45390f4
removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
...
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms
Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-19 10:48:30 +00:00
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
693332c0b4
Fix SDK examples
...
Change-Id: I0a3153bc3fa8338a1a0865db2fbe65a56ae064a4
2012-12-11 18:06:03 +01:00
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
d6bc02f8c4
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
2012-04-06 20:03:42 +02:00
0439af27e1
Code cleanup: ( () ) replaced by (())
2012-01-26 17:41:07 +00:00
b50137566f
Remove component_getImplementationEnvironment
2011-07-12 16:45:29 +02:00
a74f430a1a
tweak the odk example to be equivalent to the standard template
2011-06-03 08:55:08 +01:00
11cdc4ccc4
Merge commit 'ooo/DEV300_m103'
...
Conflicts:
odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx
odk/examples/DevelopersGuide/Database/DriverSkeleton/SServices.cxx
odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/fdcomp.cxx
odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx
odk/examples/cpp/complextoolbarcontrols/exports.cxx
odk/examples/cpp/counter/countermain.cxx
odk/examples/cpp/remoteclient/remoteclient.cxx
odk/settings/settings.mk
2011-03-23 16:59:36 +01:00
3b2efb2043
Remove "using namespace ::rtl"
2011-03-02 20:36:58 +01:00
928af9414d
jsc340: i114609: support passive component registration
2011-02-22 16:13:49 +01:00
1628005298
Trying to remove the stlport mention from the code
2011-02-09 16:20:25 +01:00
7b0075d0c8
Remove block of commented code
2011-01-09 20:36:58 +00:00
e9a59da46a
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-13 10:58:04 +02:00
1296914c84
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
6cd26e560b
#i106584# remove argc, argv from macro
2009-11-09 13:54:14 +00:00
40487924f7
#i106627# extend and adapt env for VC9, building manifest, change macro
2009-11-05 14:21:50 +00:00
b7f5132b04
#i160584# use SAL_IMPLEMENT_MAIN macro
2009-11-05 12:27:28 +00:00
58e79a27d2
INTEGRATION: CWS jsc21 (1.5.92); FILE MERGED
...
2008/07/07 11:37:32 jsc 1.5.92.1: #i88797# adapted
2008-07-11 13:18:02 +00:00
aaebbb0e59
INTEGRATION: CWS jsc21 (1.10.74); FILE MERGED
...
2008/06/27 08:49:51 jsc 1.10.74.2: #i90032# adapt link flags and linking for MacOS
2008/05/21 13:38:54 jsc 1.10.74.1: #i88797# adapted to new structure
2008-07-11 13:17:49 +00:00
5c27e5c5b3
INTEGRATION: CWS jsc17 (1.9.8); FILE MERGED
...
2007/01/24 09:21:13 jsc 1.9.8.2: #i73750# adapt rdb name when zip package
2007/01/22 15:35:27 jsc 1.9.8.1: #i73750# change UNOPKG_EXT to UNOOXT_EXT
2007-01-25 10:04:13 +00:00
abc64e01f5
INTEGRATION: CWS jsc15 (1.8.36); FILE MERGED
...
2006/11/24 12:54:06 jsc 1.8.36.1: #i68136# insert manifest linking for VC8
2006-12-20 11:24:15 +00:00
b5d4023e2d
INTEGRATION: CWS jsc14 (1.6.14); FILE MERGED
...
2006/10/25 08:52:24 jsc 1.6.14.1: #i70636# remove auto generated precompiled header include
2006-11-06 14:00:19 +00:00
42abada5a5
INTEGRATION: CWS jsc14 (1.7.14); FILE MERGED
...
2006/10/25 08:52:23 jsc 1.7.14.1: #i70636# remove auto generated precompiled header include
2006-11-06 14:00:06 +00:00
8afa1339fc
INTEGRATION: CWS jsc14 (1.4.14); FILE MERGED
...
2006/10/25 08:52:23 jsc 1.4.14.1: #i70636# remove auto generated precompiled header include
2006-11-06 13:59:41 +00:00
677dca9654
INTEGRATION: CWS pchfix02 (1.5.12); FILE MERGED
...
2006/09/01 17:32:21 kaib 1.5.12.1: #i68856# Added header markers and pch files
2006-09-16 23:10:05 +00:00
ab3de69603
INTEGRATION: CWS pchfix02 (1.6.12); FILE MERGED
...
2006/09/01 17:32:21 kaib 1.6.12.1: #i68856# Added header markers and pch files
2006-09-16 23:09:50 +00:00
d3a09ffdfc
INTEGRATION: CWS pchfix02 (1.3.12); FILE MERGED
...
2006/09/01 17:32:21 kaib 1.3.12.1: #i68856# Added header markers and pch files
2006-09-16 23:09:36 +00:00
2fde93d3de
INTEGRATION: CWS jsc12 (1.4.84); FILE MERGED
...
2006/07/14 15:11:57 jsc 1.4.84.1: #i67376# adapt example code
2006-08-01 15:32:26 +00:00
5803a0ae69
INTEGRATION: CWS jsc12 (1.5.28); FILE MERGED
...
2006/07/14 15:11:57 jsc 1.5.28.1: #i67376# adapt example code
2006-08-01 15:32:12 +00:00
5bfddfe6a3
INTEGRATION: CWS jsc12 (1.2.84); FILE MERGED
...
2006/07/14 15:11:57 jsc 1.2.84.1: #i67376# adapt example code
2006-08-01 15:31:58 +00:00
531d18b329
INTEGRATION: CWS jsc12 (1.7.74); FILE MERGED
...
2006/07/14 15:11:57 jsc 1.7.74.1: #i67376# adapt example code
2006-08-01 15:31:40 +00:00
b40f94fb85
INTEGRATION: CWS jsc3 (1.4.60); FILE MERGED
...
2006/02/28 09:18:20 jsc 1.4.60.1: #i60691# replace getCppuType with UnoType
2006-03-15 08:25:20 +00:00
3de7358f15
INTEGRATION: CWS sdkbugfix02 (1.6.10); FILE MERGED
...
2005/03/03 15:41:52 jsc 1.6.10.1: #41142# replace make with internal MAKE variable
2005-03-29 11:08:49 +00:00
4a33ba2b75
INTEGRATION: CWS sdksample (1.3.124); FILE MERGED
...
2004/06/30 09:10:25 jsc 1.3.124.1: #i29308# use of new UNO features
2005-01-31 15:14:05 +00:00
7b7e9109be
INTEGRATION: CWS sdksample (1.3.124); FILE MERGED
...
2004/08/03 15:33:01 dbo 1.3.124.2: revised sample code
Issue number:
Submitted by:
Reviewed by:
2004/06/30 09:10:25 jsc 1.3.124.1: #i29308# use of new UNO features
2005-01-31 15:13:51 +00:00
93fcb2c001
INTEGRATION: CWS sdksample (1.3.124); FILE MERGED
...
2004/08/03 15:33:00 dbo 1.3.124.2: revised sample code
Issue number:
Submitted by:
Reviewed by:
2004/06/30 09:10:25 jsc 1.3.124.1: #i29308# use of new UNO features
2005-01-31 15:13:37 +00:00
f0f40d4b70
INTEGRATION: CWS sdksample (1.1.2); FILE ADDED
...
2004/11/19 14:27:19 jsc 1.1.2.3: #i29308# correct spelling
2004/08/04 12:39:15 jsc 1.1.2.2: #i29308# improved
2004/06/30 09:18:11 jsc 1.1.2.1: #i29308# new
2005-01-31 15:13:24 +00:00